To run the Component Testing Wizard from the Asset Browser
Test RealTime - User Guide
·
Single Mode: In C and Ada, this mode creates one test node for each source file
under test. In C++ and Java, it creates one test node for all selected source code
component.
·
Multiple Mode: This creates a single test node for each selected source code
component.
The Components Under Test settings specify advanced settings for each
component of the test node. These settings depend on the language and
Configuration.
Click Next> to continue.
5. Review
the
Summary. This page provides a summary of the selected options
and the files that are to be generated by the wizard.
Click Next> to create the test node based on this information.
6. The
Test Generation Result page displays progression of the test node creation
process. Click Settings to set the Configuration Settings. You can always modify
the test node Configuration Settings later if necessary, from the Project Explorer.
Note If you apply new settings after the test generation, the wizard reruns
the test generation. This allows you to fine-tune any settings that may cause
the test generation to fail.
Once a test node has been successfully generated, click Finish to quit the Component
Testing Wizard and update the project.
To run the Component Testing Wizard from the Asset Browser:
1. Use
the
Start Page or the File menu to open or create a project.
2.
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.
3.
In the Project Explorer, select the Asset Browser tab.
4.
Right click an object, package or source file under test. From the popup menu,
select Test.
5. The
Test Script Generation Settings allows you to specify the test node
generation options. The General settings specify how the wizard creates the test
node.
·
Test Name: Enter a name for the test node.
·
Test Mode: Disables or enables the test boundaries.
·
Typical Mode: No test boundaries are specified. This is the default setting. For
Java, all dependency classes are stubbed in the node.
308