An operation for running Cucumber tests.
Test results will be converted to FlexDeploy tests results and placed in the TestResults directory.
Environment/Instance Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Project Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
Path to Feature Files | FDCUCUMBER_PATH_TO_FEATURE_FILES | Y | The path to the .feature files (e.g. /tests). If a relative path is given it is assumed it is in FD_TEMP_DIR. |
Package Name | FDCUCUMBER_PACKAGE_NAME | Y | Package name (e.g. com.flexagon.flexdeploy). Make sure your folders are layed out in this way. i.e. if a class is in the com.flexagon.flexdeploy package make sure it is in the com/flexagon/flexdeploy folder. This will look in all the lower packages i.e. if a class is in com.flexagon.flexdeploy and you put com.flexagon it will still find it. |
Path to Class Files | FDCUCUMBER_PATH_TO_CLASS_FILES | Y | The ClassPath for your Step Definitions. Use the Java ClassPath separator. ';' on Windows and ':' on Unix systems to separate multiple files/directories. Wildcards are not supported. However any Jar files in a given directory will be added to the ClassPath instead of that directory. If an absolute path is given it will assume it is inside of FD_TEMP_DIR. Windows Example
Class path Generated: UNIX Example
Class path Generated: |
Outputs
Output Name | Description |
---|---|
Artifacts
This operation consumes artifacts from the artifacts repository.
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.