PyTest Essential Plugins

In the previous chapter, we saw how to work with PyTest and pytest-bdd to create acceptance tests and verify the requirements of our software.

However, pytest-bdd is not the only useful plugin that PyTest has. In this chapter, we are going to continue working on the contacts project introduced in Chapter 7, Fitness Function with a Contact Book Application, showing how some of the most commonly used PyTest plugins can help during the development of a project.

The plugins we are going to cover in this chapter are going to help us with verifying our test suite coverage of the application code, checking the performance of our application, dealing with tests that are flaky or unstable, and optimizing our development process ...

Get Crafting Test-Driven Software with Python now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.