Releases: smarie/python-pytest-cases
1.12.1 - Bugfixes
-
Now using module name and not file path to detect symbols in cases files that are imported from elsewhere and not created locally. Indeed that was causing problems on some ^platforms where a
.pyccache file is created. Fixes #72 -
Fixed
PluginValidationErrorwhenpytest_fixture_plusorpytest_parametrize_pluswere used in aconftest.pyfile. Fixes #71. According to discussion in pytest#6475,pytest_fixture_plusandpytest_parametrize_plusare now renamed tofixture_plusandparametrize_plusin order for pytest (pluggy) not to think they are hooks. Old aliases will stay around for a few versions, with a deprecation warning.
See documentation page for details.
1.12.0 - better test ids for parametrized tests with fixture refs + bugfix
-
Improved test ids for the cases where
fixture_refis used in the parameters list in@pytest_parametrize_plus. Fixed #69. Thankslast-partizanfor the suggestion ! -
Fixed
TypeError: got an unexpected keyword argument 'indirect'withpytest5+. Fixed #70.
See documentation page for details.
1.11.9 - bugfix
FixtureClosureNode is now able to properly handle ignore_args, and now supports that plugins append fixtures to the closure, such as pytest-asyncio. Added corresponding tests. Fixes #68
See documentation page for details.
1.11.8 - bugfix
Fixed KeyError issue happening when a fixture is not found. Now users will see the "normal" error message from pytest ("fixture <name> not found"). Fixed #67.
See documentation page for details.
1.11.7 - bugfix
Fixed ValueError issue happening with indirectly parametrized fixtures. Fixed #64.
See documentation page for details.
1.11.6 - pyproject.toml
raddessi added a pyproject.toml - thanks! Fixed #65.
See documentation page for details.
1.11.5 - bugfix
pytest_parametrize_plus was not working correctly with test classes, leading to fixture 'self' not found. Fixed #63.
See documentation page for details.
1.11.4 - python 2 bugfix
Fixed issue happening with @pytest.mark.parametrize with python 2. Fixed #62.
See documentation page for details.
1.11.3 - minor improvements
Better error message when users use THIS_MODULE in cases= instead of module=.
Added __version__ package-level attribute.
See documentation page for details.
1.11.2 - Increased tolerance to other plugins + bugfix
Now when other plugins try to manipulate the fixture closure, warning messages are emitted but no error is raised. Fixed #55.
Also fixed issue #58 happening with doctest.
See documentation page for details.