Java Test Report Generator - javapostpro

Purpose

The Java Test Report Generator processes a trace file produced during test execution, and generates a test report that can be viewed in the Test RealTime GUI.

Syntax

javapostpro -tsf<trace files> -tdf<dynamic trace file> -xrd<report file>

where:

    <trace files> is a series of input .tsf and .tdf intermediate files produced during execution of the test driver

    <dynamic trace file>  is the input .tdf dynamic trace file produced during execution of the test driver

    <report file> is the output .xrd test report file to be generated

Description

The -tsf option takes a list of generated .tsf static trace files. However, in Component Testing for Java, the .tdf dynamic trace files may contain structural data as well as trace data. Therefore, the .tdf file must be specified both in the -tsf option and the -tdf option.

If a specified .tsf or .tdf file does not exist, cannot be read, or contains synchronization errors, the Test Report Generator produces a fatal error message.

If the Test Report Generator cannot create the .xrd report file, generation of the report is terminated. If the file already exists, the newly generated file replaces the existing report.

Example

javapostpro -tsf testClass1.tsf testClass2.tsf testDriver.tdf -tdf testDriver.tdf -xrd report.xrd

Return Codes

After execution, the program exits with the following return codes

 

Code

Description

0

End of execution with no errors

1

Abnormal termination

 

All messages are sent to the standard error output device.