pytypest

Type-safe and maintainable fixtures and parametrization for pytest.

Features:

  • 100% type safe.

  • Great IDE integration, go-to-definition always takes you in the right place.

  • Test parametrization that is readable even with many arguments.

  • Plug-and-play integration with pytest.

  • No vendor-lock, you can use only the features you need and don’t touch the rest.

  • Fixtures can be cached, and you are in control of for how long.

  • Fixtures can accept arguments.

Check out motivation if you want to know more about why this project was born.

Installation

python3 -m pip install pytypest

Source code: github.com/orsinium-labs/pytypest.