Gregory M. Kapfhammer
Key Concept
Corresponding Diagram
In-Class Discussion
In-Class Activity
Details in the Textbook
Chapters 3 through 4
Contain arbitrary Python source code
Used to setup and/or teardown during testing
"Input" to a test function
Provided as part of a Pytest distribution
Supports reuse of commonly needed features
Example: tmpdir
and tmpdir_factory
tmpdir
pytestconfig
pytest-randomly
cache
--last-failed
--failed-first
Random
Fastest tests first
High coverage tests first
High mutation tests first
Combine these strategies
capsys