pytest-repeat icon indicating copy to clipboard operation
pytest-repeat copied to clipboard

pytest plugin for repeating test execution

Results 30 pytest-repeat issues
Sort by recently updated
recently updated
newest added

I have a class where scripts are dependent on prior results. For class C, scripts S1, S2, S3 to run in order. Putting the pytest.mark.repeat on the class doesn't result...

Hello, Many thanks for this useful plugin. I'm confused a bit. When I create test fixture whit scope 'module' I expect fixture code to be executed 'count' times but it...

When used with `-k` to select only some specific tests, `pytest` still collects all tests, multiplied by the number passed to `--count`. Therefore `pytest --count=120 -x -k test_foo` will collect...

enhancement

I have a rarely occurring "long delay" issue when using a resource via network. It usually happens in the 8-15 hours range but sometimes never. It usually recover after a...

enhancement

I'd like to repeat a test until it succeeds (waiting for some condition before continuing with other tests). An option would be great like `--repeat-on=failure`, with a default of `success`,...

on python 3.6.8, pytest 4.5.0, pytest-repeat 0.8.0 `py.test --doctest-modules --count=2` ```python @pytest.fixture(autouse=True) def __pytest_repeat_step_number(request): if request.config.option.count > 1: try: return request.param except AttributeError: > if issubclass(request.cls, TestCase): E TypeError: issubclass()...

documentation

here is my scenario : ``` @pytest.mark.order1 def test_module_A(): print("1.1 test_module_A...") pass @pytest.mark.order2 def test_module_B(): print("1.2 test_module_B...") pass @pytest.mark.order3 def test_module_C(): print("1.2 test_module_C...") pass ``` when I run test with...

Hi, Thanks for writing such a useful and simple to use plugin. I have been using repeat in our environment for a while and added support for test case level...

I want to use an environment based on the number of repetitions as the picture show ![image](https://user-images.githubusercontent.com/51101265/190850532-bf087a63-b48f-42a4-88ad-2950c8a84b9d.png)

Bumps the github_actions group with 2 updates: [hynek/build-and-inspect-python-package](https://github.com/hynek/build-and-inspect-python-package) and [actions/download-artifact](https://github.com/actions/download-artifact). Updates `hynek/build-and-inspect-python-package` from 1 to 2 Release notes Sourced from hynek/build-and-inspect-python-package's releases. v2.0.0 This release switches to actions/upload-artifact v4, which...

dependencies