本文介绍了如何在eclipse中使用EclEmma插件排除类和包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我有四个项目,我想在某些项目中跳过一些类和包的代码覆盖,我在eclipse中使用EclEmma插件。



我查了在首选项 - >代码覆盖率中,如果我提供了一些类文件,但在代码覆盖率报告中仍然没有被排除。



任何帮助将赞赏。

解决方案

目前,EclEmma不支持报告中的排除,如(在那里你收到同样的答案) / p>

I have four projects for which i want to skip the code coverage of some classes and packages in some projects, i am using EclEmma plugin in eclipse.

I checked in Preferences->Code Coverage , in Excludes section if i give some class files , but still it doesn't get excluded in the code coverage report.

Any help will be appreciated.

解决方案

Unfortunately currently EclEmma does not support exclusions from the report as stated in https://github.com/jacoco/eclemma/issues/84 (where by the way you received the same answer).

这篇关于如何在eclipse中使用EclEmma插件排除类和包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 13:01