运行所有测试
有没有办法在多个 Eclipse 项目中运行所有测试?
我有一个 Maven 多模块项目,想要使用 emma 向我展示代码,该代码没有被任何测试覆盖,无论它位于哪个子模块中。所以我的想法是运行一次 emma-coverage,其中包括我所有模块的所有测试。
有办法做到这一点吗?
Is there a way to run all the tests in multiple eclipse projects?
I have a maven multi module project and want to use emma to show me code, that is not covered by any tests, not matter in which submodule it lies. So my idea is to have a single emma-coverage run, that includes all the tests of all my modules.
is there a way to do this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以查看 jacoco 它在 ant/emma 上下文中运行您的测试并生成报告 -报告组件能够将每个子模块的结果合并到一个报告中。
You could have a look at jacoco which runs your tests in an ant/emma context and generates a report - the report component is able to merge the results from each submodule into a single report.