Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes



2 answers

Permanent link
jatsrt schrieb:
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

0 votes


Permanent link
See my working build.xml at

https://jazz.net/forums/viewtopic.php?t=703

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jan 18 '08, 4:55 p.m.

Question was seen: 6,247 times

Last updated: Jan 18 '08, 4:55 p.m.

Confirmation Cancel Confirm