Cantata Logo - unit and integration testing tool for C/C++


RTRT Converter



Stuck with RTRT?
Automatically recycle and enhance
your legacy RTRT tests in Cantata

What is the Cantata RTRT Converter?

The Cantata RTRT Converter is a direct tool to tool automatic conversion of IBM Rational® Test RealTime .ptu test scripts for C code into the Cantata test script format.  It allows organisations who have invested substantial resources over time using RTRT to automatically migrate tests to the modern Cantata tool without losing that investment

 

Read the comprehensive Cantata Feature Brief: RTRT Converter

 

 

To arrange a demonstration or a free trial of the Cantata RTRT Converter, please contact us.

 

 

Screenshot of RTRT Converter Video Cover
Cantata Logo Tick - Cantata uni testing tool for C and C++

RETAIN ORIGINAL TEST SCENARIOS

 

Through a fine-grain understanding of the C code under test and the associated RTRT ptu syntax, logic and test data, the Cantata RTRT Converter ensures the same test pre-conditions, test driver data, processing logic, call simulations, checks and post-conditions are all retained in the conversion. A comprehensive mapping log is produced for each test script converted, and Cantata coverage analysis ensure the same levels of code coverage are achieved.

ENSURE TEST MAINTAINABILITY AND ENABLE EXTENSIBILITY

 

The Cantata RTRT Converter ensures 100% of all identifiable elements (including names and comments) from the ptu test scripts are automatically mapped to their equivalents in Cantata test scripts. In addition, the Cantata Makefiles are automatically generated to build and execute the converted test scripts.

 

Extensibility of tests is enabled by the converted Cantata test scripts and Makefiles being fully editable in the Cantata Test Script Manager UI or any C code editor, and by accessing the rich set of Cantata features compatible with the tests generated from the RTRT converter.

Cantata RTRT Converter Screenshot - Ensure test maintainability and enable extensibility - Image 1 - Image 2 - Image 3 - PTU File - Cantata converted test script - Cantata test results
Cantata RTRT Converter Speedometer - Retain test environment and accelerate execution - converted Cantata Tests execute three times faster than RTRT

RETAIN TEST ENVIRONMENT AND ACCELERATE EXECUTION

 

Cantata can be deployed to any target environment for which RTRT tests were configured, re-using parts of RTRT Target Deployment Packages (TDPs).

 

When benchmarked, the converted Cantata tests execute 3 times faster than RTRT.

Why convert RTRT tests to Cantata?

RTRT is a legacy testing tool no longer actively maintained by IBM. If you feel stuck with the limitations of your legacy testing tool, you may wish to consider the advantages of moving on to a modern replacement such as Cantata.

 

Any tool migration will come at a cost to the organisation, so the potential benefits of a new tool must outweigh these costs.  Here are some of the benefits of converting from RTRT® to Cantata:

 

 

 

LOWER TESTING COSTS

  • Automatic generation of test scripts and/or test cases based on source code to achieve code coverage objectives (e.g. MC/DC)
  • Automatic generation of robustness test input vectors based on data types
  • Automated coverage optimisation of test cases for test data set selection
  • Faster diagnostics in a modern interface
  • Problem resolution with tool updates, patches and new releases from a supported tool

GREATER TOOL RELIABLITY AND COMPATIBILITY

 

Where a legacy tool interacting with other tools holds back the complete toolchain, the impact can affect developer productivity beyond the impact of the test tool alone.

  • Keeping pace with development technology platform dependencies such as the market leading Eclipse® IDE.
  • Integration with new versions of: compilers, RTOSs, new chipsets, Continuous Integration and Software Configuration Management tools

MEET CURRENT TOOL CERTIFICATION REQUIREMENTS

 

Current safety standards tool certification or qualification requirements for test tools are not supported by RTRT, but are by Cantata.

  • Cantata supports the latest aerospace tool qualification requirements under DO-178C and DO-330 as a TCL 5 tool up to DAL A with a full Tool Qualification Kit.
  • Cantata has been independently classified and certified by SGS-TÜV Saar GmbH, as usable in development of safety related software according to:
  • Automotive ISO 26262 up to ASIL D, TCL 1 tool
  • Medical Devices IEC 62304 up to SW safety class C
  • Nuclear Power IEC 60880 (for category A software)
  • Industrial Automation IEC 61508 up to SIL 4, Class T2 tool
  • Railway Signalling EN 50128 up to SW-SIL 4, class T2 tool

How does it work?

Cantata makes use of an internal representation of the code under test and the test script (Test Script Model).  This model provides an interface to almost any intermediate testing language (e.g. the PTU syntax used by IBM Rational® Test RealTime scripts), and provides the required information for an end-to-end test script conversion. The process works as follows:

 

 

 

 

Cantata RTRT Converter box - direct tool to tool automatic conversion of IBM Rational® Test RealTime .ptu test scripts for C code into the Cantata test script format

The entry point to the conversion which maintains overall control of the process.

Cantata RTRT Converter box - direct tool to tool automatic conversion of IBM Rational® Test RealTime .ptu test scripts for C code into the Cantata test script format - parser

Creates the Parser object, and initiates the parse of the selected PTU script. This will read all statements and constructs within the PTU creating an understanding of the content and storing it in memory using the unique Cantata Model representation.

Cantata RTRT Converter box - direct tool to tool automatic conversion of IBM Rational® Test RealTime .ptu test scripts for C code into the Cantata test script format - model

This is the internal representation of the input PTU script, and the interface between the old PTU and the new Cantata C test script.

Cantata RTRT Converter box - direct tool to tool automatic conversion of IBM Rational® Test RealTime .ptu test scripts for C code into the Cantata test script format

The functions to be tested are calculated by using Cantata’s knowledge of the software under test, combined with the understanding of functions called by Elements in the PTU.

Cantata RTRT Converter box - direct tool to tool automatic conversion of IBM Rational® Test RealTime .ptu test scripts for C code into the Cantata test script format -Test Script Generator

For every source file being tested, a new Cantata test script is generated using the normal Cantata generation mechanism. 

Cantata RTRT Converter box - direct tool to tool automatic conversion of IBM Rational® Test RealTime .ptu test scripts for C code into the Cantata test script format -Test Script Model

The generated Cantata test script is updated with all Service, Test, and Element entries from the PTU in the form of Cantata Test cases and functions. Stubs and Environments are added/set up for each created test case. Each test case is then set up with the inputs, outputs and checks as defined from the PTU

The updated Cantata test script is then written to disk together with a mapping log file for the conversion.

Start
Trial
Learn
more
QA-Systems