Versions Compared

Key

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

Runs an Ant JUnit test file. Property Replacement will be performed on the file.

...

Property Name

Property Code

Required

Description





  

Inputs

Input Name

Input Code

Required

Description

Build File

FDJU_BUILD_FILE

Yes

Path to the Ant script to execute (e.g. /path/to/file.xml). If a relative path is given, a path inside the FD_ARTIFACTS_DIR is assumed.  The ~ character is not supported.

Run Target

FDJU_RUN_TARGET

Yes

Ant script target operation to execute.

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/*abc.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

Arguments

FDJU_ARGS

No

Semicolon-delimited argument list (e.g. x=1;y=2).

  

Outputs

Output Name

Required

Description




  

Artifacts

This operation doesn't consume or produce any artifacts.

...