What’s Next
So far all of the test functions we’ve used only run once. In the next chapter, we’re going to explore a few ways to have test functions run a bunch of times with different data or with different environments. It’s a fantastic way to test more thoroughly without writing more tests.
Footnotes
Get Python Testing with pytest 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.