varnishtest:run

Full name:

com.zenika:varnishtest-maven-plugin:0.2:run

Description:

Runs tests with varnishtest.

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: integration-test.

Optional Parameters

Name Type Since Description
excludes List - A list of <exclude> elements specifying the tests (by pattern) that should be excluded in testing. When not specified and when the test parameter is not specified, the default excludes will be

<excludes/>
(which excludes nothing). Each exclude item may also contain a comma-separated sublist of items, which will be treated as multiple <exclude> entries.
includes List - A list of <include> elements specifying the tests (by pattern) that should be included in testing. When not specified and when the test parameter is not specified, the default includes will be
 
<includes>
  <include>src/test/varnish/**.vtc</include>
</includes>
Each include item may also contain a comma-separated sublist of items, which will be treated as multiple <include> entries.
macros Map - List of macros to pass to varnishtest.
reportsDirectory File - Base directory where all reports are written to.
Default value is: ${project.build.directory}/varnishtest-reports.
User property is: varnishtest.reportsDirectory.
skip boolean - Set this to 'true' to bypass varnish tests entirely.
Default value is: false.
User property is: varnishtest.skip.
timeout int - Per-test timeout in seconds.
Default value is: 20.
User property is: varnishtest.timeout.
varnishdCommand String - The command to run for varnishd, for instance /usr/sbin/varnishd for unprivileged users without /usr/sbin in their PATH.
Default value is: varnishd.
User property is: varnishtest.varnishdCommand.
varnishtestCommand String - The command to run for varnishtest, for instance /usr/local/bin/varnishtest.
Default value is: varnishtest.
User property is: varnishtest.varnishtestCommand.
workingDirectory File 0.2 Working directory for varnishtest execution.
Default value is: ${project.basedir}.
User property is: varnishtest.workingDirectory.

Parameter Details

excludes:

A list of <exclude> elements specifying the tests (by pattern) that should be excluded in testing. When not specified and when the test parameter is not specified, the default excludes will be

<excludes/>
(which excludes nothing). Each exclude item may also contain a comma-separated sublist of items, which will be treated as multiple <exclude> entries.
  • Type: java.util.List
  • Required: No

includes:

A list of <include> elements specifying the tests (by pattern) that should be included in testing. When not specified and when the test parameter is not specified, the default includes will be
 
<includes>
  <include>src/test/varnish/**.vtc</include>
</includes>
Each include item may also contain a comma-separated sublist of items, which will be treated as multiple <include> entries.
  • Type: java.util.List
  • Required: No

macros:

List of macros to pass to varnishtest.
  • Type: java.util.Map
  • Required: No

reportsDirectory:

Base directory where all reports are written to.
  • Type: java.io.File
  • Required: No
  • User Property: varnishtest.reportsDirectory
  • Default: ${project.build.directory}/varnishtest-reports

skip:

Set this to 'true' to bypass varnish tests entirely.
  • Type: boolean
  • Required: No
  • User Property: varnishtest.skip
  • Default: false

timeout:

Per-test timeout in seconds.
  • Type: int
  • Required: No
  • User Property: varnishtest.timeout
  • Default: 20

varnishdCommand:

The command to run for varnishd, for instance /usr/sbin/varnishd for unprivileged users without /usr/sbin in their PATH.
  • Type: java.lang.String
  • Required: No
  • User Property: varnishtest.varnishdCommand
  • Default: varnishd

varnishtestCommand:

The command to run for varnishtest, for instance /usr/local/bin/varnishtest.
  • Type: java.lang.String
  • Required: No
  • User Property: varnishtest.varnishtestCommand
  • Default: varnishtest

workingDirectory:

Working directory for varnishtest execution.
  • Type: java.io.File
  • Since: 0.2
  • Required: No
  • User Property: varnishtest.workingDirectory
  • Default: ${project.basedir}