pytest-test-groups
pytest-test-groups copied to clipboard
A Pytest plugin that gives you a way to split your tests into groups of a specific size
Since grouping does not factor in that there will be some tests which will get skipped and due to that when grouping happened, one group will have 2 tests run...
This project seems abandoned. Simple bugs haven't been remedied in years, and those fixes that did make it to master haven't been released since 2016. https://github.com/AdamGleave/pytest-shard/ seems to address the...
Thanks for this plugin! We are using it and it helped lowering our pipeline running times from ~60m to ~7m. However, I found out that failures of unittets tend to...
Running my tests via pytest and receiving output: ``` platform linux -- Python 3.7.1, pytest-5.3.5, py-1.8.1, pluggy-0.13.1 -- /usr/local/bin/python cachedir: .pytest_cache rootdir: /requests_tests, inifile: pytest.ini, testpaths: tests plugins: split-tests-1.0.9, sugar-0.9.2,...
`--test-group-random-seed` originally made tests run in a hard to predict order. For many codebases that's okay, but this is an unnecessary limitation which can cause non-determinism in test suites that...
Due to the math in the following method: ``` def get_group_size(total_items, total_groups): """Return the group size.""" return int(math.ceil(float(total_items) / total_groups)) ``` This can return a group_size that leads to all...
I see some of my test-groups finish within 2 minutes and others needing multitudes of that. It would be great to find a solution to even it out to have...
This allows for proper grouping when using e.g. `-k`: items will be narrowed down already by then. TODO: - [ ] will throw an "Invalid test-group argument" when `-k` selects...