fitnesse:remotecall

This goal uses the fitnesse.runner.TestRunner class for calling a remote FitNesse web page and executes the tests or suites locally into a forked JVM. It's possible to define several pages and/or servers.

Mojo Attributes:

  • Requires a Maven 2.0 project to execute.
  • Executes as an aggregator plugin.

Required Parameters

Name Type Description
fitnesses List This is the list of FitNesse server pages.

A FitNesse tag is compose of the nested tags:

<fitnesses>

<fitnesse>

<pageName>This is the only required parameter, the name of the FitNesse page</pageName>

<hostName>default is locahost</hostName>

<port>: default is 80;</port>

<serverId>ServerId defined in your settings.xml, this allows to use credentials (basic athentification) for calling your FitNesse pages</serverId>

<type>Override the default type of the page (Suite or Test).;</type>

</fitnesse>

...

</fitnesses>:

Optional Parameters

Name Type Description
cmdFitnesseHostName String No description.
cmdFitnessePage String No description.
cmdFitnessePort int No description.
dateFormat String Date format for FitNesse page timestamp. Default value is dd/MM/yyyy HH:mm.
failOnError boolean Fail the build if fitnesse pages have error. Default value is false.

Parameter Details

cmdFitnesseHostName

No Description.

  • Type: java.lang.String
  • Required: No
  • Expression: ${fitnesse.hostName}

cmdFitnessePage No Description.
  • Type: java.lang.String
  • Required: No
  • Expression: ${fitnesse.page}

cmdFitnessePort No Description.
  • Type: int
  • Required: No
  • Expression: ${fitnesse.port}

dateFormat Date format for FitNesse page timestamp.
  • Type: java.lang.String
  • Required: No
  • Default: dd/MM/yyyy HH:mm

failOnError Fail the build if fitnesse pages have error.
  • Type: boolean
  • Required: No
  • Default: false

fitnesses This is the list of FitNesse server pages.

A FitNesse tag is compose of the nested tags:

<fitnesses>

<fitnesse>

<pageName>This is the only required parameter, the name of the FitNesse page</pageName>

<hostName>default is locahost</hostName>

<port>: default is 80;</port>

<serverId>ServerId defined in your settings.xml, this allows to use credentials (basic athentification) for calling your FitNesse pages</serverId>

<type>Override the default type of the page (Suite or Test).;</type>

</fitnesse>

...

</fitnesses>:

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