pytest-dev / pytest-dev/pytest-xdist
Any way to run the groups of tests in sequence and run the test under each group in parallel
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.9k
- Forks
- 287
- Avg merge
- 9h 30m
- Merged PRs (30d)
- 2
Description
Any way to run the groups of tests in sequence and run the test under each group in parallel?
In the example setup below, I want to run my tests by groups/batch sequentially and then run the tests under each group in parallel. Sample run: Run first group2 and run test4 and test5 in parallel. After group2 is completed, run group1 and run test1, test2 and test3 in parallel. So on and so forth. Any idea how can I achieve this setup? I would really appreciate the help.
Group1:
- test1
- test2
- test3
Group2: - test4
- test5
Group3: - test6
- test7
- test8
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue describes sequential groups with parallel tests within each group, but names no files, tests, or entry points. Start by reviewing the repository's existing scheduling behavior and determine how test groups are currently represented. Done should be defined by reproducing the group2-then-group1-then-group3 ordering while preserving parallel execution within each group.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- distributed-systems, testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100