easyb:test

Full name:

org.easyb:maven-easyb-plugin:0.9.7-1:test

Description:

Executes easyb behaviors

Attributes:

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

Required Parameters

Name Type Since Description
easybTestDirectory File - The directory to be scanned for easyb behaviors
storyReport String - Full path to the file where the story report should be written
xmlReport String - Full path to the file which should contain an XML representation of all behavior results

Optional Parameters

Name Type Since Description
includes List - Ant path-style expression of files to run as story tests. Defaults to **\/*Story.groovy **\/*.story **\/*Specification.groovy **\/*.specification.
parallel boolean - Run easyb specs in parallel
storyType String - Type of story reports to be written as html
tags String - Optional parameter to run only stories matching tags in the supplied list. A single or comma-delimited list of tag names.
test String 0.8.4 Optional parameter used as matcher expression to restrict the tests to run. Can match any part of the name or the path.

Parameter Details

easybTestDirectory:

The directory to be scanned for easyb behaviors

  • Type: java.io.File
  • Required: Yes
  • Expression: ${project.basedir}/src/test/easyb

includes:

Ant path-style expression of files to run as story tests. Defaults to **\/*Story.groovy **\/*.story **\/*Specification.groovy **\/*.specification.

  • Type: java.util.List
  • Required: No

parallel:

Run easyb specs in parallel

  • Type: boolean
  • Required: No

storyReport:

Full path to the file where the story report should be written

  • Type: java.lang.String
  • Required: Yes
  • Expression: ${project.build.directory}/easyb/stories.txt

storyType:

Type of story reports to be written as html

  • Type: java.lang.String
  • Required: No
  • Expression: txtstory

tags:

Optional parameter to run only stories matching tags in the supplied list. A single or comma-delimited list of tag names.

  • Type: java.lang.String
  • Required: No
  • Expression: ${easyb.tags}

test:

Optional parameter used as matcher expression to restrict the tests to run. Can match any part of the name or the path.

  • Type: java.lang.String
  • Since: 0.8.4
  • Required: No
  • Expression: ${easyb.test}

xmlReport:

Full path to the file which should contain an XML representation of all behavior results

  • Type: java.lang.String
  • Required: Yes
  • Expression: ${project.build.directory}/easyb/report.xml