Running JUnit Tests in Parallel in IntelliJ IDEA

后端 未结 3 2178
温柔的废话
温柔的废话 2020-12-17 15:43

I have a large suite of tests that takes about half an hour to run and would love to be able to the test classes in parallel.

Is there a way to do that with IntelliJ

3条回答
  •  失恋的感觉
    2020-12-17 15:58

    If you are using JUnit4, you can give this plugin a try: https://plugins.jetbrains.com/plugin/12959-junit4-parallel-runner

    Running tests in parallel is as easy as clicking on the green triangle next to a

    • class -> all the test methods in the class are run in parallel
    • package -> all the classes in the package are run in parallel

提交回复
热议问题