pytest-repeat
pytest-repeat copied to clipboard
pytest plugin for repeating test execution
This organizes pytest-repeat arguments into its own option group using [getgroup](https://docs.pytest.org/en/latest/reference/reference.html#pytest.Parser.getgroup). Closes #59
Proposal to add `--repeat-timeout=minutes`, with the type being a float. This borrowed functionality from `pytest-flakefinder` that has a `--flake-max-minutes`. **--repeat-timeout vs --repeat-max-minutes** I'm thinking `--repeat-timeout` seems more obvious, and a...
Pytest arguments are currently added to the custom arguments group using parser.addoption. You can organize these into a pytest-repeat group so it's clear what options go with this module. ```...
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...
When running many repeatitions of a test with `--count`, `.pytest_cache/v/cache/nodeids` may get up to millions of entries. Eg: ``` "test/utils/test_types.py::test_if_none[1-100]", "test/utils/test_types.py::test_if_none[10-100]", "test/utils/test_types.py::test_if_none[100-100]", "test/utils/test_types.py::test_if_none[11-100]", "test/utils/test_types.py::test_if_none[12-100]", ... ``` This may cause a...
Hello, first of all, thank you for this plugin and all of your other work. Would you be OK to update the test name by padding the iteration number? I...
Adds a `norepeat` (or could be changed to `no_repeat` if it feels better) marker that allows tests to be flagged so that using the CLI arguments won't trigger repeats on...
This change addresses the discussion in issue #87.
[repeat tests change to happen after -k](https://github.com/pytest-dev/pytest-repeat/commit/e7bab37c09c7c07ff7b46e0079ce7c3f6cfcfe12) **Based on actual measurements under tests , the performance will be improved by at least 2x to 10x.** ****This change will optimize the...