Skip to content

Releases: smarie/python-pytest-cases

3.6.12 - type hint fix + enhanced compatibility with pytest plugins

12 May 09:48
d3cf756
Compare
Choose a tag to compare
  • Improved compatibility with other pytest plugins, in particular pytest-repeat, by supporting removal from fixture closure tree. Fixed #269.
  • Fixed type hint errors detected by pyright. Fixed #270

See documentation page for details.

3.6.11 - bugfix for pytest-xdist and `get_all_cases` API improvement

21 Mar 16:10
Compare
Choose a tag to compare
  • get_all_cases can now be called without parametrization_target (defaulting to the caller module), and with an explicit module object. Fixed #258. PR #260 by @eddiebergman.
  • Fixed AttributeError: module 'pytest_cases' has no attribute 'CasesCollectionWarning' when running pytest-xdist and at least one cases class is ignored because of __init__ or __new__. Fixed #249.

See documentation page for details.

3.6.10 - bugfix for pytest 7.1

14 Mar 09:40
Compare
Choose a tag to compare

See documentation page for details.

3.6.9 - Bugfix with pytest 7

08 Feb 17:37
Compare
Choose a tag to compare

See documentation page for details.

3.6.8 - Bugfix: support for multiprocessing Pool

07 Jan 15:03
Compare
Choose a tag to compare
  • Suppressed warnings in our own tests, to improve packaging maintenance. Fixed #248
  • Fixed bug where setting ids in @parametrize without setting explicitly idgen=None would raise a ValueError. Fixed #238.
  • Fixed bug where case-holding class marks were not propagated to static methods and class methods. Fixed #246
  • Fixed support for multiprocessing Pool. Fixes #242

See documentation page for details.

3.6.7 - Minor improvements and preparing for pytest 7

03 Jan 09:06
Compare
Choose a tag to compare
  • Improved error message when a case function nested in a class has no self argument and is not static. Fixes #243
  • Added support for the new Scopes enum in pytest 7. Fixed #241
  • Fixed __version__ in development mode.

See documentation page for details.

3.6.5 - Bugfix

08 Nov 14:26
bc9ca05
Compare
Choose a tag to compare
  • Fixed an issue where using keyword argnames in @pytest.mark.parametrize would cause IndexError: tuple index out of range in the tests collection phase. Fixed #234.

See documentation page for details.

3.6.4 - Bugfix

17 Sep 13:47
Compare
Choose a tag to compare
  • A case id can now be a reserved keyword without triggering any SyntaxError, even if the case is transformed into a fixture. Fixes #230

See documentation page for details.

3.6.3 - Bugfix

08 Jul 14:25
Compare
Choose a tag to compare
  • Fixed an issue where a lazy value would not be resolved. This happens when the "auto-simplify fixture" happens in @parametrize. Fixes #225

See documentation page for details.

3.6.2 - Qualimetry

29 Jun 09:21
Compare
Choose a tag to compare
  • Fixed most flake8 errors and updated documentation to use genbadge. Fixes #223

See documentation page for details.