From ffbf62b5d0008c6f832c480d9587097e7db5b0fc Mon Sep 17 00:00:00 2001 From: ltheussl Date: Fri, 24 Mar 2006 18:05:45 +0000 Subject: [PATCH] PR: MPTEST-36 Display a warning if some tests do not pass (and maven.test.failure.ignore=true). git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@388592 13f79535-47bb-0310-9956-ffa450edef68 --- test/plugin.jelly | 33 +++++++++++++++++++++++++++++++++ test/xdocs/changes.xml | 1 + 2 files changed, 34 insertions(+) diff --git a/test/plugin.jelly b/test/plugin.jelly index 241ba76a..14339fe0 100644 --- a/test/plugin.jelly +++ b/test/plugin.jelly @@ -142,6 +142,7 @@ @@ -193,6 +194,16 @@ + + + ========================================================== + + WARNING: There were test failures! + + ========================================================== + + + @@ -274,6 +285,7 @@ @@ -315,6 +327,16 @@ + + + ========================================================== + + WARNING: There were test failures! + + ========================================================== + + + @@ -367,6 +389,7 @@ @@ -426,6 +449,16 @@ + + + ========================================================== + + WARNING: There were test failures! + + ========================================================== + + + diff --git a/test/xdocs/changes.xml b/test/xdocs/changes.xml index f018d433..c996a37f 100644 --- a/test/xdocs/changes.xml +++ b/test/xdocs/changes.xml @@ -24,6 +24,7 @@ + Display a warning if some tests do not pass (and maven.test.failure.ignore=true). Add timeouts to the test plugin, new property maven.junit.timeout. 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.