Getting started with Rational® Test RealTime for Eclipse IDE
Rational® Test RealTime for Eclipse IDE is designed to integrate into your existing Eclipse-based tool chain. Use this section as a guide to a typical workflow for testing and evaluating your C source code in the Eclipse CDT environment.
Before you begin
These guidelines assume that you have some familiarity with the following concepts and tools:
- The Eclipse CDT development environment.
- The features and tools provided by Rational® Test RealTime.
- The target platform on which you plan to run the tests.
About this task
Procedure
To start using Rational® Test
RealTime:
- Familiarize yourself with the features and tools provided by the product. See Overview and Test assets overview.
-
Choose whether you are going to create a new project or import an existing CDT project.
- If you already have an Eclipse CDT project, import the project into Rational® Test RealTime for Eclipse IDE and convert it into a Rational® Test RealTime project. See Importing C projects.
- If you are starting a new C project or if want to import an unmanaged C project into Eclipse, create a new Rational® Test RealTime project and import the source files. See Creating test projects.
Note: There is currently no migration path from Rational® Test RealTime Studio test scripts and command line tools into the Rational® Test RealTime for Eclipse IDE environment. -
Verify that the C source files build and run correctly.
Resolve any compilation errors if necessary.
-
Open the call graph to view the structure of your source code and create a new test harness.
See Creating test harnesses from the call graph.
The generated test harness contains a test case, and optionally a stub behavior.
- Open the test case and edit the initial and expected expressions for the each variable check. See Editing test cases.
-
Run the test harness and compare the obtained values with the expected values for each variable
in the test case editor. See Running a test harness.
If necessary, repeat from step 4 to ensure that you obtain a passed test result.
- Generate a test report from the results. See Generating test reports.
- Deploy and run your test on the target platform by changing the test configuration and running the test again. See Switching test configurations.
What to do next
- Measure code coverage, memory profiling, performance profiling, and static metrics with the runtime analysis tools. See Runtime analysis overview.
- Include test data sets from data pools and create data dictionary to reuse data sets. See Creating data pools and Data dictionary overview.
- Create more test harnesses or add test cases and stubs to existing test harnesses.
- Create test suites to run multiple test harnesses and compare their results. See Creating test suites.
- Integrate test suites into IBM® Rational® Quality Manager. See Engineering Test Management integration.