Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

An operation for running Cucumber tests.

...

Info

This runs Cucumber 5.1.3

...

...

Project Properties

...

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 compiled Step Definitions and code that you are testing. 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 a relative path is given, it will be assumed to be inside of FD_TEMP_DIR.

  • Windows Example

    • User Input: "classes;c:\\libraries\\;"

    • ClassPath derived: FD_TEMP_DIR\\classes;c:\\libraries\\library.jar;c:\\libraries\\anotherlibrary.jar

  • UNIX Example

    • User Input: "classes:lib/abc.jar:/opt/app/tomcat/lib/:"

    • ClassPath derived: FD_TEMP_DIR/classes:FD_TEMP_DIR/lib/abc.jar:/opt/app/tomcat/lib/library.jar:/opt/app/tomcat/lib/anotherLibrary.jar

...

Output NameDescription

Artifacts

This operation consumes artifacts from the artifacts repository.

...

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 instancetarget.

Selecting a specific resource will result in selection of endpoints associated to the environment instance target 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.