FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Profiling unit tests

 
Post new topic   Reply to topic    NetBeans Forums -> Profiler Users
View previous topic :: View next topic  
Author Message
Thomas B
Posted via mailing list.





PostPosted: Thu Jun 04, 2009 1:55 pm    Post subject: Profiling unit tests Reply with quote

HI!

I have read in some blogs that this is possible, but whenever I try to
use "Profile file" on a unit test class, I get
java.lang.ClassNotFoundException.

I can profile "normal" classes in the project without problems. And of
course I can run the unit tests with no problems.

This happens with NB 6.5 and 6.7 RC1.

Any ideas?

Thanks!

Thomas


---------------------------------------------------------------------
To unsubscribe, e-mail: address-removed
For additional commands, e-mail: address-removed
Back to top
Jiri Sedlacek
Posted via mailing list.





PostPosted: Thu Jun 04, 2009 2:02 pm    Post subject: Profiling unit tests Reply with quote

Hi Thomas,

it's not clear what's the problem cause just based on your email - you should file a bug report for
the ClassNotFoundException at http://www.netbeans.org/issues/enter_bug.cgi?component=profiler and
provide the full IDE logfile there.

Anyway, tests should be profiled using 'Profile Test for' action, not by 'Profile file'. If you
select a class which has appropriate test available in Unit Test Packages, the 'Profile | Profile
Other | Profile Test for [classname]' action should be enabled.

Jiri


Thomas B
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Profiler Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB