pytest-test-groups icon indicating copy to clipboard operation
pytest-test-groups copied to clipboard

Grouping by slowness to even out group duration & shorten total duration

Open belugame opened this issue 6 years ago • 2 comments

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 the shortest possible overall duration.

What might work is to spread the slowest test across the groups.

belugame avatar Feb 26 '19 10:02 belugame

I'm working on a solution that uses the output of --durations=0 to distribute tests into groups.

belugame avatar Mar 15 '19 12:03 belugame

Maybe https://github.com/jerry-git/pytest-split ?

Morikko avatar Jun 04 '24 16:06 Morikko