Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 360705

Summary: Add code coverage to p2 external tests
Product: [Eclipse Project] Equinox Reporter: DJ Houghton <dj.houghton>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: kim.moir
Version: 3.8.0 Juno   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description DJ Houghton CLA 2011-10-12 13:47:17 EDT
Now that we have JaCoCo code coverage results as part of our builds, we should add the required command-line args to some of the p2 tests to get results. 

We have tests (reconciler, for instance) which do an install and run the reconciler in an external Eclipse instance. In this case, the code coverage isn't being tracked.

It is pretty straight forward to generate the .exec file, we can do it by adding to the command-line. (maybe in AbstractReconcilerTest.runEclipse?)

http://www.eclemma.org/jacoco/trunk/doc/agent.html
Comment 1 DJ Houghton CLA 2011-12-12 10:49:03 EST

*** This bug has been marked as a duplicate of bug 319875 ***