parseJUnitTestResults
Parses JUnit formatted test results and generates a FlexDeploy test results file.
This operation is especially useful when using a testing tool that is not natively supported by FlexDeploy.
Environment/Instance Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Project Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
Results File | FDJU_INP_RESULTS_FILE | N | Path to the test results file to be parsed. |
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
This operation is primarily for use with unit testing tools that are not supported in FlexDeploy, but allow formatting the test results file to match a JUnit results file. The plugin currently supports JUnit report files based on these schemas:
- Ant
junitreport
task output - Jenkins
JUnit Test Reports
- Jenkins results from the API in
XML
orJSON
- Traditional JUnit test result output
- style