IBM Rational Test RealTime was designed ground-up to provide seamless integration with your development process. To achieve this versatility, the entire set of features are available as command line tools.
In most cases when a CLI is necessary, the easiest method is to develop, set up and configure your project in the graphical user interface and to use the studio command line to launch the GUI and run the corresponding project node.
When not using the GUI to execute a node, you must create source files that can execute Test RealTime tests or acquire runtime analysis data without conflicting with the your native compiler and linker. In both cases – that is, regardless of whether you are attempting to execute a Test or Application node – the native compiler and linker do the true work.
For Test nodes, the following commands convert Test RealTime test scripts into source files supported by your native compiler and linker:
attolpreproC for the C language
atoprepro for the C++ language
attolpreproADA for the Ada language
Java does not require a special command because the test scripts are already .java files.
For Runtime Analysis, the primary choice is whether or not you wish to perform source code insertion (SCI) as an independent activity or as part of the compilation and linkage process. Of course, if no runtime analysis is required, source code insertion is unnecessary and should not be performed. To simply perform source code insertion, use the binaries:
attolcc1 for the C language
attolccp for the C++ language
attolada for the Ada language
javi for the Java language
However, if the user would like compilation and linkage to immediately follow source code insertion, use the binaries:
attolcc for the C and C++ language
javic for the Java language for standard compilation
inclusion of the javic.jar library, and calls to javic.jar classes, as part of an ant-facilitated build process
The following sections provide details about the most common use cases.
To learn about |
See |
Launching the GUI with the studio command and running a node from the command line |
|
Preparing your environment for command line usage |
|
Code coverage, runtime tracing, memory and performance profiling from the command line |
|
Testing C, C++ and Ada source code components from the command line |
|
Testing Java source code components from the command line |
|
Testing message-based systems from the command line |
|
Using the Command Line Interface through a set of examples |
Related Topics
Using the Graphical User Interface | Automated Testing | Runtime Analysis