python-pytest-cases icon indicating copy to clipboard operation
python-pytest-cases copied to clipboard

Separate test code from test cases in pytest.

Results 65 python-pytest-cases issues
Sort by recently updated
recently updated
newest added
trafficstars

### GitHub Actions Version Updates * **[actions/setup-python](https://github.com/actions/setup-python)** published a new release **[v5.2.0](https://github.com/actions/setup-python/releases/tag/v5.2.0)** on 2024-08-29T13:57:38Z * **[actions/upload-artifact](https://github.com/actions/upload-artifact)** published a new release **[v4.4.0](https://github.com/actions/upload-artifact/releases/tag/v4.4.0)** on 2024-08-30T18:10:56Z * **[actions/checkout](https://github.com/actions/checkout)** published a new release **[v4.2.0](https://github.com/actions/checkout/releases/tag/v4.2.0)**...

Hi @smarie, I found myself coming up with the following class decorator that allows applying a bunch of case tags to all the cases defined in a case class. It...

Bonjour, I just discover this plugin and it looks like it might help me to achieve what I am looking for in terms of tests. If I try to get...

Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.1.4 to 4.1.7. Release notes Sourced from actions/download-artifact's releases. v4.1.7 What's Changed Update @​actions/artifact dependency by @​bethanyj28 in actions/download-artifact#325 Full Changelog: https://github.com/actions/download-artifact/compare/v4.1.6...v4.1.7 v4.1.6 What's Changed updating @actions/artifact...

awaiting_bugfix_on_external_dependency

### GitHub Actions Version Updates * **[pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish)** published a new release **[v1.9.0](https://github.com/pypa/gh-action-pypi-publish/releases/tag/v1.9.0)** on 2024-06-16T19:24:22Z * **[actions/checkout](https://github.com/actions/checkout)** published a new release **[v4.1.7](https://github.com/actions/checkout/releases/tag/v4.1.7)** on 2024-06-12T19:05:21Z * **[actions/setup-python](https://github.com/actions/setup-python)** published a new release **[v5.2.0](https://github.com/actions/setup-python/releases/tag/v5.2.0)**...

what about - use ruff check in nox lint session - ruff format in nox format session - use mypy in nox typing session - move all config to pyproject.toml...

Among others - drop dead code corresponding to all these versions checks - convert type comments to type hints And we could also - use Numpy style docstrings

In several tests we have this currently ```python if PYTEST84_OR_GREATER: # See https://github.com/pytest-dev/pytest/pull/12473 import inspect obj = inspect.unwrap(dummy) else: obj = dummy.__pytest_wrapped__.obj ``` it could probably be good to create...

topic: compatibility

This is the issue fixed by your PR #344 from last year @last-partizan (time flies!) I am lightly reluctant to support this officially, as the pytest strategy seems to explicitly...

As proposed in #351. According to suggestions by @smarie here the necessary tasks: - [x] Port the decorator code to `pytest-cases`. Currently in `case_funcs.py`. - [x] Update the changelog. -...