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

Sorry for the spamming. Here another funny situation. Notice that file names are important. ***cases.py*** ```python def case(): return 1 ``` ***test_something.py*** ```python from pytest_cases import fixture, parametrize_with_cases @fixture @parametrize_with_cases('arg')...

The example below causes a `ScopeMismatch` error despite everything being `session` scoped. ```python import pytest import pytest_cases @pytest_cases.fixture(scope="session", unpack_into="a1, a2") def a(): return None, None @pytest.fixture(scope="session") def b(a1): return None...

Consider this issue as a feature request please. I suggest to add more flexibility to how parameters for tests are combined. In pytest tests are executed for each combination (cartesian...

### GitHub Actions Version Updates * **[actions/upload-artifact](https://github.com/actions/upload-artifact)** published a new release **[v4.3.3](https://github.com/actions/upload-artifact/releases/tag/v4.3.3)** on 2024-04-22T16:21:25Z * **[MatteoH2O1999/setup-python](https://github.com/MatteoH2O1999/setup-python)** published a new release **[v3.2.1](https://github.com/MatteoH2O1999/setup-python/releases/tag/v3.2.1)** on 2024-04-20T14:50:00Z * **[codecov/codecov-action](https://github.com/codecov/codecov-action)** published a new release **[v4.3.0](https://github.com/codecov/codecov-action/releases/tag/v4.3.0)**...

### GitHub Actions Version Updates * **[MatteoH2O1999/setup-python](https://github.com/MatteoH2O1999/setup-python)** published a new release **[v4.0.0](https://github.com/MatteoH2O1999/setup-python/releases/tag/v4.0.0)** on 2024-05-21T19:07:31Z * **[actions/upload-artifact](https://github.com/actions/upload-artifact)** published a new release **[v4.3.3](https://github.com/actions/upload-artifact/releases/tag/v4.3.3)** on 2024-04-22T16:21:25Z * **[actions/checkout](https://github.com/actions/checkout)** published a new release **[v4.1.7](https://github.com/actions/checkout/releases/tag/v4.1.7)**...

Hello, Could you please help with the following issue? We have tests parameterized with pytest-cases and we send test results to [Allure TestOps](https://qameta.io/). The problem is that pytest-cases adds special...

Hi, i noticed that after updating to 3.8.5 this package stopped loading cases from tests_cases.py. This PR fixes it. Can this be accepted? Or it's better for me to rename...

### GitHub Actions Version Updates * **[actions/checkout](https://github.com/actions/checkout)** published a new release **[v4.1.6](https://github.com/actions/checkout/releases/tag/v4.1.6)** on 2024-05-16T18:11:28Z * **[actions/upload-artifact](https://github.com/actions/upload-artifact)** published a new release **[v4.3.3](https://github.com/actions/upload-artifact/releases/tag/v4.3.3)** on 2024-04-22T16:21:25Z * **[codecov/codecov-action](https://github.com/codecov/codecov-action)** published a new release **[v4.4.1](https://github.com/codecov/codecov-action/releases/tag/v4.4.1)**...

### GitHub Actions Version Updates * **[actions/upload-artifact](https://github.com/actions/upload-artifact)** published a new release **[v4.3.4](https://github.com/actions/upload-artifact/releases/tag/v4.3.4)** on 2024-07-05T15:15:04Z * **[actions/setup-python](https://github.com/actions/setup-python)** published a new release **[v5.1.1](https://github.com/actions/setup-python/releases/tag/v5.1.1)** on 2024-07-10T14:00:28Z * **[codecov/codecov-action](https://github.com/codecov/codecov-action)** published a new release **[v4.5.0](https://github.com/codecov/codecov-action/releases/tag/v4.5.0)**...