Merge "Refactor ConvertORTopoToTapiTopoTest"
[transportpce.git] / tests / Xtesting / testcases.yaml
1 ---
2 tiers:
3     -
4         name: suites
5         order: 0
6         description: 'transportPCE tests by category'
7         testcases:
8             -
9                 case_name: linters
10                 project_name: transportpce
11                 criteria: 100
12                 blocking: true
13                 clean_flag: false
14                 description: 'linters suite'
15                 run:
16                     name: 'bashfeature'
17                     args:
18                         cmd: 'cd /src/transportpce && tox -o -p auto -e docs,docs-linkcheck,pre-commit,checkbashisms,pylint'
19                         console: true
20             -
21                 case_name: build
22                 project_name: transportpce
23                 criteria: 100
24                 blocking: true
25                 clean_flag: false
26                 description: 'build transportpce with karaf and lighty.io'
27                 run:
28                     name: 'bashfeature'
29                     args:
30                         cmd: 'cd /src/transportpce && tox -e buildcontroller,buildlighty'
31                         console: true
32             -
33                 case_name: PCE
34                 project_name: transportpce
35                 criteria: 100
36                 blocking: true
37                 clean_flag: false
38                 description: 'run PCE tests'
39                 run:
40                     name: 'bashfeature'
41                     args:
42                         cmd: 'cd /src/transportpce && tox -e buildcontroller,testsPCE'
43                         console: true
44             -
45                 case_name: 121
46                 project_name: transportpce
47                 criteria: 100
48                 blocking: true
49                 clean_flag: false
50                 description: 'run OpenROADM device 1.2.1 tests suite'
51                 run:
52                     name: 'bashfeature'
53                     args:
54                         cmd: 'cd /src/transportpce && tox -e buildcontroller,build_karaf_tests121,sims121,tests121'
55                         console: true
56             -
57                 case_name: 221
58                 project_name: transportpce
59                 criteria: 100
60                 blocking: true
61                 clean_flag: false
62                 description: 'run OpenROADM device 2.2.1 tests suite'
63                 run:
64                     name: 'bashfeature'
65                     args:
66                         cmd: 'cd /src/transportpce && tox -e buildcontroller,build_karaf_tests221,sims221,tests221'
67                         console: true
68             -
69                 case_name: 71
70                 project_name: transportpce
71                 criteria: 100
72                 blocking: true
73                 clean_flag: false
74                 description: 'run OpenROADM device 7.1 tests suite'
75                 run:
76                     name: 'bashfeature'
77                     args:
78                         cmd: 'cd /src/transportpce && tox -e buildcontroller,build_karaf_tests71,sims71,tests71'
79                         console: true
80             -
81                 case_name: hybrid
82                 project_name: transportpce
83                 criteria: 100
84                 blocking: true
85                 clean_flag: false
86                 description: 'run OpenROADM device mixed versions tests suite'
87                 run:
88                     name: 'bashfeature'
89                     args:
90                         cmd: 'cd /src/transportpce && tox -e buildcontroller,build_karaf_tests_hybrid,tests_hybrid'
91                         console: true
92     -
93         name: combined
94         order: 1
95         description: 'combine all transportPCE tests'
96         testcases:
97             -
98                 case_name: combined
99                 project_name: transportpce
100                 criteria: 100
101                 blocking: true
102                 clean_flag: false
103                 description: 'run all transportPCE tests in parallell with tox'
104                 run:
105                     name: 'bashfeature'
106                     args:
107                         cmd: 'cd /src/transportpce && git apply tests/Xtesting/patch.diff && tox -o -p auto'
108                         console: true