On 6/14/06, Riaan Koegelenberg <[EMAIL PROTECTED]> wrote:
>
> 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

Riaan , can we see some sample code of you JUnit4 tests please

Jeff

GoogleTalk : ejbengine
Skype        : ejbengine
Registered Linux user number 366042

--~--~---------~--~----~------------~-------~--~----~
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