Python Testing with pytest: Fixtures and CoverageJan 15, 2019, 09:00 (0 Talkback[s])
(Other stories by Reuven Lerner)
When you're writing tests, you're rarely going to write just one or two. Rather, you're going to write an entire "test suite", with each test aiming to check a different path through your code. In many cases, this means you'll have a few tests with similar characteristics, something that pytest handles with "parametrized tests".