Hi 

I am trying to create a suite in Junit 4 to run all my test
classes simultaneously.

In Junit 3 it was easy enough to do this by making the
following call:

TestSuite suite= new TestSuite(MyTest.class);
TestResult result= suite.run();

Problem is, I am using Junit 4 and since my test classes do
not extend TestCase it is not working.  

I know I can just change my classes to extend TestCase, but
has anybody been able to create a test suite in Junit 4
with test classes that do not extend TestCase?

Riaan
___________________________________________________________________
For super low premiums, click here http://www.webmail.co.za/dd.pwm

http://www.webmail.co.za the South African FREE email service

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CTJUG Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/CTJUG-Forum
For the ctjug home page see http://www.ctjug.org.za
-~----------~----~----~----~------~----~------~--~---

Reply via email to