cucumber-messages 1.1.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/cucumber/messages_pb.rb +183 -0
- metadata +9 -16
- data/.github/ISSUE_TEMPLATE.md +0 -5
- data/.github/PULL_REQUEST_TEMPLATE.md +0 -5
- data/.rspec +0 -1
- data/.rsync +0 -4
- data/.subrepo +0 -1
- data/.travis.yml +0 -27
- data/Gemfile +0 -3
- data/Makefile +0 -9
- data/Rakefile +0 -23
- data/cucumber-messages.gemspec +0 -34
- data/default.mk +0 -33
- data/messages.proto +0 -256
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2051acbb631a7406a8e6063a9fd589c332e7503145c40bc88379c1636564a580
|
4
|
+
data.tar.gz: d613d1b3aeffbd59882ca32c64b8cd2961d1c757452bfc3ad2e4a23f7a6d69ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea4dd60920aed013a05e1281ba38b5a3e3bde4bc38cab982d988c7e298e74f75ce5be9127bc301a2ed7ea35dad25d49393479c65ad0fac5feed47e6848372d99
|
7
|
+
data.tar.gz: a972e645dfe4cfc33870be85d85d73edeb8770b801e082407b434115f656928aaa8e31439add92193f04849ae579b53d9e954f7c27d243d69e7c689d179d2e87
|
data/lib/cucumber/messages_pb.rb
CHANGED
@@ -17,6 +17,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
17
17
|
optional :testCaseFinished, :message, 8, "io.cucumber.messages.TestCaseFinished"
|
18
18
|
optional :testHookStarted, :message, 9, "io.cucumber.messages.TestHookStarted"
|
19
19
|
optional :testHookFinished, :message, 10, "io.cucumber.messages.TestHookFinished"
|
20
|
+
optional :pickleAccepted, :message, 11, "io.cucumber.messages.PickleAccepted"
|
21
|
+
optional :pickleRejected, :message, 12, "io.cucumber.messages.PickleRejected"
|
22
|
+
optional :testCasePrepared, :message, 13, "io.cucumber.messages.TestCasePrepared"
|
23
|
+
optional :testRunStarted, :message, 14, "io.cucumber.messages.TestRunStarted"
|
24
|
+
optional :testRunFinished, :message, 15, "io.cucumber.messages.TestRunFinished"
|
25
|
+
optional :commandStart, :message, 16, "io.cucumber.messages.CommandStart"
|
26
|
+
optional :commandActionComplete, :message, 17, "io.cucumber.messages.CommandActionComplete"
|
27
|
+
optional :commandRunBeforeTestRunHooks, :message, 18, "io.cucumber.messages.CommandRunBeforeTestRunHooks"
|
28
|
+
optional :commandInitializeTestCase, :message, 19, "io.cucumber.messages.CommandInitializeTestCase"
|
29
|
+
optional :commandRunBeforeTestCaseHook, :message, 20, "io.cucumber.messages.CommandRunBeforeTestCaseHook"
|
30
|
+
optional :commandRunTestStep, :message, 21, "io.cucumber.messages.CommandRunTestStep"
|
31
|
+
optional :commandRunAfterTestCaseHook, :message, 22, "io.cucumber.messages.CommandRunAfterTestCaseHook"
|
32
|
+
optional :commandRunAfterTestRunHooks, :message, 23, "io.cucumber.messages.CommandRunAfterTestRunHooks"
|
33
|
+
optional :commandGenerateSnippet, :message, 24, "io.cucumber.messages.CommandGenerateSnippet"
|
34
|
+
optional :commandError, :string, 25
|
20
35
|
end
|
21
36
|
end
|
22
37
|
add_message "io.cucumber.messages.SourceReference" do
|
@@ -171,6 +186,22 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
171
186
|
optional :location, :message, 1, "io.cucumber.messages.Location"
|
172
187
|
optional :name, :string, 2
|
173
188
|
end
|
189
|
+
add_message "io.cucumber.messages.PickleAccepted" do
|
190
|
+
optional :pickleId, :string, 1
|
191
|
+
end
|
192
|
+
add_message "io.cucumber.messages.PickleRejected" do
|
193
|
+
optional :pickleId, :string, 2
|
194
|
+
end
|
195
|
+
add_message "io.cucumber.messages.TestRunStarted" do
|
196
|
+
end
|
197
|
+
add_message "io.cucumber.messages.TestCasePreparedStep" do
|
198
|
+
optional :sourceLocation, :message, 1, "io.cucumber.messages.SourceReference"
|
199
|
+
optional :actionLocation, :message, 2, "io.cucumber.messages.SourceReference"
|
200
|
+
end
|
201
|
+
add_message "io.cucumber.messages.TestCasePrepared" do
|
202
|
+
optional :pickleId, :string, 1
|
203
|
+
repeated :steps, :message, 2, "io.cucumber.messages.TestCasePreparedStep"
|
204
|
+
end
|
174
205
|
add_message "io.cucumber.messages.TestCaseStarted" do
|
175
206
|
optional :pickleId, :string, 1
|
176
207
|
optional :timestamp, :message, 2, "google.protobuf.Timestamp"
|
@@ -202,6 +233,121 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
202
233
|
add_message "io.cucumber.messages.TestResult" do
|
203
234
|
optional :status, :enum, 1, "io.cucumber.messages.Status"
|
204
235
|
optional :message, :string, 2
|
236
|
+
optional :durationNanoseconds, :uint64, 3
|
237
|
+
end
|
238
|
+
add_message "io.cucumber.messages.TestRunFinished" do
|
239
|
+
optional :success, :bool, 1
|
240
|
+
end
|
241
|
+
add_message "io.cucumber.messages.CommandStart" do
|
242
|
+
optional :baseDirectory, :string, 2
|
243
|
+
optional :sourcesConfig, :message, 3, "io.cucumber.messages.SourcesConfig"
|
244
|
+
optional :runtimeConfig, :message, 4, "io.cucumber.messages.RuntimeConfig"
|
245
|
+
optional :supportCodeConfig, :message, 5, "io.cucumber.messages.SupportCodeConfig"
|
246
|
+
end
|
247
|
+
add_message "io.cucumber.messages.SourcesConfig" do
|
248
|
+
repeated :absolutePaths, :string, 1
|
249
|
+
optional :language, :string, 2
|
250
|
+
optional :filters, :message, 3, "io.cucumber.messages.SourcesFilterConfig"
|
251
|
+
optional :order, :message, 4, "io.cucumber.messages.SourcesOrder"
|
252
|
+
end
|
253
|
+
add_message "io.cucumber.messages.SourcesFilterConfig" do
|
254
|
+
optional :tagExpression, :string, 1
|
255
|
+
repeated :nameRegularExpressions, :string, 2
|
256
|
+
repeated :uriToLinesMapping, :message, 3, "io.cucumber.messages.UriToLinesMapping"
|
257
|
+
end
|
258
|
+
add_message "io.cucumber.messages.UriToLinesMapping" do
|
259
|
+
optional :absolutePath, :string, 1
|
260
|
+
repeated :lines, :uint64, 2
|
261
|
+
end
|
262
|
+
add_message "io.cucumber.messages.SourcesOrder" do
|
263
|
+
optional :type, :enum, 1, "io.cucumber.messages.SourcesOrderType"
|
264
|
+
optional :seed, :uint64, 2
|
265
|
+
end
|
266
|
+
add_message "io.cucumber.messages.RuntimeConfig" do
|
267
|
+
optional :isFailFast, :bool, 1
|
268
|
+
optional :isDryRun, :bool, 2
|
269
|
+
optional :isStrict, :bool, 3
|
270
|
+
optional :maxParallel, :uint64, 4
|
271
|
+
end
|
272
|
+
add_message "io.cucumber.messages.SupportCodeConfig" do
|
273
|
+
repeated :beforeTestCaseHookDefinitionConfigs, :message, 1, "io.cucumber.messages.TestCaseHookDefinitionConfig"
|
274
|
+
repeated :afterTestCaseHookDefinitionConfigs, :message, 2, "io.cucumber.messages.TestCaseHookDefinitionConfig"
|
275
|
+
repeated :stepDefinitionConfigs, :message, 3, "io.cucumber.messages.StepDefinitionConfig"
|
276
|
+
repeated :parameterTypeConfigs, :message, 4, "io.cucumber.messages.ParameterTypeConfig"
|
277
|
+
end
|
278
|
+
add_message "io.cucumber.messages.TestCaseHookDefinitionConfig" do
|
279
|
+
optional :id, :string, 1
|
280
|
+
optional :tagExpression, :string, 2
|
281
|
+
optional :location, :message, 3, "io.cucumber.messages.SourceReference"
|
282
|
+
end
|
283
|
+
add_message "io.cucumber.messages.StepDefinitionConfig" do
|
284
|
+
optional :id, :string, 1
|
285
|
+
optional :pattern, :message, 2, "io.cucumber.messages.StepDefinitionPattern"
|
286
|
+
optional :location, :message, 3, "io.cucumber.messages.SourceReference"
|
287
|
+
end
|
288
|
+
add_message "io.cucumber.messages.StepDefinitionPattern" do
|
289
|
+
optional :source, :string, 1
|
290
|
+
optional :type, :enum, 2, "io.cucumber.messages.StepDefinitionPatternType"
|
291
|
+
end
|
292
|
+
add_message "io.cucumber.messages.ParameterTypeConfig" do
|
293
|
+
optional :name, :string, 1
|
294
|
+
repeated :regularExpressions, :string, 2
|
295
|
+
optional :preferForRegularExpressionMatch, :bool, 3
|
296
|
+
optional :useForSnippets, :bool, 4
|
297
|
+
end
|
298
|
+
add_message "io.cucumber.messages.CommandActionComplete" do
|
299
|
+
optional :completedId, :string, 1
|
300
|
+
oneof :result do
|
301
|
+
optional :testResult, :message, 2, "io.cucumber.messages.TestResult"
|
302
|
+
optional :snippet, :string, 3
|
303
|
+
end
|
304
|
+
end
|
305
|
+
add_message "io.cucumber.messages.CommandRunBeforeTestRunHooks" do
|
306
|
+
optional :actionId, :string, 1
|
307
|
+
end
|
308
|
+
add_message "io.cucumber.messages.CommandRunAfterTestRunHooks" do
|
309
|
+
optional :actionId, :string, 1
|
310
|
+
end
|
311
|
+
add_message "io.cucumber.messages.CommandInitializeTestCase" do
|
312
|
+
optional :actionId, :string, 1
|
313
|
+
optional :testCaseId, :string, 2
|
314
|
+
optional :pickle, :message, 3, "io.cucumber.messages.Pickle"
|
315
|
+
end
|
316
|
+
add_message "io.cucumber.messages.CommandRunBeforeTestCaseHook" do
|
317
|
+
optional :actionId, :string, 1
|
318
|
+
optional :testCaseId, :string, 2
|
319
|
+
optional :testCaseHookDefinitionId, :string, 3
|
320
|
+
end
|
321
|
+
add_message "io.cucumber.messages.CommandRunAfterTestCaseHook" do
|
322
|
+
optional :actionId, :string, 1
|
323
|
+
optional :testCaseId, :string, 2
|
324
|
+
optional :testCaseHookDefinitionId, :string, 3
|
325
|
+
end
|
326
|
+
add_message "io.cucumber.messages.CommandRunTestStep" do
|
327
|
+
optional :actionId, :string, 1
|
328
|
+
optional :testCaseId, :string, 2
|
329
|
+
optional :stepDefinitionId, :string, 3
|
330
|
+
repeated :patternMatches, :message, 4, "io.cucumber.messages.PatternMatch"
|
331
|
+
end
|
332
|
+
add_message "io.cucumber.messages.PatternMatch" do
|
333
|
+
repeated :captures, :string, 1
|
334
|
+
optional :parameterTypeName, :string, 2
|
335
|
+
oneof :pickleArgument do
|
336
|
+
optional :doc_string, :message, 3, "io.cucumber.messages.PickleDocString"
|
337
|
+
optional :data_table, :message, 4, "io.cucumber.messages.PickleTable"
|
338
|
+
end
|
339
|
+
end
|
340
|
+
add_message "io.cucumber.messages.CommandGenerateSnippet" do
|
341
|
+
optional :actionId, :string, 1
|
342
|
+
repeated :generatedExpressions, :message, 2, "io.cucumber.messages.GeneratedExpression"
|
343
|
+
oneof :pickleArgument do
|
344
|
+
optional :doc_string, :message, 3, "io.cucumber.messages.PickleDocString"
|
345
|
+
optional :data_table, :message, 4, "io.cucumber.messages.PickleTable"
|
346
|
+
end
|
347
|
+
end
|
348
|
+
add_message "io.cucumber.messages.GeneratedExpression" do
|
349
|
+
optional :text, :string, 1
|
350
|
+
repeated :parameterTypeNames, :string, 2
|
205
351
|
end
|
206
352
|
add_enum "io.cucumber.messages.Status" do
|
207
353
|
value :AMBIGUOUS, 0
|
@@ -211,6 +357,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
211
357
|
value :SKIPPED, 4
|
212
358
|
value :UNDEFINED, 5
|
213
359
|
end
|
360
|
+
add_enum "io.cucumber.messages.SourcesOrderType" do
|
361
|
+
value :ORDER_OF_DEFINITION, 0
|
362
|
+
value :RANDOM, 1
|
363
|
+
end
|
364
|
+
add_enum "io.cucumber.messages.StepDefinitionPatternType" do
|
365
|
+
value :CUCUMBER_EXPRESSION, 0
|
366
|
+
value :REGULAR_EXPRESSION, 1
|
367
|
+
end
|
214
368
|
end
|
215
369
|
|
216
370
|
module Cucumber
|
@@ -243,6 +397,11 @@ module Cucumber
|
|
243
397
|
PickleTableCell = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.PickleTableCell").msgclass
|
244
398
|
PickleTableRow = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.PickleTableRow").msgclass
|
245
399
|
PickleTag = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.PickleTag").msgclass
|
400
|
+
PickleAccepted = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.PickleAccepted").msgclass
|
401
|
+
PickleRejected = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.PickleRejected").msgclass
|
402
|
+
TestRunStarted = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.TestRunStarted").msgclass
|
403
|
+
TestCasePreparedStep = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.TestCasePreparedStep").msgclass
|
404
|
+
TestCasePrepared = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.TestCasePrepared").msgclass
|
246
405
|
TestCaseStarted = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.TestCaseStarted").msgclass
|
247
406
|
TestCaseFinished = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.TestCaseFinished").msgclass
|
248
407
|
TestStepStarted = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.TestStepStarted").msgclass
|
@@ -250,6 +409,30 @@ module Cucumber
|
|
250
409
|
TestHookStarted = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.TestHookStarted").msgclass
|
251
410
|
TestHookFinished = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.TestHookFinished").msgclass
|
252
411
|
TestResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.TestResult").msgclass
|
412
|
+
TestRunFinished = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.TestRunFinished").msgclass
|
413
|
+
CommandStart = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.CommandStart").msgclass
|
414
|
+
SourcesConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.SourcesConfig").msgclass
|
415
|
+
SourcesFilterConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.SourcesFilterConfig").msgclass
|
416
|
+
UriToLinesMapping = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.UriToLinesMapping").msgclass
|
417
|
+
SourcesOrder = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.SourcesOrder").msgclass
|
418
|
+
RuntimeConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.RuntimeConfig").msgclass
|
419
|
+
SupportCodeConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.SupportCodeConfig").msgclass
|
420
|
+
TestCaseHookDefinitionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.TestCaseHookDefinitionConfig").msgclass
|
421
|
+
StepDefinitionConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.StepDefinitionConfig").msgclass
|
422
|
+
StepDefinitionPattern = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.StepDefinitionPattern").msgclass
|
423
|
+
ParameterTypeConfig = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.ParameterTypeConfig").msgclass
|
424
|
+
CommandActionComplete = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.CommandActionComplete").msgclass
|
425
|
+
CommandRunBeforeTestRunHooks = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.CommandRunBeforeTestRunHooks").msgclass
|
426
|
+
CommandRunAfterTestRunHooks = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.CommandRunAfterTestRunHooks").msgclass
|
427
|
+
CommandInitializeTestCase = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.CommandInitializeTestCase").msgclass
|
428
|
+
CommandRunBeforeTestCaseHook = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.CommandRunBeforeTestCaseHook").msgclass
|
429
|
+
CommandRunAfterTestCaseHook = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.CommandRunAfterTestCaseHook").msgclass
|
430
|
+
CommandRunTestStep = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.CommandRunTestStep").msgclass
|
431
|
+
PatternMatch = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.PatternMatch").msgclass
|
432
|
+
CommandGenerateSnippet = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.CommandGenerateSnippet").msgclass
|
433
|
+
GeneratedExpression = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.GeneratedExpression").msgclass
|
253
434
|
Status = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.Status").enummodule
|
435
|
+
SourcesOrderType = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.SourcesOrderType").enummodule
|
436
|
+
StepDefinitionPatternType = Google::Protobuf::DescriptorPool.generated_pool.lookup("io.cucumber.messages.StepDefinitionPatternType").enummodule
|
254
437
|
end
|
255
438
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-messages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aslak Hellesøy
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-protobuf
|
@@ -86,29 +86,22 @@ executables: []
|
|
86
86
|
extensions: []
|
87
87
|
extra_rdoc_files: []
|
88
88
|
files:
|
89
|
-
- ".github/ISSUE_TEMPLATE.md"
|
90
|
-
- ".github/PULL_REQUEST_TEMPLATE.md"
|
91
|
-
- ".rspec"
|
92
|
-
- ".rsync"
|
93
|
-
- ".subrepo"
|
94
|
-
- ".travis.yml"
|
95
|
-
- Gemfile
|
96
89
|
- LICENSE
|
97
|
-
- Makefile
|
98
90
|
- README.md
|
99
|
-
- Rakefile
|
100
|
-
- cucumber-messages.gemspec
|
101
|
-
- default.mk
|
102
91
|
- lib/cucumber/messages.rb
|
103
92
|
- lib/cucumber/messages_pb.rb
|
104
|
-
- messages.proto
|
105
93
|
- spec/capture_warnings.rb
|
106
94
|
- spec/coverage.rb
|
107
95
|
- spec/cucumber/messages/messages_spec.rb
|
108
96
|
homepage: https://github.com/cucumber/cucumber-messages-ruby#readme
|
109
97
|
licenses:
|
110
98
|
- MIT
|
111
|
-
metadata:
|
99
|
+
metadata:
|
100
|
+
bug_tracker_uri: https://github.com/cucumber/cucumber/issues
|
101
|
+
changelog_uri: https://github.com/cucumber/cucumber/blob/master/cucumber-messages/CHANGELOG.md
|
102
|
+
documentation_uri: https://www.rubydoc.info/github/cucumber/cucumber-messages-ruby
|
103
|
+
mailing_list_uri: https://groups.google.com/forum/#!forum/cukes
|
104
|
+
source_code_uri: https://github.com/cucumber/cucumber/blob/master/cucumber-messages/ruby
|
112
105
|
post_install_message:
|
113
106
|
rdoc_options:
|
114
107
|
- "--charset=UTF-8"
|
@@ -129,7 +122,7 @@ rubyforge_project:
|
|
129
122
|
rubygems_version: 2.7.7
|
130
123
|
signing_key:
|
131
124
|
specification_version: 4
|
132
|
-
summary: cucumber-messages-
|
125
|
+
summary: cucumber-messages-2.0.0
|
133
126
|
test_files:
|
134
127
|
- spec/capture_warnings.rb
|
135
128
|
- spec/coverage.rb
|
data/.github/ISSUE_TEMPLATE.md
DELETED
data/.rspec
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
--color
|
data/.rsync
DELETED
data/.subrepo
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
cucumber/cucumber-messages-ruby
|
data/.travis.yml
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
language: ruby
|
3
|
-
|
4
|
-
rvm:
|
5
|
-
- "2.5.1"
|
6
|
-
- "2.4.4"
|
7
|
-
- "2.3.7"
|
8
|
-
- "2.2.10"
|
9
|
-
- "jruby-9.1.17.0"
|
10
|
-
|
11
|
-
script: make default
|
12
|
-
|
13
|
-
matrix:
|
14
|
-
allow_failures:
|
15
|
-
- rvm: jruby-9.1.17.0
|
16
|
-
jobs:
|
17
|
-
include:
|
18
|
-
- stage: deploy
|
19
|
-
ruby: 2.5.1
|
20
|
-
deploy:
|
21
|
-
skip_cleanup: true
|
22
|
-
provider: rubygems
|
23
|
-
api_key:
|
24
|
-
secure: PPm6XABN3ggY2uRVY+yktyGbH22LGqaKrDig1BXsC0cqtgRrUzSaq89l7H7Zckgddcpwc8EZ6TTp+jvZAQPZsxmKwZcRthH6rE43o4VZXEIuWfhuvvhewPhF3hp51QqF2I5jJYHwOXbR/IGZseAvy3ksswF9xP9CEtk2j9yLG7yYZa/F+ljXdxel68AcXYBzMbH2CsJPck7FLm7EwMTmYeIwszgpxbht/Clnx/MHmxYKS0pw6Y8E0C3D5HCUFKeiDwgBXuunByawXl/xhloepv9OZiz+4K4sItLaKa2leKYwpvxvTuml7GQ7nbyh8GL8gEJ5+GTDxNoxiHmMeHT1erEbEJVDNFYR8FwuSFXrCq/FbcrQUKdZbg3f0yvf+GCbtnw79yHIUcMtqbvE762CuBBdXanKYjmZwpdLkW7JerCsmplTJrWqt/0uzxJl3atu4EeJ9z6r1ITYgJiYPQussJtNA/tQo2+l+Na6/m+OtX4U90H6lsesrO6oZOAT8EAwce77biOwh138dyNSn/4+0WST6g9G+dtIKfGGlMChifFogbk/c/F8InFPdKQXZjW5McPWM+jl7h07JFePkvl1kUmmDwwTdVIy0CpWEvB7JvYkXy/RpGuWT1HMP8CX/n0d8hhma/f+q3wu8SifipDPiGabYB/exHDYI5Pwbb+eme4=
|
25
|
-
gem: cucumber-messages
|
26
|
-
on:
|
27
|
-
tags: true
|
data/Gemfile
DELETED
data/Makefile
DELETED
data/Rakefile
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
require 'rubygems'
|
3
|
-
require 'bundler'
|
4
|
-
Bundler::GemHelper.install_tasks
|
5
|
-
|
6
|
-
$:.unshift File.expand_path("../lib", __FILE__)
|
7
|
-
|
8
|
-
require "rspec/core/rake_task"
|
9
|
-
RSpec::Core::RakeTask.new(:spec) do |t|
|
10
|
-
t.ruby_opts = %w[-r./spec/coverage -w]
|
11
|
-
end
|
12
|
-
|
13
|
-
require_relative 'spec/capture_warnings'
|
14
|
-
include CaptureWarnings
|
15
|
-
namespace :spec do
|
16
|
-
task :warnings do
|
17
|
-
report_warnings do
|
18
|
-
Rake::Task['spec'].invoke
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
23
|
-
task default: ['spec:warnings']
|
data/cucumber-messages.gemspec
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
Gem::Specification.new do |s|
|
3
|
-
s.name = 'cucumber-messages'
|
4
|
-
s.version = '1.1.2'
|
5
|
-
s.authors = ["Aslak Hellesøy"]
|
6
|
-
s.description = "Protocol Buffer messages for Cucumber's inter-process communication"
|
7
|
-
s.summary = "cucumber-messages-#{s.version}"
|
8
|
-
s.email = 'cukes@googlegroups.com'
|
9
|
-
s.homepage = "https://github.com/cucumber/cucumber-messages-ruby#readme"
|
10
|
-
s.platform = Gem::Platform::RUBY
|
11
|
-
s.license = "MIT"
|
12
|
-
s.required_ruby_version = ">= 1.9.3"
|
13
|
-
|
14
|
-
# As of this writing (28 June 2018), the latest version is
|
15
|
-
# 3.6.0, which doesn't works with JRuby.
|
16
|
-
# See https://github.com/google/protobuf/issues/1594
|
17
|
-
# 3.1.0 works with JRuby, but fails with MRI 2.4.4 and above.
|
18
|
-
# There doesn't seem to be a version that works with all rubies,
|
19
|
-
# so we're picking the version that works with the most recent MRIs.
|
20
|
-
s.add_dependency 'google-protobuf', '3.6.1'
|
21
|
-
|
22
|
-
s.add_development_dependency 'bundler'
|
23
|
-
s.add_development_dependency 'rake', '~> 12.3'
|
24
|
-
s.add_development_dependency 'rspec', '~> 3.7'
|
25
|
-
|
26
|
-
# For coverage reports
|
27
|
-
s.add_development_dependency 'coveralls'
|
28
|
-
|
29
|
-
s.rubygems_version = ">= 1.6.1"
|
30
|
-
s.files = `git ls-files`.split("\n").reject {|path| path =~ /\.gitignore$/ }
|
31
|
-
s.test_files = `git ls-files -- spec/*`.split("\n")
|
32
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
33
|
-
s.require_path = "lib"
|
34
|
-
end
|
data/default.mk
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
SHELL := /usr/bin/env bash
|
2
|
-
RUBY_SOURCE_FILES = $(shell find . -name "*.rb")
|
3
|
-
GEMSPECS = $(shell find . -name "*.gemspec")
|
4
|
-
|
5
|
-
ifdef TRAVIS_BRANCH
|
6
|
-
LIBRARY_VERSION=$(TRAVIS_BRANCH)
|
7
|
-
endif
|
8
|
-
ifdef TRAVIS_TAG
|
9
|
-
LIBRARY_VERSION=$(TRAVIS_TAG)
|
10
|
-
endif
|
11
|
-
ifndef LIBRARY_VERSION
|
12
|
-
LIBRARY_VERSION=$(shell git rev-parse --abbrev-ref HEAD)
|
13
|
-
endif
|
14
|
-
|
15
|
-
default: .tested
|
16
|
-
.PHONY: default
|
17
|
-
|
18
|
-
.deps: Gemfile.lock
|
19
|
-
|
20
|
-
Gemfile.lock: Gemfile $(GEMSPECS)
|
21
|
-
bundle install
|
22
|
-
touch $@
|
23
|
-
|
24
|
-
.tested: .deps $(RUBY_SOURCE_FILES)
|
25
|
-
bundle exec rspec --color
|
26
|
-
touch $@
|
27
|
-
|
28
|
-
clean: clean-ruby
|
29
|
-
.PHONY: clean
|
30
|
-
|
31
|
-
clean-ruby:
|
32
|
-
rm -f .deps .linked .tested Gemfile.lock
|
33
|
-
.PHONY: clean-ruby
|
data/messages.proto
DELETED
@@ -1,256 +0,0 @@
|
|
1
|
-
syntax = "proto3";
|
2
|
-
import "google/protobuf/timestamp.proto";
|
3
|
-
package io.cucumber.messages;
|
4
|
-
option ruby_package = "Cucumber.Messages";
|
5
|
-
option go_package = "messages";
|
6
|
-
|
7
|
-
// All messages sent between processes must be of type Wrapper
|
8
|
-
message Wrapper {
|
9
|
-
oneof message {
|
10
|
-
Source source = 1;
|
11
|
-
GherkinDocument gherkinDocument = 2;
|
12
|
-
Pickle pickle = 3;
|
13
|
-
Attachment attachment = 4;
|
14
|
-
TestCaseStarted testCaseStarted = 5;
|
15
|
-
TestStepStarted testStepStarted = 6;
|
16
|
-
TestStepFinished testStepFinished = 7;
|
17
|
-
TestCaseFinished testCaseFinished = 8;
|
18
|
-
TestHookStarted testHookStarted = 9;
|
19
|
-
TestHookFinished testHookFinished = 10;
|
20
|
-
}
|
21
|
-
}
|
22
|
-
|
23
|
-
////// Source
|
24
|
-
|
25
|
-
message SourceReference {
|
26
|
-
string uri = 1;
|
27
|
-
Location location = 2;
|
28
|
-
}
|
29
|
-
|
30
|
-
message Location {
|
31
|
-
uint32 line = 1;
|
32
|
-
uint32 column = 2;
|
33
|
-
}
|
34
|
-
|
35
|
-
message Attachment {
|
36
|
-
SourceReference source = 1;
|
37
|
-
string data = 2;
|
38
|
-
Media media = 3;
|
39
|
-
}
|
40
|
-
|
41
|
-
message Media {
|
42
|
-
string encoding = 1;
|
43
|
-
string content_type = 2;
|
44
|
-
}
|
45
|
-
|
46
|
-
message Source {
|
47
|
-
string uri = 1;
|
48
|
-
string data = 2;
|
49
|
-
Media media = 3;
|
50
|
-
}
|
51
|
-
|
52
|
-
////// Gherkin
|
53
|
-
|
54
|
-
message GherkinDocument {
|
55
|
-
string uri = 1;
|
56
|
-
Feature feature = 2;
|
57
|
-
repeated Comment comments = 3;
|
58
|
-
}
|
59
|
-
|
60
|
-
message Feature {
|
61
|
-
Location location = 1;
|
62
|
-
repeated Tag tags = 2;
|
63
|
-
string language = 3;
|
64
|
-
string keyword = 4;
|
65
|
-
string name = 5;
|
66
|
-
string description = 6;
|
67
|
-
repeated FeatureChild children = 7;
|
68
|
-
}
|
69
|
-
|
70
|
-
message FeatureChild {
|
71
|
-
oneof value {
|
72
|
-
Rule rule = 1;
|
73
|
-
Background background = 2;
|
74
|
-
Scenario scenario = 3;
|
75
|
-
}
|
76
|
-
}
|
77
|
-
|
78
|
-
message Rule {
|
79
|
-
Location location = 1;
|
80
|
-
string keyword = 2;
|
81
|
-
string name = 3;
|
82
|
-
string description = 4;
|
83
|
-
repeated RuleChild children = 5;
|
84
|
-
}
|
85
|
-
|
86
|
-
message RuleChild {
|
87
|
-
oneof value {
|
88
|
-
Background background = 1;
|
89
|
-
Scenario scenario = 2;
|
90
|
-
}
|
91
|
-
}
|
92
|
-
|
93
|
-
message Background {
|
94
|
-
Location location = 1;
|
95
|
-
string keyword = 2;
|
96
|
-
string name = 3;
|
97
|
-
string description = 4;
|
98
|
-
repeated Step steps = 5;
|
99
|
-
}
|
100
|
-
|
101
|
-
message Scenario {
|
102
|
-
Location location = 1;
|
103
|
-
repeated Tag tags = 2;
|
104
|
-
string keyword = 3;
|
105
|
-
string name = 4;
|
106
|
-
string description = 5;
|
107
|
-
repeated Step steps = 6;
|
108
|
-
repeated Examples examples = 7;
|
109
|
-
}
|
110
|
-
|
111
|
-
message Comment {
|
112
|
-
Location location = 1;
|
113
|
-
string text = 2;
|
114
|
-
}
|
115
|
-
|
116
|
-
message DataTable {
|
117
|
-
Location location = 1;
|
118
|
-
repeated TableRow rows = 2;
|
119
|
-
}
|
120
|
-
|
121
|
-
message DocString {
|
122
|
-
Location location = 1;
|
123
|
-
string content_type = 2;
|
124
|
-
string content = 3;
|
125
|
-
string delimiter = 4;
|
126
|
-
}
|
127
|
-
|
128
|
-
message Examples {
|
129
|
-
Location location = 1;
|
130
|
-
repeated Tag tags = 2;
|
131
|
-
string keyword = 3;
|
132
|
-
string name = 4;
|
133
|
-
string description = 5;
|
134
|
-
TableRow table_header = 6;
|
135
|
-
repeated TableRow table_body = 7;
|
136
|
-
}
|
137
|
-
|
138
|
-
message Step {
|
139
|
-
Location location = 1;
|
140
|
-
string keyword = 2;
|
141
|
-
string text = 3;
|
142
|
-
oneof argument {
|
143
|
-
DocString doc_string = 5;
|
144
|
-
DataTable data_table = 6;
|
145
|
-
}
|
146
|
-
}
|
147
|
-
|
148
|
-
message TableCell {
|
149
|
-
Location location = 1;
|
150
|
-
string value = 2;
|
151
|
-
}
|
152
|
-
|
153
|
-
message TableRow {
|
154
|
-
Location location = 1;
|
155
|
-
repeated TableCell cells = 2;
|
156
|
-
}
|
157
|
-
|
158
|
-
message Tag {
|
159
|
-
Location location = 1;
|
160
|
-
string name = 2;
|
161
|
-
}
|
162
|
-
|
163
|
-
////// Pickles
|
164
|
-
|
165
|
-
message Pickle {
|
166
|
-
string id = 1;
|
167
|
-
string uri = 2;
|
168
|
-
string name = 3;
|
169
|
-
string language = 4;
|
170
|
-
repeated PickleStep steps = 5;
|
171
|
-
repeated PickleTag tags = 6;
|
172
|
-
repeated Location locations = 7;
|
173
|
-
}
|
174
|
-
|
175
|
-
message PickleStep {
|
176
|
-
string text = 1;
|
177
|
-
repeated Location locations = 2;
|
178
|
-
oneof argument {
|
179
|
-
PickleDocString doc_string = 3;
|
180
|
-
PickleTable data_table = 4;
|
181
|
-
}
|
182
|
-
}
|
183
|
-
|
184
|
-
message PickleDocString {
|
185
|
-
Location location = 1;
|
186
|
-
string contentType = 2;
|
187
|
-
string content = 3;
|
188
|
-
}
|
189
|
-
|
190
|
-
message PickleTable {
|
191
|
-
repeated PickleTableRow rows = 1;
|
192
|
-
}
|
193
|
-
|
194
|
-
message PickleTableCell {
|
195
|
-
Location location = 1;
|
196
|
-
string value = 2;
|
197
|
-
}
|
198
|
-
|
199
|
-
message PickleTableRow {
|
200
|
-
repeated PickleTableCell cells = 1;
|
201
|
-
}
|
202
|
-
|
203
|
-
message PickleTag {
|
204
|
-
Location location = 1;
|
205
|
-
string name = 2;
|
206
|
-
}
|
207
|
-
|
208
|
-
////// Results
|
209
|
-
|
210
|
-
message TestCaseStarted {
|
211
|
-
string pickleId = 1;
|
212
|
-
google.protobuf.Timestamp timestamp = 2;
|
213
|
-
}
|
214
|
-
|
215
|
-
message TestCaseFinished {
|
216
|
-
string pickleId = 1;
|
217
|
-
google.protobuf.Timestamp timestamp = 2;
|
218
|
-
}
|
219
|
-
|
220
|
-
message TestStepStarted {
|
221
|
-
string pickleId = 1;
|
222
|
-
uint32 index = 2;
|
223
|
-
google.protobuf.Timestamp timestamp = 3;
|
224
|
-
}
|
225
|
-
|
226
|
-
message TestStepFinished {
|
227
|
-
string pickleId = 1;
|
228
|
-
uint32 index = 2;
|
229
|
-
TestResult testResult = 3;
|
230
|
-
google.protobuf.Timestamp timestamp = 4;
|
231
|
-
}
|
232
|
-
|
233
|
-
message TestHookStarted {
|
234
|
-
string pickleId = 1;
|
235
|
-
google.protobuf.Timestamp timestamp = 2;
|
236
|
-
}
|
237
|
-
|
238
|
-
message TestHookFinished {
|
239
|
-
string pickleId = 1;
|
240
|
-
TestResult testResult = 2;
|
241
|
-
google.protobuf.Timestamp timestamp = 3;
|
242
|
-
}
|
243
|
-
|
244
|
-
message TestResult {
|
245
|
-
Status status = 1;
|
246
|
-
string message = 2;
|
247
|
-
}
|
248
|
-
|
249
|
-
enum Status {
|
250
|
-
AMBIGUOUS = 0;
|
251
|
-
FAILED = 1;
|
252
|
-
PASSED = 2;
|
253
|
-
PENDING = 3;
|
254
|
-
SKIPPED = 4;
|
255
|
-
UNDEFINED = 5;
|
256
|
-
}
|