Pragmatists/JUnitParams

Parallelize test runs

Open

#84 创建于 2016年6月15日

在 GitHub 查看
 (5 评论) (2 反应) (0 负责人)HTML (887 star) (151 fork)batch import
help wantedreviewed

描述

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.

贡献者指南