Explore pytest parametrization techniques to enhance testing effectiveness in this 21-minute PyCon US talk by Brian K Okken. Dive into three parametrization methods, test case identifiers, and generators through code examples. Start with a simple test and progress to advanced concepts like function parametrization, fixture parametrization, and custom ids functions. Learn to leverage parameters from named lists, functions, generators, and files. Discover how to run specific test cases, handle object parameters, and combine various techniques. Access slides, code, and additional resources on GitHub to apply these powerful pytest features and streamline your test writing and maintenance process.
Multiply Your Testing Effectiveness with Parameterized Testing