EclEmma plugin with TestNG plugin and several eclipse projects

I have ten maven modules which are separate eclipse projects. All of them have testNG tests. When I try to create an emma coverage configuration for this, it allows me to select only one specific project. So, to get the whole picture of the main project coverage, I need to create 10 emma coverage configurations! This is very inconvenient both in setup and in use, how can I avoid it?

+4
source share
1 answer

We had a similar situation, in our scenario we had several projects, and all had units, we created another project in which there were test configurations and TestSuite to include unit tests for all projects. The launch of TestSuite will give us coverage for all projects.

Although you have maven, you can use a similar design.

Hoping this offer helps you.

Greetings !!

0
source

All Articles