Pragmatists/JUnitParams

Parallelize test runs

Open

#84 ouverte le 15 juin 2016

Voir sur GitHub
 (5 commentaires) (2 réactions) (0 assignés)HTML (151 forks)batch import
help wantedreviewed

Métriques du dépôt

Stars
 (887 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Could we add a feature for the runner to parallelize test execution (using an executor service based on the available core or whatever policy you deem appropriate)?

I've about 1000 parametrized tests in a single module and while intellij is showing me a total runtime of about 4s, in reality it takes more like 40-50s (i suspect the startup/shutdown harness work, class loading, etc, are at play). These are pure unit tests and do not access outside resources so they are definitely CPU bound and CPU utliziation is only about 30% while running. Suggestions very welcome. Thanks.

Guide contributeur