[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tptp] How do I get Code Coverage analysis?

I'm using Eclipse 3.3, TPTP 4.3 (although some features report 4.4) and am using Java 1.5. I can't seem to generate any Code Coverage analysis from running my plugin tests.

My setup: My test project is fragment that runs inside of the context of the main plugin. The tests are run as JUnit Plugin tests.

When I profile the tests I get execution analysis data and can browse where the time was spent, but the code coverage window says:

No execution statistics is available for display.
Either you have no trace selected in the Profiling Monitor view or the current selection does not contain execution statistic information.


Note:
This view is available only if the trace contains execution statistics. To collect this type of information, on the Profile tab in the Launch configuration, choose the Execution Time Analysis option.


But this exactly what I set in the profiling window. So I ask How do I get Code Coverage of my plugin tests using Java 1.5?

Cheers
Mark Levison