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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.