我试图从我的报告中删除一些包并且遇到了问题。
有人能给我一些帮助吗?
我在我的ant进程中使用 EMMA。
<!-- Generate the emma report both in xml and html -->
<emma>
<report
sourcepath="${build.report.src}"
metrics="class:${coverage.classes.min},method:${coverage.methods.min}">
<fileset dir="${build.report.junit.data.dir}">
<include name="*.emma"/>
</fileset>
<html outfile="${build.report.reports}/emma/raw.html" depth="method"/>
<xml outfile="${build.report.tmp}/emma.xml" depth="method"/>
</report>
</emma>
我试过使用:
<filter excludes="com.my.package.*"/>
但没有成功:(