You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Sam Ramsden <sa...@stocksoftware.com.au> on 2005/01/19 02:09:32 UTC

Debug in resultant XML from a Cactus Test?

Does anyone know how to have debug appear in the resultant XML from a Cactus
Test?

For example, something like.....

<testsuites>

    <testsuite name="helper.FezHelperTest" tests="1" failures="0" errors="0"
time="0.047">

        <testcase name="testFezHelperTest" time="0.047">

            <debug>X = 2</debug>

            <debug>X = 5</debug>

        </testcase>

    </testsuite>

</testsuites>


RE: Debug in resultant XML from a Cactus Test?

Posted by Vincent Massol <vm...@pivolis.com>.

> -----Original Message-----
> From: Sam Ramsden [mailto:sam@stocksoftware.com.au]
> Sent: mercredi 19 janvier 2005 02:10
> To: cactus-user@jakarta.apache.org
> Subject: Debug in resultant XML from a Cactus Test?
> 
> Does anyone know how to have debug appear in the resultant XML from a
> Cactus
> Test?

2 solutions:

1/ issue log statements to a file in your tests
2/ anything printed on stdout or stderr is captured and appears in the JUnit
XML report

[snip]

-Vincent