jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: XSL Report
Date Fri, 06 Jun 2003 21:03:30 GMT
Hi Theo,

Cactus has several ways of executing tests. If you use the Maven plugin
or the Ant integration, you'll find you get exactly the same report as
the junit one as our <cactus> Ant task extends the <junit> class. 

Now it seems you're referring to the servlet test runner, i.e. execution
of cactus tests from a browser. For this way of executing tests, the XML
that is generated does not yet have all the information needed to
produce reports as nice as the <junit-report> Ant task for example.

If you're interested in submitting a patch, the relevant code to improve
can be found here:


(the toXML() method needs to be improved)

Thus, if you wish to get the exact same report as junit, you should use
either the Ant cactus task (available only in Cactus 1.5dev - see
http://jakarta.apache.org/cactus/integration/ant/index.html) or the
Maven plugin (http://maven.apache.org/reference/plugins/cactus).


> -----Original Message-----
> From: Mills, Theo [mailto:theo.mills@twc.state.tx.us]
> Sent: 05 June 2003 22:27
> To: 'cactus-user@jakarta.apache.org'
> Subject: XSL Report
> I've tried searching the archives, but haven't found an answer to my
> issue.
> In a nutshell, I'm not finding the HTML Unit Test Results report that
> Cactus
> generates using the XSL transformation (junit-noframes.xsl) very
> We've got a single TestAll TestCase class that combines the suites
from a
> number of test classes, each with a number of test methods. However,
> the report is generated all the methods from all the classes are
> together in a single HTML table without any indication of which test
> they orginated in. This doesn't seem to reflect the nested test case
> hiearchy that I've heard JUnit is capable of.
> Is this right or am I missing something?
> Thanks!
> -Theo Mills
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org

View raw message