Updated on 2023-08-07 GMT+08:00

Test Cases and Defects

When a test case fails to be executed, the test case is usually associated with a defect. You can create a defect or associate the test case with an existing defect.

The following uses manual test cases as an example.

Test cases can be associated only with Bug work items in a Scrum project and default Bug work items of a Kanban project.

Procedure

  1. Log in to the CodeArts homepage, search for your target project, and click the project name to access the project.
  2. In the navigation pane, choose Testing > Testing Case.
  3. Select t a test case to be associated with a defect. You can create or associate a defect using either of the following methods:

    • Perform the following operations on the Testing Case page:
      • Click in the Operation column to associate an existing defect in the current project.

      • Click in the Operation column, and select Create Defect to create a defect as prompted.

  4. After a defect is created or associated, view the defect information on the Defects tab page. You can click to disassociate the current defect.