ROD Converter - rod2xrd

Purpose

This command line tool converts a .rod file that is produced by the C or Ada Test Report Generator (attolpostpro and attolpostproada) into an .xrd file that can be viewed in HCL OneTest Embedded Studio.

Syntax

rod2xrd <.rod_file>

where <rod_file> is the name of the .rod file to convert.

Options

-o <log-file>

This option allows you to specify the name of the output file. By default, the generated .xrd has the same name as the .rod file.

-h <header file>

This option allows you to specify the customized header file for the report. See REPORTHEADER in the TDP Editor help for more information.

-g

If the .ptu test script contains loops, this option generates graph data with the test results.

-s <max_nb_of_tests>

When large reports are generated, this option allows you to split the results into multiple report files that contain the specified number of tests.

-json

This option allows you to generate a JSON file that contains structured data of test result.

rod2xrd generates the JSON file with the same name as the xrd output file but with the extension .xrd.json

-t<template>

This option allows you to specify the name of an HTML template file to generate a report in an HTML format. The content of the template is expanded with the content of the JSON file that contains the result. rod2xrd generates the HTML file with the same name as the xrd output file but with the .xrd.html extension.