Testing software components
The test features allows you to submit your application to a robust test campaign. Each feature uses a different approach to the software testing problem, from the use of test drivers stimulating the code under test, to source code instrumentation testing internal behavior from inside the running application.
-
Component Testing for C and Ada performs black box or functional testing of software components independently of other units in the same system.
-
Component Testing for C++ uses object-oriented techniques to address embedded software testing.
-
System Testing for C is dedicated to testing message-based applications.
These test features each use a dedicated scripting language for writing specialized test cases.Rational® Test RealTime test features can also be used together with any of the runtime analysis tools.
To learn about | See |
Black-box or functional testing of C software components independently of other units in the same system. | Component Testing for C and Ada |
Using object-oriented techniques to test your C++ code | Component Testing for C++ |
Testing message-based applications written in C | System Testing for C |
To use a component test feature:
Here is a rundown of the main steps to using the Rational® Test RealTime test features:
- Set up a new project in Rational® Test RealTime. This can be done automatically with the New Project Wizard.
- Follow the Activity Wizard to add your application source files to the workspace.
- Select the source files under test with the Test Generation Wizard to create a test node. The Wizard guides you through process of selecting the right test feature for your needs.
-
Develop the test cases by completing the automatically generated test scripts with the corresponding script language and native code.
- Use the Project Explorer to set up the test campaign and add any additional runtime analysis or test nodes.
- Run the test campaign to builds and execute a test driver with the application under test.
- View and analyze the generated test reports.
Related Topics
About Component Testing for C and Ada | About Component Testing for C++ | About System Testing for C | Using Runtime Analysis Features