Overview
Syllabus
Intro
Brian Okken
Value of Tests
Parametrize vs Parameterize
Something to Test
without Parametrization
Moving to one test (don't do this)
Function Parametrization
Parameters from a named list
Parameters from a function
Parameters from a generator
Parameters from a file
Run the last failing test case
Run test cases with 60 degree angles
Run an individual test case
Fixture Parametrization
Object parameters get non-helpful names
An ids function
Custom ids function
pytest_generate_tests()
metafunc
test.param
indirect parameter
indirect example
More test cases
Review
Combining Techniques
Resources
Taught by
PyCon US