Running a component test with profiling engaged

Profiling allows you to gather dynamic data during execution of your code. You can engage profiling with a specific component test run configuration to obtain more detailed information about the execution of the component under test.

Before you run a component test:
To engage profiling features on a component test run configuration:
  1. Switch to the Profiling and Logging perspective and click Run > Profile.
  2. In the Configurations list, select Component Test and click New.
  3. Type the name of the new run configuration. If the name already exists, it is appended with a number.
  4. Click the Test tab and select the test suites and test cases that you want to run. You can select multiple test suites and test cases from multiple projects.
  5. Click the Execution Results tab to change the way execution results are produced.
    1. You can specify the name of the test run results. By default, the name is the same as the run configuration.
    2. Select Overwrite existing test run results if you do not want to keep previous test run results. By default, test run results are generated with a timestamp appended to their name in order to differentiate them. When this option is selected, all test runs have the specified name, overwriting any existing results.
    3. You can change the location where the test run result is located. By default test run results are produced in the Run folder of the current test project.
  6. Click the Profiling tab and engage the profiling tools that you want to use with this run configuration. Profiling tools include memory analysis, code coverage, probes, thread information and time analysis.
  7. Click Run to execute the run configuration.
You can see the progress of the test run by clicking the Progress Progress button button in the status bar.

Related concepts
Component test runs

Terms of use | Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.