Can I test a method in java class repeatedly using JUnit, calling the method in a loop from JUnit class
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Yellappa_A
Posted On:   Friday, November 29, 2002 04:47 AM

I have a method, which needs to be tested for various kinds of inputs. I would like to test the method calling in a loop from JUnit class with different input value. How can I write junit class. I wrote a method in JUnit Class (extends TestCase) which calls the intended method in a loop, but is calling the method only one time..Could anybody give me any suggestions to get this done..

Thanks in advance,
Yellappa

Re: Can I test a method in java class repeatedly using JUnit, calling the method in a loop from JUnit class

Posted By:   Anonymous  
Posted On:   Saturday, November 30, 2002 03:46 AM

Can you post your code, please. What you describe should be possible without any problems...
About | Sitemap | Contact