Code Coverage Example
So, I have been over the example code coverage build script many times now and it just is not working.
The problem is that it seems JUnit is not generating the expected coverage file.
It is run with -Xbootclasspath/a:... -Drt.control... , this is taken straight from the example.
However running this through the build and running this command line does not seem to be doing anything emma related. JUnit runs as normal, and runs all the test cases, but no output.
The files are instrumented it seems, but maybe I am missing something.
Has anyone had success setting up the sample?
Thanks,
Jake
The problem is that it seems JUnit is not generating the expected coverage file.
It is run with -Xbootclasspath/a:... -Drt.control... , this is taken straight from the example.
However running this through the build and running this command line does not seem to be doing anything emma related. JUnit runs as normal, and runs all the test cases, but no output.
The files are instrumented it seems, but maybe I am missing something.
Has anyone had success setting up the sample?
Thanks,
Jake
2 answers
jatsrt schrieb:
Could you maybe attach your adapted build script?
Cheers,
Tobias
So, I have been over the example code coverage build script many times
now and it just is not working.
The problem is that it seems JUnit is not generating the expected
coverage file.
It is run with -Xbootclasspath/a:... -Drt.control... , this is taken
straight from the example.
However running this through the build and running this command line
does not seem to be doing anything emma related. JUnit runs as
normal, and runs all the test cases, but no output.
The files are instrumented it seems, but maybe I am missing something.
Has anyone had success setting up the sample?
Thanks,
Jake
Hi,
Could you maybe attach your adapted build script?
Cheers,
Tobias