maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heinrichs, Dirk" <>
Subject JUnit test failures stop the build, but test errors do not
Date Mon, 14 May 2012 08:55:16 GMT

I've just joined a project which is using Maven for its builds. When running JUnit tests,
the build fails if there is a build failure, but it does not fail if there is a test error.

I'm new to maven so I'd like to know wether this is expected behaviour or not, and if there
is a way to make it fail on test errors, too (I didn't find anything in the documentation).


Dirk Heinrichs          | Tel:  +49 (0)211 56623 316
Configuration Manager   | Fax:  +49 (0)211 56623 450
Capgemini Deutschland   | Mail:
Wanheimerstraße 68      | Web:
D-40468 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver:

Firma: Capgemini Deutschland GmbH
Geschäftsführer: Dr. Michael Schulte (Sprecher) • Dr. Uwe Dumslaff • Burkhard Kehrbusch
• Josef Ranner
Aufsichtsratsvorsitzender: Antonio Schnieder
Amtsgericht Berlin-Charlottenburg, HRB 98814

This message contains information that may be privileged or confidential and is the property
of the Capgemini Group. It is 
intended only for the person to whom it is addressed. If you are not the intended recipient,
you are not authorized to 
read, print, retain, copy, disseminate, distribute, or use this message or any part thereof.
If you receive this message 
in error, please notify the sender immediately and delete all copies of this message.
View raw message