citrus:create-suite-from-wsdl

Full name:

com.consol.citrus.mvn:citrus-maven-plugin:1.2.M2:create-suite-from-wsdl

Description:

Creates new Citrus test suite from a given WSDL with XML test file and executable Java class. Mojo offers an interactive mode, where the plugin prompts for parameters during execution. In non-interactive mode the parameters are given as command line arguments.

Attributes:

  • Requires a Maven 2.0 project to be executed.

Optional Parameters

Name Type Since Description
author String - The test author
Default value is: Unknown.
description String - Describes the test case and its actions
Default value is: TODO: Description.
framework String - Which unit test framework to use for test execution (default: testng; options: testng, junit3, junit4)
Default value is: testng.
interactiveMode boolean - Whether to run this command in interactive mode. Defaults to "true".
Default value is: true.
namePrefix String - The name-prefix of all test cases (must start with upper case letter).
nameSuffix String - The name-suffix of all test cases.
Default value is: _ITest.
pathToWsdl String - The path to the wsdl from which the suite is generated.
targetPackage String - Which package (folder structure) is assigned to this test. Defaults to "com.consol.citrus"
Default value is: com.consol.citrus.

Parameter Details

author:

The test author
  • Type: java.lang.String
  • Required: No
  • Expression: ${author}
  • Default: Unknown

description:

Describes the test case and its actions
  • Type: java.lang.String
  • Required: No
  • Expression: ${description}
  • Default: TODO: Description

framework:

Which unit test framework to use for test execution (default: testng; options: testng, junit3, junit4)
  • Type: java.lang.String
  • Required: No
  • Expression: ${framework}
  • Default: testng

interactiveMode:

Whether to run this command in interactive mode. Defaults to "true".
  • Type: boolean
  • Required: No
  • Expression: ${interactiveMode}
  • Default: true

namePrefix:

The name-prefix of all test cases (must start with upper case letter).
  • Type: java.lang.String
  • Required: No
  • Expression: ${namePrefix}

nameSuffix:

The name-suffix of all test cases.
  • Type: java.lang.String
  • Required: No
  • Expression: ${nameSuffix}
  • Default: _ITest

pathToWsdl:

The path to the wsdl from which the suite is generated.
  • Type: java.lang.String
  • Required: No
  • Expression: ${pathToWsdl}

targetPackage:

Which package (folder structure) is assigned to this test. Defaults to "com.consol.citrus"
  • Type: java.lang.String
  • Required: No
  • Expression: ${targetPackage}
  • Default: com.consol.citrus