Added docs about format of tests

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@415470 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Carlos Sanchez Gonzalez 2006-06-20 00:50:03 +00:00
parent 1332571f3d
commit eac33e1c89
1 changed files with 33 additions and 0 deletions

View File

@ -5,6 +5,39 @@ Notes:
- you can add mojos to the integration-tests plugins/maven-core-it-plugin - 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 - 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: Details:
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
it0000: The simplest of builds. We have one application class and one test it0000: The simplest of builds. We have one application class and one test