Added maven.junit.printSummary property. BTW, shouldn't this plugin be called junit instead of test?
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114054 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
34c33c2b75
commit
46a4818217
4 files changed
+25
-4
No files matched your search
+3
-3
@@ -87,7 +87,7 @@
|
||||
classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"
|
||||
/>
|
||||
|
||||
<junit printSummary="yes"
|
||||
<junit printSummary="${maven.junit.printSummary}"
|
||||
failureProperty="maven.test.failure"
|
||||
fork="${maven.junit.fork}"
|
||||
dir="${maven.junit.dir}">
|
||||
@@ -185,7 +185,7 @@
|
||||
classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"
|
||||
/>
|
||||
|
||||
<junit printSummary="yes"
|
||||
<junit printSummary="${maven.junit.printSummary}"
|
||||
haltonfailure="yes"
|
||||
haltonerror="yes"
|
||||
fork="${maven.junit.fork}"
|
||||
@@ -249,7 +249,7 @@
|
||||
|
||||
<echo>Searching directory ${maven.test.searchdir}</echo>
|
||||
|
||||
<junit printSummary="yes"
|
||||
<junit printSummary="${maven.junit.printSummary}"
|
||||
haltonfailure="yes"
|
||||
haltonerror="yes"
|
||||
fork="${maven.junit.fork}"
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
maven.junit.fork = no
|
||||
maven.junit.dir = ${basedir}
|
||||
maven.junit.usefile = true
|
||||
maven.junit.printSummary=true
|
||||
maven.test.dest = ${maven.build.dir}/test-classes
|
||||
maven.test.reportsDirectory = ${maven.build.dir}/test-reports
|
||||
maven.test.skip = false
|
||||
|
||||
+11
-1
@@ -14,7 +14,17 @@
|
||||
<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven/src/plugins-build/test/</connection>
|
||||
<url>http://cvs.apache.org/viewcvs/maven/src/plugins-build/test/</url>
|
||||
</repository>
|
||||
<developers/>
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Vincent Massol</name>
|
||||
<id>vmassol</id>
|
||||
<email>vmassol@pivolis.com</email>
|
||||
<organization>Pivolis</organization>
|
||||
<roles>
|
||||
<role>Java Developer</role>
|
||||
</roles>
|
||||
</developer>
|
||||
</developers>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<id>junit</id>
|
||||
|
||||
@@ -37,6 +37,16 @@
|
||||
is <code>true</code>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.junit.printSummary</td>
|
||||
<td>Yes</td>
|
||||
<td>
|
||||
If this value is set to false, JUnit test run details will not
|
||||
include test summary information for a suite. Default value is
|
||||
<code>true</code>. This parameter corresponds to the JUnit Ant
|
||||
task <code>printSummary</code> attribute.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>maven.test.dest</td>
|
||||
<td>Yes</td>
|
||||
|
||||
Reference in new issue
Block a user