NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
sflennik
Joined: 19 Oct 2010 Posts: 6
|
Posted: Mon Aug 01, 2011 7:37 pm Post subject: How to profile unit test? |
|
|
How do you profile a unit test in Netbeans 6.9 running on Ubuntu?
The main profile menu: Profile : Profile Other : Profile test for ... menu item is grayed out. I think this is the menu item I need. What do you do to enable this? |
|
| Back to top |
|
 |
Tomas Hurka Posted via mailing list.
|
Posted: Thu Aug 04, 2011 4:09 pm Post subject: Re: How to profile unit test? |
|
|
On 1 Aug 2011, at 21:37, sflennik wrote:
| Quote: | How do you profile a unit test in Netbeans 6.9 running on Ubuntu?
The main profile menu: Profile : Profile Other : Profile test for ... menu item is grayed out. I think this is the menu item I need. What do you do to enable this?
| What kind of project do you have? Are you using Junit 4?
Bye,
--
Tomas Hurka <mailto:address-removed>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.java.net
Software Developer
Oracle, Praha Czech Republic |
|
| Back to top |
|
 |
sflennik
Joined: 19 Oct 2010 Posts: 6
|
Posted: Thu Aug 04, 2011 7:40 pm Post subject: |
|
|
| I'm using junit 4. I figured out how to enable the menu. You need to open the class being tested (or select it in the project window). It will not enable when you have the test class open. |
|
| Back to top |
|
 |
frivgames
Joined: 10 Dec 2011 Posts: 1
|
Posted: Sat Dec 10, 2011 4:59 am Post subject: |
|
|
| Great post |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|