The example ant target at the bottom instruments and executes all tests of the directory but produces only a coverage report for the very last *Test.java file. Any suggestions why?
this is because you fork a new JVM for every test (fork="true") and you
ask EMMA to overwrite coverage data (-Demma.coverage.out.merge=false).
Either fork once only (forkmode="once") or ask EMMA to merge coverage data.
Nice to see somebody still working with EMMA ;-)
Regards,
-marc
On 17.11.15 22:30, Henrik Schole wrote:
The example ant target at the bottom instruments and executes all
tests of the directory but produces only a coverage report for the
very last *Test.java file. Any suggestions why?
I guess merge should be true in:
<jvmarg value="-Demma.coverage.out.merge=false"/>
On 17 Nov 2015 at 21:30, Henrik Schole wrote:
The example ant target at the bottom instruments and executes all tests of the directory but produces only a coverage report for the very last *Test.java file. Any suggestions why?
The example ant target at the bottom instruments and executes all tests of the directory but produces only a coverage report for the very last *Test.java file. Any suggestions why?
Hi,
this is because you fork a new JVM for every test (fork="true") and you
ask EMMA to overwrite coverage data (-Demma.coverage.out.merge=false).
Either fork once only (forkmode="once") or ask EMMA to merge coverage data.
Nice to see somebody still working with EMMA ;-)
Regards,
-marc
On 17.11.15 22:30, Henrik Schole wrote:
easy :) the output looks much better now. thanks!
Without looking at my build.xml files...
I guess merge should be true in:
<jvmarg value="-Demma.coverage.out.merge=false"/>
On 17 Nov 2015 at 21:30, Henrik Schole wrote:
yes this was the problem. Thanks for the quick response!