pytest-xdist
pytest-xdist copied to clipboard
Retain input ordering in `loadscope`
- Optionally retain input ordering in loadscope for tests where relative ordering matters. i.e. guarantee that, given [input_1, input_2], input_2 never runs before input_1. On any given worker, either input_1 has ran before input_2, or input_1 has never and will never run on this worker.
Thanks for submitting a PR, your contribution is really appreciated!
Here's a quick checklist that should be present in PRs:
-
[x] Make sure to include reasonable tests for your change if necessary
-
[x] We use towncrier for changelog management, so please add a news file into the
changelogfolder following these guidelines:-
Name it
$issue_id.$typefor example588.bugfix; -
If you don't have an issue_id change it to the PR id after creating it
-
Ensure type is one of
removal,feature,bugfix,vendor,docortrivial -
Make sure to use full sentences with correct case and punctuation, for example:
Fix issue with non-ascii contents in doctest text files.
-
this would be very helpful for slow tests in small modules
If this ever get traction from upstream, I'll fix it ;).
Seems this branch is out-of-date with the base branch. Really looking for to have this merged in main branch
Seems this branch is out-of-date with the base branch.
Same response as above. I can fix it if it gets traction. Otherwise there's no point because it'll just become stale again.
what is needed for this to be merged?
@Toad2186 can you please complete this PR now that has been approved? I've been waiting for it for ages :D
Sadly, @gxxeel is not someone with write access to the repo. So it's still not merge-able.
I still wasn't able to review this