EclEmma 插件与 TestNG 插件和多个 eclipse 项目
我有十个 Maven 模块,它们是单独的 Eclipse 项目。他们都有 testNG 测试。 当我尝试为此创建 emma 覆盖配置时,它只允许选择一个特定项目。因此,为了获得主要项目覆盖范围的全貌,我必须创建 10 个 emma 覆盖范围配置! 无论是配置还是使用都非常不方便,如何避免呢?
I have ten maven modules, which 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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我们也有类似的情况,在我们的场景中,我们有多个项目,它们都有 junit,我们创建了另一个项目,其中有测试配置和 TestSuite,以包含所有项目的 junit 测试用例。运行 TestSuite 将使我们覆盖所有项目。
虽然你有 Maven,但你可以使用类似的设计。
希望这个建议对你有帮助。
干杯!
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 !!