pytest offers a core set of productivity features to filter and optimize your tests along with a flexible plugin system that extends its value even further. Whether you have a huge legacy unittest
suite or you’re starting a new project from scratch, pytest has something to offer you.
In this video course, you learned how to use:
- Fixtures for handling test dependencies, state, and reusable functionality
- Marks for categorizing tests and limiting access to external resources
- Parametrization for reducing duplicated code between tests
- Durations to identify your slowest tests
- Plugins for integrating with other frameworks and testing tools
If you’d like to learn more about the concepts in this video course, check out:
FooledByCode on June 22, 2022
Short and crisp, to the point, enough to get started. On thoughts of code coverage, where I work teams usually use SonarCube to get the estimated code coverage and many other things like security threats, security hot-spots, etc.