Project

General

Profile

Wiki » History » Version 10

zcjia, 2022-10-14 06:58

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