Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Type

Description

fixtureOutputDirectory

File

The directory where compiled fixture classes go. Default value is ${project.build.directory}/fixture-test-classes

reportsDirectory

File

No description. Default value is ${project.build.directory}/greenpepper-reports

systemUnderDevelopment

String

The SystemUnderDevelopment class to use Default value is com.greenpepper.systemunderdevelopment.DefaultSystemUnderDevelopment

...

Name

Type

Description

debug

boolean

Set the Debug mode. Default value is false

excludeDefaultRunner

boolean

When launching the tests in a fork, we create a default runner. You can exclude this default runner from the
testing process if you want to configure your owns. Default value is false

fork

boolean

Launch the test in the Maven process if false. Or fork a java process if true. Default value is false

forkCount

Integer

The maximum number of default runner processes that needs to be spawn;

javaOptions

String

Additionnal JAVA Options to be added to the java command in fork mode.
This is only used in FORK mode and for the default runner.

jvm

String

The Java Virtual Machine path to use for the default runner in fork mode. Default value is java

locale

String

Set the locale for the execution.

redirectOutputToFile

boolean

Set this to true to output the logs only in the log file and not in the console. Default value is false

refresh

boolean

Refresh the specificaction list (updating the index file) Default value is false

reportsType

SpecificationRunnerMojo$ReportType

The format of the generated reports. Can be html or xml. Default value is html

repositories

ArrayListList

This list of repositories.

resume

boolean

Set this property to true to launch only new specifications + failed ones. Default value is false

runners

List

The list of runners that can be associated to repositories for testing.

selectedRepository

String

Set this to a Repository name defined in the pom.xml.
This option is only used in case -Dgp.test is used.

selector

String

Set the Selector class. Default value is com.greenpepper.document.GreenPepperInterpreterSelector

skip

boolean

Set this to 'true' to bypass greenpepper tests entirely.
Its use is NOT RECOMMENDED, but quite convenient on occasion. Default value is false

specFilter

String

Sets a filter to filter the output of the specs. The filter should have a specific syntax:

  • "substring" : a string to look for inside the page name. The search is case insensitive
  • "[RE]regular expression" : a regular expression that will be used to match the page name
    Additionnally you can filter on the implemented status of the page by adding a "[I]"
    as a prefix to your search filter.
  • [I] : Give the implemented pages only
  • [!I] : Give the non implemented pages only
    Note: A "[I]" or "[!I]" as a search filter will filter only on the implemented status.\
    Examples:
  • sun : all specifications having the substring 'sun'
  • [RE]taurus : the specification matching exactly 'taurus'
  • [I] : all implemented specifications
  • [!I] : all non implemented specifications
  • [!I]dummy : all non implemented specifications having the substring 'dummy'
  • [I][RE]'.*moon[^dab]+' : all implemented specifications having the RE '.*moon[^dab]+'

stopOnFirstFailure

boolean

Set this to 'true' to stop the execution on a failure. Default value is false

systemUnderDevelopmentArgs

String

The {@link com.greenpepper.systemunderdevelopment.SystemUnderDevelopment} constructor args.
This parameter is optionnal and can be achieved by appending them to the systemUnderDevelopment parameter.

testFailureIgnore

boolean

Set this to true to ignore a failure during testing.
Its use is NOT RECOMMENDED, but quite convenient on occasion. Default value is false

testSpecification

String

Set this to a Specification name to run only this test.
The test is searched inside the default repository.

testSpecificationOutput

String

Set this to a Specification name to run only this test.
The test is searched inside the default repository.

...

Type

boolean

Required

No

Expression

${maven.greenpepper.excludedefaultrunner}

Default

false

Anchor
fixtureOutputDirectory
fixtureOutputDirectory
fixtureOutputDirectory

...

Type

java.io.File

Required

Yes

ExpressionDefault

${project.build.directory}/fixture-test-classes

...

Type

java.lang.Integer

Required

No

Expression

${maven.greenpepper.forkcount}

Anchor
javaOptions
javaOptions
javaOptions

Additionnal JAVA Options to be added to the java command in fork mode.

This is only used in FORK mode and for the default runner.

Type

java.lang.String

Required

No

Expression

${maven.greenpepper.javaoptions}

Anchor
jvm
jvm
jvm

The Java Virtual Machine path to use for the default runner in fork mode.

Type

java.lang.String

Required

No

Expression

${maven.greenpepper.jvm}

Default

java

Anchor
locale
locale
locale

Set the locale for the execution.

Type

java.lang.String

Required

No

Expression

${maven.greenpepper.locale}

Anchor
redirectOutputToFile
redirectOutputToFile
redirectOutputToFile

Set this to true to output the logs only in the log file and not in the console.

Type

boolean

Required

No

Expression

${maven.greenpepper.redirect.output}

Default

false

Anchor
refresh
refresh
refresh

Refresh the specificaction list (updating the index file)

...

Type

java.io.File

Required

Yes

ExpressionDefault

${project.build.directory}/greenpepper-reports

Anchor

...

...

The format of the generated reports. Can be html or xml.

Type

com.greenpepper.maven.plugin.SpecificationRunnerMojo$ReportType

Required

No

Expression

${maven.greenpepper.reports.type}

Default

html

Anchor
repositories
repositories
repositories

This list of repositories.

Type

java.util.ArrayListList

Required

No

Anchor
resume
resume
resume

...

Type

boolean

Required

No

Expression

${maven.greenpepper.resume}

Default

false

Anchor
runners
runners
runners

...

Type

java.lang.String

Required

Yes

Default

com.greenpepper.systemunderdevelopment.DefaultSystemUnderDevelopment

Anchor
systemUnderDevelopmentArgs
systemUnderDevelopmentArgs
systemUnderDevelopmentArgs

The {@link com.greenpepper.systemunderdevelopment.SystemUnderDevelopment} constructor args.
This parameter is optionnal and can be achieved by appending them to the systemUnderDevelopment parameter.

Type

java.lang.String

Required

No

Anchor
testFailureIgnore
testFailureIgnore
testFailureIgnore

...

Type

boolean

Required

No

Expression

${maven.greenpepper.test.failure.ignore}

Default

false

Anchor
testSpecification
testSpecification
testSpecification

...