Run unit tests in IntelliJ IDEA from multiple modules together

前端 未结 6 1959
忘掉有多难
忘掉有多难 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:46

    For me both solutions didn't work or didn't work es expected.

    For me I have 3 modules. My modules dependencies look like this

    Presentation -> Domain -> Data

    I just wanted to execute all tests together. So I came up with the 'Across module dependencies' approach

    My Settings look like this:

提交回复
热议问题