Skip to content

3.4.0 - Goodbye v1 API + Support for unbound cases + Bugfix with marks + Fixtures in case files

Choose a tag to compare

@github-actions github-actions released this 24 Mar 17:57
· 138 commits to main since this release
  • Legacy v1 API was dropped. Fixes #192

  • Unbound case functions in a class (e.g. Foo.bar) can now be directly passed to parametrize_with_cases without instantiating the class, e.g. parametrize_with_cases(cases=Foo.bar). Fixes #159

  • Fixed bug with concatenation of marks on cases. Fixes #191

  • Fixed an issue where a case transformed into a fixture, with the same name as the fixture it requires, would lead to a pytest fixture recursion.

  • Fixtures in case files can now be automatically imported using the experimental @parametrize_with_cases(import_fixtures=True). Fixes #193

See documentation page for details.