Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Any plans for "Profile As Junit Plug-in Test"?
Any plans for "Profile As Junit Plug-in Test"? [message #82071] Wed, 30 August 2006 14:07 Go to next message
Michael Giroux is currently offline Michael GirouxFriend
Messages: 287
Registered: July 2009
Senior Member
I am writing JUnit tests for plugins. I am currently using Run As JUnit
Plug-in Test and Debug As JUnit Plug-in Test. I would like to collect
coverage reports and profiles. Is there a plan to provide Profile As JUnit
Plug-in Test? If yes, is there a target availability date?

Michael Giroux
Re: Any plans for "Profile As Junit Plug-in Test"? [message #82147 is a reply to message #82071] Wed, 30 August 2006 17:12 Go to previous message
No real name is currently offline No real nameFriend
Messages: 404
Registered: July 2009
Senior Member
Even though a shortcut is not available, you can still profile your JUnit
plug-ins using the profile launch configuration:

From Eclipse's menu, select "Run" > "Profile..." the profile launch
configuration appears. > Double click "JUnit Plug-in Test" >
Under the test tab, select the project and test class > Switch to the
"Monitor" tab. Set the appropriate profiling settings > Click on Profile.

Note: You may *not* want to automatically start monitoring when the
application is launched, since it will significantly slow down the startup
time of the Eclipse workbench. To disable this option: select the
"Monitor" tab under the profile launch configuration > Double click "Java
Profiling (...)" > Click "Next" > De-select the option: "Automatically start
monitoring..." > Finish.
If this option is de-selected, then you'll need to manually start monitoring
the agent once the Eclipse workbench is up. After the launch of the
workbench, right click the agent that appears in the profiling monitor view
and select "Start Monitoring".
Setting appropriate filters will also help improve the runtime performance.
See
http://www.eclipse.org/tptp/platform/documents/speed_profili ng/speedUpProfiling.html
for more details on how you can speed up the profiler.

Thanks.

"Michael Giroux" <michael.giroux@bull.com> wrote in message
news:ed462l$agn$1@utils.eclipse.org...
>I am writing JUnit tests for plugins. I am currently using Run As JUnit
>Plug-in Test and Debug As JUnit Plug-in Test. I would like to collect
>coverage reports and profiles. Is there a plan to provide Profile As JUnit
>Plug-in Test? If yes, is there a target availability date?
>
> Michael Giroux
>
Previous Topic:Identifying Executed Lines of Code Using ProbeKit
Next Topic:Test TPTP menu options not available
Goto Forum:
  


Current Time: Sat Apr 20 03:53:55 GMT 2024

Powered by FUDForum. Page generated in 0.02881 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top