Will,

Will Glass-Husain wrote:
> I can't figure out why this happened.  "ant test" passes on my local
> machine.  What changed?

Messing around with the VELOTOOLS build (and test) scripts, I saw that
the <junit> element has this sub-element:

<formatter type="plain" />

I also found that no errors are ever properly displayed on the console,
which is very frustrating. This is even true when adding -debug to the
ant command line.

In the tests that I do on my apps, I have the following:

<formatter type="plain" usefile="false" />

Making this small change allowed me to see all errors as expected on the
console. If you don't do this, you get a file called
/path/to/test/TheTest.txt which contains any errors that may have occurred.

I think that for automated testing, you probably want to eliminate the
use of the file. At least it might help you figure out what the actual
problem is in the nightly tests.

Hope that helps,
-chris


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to