pytest

Testing framework for Python. Simplifies unit and integration test writing with minimal boilerplate.

Features:

  • Simple assert statements instead of verbose unittest methods
  • Fixtures for test setup and teardown
  • Parametrized tests for running the same test with multiple inputs
  • Plugins for coverage, mocking, and async testing
  • Integration with GitHub Actions for continuous Testing

Used in all Python projects: data pipelines, Django backends, Data Science notebooks, and FastAPI services.

Related: Python, Testing, Django, GitHub Actions