Is the result of each test run dependent on the previous?  If not you could hoist your repeating logic into a suite, that way you'd get a report of all successes and failures.  Might not be applicable in your case as you've not provided any hint of what your test does.

Jonathan

On Tue, 26 Oct 2004 21:54:37 -0000, zoran_101 <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Hopefully this is an easy question fro somebody
>
> Lets say I have a test that I have to run for 100 times
>
> public void testABC()
> {
>�������� for(int i=0;i<100;i++)
>�������� {
>���������������� assertEquals(someMessage, expectedResult,
> actualResult)
>�������� }
> }
>
> expectedResult and actualResult are different values in every run,
> so if the assert fails after lets say 50 runs the loop will not
> continue.
>
> My question is how can I achieve the run of all the 100 test even if
> some of them fail.
>
> Thanks
> Zoran
>

Yahoo! Groups Sponsor
ADVERTISEMENT
click here
Web Bug from http://us.adserver.yahoo.com/l?M=315388.5529720.6602079.3001176/D=groups/S=:HM/A=2372354/rand=559709393


Yahoo! Groups Links

Reply via email to