You can also use -Dsurefile.useFile=false to output the error to stdout. I do this in Hudson also so that the emails contain the error.

--Brian

On May 14, 2008, at 12:39 PM, "Adam Hardy" <[EMAIL PROTECTED] > wrote:

Wayne Fay on 14/05/08 16:03, wrote:
>> I am using surefire to run our unit tests. All goes well until a test fails >> then I have to do some major seaching to find the problem. The problem is >> that there are loads of files created for the set of tests (one per class)
>> and no indication of which file I should look in.
>
> If you simply sort the output files by size (in a file manager
> interface or simply CLI), you will notice the successful tests will
> all be a particular file size (within a range, but the files are
> small) and then the failing tests are double that size or larger.

I just run site in continuum and look at the report -

or if you are cmd line-oriented, just cat the appropriate
target/surefire-reports/TEXT-com.mycompany.package.Test.xml



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


Reply via email to