13 min listen
87: Paths to Parametrization - from one test to many
FromTest and Code
ratings:
Length:
19 minutes
Released:
Sep 11, 2019
Format:
Podcast episode
Description
There's a cool feature of pytest called parametrization.
It's totally one of the superpowers of pytest.
It's actually a handful of features, and there are a few ways to approach it.
Parametrization is the ability to take one test, and send lots of different input datasets into the code under test, and maybe even have different output checks, all within the same test that you developed in the simple test case.
Super powerful, but something since there's a few approaches to it, a tad tricky to get the hang of.
It's totally one of the superpowers of pytest.
It's actually a handful of features, and there are a few ways to approach it.
Parametrization is the ability to take one test, and send lots of different input datasets into the code under test, and maybe even have different output checks, all within the same test that you developed in the simple test case.
Super powerful, but something since there's a few approaches to it, a tad tricky to get the hang of.
Released:
Sep 11, 2019
Format:
Podcast episode
Titles in the series (100)
2: Pytest vs Unittest vs Nose: Choosing a test framework by Test and Code