Skip to content

Releases: smarie/python-pytest-cases

3.8.6 - compatibility fix

26 Sep 22:02
Compare
Choose a tag to compare
  • Fixed issue with legacy python 2.7 and 3.5. Fixes #352.

See documentation page for details.

3.8.5 - Suppressed annoying warning with pytest 8

04 Apr 21:28
Compare
Choose a tag to compare
  • Fixed PytestRemovedIn9Warning: Marks applied to fixtures have no effect. Fixed
    #337

See documentation page for details.

3.8.4 - Removed debug logs

16 Mar 01:22
Compare
Choose a tag to compare
  • Reverted DEBUG flag used for pytest 8 compatibility. Fixed
    #336

See documentation page for details.

3.8.3 - Support for `pytest` version 8

08 Mar 21:24
0d257b2
Compare
Choose a tag to compare

See documentation page for details.

3.8.2 - bugfixes and project improvements

12 Jan 10:35
Compare
Choose a tag to compare
  • Fixed issue with upcoming pytest 8.1 release. PR
    #322 by
    @bluetech
  • Corrected API documentation (and comments) for the second file-name
    pattern for AUTO-cases lookup (cases_<name>.py instead of
    case_<name>.py). PR #320
    by @michele-riva.
  • Fixed AssertionError on AUTO cases outside a 'normal' test module.
    Fixes #309. PR
    #320 by
    @michele-riva.
  • Improved error message in case of cases loading error in @parametrize_with_cases when the cases argument
    is a string refering to a relative or absolute module name. Fixed import file mismatch with
    pytest 8 when executing our own tests.
    Fixes #323.
  • Fixed failing tests in our builds due to the event_loop_policy fixture that appeared in pytest-asyncio 0.23.
    Fixes part of
    #321.

See documentation page for details.

3.8.1 - bugfixes

10 Nov 12:31
ac7f3c3
Compare
Choose a tag to compare
  • Fixed ScopeMismatch with parametrized cases in non-trivial test
    trees. scope is now correctly handled for (i) fixture cases, and
    (ii) fixtures defined in conftest.py files at any depth. Fixes
    #311. PR
    #317 by @michele-riva.

See documentation page for details.

3.8.0 - async, generators and strict-markers

11 Oct 13:27
Compare
Choose a tag to compare
  • @fixture and @parametrize are now async and generator aware. Fixes
    #286. PR
    #301 by jgersti.
  • Fixed error with pytest --strict-markers. Fixes
    #283. PR
    #300 by chrsmcgrr.

See documentation page for details.

3.7.0 - python 3.12

10 Oct 21:07
65c1bed
Compare
Choose a tag to compare
  • Added official support for Python 3.10, 3.11 and 3.12. Fixes #314
  • Fixed ModuleNotFoundError: distutils on Python 3.12 thanks to packaging. PR
    #312 by @jayqi.
  • Internal: switched to virtualenv backend.

See documentation page for details.

3.6.14 - bugfixes

23 Feb 13:18
ab3b719
Compare
Choose a tag to compare
  • Fixed AttributeError issue in is_case_function when an inspected symbol is a parametrized type hint
    without __name__. Fixes #287
  • Fixed issue with get_all_cases: default value for cases was wrong. Fixes #290

See documentation page for details.

3.6.13 - bugfix

20 May 16:14
4f5c466
Compare
Choose a tag to compare
  • Fixed issue where a lazy value (for example a case function) was not resolved before being injected in a parametrized function, and was therefore appearing as a _LazyValueCaseParamValue . Fixed #274

See documentation page for details.