> -----Original Message-----
> From: Sam Ramsden [mailto:[EMAIL PROTECTED]
> Sent: jeudi 20 janvier 2005 02:04
> To: Cactus Users List
> Subject: Re: 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
> >
> 
> Thanks, but...
> The first solution is no good when invoking the tests via a browser on a
> remote machine.

You could put the log in a docroot of some web server or on a shared
filesystem.

> I cannot get anything written to stdout or stderr to appear in the XML.
> Is
> there some sort
> of config required to do so?

No you're right it will not work. I thought you meant the XML file produced
by the <cactus> Ant task. This one will capture stdout and stderr logs (as
it extends the <junit> Ant task that does this). The ServletTestRunner does
not currently capture stdout/stderr.

Thanks
-Vincent




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to