• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Rajesh Khan
Ranch Hand
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 230
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem solved annotation was missing
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic