Updated on 2024-10-11 GMT+08:00

Designing Test Cases on Mind Map

CodeArts TestPlan provides a test design feature that offers multi-dimensional heuristic test strategies and design templates. Testers can break down test requirements into scenarios, test points, and test cases. In this way, we hope to inspire testers to design tests creatively, visualize their ideas, and improve test coverage. This feature enables continuous optimization of test completeness, and helps testers reduce product test omissions during execution.

The purpose of test design is to clarify the scope, objectives, and methods of test activities, guide the implementation of test activities, and standardize test behaviors.

With the help of mind map, you can perform heuristic and visual test design.

Designing a Mind Map Based on a Requirement

In CodeArts TestPlan, you can create a mind map for a requirement, break down test scenarios, analyze test points, and output test plans and test cases based on the requirement.

  1. Search for your target project and click the name to access the project.
  2. In the navigation pane, choose Testing > Testing Design.
  3. Click Requirements on the left of the page. By default, all associated requirements of the project belong to this Requirements directory.

    To associate a project with requirements, see Creating a Work Item.

  4. In the search box under Requirements, enter a keyword of the target requirement and click . The target requirement is displayed in the requirement directory.
  5. Click Requirements on the left, select a requirement, and click Create or Templates in the upper left corner.
  6. The mind map design page is displayed. Go to Creating a Mind Map and Generating a Test Case.

Designing a Mind Map Based on a Feature

With the test design function, you can create a mind map for a feature, break down test scenarios, analyze test points, and output test plans and test cases based on the feature.

  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 Design.
  3. Click Features. In the search box under it, enter a keyword of the target feature and click .
  4. Select a feature and click Create or Templates.
  5. The mind map design page is displayed. Go to Creating a Mind Map and Generating a Test Case.

Moving a Mind Map to Change Its Test Design Feature

  1. In the test design list, move the cursor to the check box of a mind map. is displayed on the left of the check box. Drag the mind map to the required feature in the Features directory on the left. The feature that the mind map is designed for is changed.

  2. The mind map is displayed in the directory of the required feature.

    To move mind maps in batches, select multiple or all mind maps, click Batch Change Feature. In the dialog box that is displayed, select the target directory, and click Confirm.

    Mind maps cannot be moved to other requirements in the Requirements directory.

Associating a Test Case with a Requirement

To associate test cases designed and archived through the feature directory with requirements, perform the following steps:

  1. Go to the mind map designed based on a feature.
  2. Find a test case that has been archived and needs to be associated with a requirement, and click .
  3. On the right of the page, click Associated Requirement. In the dialog box that is displayed, select the target requirement, and click OK.
  4. Click Save in the upper right corner.

  5. In the navigation pane, choose Testing > Testing Case. On the page that is displayed, find the test case. The value in the Associated Requirement column is Associated.

    If the Associated Requirement column does not exist in the list, click the gear icon in the upper right corner, select Associated Requirement, and click Save.