|Re: Combine JUnit and Coverage data [message #95526 is a reply to message #94101]
||Thu, 12 April 2007 07:30
| Paul Slauenwhite
Registered: July 2009
Unfortunately, this use case is currently not supported (see
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
2) Restart the Agent Controller.
3) Run your test.
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.
"michael shipkowski" <firstname.lastname@example.org> wrote in message
>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??
Powered by FUDForum
. Page generated in 0.02214 seconds