RE: Multiple tests in one report

Bervoets, Sébastien <[email protected]> Wed, 8 Aug 2007 09:36:19 +0200
Newsgroups gmane.comp.jakarta.cactus.user
Message-ID <[email protected]>
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.