[Webtest] Ant Script to Fail when Test Fails

christoph.krammer@mvv.de christoph.krammer@mvv.de
Tue, 2 Oct 2007 11:57:31 +0200


Hello everybody,

I want to do different actions in the Ant script when a test fails or is =
successful (deploy the application under test to a different application =
server). But to be able to do this, I have to decide whether a test was =
successful. But the Ant script states Build Successful even if tests =
fail. Is it possible to get a Build failed message, when a single test =
fails, but still to run all tests and generate the HTML output.

Thanks for any help.

Regards,
 Christoph

---
Christoph Krammer

24/7 IT-Services GmbH
Luisenring 49
68159 Mannheim
Germany

christoph.krammer@mvv.de
www.24-7-it-services.de

24/7 IT-SERVICES GmbH / Knooper Weg 75 / 24116 Kiel Handelsregister-Nr. =
HRB 7458, Amtsgericht Kiel
Gesch=E4ftsf=FChrer: Dr. Dirk Bevers, Dr. Ulf Dunker=20