ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Billy Bacon <billy.ba...@thirty3.net>
Subject Determining if your unit tests pass/fail when running them from Ant
Date Thu, 08 May 2003 17:55:33 GMT
I'm in the process of writing a shell script (for a cron job) that will call
my Ant targets on a nightly basis. What I'd like to do is prevent my war
file from being deployed to my production server if when my JUnit tests are
executed, 1 or more fail.

Is there a way to determine if my unit tests fail when executed through Ant?
Is there a return value that I should look for? I need to detect something
like this through a shell script....

Any suggestions would be greatly appreciated.

Thank you

- Billy -


Mime
View raw message