Runs a TestNG test suite from an XML file. Property Replacement will be performed on the file.
See the Appendix of the File Plugin documentation for information about Property Replacement.
Environment/Instance Properties
Property Name | Required | Description |
---|---|---|
|
|
|
Project Properties
Property Name | Required | Description |
---|---|---|
|
|
|
Inputs
Input Name | Required | Description |
---|---|---|
FDTNG_PATH_TO_TEST_SUITE | Yes | Path to the TestNG test suite XML file. (e.g. /path/to/file.xml) If a relative path is given, a path inside the FD_ARTIFACTS_DIR will be assumed. |
FDTNG_PATH_ELEMENT_CLASS_PATH | No | The Java classpath to locate the test suite, test cases, and dependent classes. |
Outputs
Output Name | Required | Description |
---|---|---|
|
|
|
Artifacts
This operation doesn't consume or produce any artifacts.
Endpoint Selection
This operation delegates endpoint selection to the workflow developer. The workflow editor will default the selection to "All", which selects all available endpoints associated to the environment instance.
Selecting a specific resource will result in selection of endpoints associated to the environment instance which have that resource defined.
Endpoint Execution
This operation delegates endpoint execution to the workflow developer. The workflow editor will default to "Any", which will execute on any one of the selected endpoints, which will be randomly picked from selected endpoints or a specific endpoint where previous step may have executed. Changing this value to "All" to will result in execution on all selected endpoints.
Special Considerations
TestNG annotations are supported. http://testng.org/doc/documentation-main.html is the link to TestNG's documentation.