Run unit tests in IntelliJ IDEA from multiple modules together

前端 未结 6 2019
忘掉有多难
忘掉有多难 2021-01-29 23:56

How can I run all tests from two or more IDEA modules at once?

I\'m using many modules and it is important to run all of the unit tests often and when I choose more tha

6条回答
  •  我在风中等你
    2021-01-30 00:28

    This worked for me for a project with multiple modules.

    Create a new JUnit run/debug configuration. Test kind: 'All in package' Search for tests: 'Whole project'

    You will have to specify a working directory as well.

提交回复
热议问题