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
- Log in to the service homepage, search for your target project, and click the project name to access the project.
- In the navigation pane, choose .
- Click on the right of Baseline. The page is displayed.
- Click Additions.
- Enter a version name and click Save.
Editing a Version
On the
page, move the cursor over the test version to be edited, click , and change the version name.Deleting a Version
On the Operation column of a version to delete it.
page, click in theViewing Test Case Changes
On the Operation column of a version, and view the change history.
page, click in theManaging 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
- Log in to the service homepage, search for your target project, and click the project name to access the project.
- In the navigation pane, choose .
- Select a version from the version drop-down list in the upper left corner of the page.
- 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.
- 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)
- Log in to the service homepage, search for your target project, and click the project name to access the project.
- In the navigation pane, choose .
- Select a version from the version drop-down list in the upper left corner of the page.
- 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.
- 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)
- Log in to the service homepage, search for your target project, and click the project name to access the project.
- In the navigation pane, choose .
- Click on the right of Baseline. The page is displayed.
- Select the version whose cases you want to merge into the baseline, and click in the Operation column.
- In the displayed dialog box, select a rule and click OK to merge test cases.
Measuring a Version
- Log in to the service homepage, search for your target project, and click the project name to access the project.
- In the navigation pane, choose Quality Report page is displayed. . The
- 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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot