-
Notifications
You must be signed in to change notification settings - Fork 0
/
yaml_file.yml
executable file
·287 lines (287 loc) · 11.1 KB
/
yaml_file.yml
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
--- !ruby/object:Cucumber::Core::Test::Case
test_steps:
- !ruby/object:Cucumber::Core::Test::Step
source:
- &19 !ruby/object:Cucumber::Core::Ast::Feature
language: &11 !ruby/marshalable:Cucumber::Core::Ast::LanguageDelegator
:__v2__:
- :@iso_code
? - en
: !ruby/object:Gherkin::Dialect
spec:
and:
- "* "
- 'And '
background:
- Background
but:
- "* "
- 'But '
examples:
- Examples
- Scenarios
feature:
- Feature
- Business Need
- Ability
given:
- "* "
- 'Given '
name: English
native: English
scenario:
- Scenario
scenarioOutline:
- Scenario Outline
- Scenario Template
then:
- "* "
- 'Then '
when:
- "* "
- 'When '
location: &16 !ruby/struct:Cucumber::Core::Ast::Location::Precise
file: features/example.feature
lines: !ruby/struct:Cucumber::Core::Ast::Location::Lines
data: !ruby/object:Set
hash:
2: true
background: !ruby/object:Cucumber::Core::Ast::EmptyBackground {}
comments: []
tags:
- !ruby/object:Cucumber::Core::Ast::Tag
location: &1 !ruby/struct:Cucumber::Core::Ast::Location::Precise
file: features/example.feature
lines: !ruby/struct:Cucumber::Core::Ast::Location::Lines
data: !ruby/object:Set
hash:
1: true
name: "@example"
all_locations:
- *1
- !ruby/object:Cucumber::Core::Ast::Tag
location: &2 !ruby/struct:Cucumber::Core::Ast::Location::Precise
file: features/example.feature
lines: !ruby/struct:Cucumber::Core::Ast::Location::Lines
data: !ruby/object:Set
hash:
1: true
name: "@p"
all_locations:
- *2
keyword: Feature
name: Example Feature
description: |-
When I want to learn how to make test cases
As a user of the test automation tool
I want to run and adjust the tests below
feature_elements:
- &17 !ruby/object:Cucumber::Core::Ast::Scenario
location: &15 !ruby/struct:Cucumber::Core::Ast::Location::Precise
file: features/example.feature
lines: !ruby/struct:Cucumber::Core::Ast::Location::Lines
data: !ruby/object:Set
hash:
14: true
comments:
- !ruby/object:Cucumber::Core::Ast::Comment
location: &3 !ruby/struct:Cucumber::Core::Ast::Location::Precise
file: features/example.feature
lines: !ruby/struct:Cucumber::Core::Ast::Location::Lines
data: !ruby/object:Set
hash:
6: true
value: "#"
all_locations:
- *3
- !ruby/object:Cucumber::Core::Ast::Comment
location: &4 !ruby/struct:Cucumber::Core::Ast::Location::Precise
file: features/example.feature
lines: !ruby/struct:Cucumber::Core::Ast::Location::Lines
data: !ruby/object:Set
hash:
7: true
value: "## @example01"
all_locations:
- *4
- !ruby/object:Cucumber::Core::Ast::Comment
location: &5 !ruby/struct:Cucumber::Core::Ast::Location::Precise
file: features/example.feature
lines: !ruby/struct:Cucumber::Core::Ast::Location::Lines
data: !ruby/object:Set
hash:
8: true
value: "## Scenario: example01 - Spritecloud search"
all_locations:
- *5
- !ruby/object:Cucumber::Core::Ast::Comment
location: &6 !ruby/struct:Cucumber::Core::Ast::Location::Precise
file: features/example.feature
lines: !ruby/struct:Cucumber::Core::Ast::Location::Lines
data: !ruby/object:Set
hash:
9: true
value: '## Given the user navigates to "blog"'
all_locations:
- *6
- !ruby/object:Cucumber::Core::Ast::Comment
location: &7 !ruby/struct:Cucumber::Core::Ast::Location::Precise
file: features/example.feature
lines: !ruby/struct:Cucumber::Core::Ast::Location::Lines
data: !ruby/object:Set
hash:
10: true
value: '## When the user searches for "lapis lazuli"'
all_locations:
- *7
- !ruby/object:Cucumber::Core::Ast::Comment
location: &8 !ruby/struct:Cucumber::Core::Ast::Location::Precise
file: features/example.feature
lines: !ruby/struct:Cucumber::Core::Ast::Location::Lines
data: !ruby/object:Set
hash:
11: true
value: '## Then text "Open Source" should display'
all_locations:
- *8
- !ruby/object:Cucumber::Core::Ast::Comment
location: &9 !ruby/struct:Cucumber::Core::Ast::Location::Precise
file: features/example.feature
lines: !ruby/struct:Cucumber::Core::Ast::Location::Lines
data: !ruby/object:Set
hash:
12: true
value: "##"
all_locations:
- *9
tags:
- !ruby/object:Cucumber::Core::Ast::Tag
location: &10 !ruby/struct:Cucumber::Core::Ast::Location::Precise
file: features/example.feature
lines: !ruby/struct:Cucumber::Core::Ast::Location::Lines
data: !ruby/object:Set
hash:
13: true
name: "@example02"
all_locations:
- *10
keyword: Scenario
name: example02 - Going to a search result
description: ''
raw_steps:
- &20 !ruby/object:Cucumber::Core::Ast::Step
language: *11
location: &12 !ruby/struct:Cucumber::Core::Ast::Location::Precise
file: features/example.feature
lines: !ruby/struct:Cucumber::Core::Ast::Location::Lines
data: !ruby/object:Set
hash:
15: true
comments: []
keyword: 'Given '
name: the user has searched for "lapis lazuli" on "blog"
multiline_arg: !ruby/object:Cucumber::Core::Ast::EmptyMultilineArgument {}
all_locations:
- *12
- &21 !ruby/object:Cucumber::Core::Ast::Step
language: *11
location: &13 !ruby/struct:Cucumber::Core::Ast::Location::Precise
file: features/example.feature
lines: !ruby/struct:Cucumber::Core::Ast::Location::Lines
data: !ruby/object:Set
hash:
16: true
comments: []
keyword: 'When '
name: the user clicks on link "/announcing-lapislazuli/"
multiline_arg: !ruby/object:Cucumber::Core::Ast::EmptyMultilineArgument {}
all_locations:
- *13
- &22 !ruby/object:Cucumber::Core::Ast::Step
language: *11
location: &14 !ruby/struct:Cucumber::Core::Ast::Location::Precise
file: features/example.feature
lines: !ruby/struct:Cucumber::Core::Ast::Location::Lines
data: !ruby/object:Set
hash:
17: true
comments: []
keyword: 'Then '
name: text "Let's bark about testing" should display
multiline_arg: !ruby/object:Cucumber::Core::Ast::EmptyMultilineArgument {}
all_locations:
- *14
all_locations:
- *15
- *10
- *3
- *4
- *5
- *6
- *7
- *8
- *9
all_locations:
- *16
- *1
- *2
- *17
- !ruby/object:Cucumber::Hooks::BeforeHook
location: &18 !ruby/struct:Cucumber::Core::Ast::Location::Precise
file: E:/Projects/lapis-lazuli/lib/lapis_lazuli/cucumber.rb
lines: !ruby/struct:Cucumber::Core::Ast::Location::Lines
data: !ruby/object:Set
hash:
9: true
action: !ruby/object:Cucumber::Core::Test::UnskippableAction
location: *18
block: !ruby/object:Proc {}
timer: !ruby/object:Cucumber::Core::Test::Timer
start_time: 89910639810686
- !ruby/object:Cucumber::Core::Test::Step
source:
- *19
- *17
- *20
action: !ruby/object:Cucumber::Core::Test::Action
location: !ruby/struct:Cucumber::Core::Ast::Location::Precise
file: features/step_definitions/precondition_steps.rb
lines: !ruby/struct:Cucumber::Core::Ast::Location::Lines
data: !ruby/object:Set
hash:
9: true
block: !ruby/object:Proc {}
timer: !ruby/object:Cucumber::Core::Test::Timer
start_time: 89910733608032
- !ruby/object:Cucumber::Core::Test::Step
source:
- *19
- *17
- *21
action: !ruby/object:Cucumber::Core::Test::Action
location: !ruby/struct:Cucumber::Core::Ast::Location::Precise
file: features/step_definitions/interaction_steps.rb
lines: !ruby/struct:Cucumber::Core::Ast::Location::Lines
data: !ruby/object:Set
hash:
39: true
block: !ruby/object:Proc {}
timer: !ruby/object:Cucumber::Core::Test::Timer {}
- !ruby/object:Cucumber::Core::Test::Step
source:
- *19
- *17
- *22
action: !ruby/object:Cucumber::Core::Test::Action
location: !ruby/struct:Cucumber::Core::Ast::Location::Precise
file: features/step_definitions/validation_steps.rb
lines: !ruby/struct:Cucumber::Core::Ast::Location::Lines
data: !ruby/object:Set
hash:
8: true
block: !ruby/object:Proc {}
timer: !ruby/object:Cucumber::Core::Test::Timer {}
source:
- *19
- *17
around_hooks: []