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:

To run a component test in debug mode:

  1. Click Run > Debug.

  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 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