Skip to content

3.1.0 - Improved cases collection

Choose a tag to compare

@smarie smarie released this 16 Dec 22:24
· 210 commits to main since this release
  • @parametrize_with_cases now by default (cases=AUTO) looks for both file naming patterns test_<name>_cases.py and cases_<name>.py. Removed the AUTO2 constant. Fixed #140

  • Nested classes containing case functions are now officially supported (they were, but undocumented). Fixed #160

  • Case functions that are staticmethod and classmethod are now supported as well. Fixes #168

See documentation page for details.