aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/ci/testcases.yaml
blob: bc7203b7ca30248a0edfe363f56304a798212873 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
---
tiers:
    -
        name: samples
        description: ''
        testcases:
            -
                case_name: first
                project_name: xtesting
                criteria: 100
                blocking: true
                clean_flag: false
                description: ''
                run:
                    name: 'first'

            -
                case_name: second
                project_name: xtesting
                criteria: 100
                blocking: true
                clean_flag: false
                description: ''
                run:
                    name: 'second'

            -
                case_name: third
                project_name: xtesting
                criteria: 100
                blocking: true
                clean_flag: false
                description: ''
                run:
                    name: 'bashfeature'
                    args:
                        cmd: 'echo -n Hello World; exit 0'

            -
                case_name: fourth
                project_name: xtesting
                criteria: 100
                blocking: true
                clean_flag: false
                description: ''
                run:
                    name: 'unit'
                    args:
                        name: 'xtesting.samples.fourth'

            -
                case_name: fifth
                project_name: xtesting
                enabled: false
                criteria: 100
                blocking: false
                clean_flag: false
                description: ''
                run:
                    name: 'robotframework'
                    args:
                        suites:
                            - /usr/lib/python2.7/site-packages/xtesting/samples/HelloWorld.robot
                        variable:
                            - 'var01:foo'
                            - 'var02:bar'

            -
                case_name: sixth
                project_name: xtesting
                enabled: false
                criteria: 100
                blocking: false
                clean_flag: false
                description: ''
                run:
                    name: 'behaveframework'
                    args:
                        suites:
                            - /usr/lib/python2.7/site-packages/xtesting/samples/features/
                        tags:
                            - foo

            -
                case_name: seventh
                project_name: xtesting
                enabled: true
                criteria: 100
                blocking: true
                clean_flag: false
                description: ''
                run:
                    name: 'mts'
                    args:
                        test_file: /opt/mts/bin/test/test.xml
                        testcases:
                            - Pause_5_sec
                        max_duration: 2  # in seconds
                        log_level: INFO
                        store_method: FILE
                        java_memory: 2048
                        console: true