From: Daniel Z. <dz...@gm...> - 2012-07-21 01:51:52
|
I'm trying to use this with the latest branch build: https://cobertura.svn.sourceforge.net/svnroot/cobertura/branches/ptab_v2_0/cobertura This is my ant instrumentation code: <cobertura-instrument todir="${coverage.build.dir}/classes"> <ignore regex="cobertura.regex.excludes" /> <ignoreMethodAnnotation annotationName="org.junit.Test"/> <ignoreMethodAnnotation annotationName="java.lang.Deprecated"/> <fileset dir="${build.dir}"> <include name="**/*.class" /> </fileset> </cobertura-instrument> The resulting cobertura html report does not have Test/Deprecated coverage filtered out. Am I doing something wrong? Thanks, Danny |