Skip to content

1.2.0 - @pytest.mark can be used on cases + @pytest_fixture_plus parametrization order bugfix

Compare
Choose a tag to compare
@smarie smarie released this 01 Feb 15:56
· 652 commits to main since this release

Pytest marks such as @pytest.mark.skipif can now be used on case functions. As a consequence, get_all_cases is now the recommended function to use instead of extract_cases_from_module to perform manual collection. Indeed get_all_cases correctly prepares the resulting parameters list so that pytest sees the marks. Fixed #21

Fixed parametrization order when @pytest_fixture_plus is used with several @pytest.mark.parametrize. Fixed #22.

See documentation page for details.