Show notes
There's a cool feature of pytest called parametrization.
It's actually a handful of features, and there are a few ways to approach it.
Super powerful, but something since there's a few approaches to it, a tad tricky to get the hang of.
Sponsored By:
- PyCharm Professional: Try PyCharm Pro with a 4 month free trial. Promo Code: TESTANDCODE22
Links:
- git branch — -a : list all branches, -r : just remotes
- pytest changelog
- pytest deprecations and removals
- Python Testing with pytest — Test function parametrization is in chapter 2. Fixture parametrization is in chapter 3.
- Parametrizing test functions — pytest documentation
- pytest fixtures — pytest documentation

