From 878e4510a41d971f1f5018769cf2279c27871a63 Mon Sep 17 00:00:00 2001 From: ltheussl Date: Thu, 23 Mar 2006 19:47:24 +0000 Subject: [PATCH] PR: MPTEST-58 Add ability to fail the build on test errors, new property maven.test.error.ignore. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@388247 13f79535-47bb-0310-9956-ffa450edef68 --- test/plugin.jelly | 20 +++++++++++++++++++- test/xdocs/changes.xml | 1 + test/xdocs/properties.xml | 11 ++++++++++- 3 files changed, 30 insertions(+), 2 deletions(-) diff --git a/test/plugin.jelly b/test/plugin.jelly index 4bee25a7..89310b3b 100644 --- a/test/plugin.jelly +++ b/test/plugin.jelly @@ -134,8 +134,14 @@ - + + + + + @@ -257,8 +263,14 @@ + + + + + @@ -341,8 +353,14 @@ + + + + + diff --git a/test/xdocs/changes.xml b/test/xdocs/changes.xml index 3ba45303..a444302c 100644 --- a/test/xdocs/changes.xml +++ b/test/xdocs/changes.xml @@ -24,6 +24,7 @@ + Add ability to fail the build on test errors, new property maven.test.error.ignore. Do not execute test:test-resources and test:compile unless tests will be run. test:single should ignore maven.test.skip=true. Test failure doesn't halt execution of test suite. diff --git a/test/xdocs/properties.xml b/test/xdocs/properties.xml index 18be9ad3..d84e0f17 100644 --- a/test/xdocs/properties.xml +++ b/test/xdocs/properties.xml @@ -121,7 +121,16 @@ maven.test.failure.ignore Yes - Set this to true to ignore a failure during testing. + Set this to true to ignore a failure during testing + (errors are considered failures as well). + Its use is NOT RECOMMENDED, but quite convenient on occasion. + + + + maven.test.error.ignore + Yes + + Set this to true to ignore errors during testing. Its use is NOT RECOMMENDED, but quite convenient on occasion.