Running a component test in debug mode
You can run a component test in debug mode so you can suspend and resume test execution, inspect variables, and evaluate expressions. You can use debug mode with a specific component test run configuration.
Before you run a component test:
- You must have a valid test suite containing at least one test case.
- The component under test must be compilable.
- Agent Controller must be running on your machine in order to retrieve test results. For information about Agent Controller, refer to the Installation Guide.
To run a component test in debug mode:
- Click Run > Debug.
- In the Configurations list, select Component Test and click New.
- Type the name of the new run configuration. If the name already exists, it is appended with a number.
- 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.
- Click the Execution Results tab to change the way execution results are produced.
- You can specify the name of the test run results. By default, the name is the same as the run configuration.
- 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.
- 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.
- Click Run to execute the run configuration.
You can see the progress of the test run by clicking the Progress
button in the status bar.
Related concepts
Component test runs