aspose file tools*
The moose likes Testing and the fly likes How to add additional test methods in a testing class in eclipse - junit (Unrooted??) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "How to add additional test methods in a testing class in eclipse - junit (Unrooted??)" Watch "How to add additional test methods in a testing class in eclipse - junit (Unrooted??)" New topic
Author

How to add additional test methods in a testing class in eclipse - junit (Unrooted??)

Rajesh Khan
Ranch Hand

Joined: Oct 16, 2011
Posts: 230
Hi , i currently right click on the class and for each method of the class i am allowed to create one testing method.
Is it possible to create multiple testing methods for only one method of a class that needs to be tested??
If i add another custom method in the test generated class I get the error
Unrooted Tests..
Initialization Error
How can i make this method(test) rooted also?? Why is it being called unrooted ??

Rajesh Khan
Ranch Hand

Joined: Oct 16, 2011
Posts: 230
Problem solved annotation was missing
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to add additional test methods in a testing class in eclipse - junit (Unrooted??)