Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsCombine JUnit and Coverage data
https://www.eclipse.org/forums/index.php/mv/msg/28989/94101/#msg_94101
verfiy the number of time a method is called or the %hit for a method. Is
there some way to do this?? Is there some way to extract and manipulate
data TPTP has collected??]]>mike2007-03-23T18:56:44-00:00Re: Combine JUnit and Coverage data
https://www.eclipse.org/forums/index.php/mv/msg/28989/95526/#msg_95526
Unfortunately, this use case is currently not supported (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=75029).
To work around this limitation and use the TPTP Method Level Code
Coverage function during test execution, do the following:
1) Append the following JVM parameter (PI Agent parameter) to the
hyades.test.JVM parameter in the <Agent Controller installation
directory>\plugins\org.eclipse.hyades.test.tools.core_<version
number>\config\pluginconfig.xml file:
4) Attach to the Java Profiler agent in the workbench (Run >> Profile... >>
Attach - Java Process). Make sure you set the correct filters and analysis
types (e.g. Method Level Code Coverage).
Consult the Agent Controller's getting_started.html file for more
information on PI Agent parameters. I prefer controlled mode since it stops
application until you attach/monitor.
Once the trace data is collected and loaded in to the models for display
in the UI, you can save/export/filter/sort accordingly.
Paul
"michael shipkowski" <michael.shipkowski@sas.com> wrote in message
news:2a73efbe4bc6f069e6be194eaa002e24$1@www.eclipse.org...
>I would like to run JUnit test in conjunction with TPTP code coverage to
>verfiy the number of time a method is called or the %hit for a method. Is
>there some way to do this?? Is there some way to extract and manipulate
>data TPTP has collected??
>]]>Paul Slauenwhite2007-04-12T11:30:59-00:00