Skip to content
Brent Brewington edited this page Jun 28, 2024 · 4 revisions

Overview & Key Links

The pytest framework makes it easy to write small, readable tests, and can scale to support complex functional testing for applications and libraries

https://docs.pytest.org/

Why Use It?

As data scientists & data engineers, we need to build an error-free, well-tested, and reliable data pipeline that does not break in production. That's REALLY hard to do & maintain without automated testing

(these points taken from guru99.com > pytest-tutorial)

  • Very easy to start with because of its simple and easy syntax.
  • Can run tests in parallel.
  • Can run a specific test or a subset of tests
  • Automatically detect tests
  • Skip tests
  • Open source

Examples & Tutorial Notes