Pragmatists/JUnitParams

Parallelize test runs

Open

#84 aberto em 15 de jun. de 2016

Ver no GitHub
 (5 comments) (2 reactions) (0 assignees)HTML (151 forks)batch import
help wantedreviewed

Métricas do repositório

Stars
 (887 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador