Project

General

Profile

Wiki » History » Version 9

zcjia, 2022-10-14 06:57

1 7 GraceWang
# Test cases migrate and maintain guideline
2 1 GraceWang
3 6 GraceWang
## Overall test case structure
4
### Acceptance testing
5
* We will have a parent task for all acceptance test cases: https://progress.opensuse.org/issues/116974
6
* We will add sub tasks under the parent task
7 1 GraceWang
8 6 GraceWang
### Regression testing
9 9 zcjia
* We will have a parent task for all regression test cases: https://progress.opensuse.org/issues/117442
10 1 GraceWang
* We will use category to mark if the test case has already been automated
11
* We will use parent-sub task mode to mark the specific component
12
* We will use the target version field to mark which release we are testing
13 6 GraceWang
14 1 GraceWang
### The format of the subject
15
* The subject should be started with [Regression] OR [Acceptance]
16 5 GraceWang
17
> For [Regression] test cases, the second key word should be the component of the test case, e.g [NetworkManager]
18
> For [Acceptance] test cases, the second and third key word should be the exact milestone and build number. e.g [Alpha4][151.1]
19
20 1 GraceWang
* The priority of the ticket 
21
22
> P0 -> Immediate
23
> P1 -> Urgent
24
> P2 -> High
25
> P3 -> Normal
26
> P4 -> Low
27
28
### The status of the ticket/ test case:
29
* The default of the test case is NEW
30
* The test case will be marked as RESOLVED when test passed, 
31
* The test case will be marked as REJECTED if there's any critical bugs found
32
* The corresponding SUT build number should be included in the comment when updating the status
33 8 GraceWang
34
## Test preparation
35
* Before regression test execution, we always clone the  regression test tickets used by the last release as a base for the upcoming release.
36
* Before acceptance test execution for each milestone, we clone acceptance tickets from https://progress.opensuse.org/issues/116974