Help Center/ CodeArts TestPlan/ User Guide/ Configuring a Test Version
Updated on 2024-10-11 GMT+08:00

Configuring a Test Version

In CodeArts TestPlan, test cases are managed and evaluated by product baseline, branch version, and test plan. The service support efficient collaboration between teams, management and cross-version reuse of hundreds of millions of test assets, and concurrent R&D and delivery of multiple versions of complex products.

  • Version: A version records the test data of a software version, including information about managing and executing test cases and suites, as well as quality reports.
  • Relationship between version and test plan: A version contains multiple test plans (and one test case library).
  • Baseline: A baseline is a special version that has been formally reviewed and is the basis for subsequent test activities. Cases in a baseline are generally stable and are test assets accumulated for a long time.
  • Hierarchical management of test cases: Test cases can be managed by layer, that is, by product baseline library, version branch, and test plan. Test cases can be merged from a version to the baseline and imported from the baseline to a version, and case merging conflicts between versions can be managed. This meets the requirements of concurrent tests of multiple versions and collaborative tests by multiple persons, enabling test asset accumulation and reuse.

Creating a Version

  1. Log in to the service 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. Click on the right of Baseline. The Version Management page is displayed.

  4. Click Additions.
  5. Enter a version name and click Save.

Editing a Version

On the Version Management page, move the cursor over the test version to be edited, click , and change the version name.

Deleting a Version

On the Version Management page, click in the Operation column of a version to delete it.

Viewing Test Case Changes

On the Version Management page, click in the Operation column of a version, and view the change history.

Managing Versions

Based on your test strategy, you can import the test cases from the baseline to a version, and merge the test cases in a version to the baseline.

  • Importing Test Cases from Other Versions
  1. Log in to the service 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 a version from the version drop-down list in the upper left corner of the page.

  4. Click the Manual Test tab. In the right area of the tab page, choose Import > Import from Version.

    If no test case available or you need to create a test case, click Create Case. For details, see Creating a Manual Test Case.

  5. In the displayed dialog box, select the test cases to be imported, select an overwriting rule, and click OK.

    To select test cases in batches, move the cursor over the check box on the left of Name, and select Select Current Page or Select All Pages to select the test cases in the current page or in all pages.

Merging Test Cases in a Version into the Baseline (On Testing Case Page)

  1. Log in to the service 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 a version from the version drop-down list in the upper left corner of the page.

  4. Select a test type tab. In the right area of the tab page, click Merge into Baseline.

    If no test case available or you need to create a test case, click Create Case.

  5. In the displayed dialog box, select the test cases to be merged, select an overwriting rule, and click OK.

    To select test cases in batches, move the cursor over the check box on the left of Name, and select Select Current Page or Select All Pages to select the test cases in the current page or in all pages.

Merging All Test Cases in a Version into the Baseline (Through Version Management)

  1. Log in to the service 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. Click on the right of Baseline. The Version Management page is displayed.

  4. Select the version whose cases you want to merge into the baseline, and click in the Operation column.
  5. In the displayed dialog box, select a rule and click OK to merge test cases.

Measuring a Version

  1. Log in to the service homepage, search for your target project, and click the project name to access the project.
  2. In the navigation pane, choose Testing > Quality Report. The Quality Report page is displayed.
  3. See the quality report of the version.

    To view the quality reports of other versions or test plans, select the target version or test plan from the version or test plan drop-down list in the upper left corner of the page.