Yes sure but the ServletTestRunner expect only one suite. I think I'll have to create another Runner extends HttpServlet like ServletTestRunner.
May be this already exists ? Regards, Sebastien -----Original Message----- From: Dheerendra Kulkarni [mailto:[EMAIL PROTECTED] Sent: 08 August 2007 09:46 To: Cactus Users List Subject: Re: Multiple tests in one report You can add test suite to another test suite regards Dheerendra On 8/8/07, Bervoets, Sébastien <[EMAIL PROTECTED]> wrote: > Thanks Dheerendra > I've just tested this and It works. But ho can I get 2 test suite in the same > report ? > > The result I get for the moment is : > <testsuites> > <testsuite name="be.arista.test.bers.cactustest.AllTests" tests="2" > failures="0" errors="0" time="0.344"> > <testcase name="testConvert" time="0.016"/> > <testcase name="test100YenToDollar" time="0.281"/> > </testsuite> > </testsuites> > > and I'd like to get something like this : > <testsuites> > <testsuite name="be.arista.test.bers.cactustest.ConverterTest" tests="1" > failures="0" errors="0" time="0.xxx"> > <testcase name="testConvert" time="0.xxx"/> > </testsuite><testsuite name="be.arista.test.bers.cactustest.Converter2Test" > tests="1" failures="0" errors="0" time="0.xxx"> > <testcase name="test100YenToDollar" time="0.xxx"/> > </testsuite> > </testsuites> > > Thanks > > -----Original Message----- > From: Dheerendra Kulkarni [mailto:[EMAIL PROTECTED] > Sent: 08 August 2007 09:25 > To: Cactus Users List > Subject: Re: Multiple tests in one report > > > Create a test suite and add these two tests to the suite and call the > test command on the suite, it runs both the tests > > regards > Dheerendra > > On 8/8/07, Bervoets, Sébastien <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I've followed the tutorial "Testing EJBs" with the Converter and I'm happy > > to see that works fine. I'm quicly happy ;) > > > > I've tested the ServletTestRunner with XSLT using the command : > > http://localhost:9080/ConverterTest/ServletTestRunner?suite=be.arista.test.bers.cactustest.ConverterTest&transform=yes > > and it works fine also. > > > > I created a second test class named Converter2Test with another test and I > > can test it with the command : > > http://localhost:9080/ConverterTest/ServletTestRunner?suite=be.arista.test.bers.cactustest.Converter2Test&transform=yes > > > > But now I'd like to use only one command to test both and see the result in > > one report. > > > > Could you please help me ? > > > > Thanks > > > > Sébastien Bervoets > > Belgium > > > > > > AristA mail server sent this e-mail. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > AristA mail server sent this e-mail. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] AristA mail server sent this e-mail. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]