unittest_expander – test parametrization library¶
- Getting Started
- Narrative Documentation
- Basic use of
expand()andforeach() - More flexibility:
param - Other ways to explicitly label your tests
- Smart parameter collection:
paramseq - Combining several
foreach()to get Cartesian product - Context-manager-based fixtures:
param.context() - Convenience shortcut:
paramseq.context() - Deprecated feature:
foreach()as a class decorator - Contexts cannot suppress exceptions unless you enable that explicitly
Substituteobjects- Custom method/class name formatting
- Name clashes avoided automatically
- Questions and answers about various details…
- Basic use of
- Module Contents
- Changes
- License, Credits and Other Information