jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dheerendra Kulkarni" <dheeren...@gmail.com>
Subject Re: Multiple tests in one report
Date Wed, 08 Aug 2007 07:45:49 GMT
You can add test suite to another test suite

regards
Dheerendra

On 8/8/07, Bervoets, Sébastien <Sebastien.Bervoets@arista.be> 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:dheerendra@gmail.com]
> 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 <Sebastien.Bervoets@arista.be> 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: cactus-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
>
> AristA mail server sent this e-mail.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>
>

Mime
View raw message