runJUnitTestorSuite

Runs a JUnit test or test suite defined in a compiled Java Class.

Inputs

Input Name

Input Code

Required

Description

Input Name

Input Code

Required

Description

Test Suite Class

FDJU_TEST_SUITE_CLASS_NAME

Yes

Package-qualified class name of the test or test Suite.

e.g. my.company.tests.TestClassName

Classpath

FDJU_PATH_ELEMENT_CLASS_PATH

No

The Java classpath to locate the test suite, test cases, and dependent classes.

 

You may use relative paths, which are looked for in FD_TEMP_DIR.

Otherwise, use absolute paths to refer to other locations.

Windows Example

User Input: "classes;c:\\libraries\\library.jar"

Class path Generated: FD_TEMP_DIR\\classes;c:\\libraries\\library.jar

UNIX Example

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

Class path Generated: FD_TEMP_DIR/classes:FD_TEMP_DIR/lib/abc.jar:/opt/app/tomcat/lib/myJar.jar

If left blank, the FD_ARTIFACTS_DIR and FD_TEMP_DIR are used as the classpath.

User Input:""

Class path Generated: FD_ARTIFACTS_DIR:FD_TEMP_DIR

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

The following macros are not currently supported in the footer:
  • style