开发者

EclEmma plugin with TestNG plugin and multiple eclipse projects

开发者 https://www.devze.com 2023-03-26 09:25 出处:网络
I have ten maven modules, w开发者_运维技巧hich are separate eclipse projects. All of them has testNG tests.

I have ten maven modules, w开发者_运维技巧hich are separate eclipse projects. All of them has testNG tests. When I trying to create emma coverage configuration for this it allows choose only one particular project. So, to receive the whole picture of main project coverage I have to create 10 emma coverage configurations! It's very inconvenient both in configuring and using, how can I avoid it?


We had a similar situation, in our scenario we had multiple projects and they all had junits, we created a another project which had test configurations and TestSuite to include junits test cases for all the projects. Running TestSuite would give us coverage for all the projects.

Though you have maven but you can use similar design.

Hoping this suggestion helps you.

Cheers !!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号