Versions Compared

Key

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

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

...

Property Name

Property Code

Required

Description





  

Inputs

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.

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_ARTIFACTS_DIR and 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_ARTIFACTS_DIR\\classes;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_ARTIFACTS_DIR/classes:FD_TEMP_DIR/classes:FD_ARTIFACTS_DIR/lib/*.jar: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

  

Outputs

Output Name

Required

Description




  

Artifacts

This operation doesn't consume or produce any artifacts.

...