There are just too many good plugins to fit into this chapter. The previous sample is really just a small taste, where I tried to strike a balance between useful, interesting, and showing the flexibility of the plugin architecture.
Here are a few other plugins that are worth mentioning:
- pytest-bdd: a behavior-driven development for pytest
- pytest-benchmark: a fixture to benchmark code. It outputs benchmark results with color output
- pytest-csv: outputs test status as CSV files
- pytest-docker-compose: this manages Docker containers, using Docker compose during test runs
- pytest-excel: outputs test status reports in Excel
- pytest-git: provides a git fixture for tests that need to deal with git repositories
- pytest-json: outputs test statuses as json files
- pytest-leaks: detects memory leaks, by running tests repeatedly and comparing reference counts
- pytest-menu: lets...