maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r415479 - /maven/components/branches/maven-2.0.x/maven-core-it/README.txt
Date Tue, 20 Jun 2006 01:20:29 GMT
Author: carlos
Date: Mon Jun 19 18:20:28 2006
New Revision: 415479

URL: http://svn.apache.org/viewvc?rev=415479&view=rev
Log:
Merging 415470 from trunk. Added docs about format of tests

Modified:
    maven/components/branches/maven-2.0.x/maven-core-it/README.txt

Modified: maven/components/branches/maven-2.0.x/maven-core-it/README.txt
URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-core-it/README.txt?rev=415479&r1=415478&r2=415479&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-core-it/README.txt (original)
+++ maven/components/branches/maven-2.0.x/maven-core-it/README.txt Mon Jun 19 18:20:28 2006
@@ -1,3 +1,44 @@
+Notes:
+- today, 3 sets of integration tests, categorized by their ids (it0xxx, it1xxx, it2xxx).

+  see below for what these groups represent
+- creating a new test:
+ - you can add mojos to the integration-tests plugins/maven-core-it-plugin
+ - add log.txt and target to your it test svn ignore list
+
+
+Format of tests:
+-------------------------------------------------------------------------------
+
+Any Maven project plus the following optional files
+
+- goals.txt goals to run
+
+- expected-results.txt path of files expected after build, use "!" as first char to mark
it as not expected
+
+Examples:
+target/maven-core-it0003-1.0.jar
+${artifact:org.apache.maven:maven-core-it0003:1.0:jar}
+!target/maven-core-it0016-1.0/WEB-INF/lib/servletapi-2.4-20040521.jar
+target/maven-core-it0057-1.0.jar!/it0001.properties
+
+This means that
+we expect target/maven-core-it0003-1.0.jar
+we expect an artifact in the local repo under org.apache.maven groupId, maven-core-it0003
artifactId, 1.0 version and type jar
+we don't expect target/maven-core-it0016-1.0/WEB-INF/lib/servletapi-2.4-20040521.jar
+we don't expect it0001.properties inside target/maven-core-it0057-1.0.jar
+
+
+- prebuild-hook.txt comands to run before the invocation of mvn
+
+Examples:
+rm ${artifact:org.apache.maven.plugins:maven-core-it-plugin:1.0:maven-plugin}
+rmdir ${basedir}/test project
+
+- cli-options.txt options used in mvn command line
+
+
+
+Details:
 -------------------------------------------------------------------------------
 it0000: The simplest of builds. We have one application class and one test
         class. There are no resources, no source generation, no resource



Mime
View raw message