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
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Reply 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: 224
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: 224
Problem solved annotation was missing
 
IntelliJ Java IDE
 
subject: How to add additional test methods in a testing class in eclipse - junit (Unrooted??)
 
Threads others viewed
How to test a javabean
How to test singleton creation with JUnit
Running SQL in an EJB
how to start on a WEB Project with TDD
Adding syntax highlighting to existing application.
developer file tools