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

Pytest plugin which splits the test suite to equally sized "sub suites" based on test execution time.

Results 48 pytest-split issues
Sort by recently updated
recently updated
newest added

I have two settings for CI a) run all the tests on GPU b) run a subset of the tests on CPU the subset is because many tests are decorated...

I'm interested in file based splits in order to keep modules together For example: ``` a.py b.py sub_module/c.py sub_module/d.py another_sub_module/e.py ``` A split might be like `a.py and b.py`, `sub_module`,...

Considering a test case with `setup_class`: ```py import time class TestA: @classmethod def setup_class(cls): time.sleep(6) def test1(self): time.sleep(2) def test2(self): time.sleep(3) ``` Run: ```sh pytest test_a.py --store-durations ``` The result...

Pages: https://jerry-git.github.io/pytest-split/#splitting-algorithms Readme: https://github.com/jerry-git/pytest-split

New version was released - https://github.com/pytest-dev/pytest/releases/tag/9.0.0

Pytest 9 was released. PR: https://github.com/jerry-git/pytest-split/pull/112

## Description Mean represents the estimated test duration better than average ## Checklist - [ ] Tests covering the new functionality have been added - [x] Documentation has been updated...

Hi, I’d like to request a new CLI flag for pytest-split similar to how pytest-cov implements --no-cov. Sometimes it’s useful to temporarily run the full test suite without splitting, even...