robotframework:verify

Full name:

org.robotframework:robotframework-maven-plugin:2.1.0:verify

Description:

Verifies the results from acceptance-test goal.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: test.
  • Binds by default to the lifecycle phase: verify.

Optional Parameters

Name Type Since Description
<externalRunner> ExternalRunnerConfiguration -

Test are executed in a new process if this configuration is used.

The classpath for the new process will include by default all the test scope dependencies from the pom.

  • Environment variables can be added with environmentVariables map. CLASSPATH environment variable is added (prepended) to the default dependencies.
  • excludeDependencies can be used to exclude the test scope dependencies from the classpath of the new process.
  • jvmArgs can be used to specify JVM options
  • runnerClass can be used to specify runner class
  • runWithPython can be used to specify running with Python Robot Framework
Example:

<externalRunner>
     <environmentVariables>
         <foo>bar</foo>
         <CLASSPATH>this-should-be-seen-by-external-process.jar</CLASSPATH>
     </environmentVariables>
     <jvmArgs>
         <jvmArg>-XX:PermSize=128m</jvmArg>
         <jvmArg>-XX:MaxPermSize=256m</jvmArg>
         <jvmArg>-Xmx512m</jvmArg>
     </jvmArgs>
     <excludeDependencies>true</excludeDependencies>
     <runnerClass>org.robotframework.RobotFramework</runnerClass>
     <runWithPython>false</runWithPython>
</externalRunner>

<isTestFailureIgnore> boolean - Log failures without failing the build.
Default value is: false.
<outputDirectory> File - Configures where generated reports are to be placed.
Default value is: ${project.build.directory}/robotframework-reports.
<skip> boolean - Skip verification of tests, bound to -Dmaven.test.skip, which suppresses test compilation as well.
Default value is: false.
User property is: maven.test.skip.
<skipATs> boolean - Skip verification of acceptance tests executed by this plugin. Bound to -DskipATs. This allows to run tests and integration tests, but no acceptance tests.
User property is: skipATs.
<skipITs> boolean - Skip verification of acceptance tests executed by this plugin together with other integration tests, e.g. tests run by the maven-failsafe-plugin. Bound to -DskipITs
User property is: skipITs.
<skipTests> boolean - Skip verification of tests. Bound to -DskipTests. This allows to skip acceptance tests together with all other tests.
User property is: skipTests.
<testCasesDirectory> File - The directory where the test cases are located.
Default value is: ${project.basedir}/src/test/resources/robotframework/acceptance.
<xunitFile> File - Sets the path to the generated XUnit compatible result file, relative to outputDirectory. The file is in xml format. By default, the file name is derived from the testCasesDirectory parameter, replacing blanks in the directory name by underscores.

Parameter Details

<externalRunner>

Test are executed in a new process if this configuration is used.

The classpath for the new process will include by default all the test scope dependencies from the pom.

  • Environment variables can be added with environmentVariables map. CLASSPATH environment variable is added (prepended) to the default dependencies.
  • excludeDependencies can be used to exclude the test scope dependencies from the classpath of the new process.
  • jvmArgs can be used to specify JVM options
  • runnerClass can be used to specify runner class
  • runWithPython can be used to specify running with Python Robot Framework
Example:

<externalRunner>
     <environmentVariables>
         <foo>bar</foo>
         <CLASSPATH>this-should-be-seen-by-external-process.jar</CLASSPATH>
     </environmentVariables>
     <jvmArgs>
         <jvmArg>-XX:PermSize=128m</jvmArg>
         <jvmArg>-XX:MaxPermSize=256m</jvmArg>
         <jvmArg>-Xmx512m</jvmArg>
     </jvmArgs>
     <excludeDependencies>true</excludeDependencies>
     <runnerClass>org.robotframework.RobotFramework</runnerClass>
     <runWithPython>false</runWithPython>
</externalRunner>
  • Type: org.robotframework.mavenplugin.ExternalRunnerConfiguration
  • Required: No

<isTestFailureIgnore>

Log failures without failing the build.
  • Type: boolean
  • Required: No
  • Default: false

<outputDirectory>

Configures where generated reports are to be placed.
  • Type: java.io.File
  • Required: No
  • Default: ${project.build.directory}/robotframework-reports

<skip>

Skip verification of tests, bound to -Dmaven.test.skip, which suppresses test compilation as well.
  • Type: boolean
  • Required: No
  • User Property: maven.test.skip
  • Default: false

<skipATs>

Skip verification of acceptance tests executed by this plugin. Bound to -DskipATs. This allows to run tests and integration tests, but no acceptance tests.
  • Type: boolean
  • Required: No
  • User Property: skipATs

<skipITs>

Skip verification of acceptance tests executed by this plugin together with other integration tests, e.g. tests run by the maven-failsafe-plugin. Bound to -DskipITs
  • Type: boolean
  • Required: No
  • User Property: skipITs

<skipTests>

Skip verification of tests. Bound to -DskipTests. This allows to skip acceptance tests together with all other tests.
  • Type: boolean
  • Required: No
  • User Property: skipTests

<testCasesDirectory>

The directory where the test cases are located.
  • Type: java.io.File
  • Required: No
  • Default: ${project.basedir}/src/test/resources/robotframework/acceptance

<xunitFile>

Sets the path to the generated XUnit compatible result file, relative to outputDirectory. The file is in xml format. By default, the file name is derived from the testCasesDirectory parameter, replacing blanks in the directory name by underscores.
  • Type: java.io.File
  • Required: No