Is there a way to run all test in an root pom and collect test coverage in Intellij Idea ?
Create a Run Configuration that will look for tests in the whole project. Make sure that you choose All in package
and In whole project
in the configurations dialog:
Make sure that you choose the <default>
package in the Choose Package
dialog.
Now you can select to run this configuration using Run 'All in project' with Coverage
:
The result will be presented in a separate coverate window:
And you will also see the result in the Project View
window for a fast overview: