background image
<< To create a new project | To run the Component Testing Wizard from the Start Page >>
<< To create a new project | To run the Component Testing Wizard from the Start Page >>

Component Testing Wizard

Test RealTime - User Guide
Click Next to continue.
8. In
the
Summary page, check that all the parameters are correct, and click Finish.
The wizard creates an application node that includes all of the associated source files.
You can now select your build options to apply any of the runtime analysis features
to the application under analysis.
Component Testing Wizard
The Component Testing Wizard helps you create a new Component Testing test
node in your project for C, C++, Ada and Java.
For each script type, the wizard analyzes the source code under test to extract unit
information and will produce a corresponding test script template using the
following test script types:
·
C Test Script Language
·
C++ Test Driver Script Language
·
C++ Contract-Check Language
·
Ada Test Script Language
·
JUnit Test Harness
You use the generated test script template to elaborate your own test cases.
You can later add to this test node any of the runtime analysis features included in
Test RealTime.
There are two methods of creating a test node with the Component Testing wizard:
·
From the Start page: this method allows you to specify a set of files or
components to test.
·
From the Asset Browser: this method rapidly creates a test from a single file or
source code component selected in the Asset Browser.
Once the test node has been generated, you can complete your Component Testing
test scripts in the Text Editor. Refer to the Test RealTime Reference Manual for
information about the actual language semantics.
To run the Component Testing Wizard from the Start Page:
1. Use
the
Start Page or the File menu to open or create a project. Ensure that the
correct Configuration is selected in the Configuration box.
The selected programming language impacts the type of Component Testing
test node to be created.
On the Start Page, select Activities and choose the Component Testing activity.
306