cucumber-messages 19.1.4 → 20.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/cucumber/messages.deserializers.rb +2 -1
- data/lib/cucumber/messages.dtos.rb +62 -55
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3990dc466da3ed1fcfd89df413422c86fda8183a766ae660e0c8f25e72a4795
|
4
|
+
data.tar.gz: 24308f5d7fc28df143bc0ab232ed8a9658220a4f844cde337c556b26375d61f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f8686679d4ab24f6c5c4c868d4e9d59dcdcde0743855b0332a2bdcd5374a447a85bdffec1630eb1eca37c18c10b624e6aa4243047810fe2dc26dcc6bd7625c2
|
7
|
+
data.tar.gz: 3a67338f63c2fa966258f8265cad066502b663bd88b0b845e1232e04894f299b4022a449c848d6419b2a939b628fc990d82a2faa586955fb53b2adc00d9c9f55
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
20.0.0
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'cucumber/messages.dtos'
|
2
2
|
require 'json'
|
3
3
|
|
4
|
-
# The code was auto-generated by {this script}[https://github.com/cucumber/
|
4
|
+
# The code was auto-generated by {this script}[https://github.com/cucumber/messages/blob/main/jsonschema/scripts/codegen.rb]
|
5
5
|
#
|
6
6
|
|
7
7
|
module Cucumber
|
@@ -1031,6 +1031,7 @@ module Cucumber
|
|
1031
1031
|
attempt: hash[:attempt],
|
1032
1032
|
id: hash[:id],
|
1033
1033
|
test_case_id: hash[:testCaseId],
|
1034
|
+
worker_id: hash[:workerId],
|
1034
1035
|
timestamp: Timestamp.from_h(hash[:timestamp]),
|
1035
1036
|
)
|
1036
1037
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'cucumber/messages/message'
|
2
2
|
|
3
|
-
# The code was auto-generated by {this script}[https://github.com/cucumber/
|
3
|
+
# The code was auto-generated by {this script}[https://github.com/cucumber/messages/blob/main/jsonschema/scripts/codegen.rb]
|
4
4
|
#
|
5
5
|
|
6
6
|
module Cucumber
|
@@ -8,7 +8,7 @@ module Cucumber
|
|
8
8
|
|
9
9
|
|
10
10
|
##
|
11
|
-
# Represents the Attachment message in Cucumber's {message protocol}[https://github.com/cucumber/
|
11
|
+
# Represents the Attachment message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
12
12
|
#
|
13
13
|
# //// Attachments (parse errors, execution errors, screenshots, links...)
|
14
14
|
#
|
@@ -107,7 +107,7 @@ module Cucumber
|
|
107
107
|
|
108
108
|
|
109
109
|
##
|
110
|
-
# Represents the Duration message in Cucumber's {message protocol}[https://github.com/cucumber/
|
110
|
+
# Represents the Duration message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
111
111
|
#
|
112
112
|
# The structure is pretty close of the Timestamp one. For clarity, a second type
|
113
113
|
# of message is used.
|
@@ -136,7 +136,7 @@ module Cucumber
|
|
136
136
|
|
137
137
|
|
138
138
|
##
|
139
|
-
# Represents the Envelope message in Cucumber's {message protocol}[https://github.com/cucumber/
|
139
|
+
# Represents the Envelope message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
140
140
|
#
|
141
141
|
# When removing a field, replace it with reserved, rather than deleting the line.
|
142
142
|
# When adding a field, add it to the end and increment the number by one.
|
@@ -224,7 +224,7 @@ module Cucumber
|
|
224
224
|
|
225
225
|
|
226
226
|
##
|
227
|
-
# Represents the GherkinDocument message in Cucumber's {message protocol}[https://github.com/cucumber/
|
227
|
+
# Represents the GherkinDocument message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
228
228
|
#
|
229
229
|
# *
|
230
230
|
# The [AST](https://en.wikipedia.org/wiki/Abstract_syntax_tree) of a Gherkin document.
|
@@ -264,7 +264,7 @@ module Cucumber
|
|
264
264
|
|
265
265
|
|
266
266
|
##
|
267
|
-
# Represents the Background message in Cucumber's {message protocol}[https://github.com/cucumber/
|
267
|
+
# Represents the Background message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
268
268
|
#
|
269
269
|
|
270
270
|
#
|
@@ -305,7 +305,7 @@ module Cucumber
|
|
305
305
|
|
306
306
|
|
307
307
|
##
|
308
|
-
# Represents the Comment message in Cucumber's {message protocol}[https://github.com/cucumber/
|
308
|
+
# Represents the Comment message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
309
309
|
#
|
310
310
|
# *
|
311
311
|
# A comment in a Gherkin document
|
@@ -334,7 +334,7 @@ module Cucumber
|
|
334
334
|
|
335
335
|
|
336
336
|
##
|
337
|
-
# Represents the DataTable message in Cucumber's {message protocol}[https://github.com/cucumber/
|
337
|
+
# Represents the DataTable message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
338
338
|
#
|
339
339
|
|
340
340
|
#
|
@@ -356,7 +356,7 @@ module Cucumber
|
|
356
356
|
|
357
357
|
|
358
358
|
##
|
359
|
-
# Represents the DocString message in Cucumber's {message protocol}[https://github.com/cucumber/
|
359
|
+
# Represents the DocString message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
360
360
|
#
|
361
361
|
|
362
362
|
#
|
@@ -386,7 +386,7 @@ module Cucumber
|
|
386
386
|
|
387
387
|
|
388
388
|
##
|
389
|
-
# Represents the Examples message in Cucumber's {message protocol}[https://github.com/cucumber/
|
389
|
+
# Represents the Examples message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
390
390
|
#
|
391
391
|
|
392
392
|
#
|
@@ -435,7 +435,7 @@ module Cucumber
|
|
435
435
|
|
436
436
|
|
437
437
|
##
|
438
|
-
# Represents the Feature message in Cucumber's {message protocol}[https://github.com/cucumber/
|
438
|
+
# Represents the Feature message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
439
439
|
#
|
440
440
|
|
441
441
|
#
|
@@ -498,7 +498,7 @@ module Cucumber
|
|
498
498
|
|
499
499
|
|
500
500
|
##
|
501
|
-
# Represents the FeatureChild message in Cucumber's {message protocol}[https://github.com/cucumber/
|
501
|
+
# Represents the FeatureChild message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
502
502
|
#
|
503
503
|
# *
|
504
504
|
# A child node of a `Feature` node
|
@@ -525,7 +525,7 @@ module Cucumber
|
|
525
525
|
|
526
526
|
|
527
527
|
##
|
528
|
-
# Represents the Rule message in Cucumber's {message protocol}[https://github.com/cucumber/
|
528
|
+
# Represents the Rule message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
529
529
|
#
|
530
530
|
|
531
531
|
#
|
@@ -573,7 +573,7 @@ module Cucumber
|
|
573
573
|
|
574
574
|
|
575
575
|
##
|
576
|
-
# Represents the RuleChild message in Cucumber's {message protocol}[https://github.com/cucumber/
|
576
|
+
# Represents the RuleChild message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
577
577
|
#
|
578
578
|
# *
|
579
579
|
# A child node of a `Rule` node
|
@@ -596,7 +596,7 @@ module Cucumber
|
|
596
596
|
|
597
597
|
|
598
598
|
##
|
599
|
-
# Represents the Scenario message in Cucumber's {message protocol}[https://github.com/cucumber/
|
599
|
+
# Represents the Scenario message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
600
600
|
#
|
601
601
|
|
602
602
|
#
|
@@ -645,7 +645,7 @@ module Cucumber
|
|
645
645
|
|
646
646
|
|
647
647
|
##
|
648
|
-
# Represents the Step message in Cucumber's {message protocol}[https://github.com/cucumber/
|
648
|
+
# Represents the Step message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
649
649
|
#
|
650
650
|
# A step
|
651
651
|
#
|
@@ -699,7 +699,7 @@ module Cucumber
|
|
699
699
|
|
700
700
|
|
701
701
|
##
|
702
|
-
# Represents the TableCell message in Cucumber's {message protocol}[https://github.com/cucumber/
|
702
|
+
# Represents the TableCell message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
703
703
|
#
|
704
704
|
# A cell in a `TableRow`
|
705
705
|
#
|
@@ -727,7 +727,7 @@ module Cucumber
|
|
727
727
|
|
728
728
|
|
729
729
|
##
|
730
|
-
# Represents the TableRow message in Cucumber's {message protocol}[https://github.com/cucumber/
|
730
|
+
# Represents the TableRow message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
731
731
|
#
|
732
732
|
# A row in a table
|
733
733
|
#
|
@@ -759,7 +759,7 @@ module Cucumber
|
|
759
759
|
|
760
760
|
|
761
761
|
##
|
762
|
-
# Represents the Tag message in Cucumber's {message protocol}[https://github.com/cucumber/
|
762
|
+
# Represents the Tag message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
763
763
|
#
|
764
764
|
# *
|
765
765
|
# A tag
|
@@ -795,7 +795,7 @@ module Cucumber
|
|
795
795
|
|
796
796
|
|
797
797
|
##
|
798
|
-
# Represents the Hook message in Cucumber's {message protocol}[https://github.com/cucumber/
|
798
|
+
# Represents the Hook message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
799
799
|
#
|
800
800
|
|
801
801
|
#
|
@@ -825,7 +825,7 @@ module Cucumber
|
|
825
825
|
|
826
826
|
|
827
827
|
##
|
828
|
-
# Represents the Location message in Cucumber's {message protocol}[https://github.com/cucumber/
|
828
|
+
# Represents the Location message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
829
829
|
#
|
830
830
|
# *
|
831
831
|
# Points to a line and a column in a text file
|
@@ -848,7 +848,7 @@ module Cucumber
|
|
848
848
|
|
849
849
|
|
850
850
|
##
|
851
|
-
# Represents the Meta message in Cucumber's {message protocol}[https://github.com/cucumber/
|
851
|
+
# Represents the Meta message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
852
852
|
#
|
853
853
|
# *
|
854
854
|
# This message contains meta information about the environment. Consumers can use
|
@@ -904,7 +904,7 @@ module Cucumber
|
|
904
904
|
|
905
905
|
|
906
906
|
##
|
907
|
-
# Represents the Ci message in Cucumber's {message protocol}[https://github.com/cucumber/
|
907
|
+
# Represents the Ci message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
908
908
|
#
|
909
909
|
# CI environment
|
910
910
|
#
|
@@ -943,7 +943,7 @@ module Cucumber
|
|
943
943
|
|
944
944
|
|
945
945
|
##
|
946
|
-
# Represents the Git message in Cucumber's {message protocol}[https://github.com/cucumber/
|
946
|
+
# Represents the Git message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
947
947
|
#
|
948
948
|
# Information about Git, provided by the Build/CI server as environment
|
949
949
|
# variables.
|
@@ -974,7 +974,7 @@ module Cucumber
|
|
974
974
|
|
975
975
|
|
976
976
|
##
|
977
|
-
# Represents the Product message in Cucumber's {message protocol}[https://github.com/cucumber/
|
977
|
+
# Represents the Product message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
978
978
|
#
|
979
979
|
# Used to describe various properties of Meta
|
980
980
|
#
|
@@ -1002,7 +1002,7 @@ module Cucumber
|
|
1002
1002
|
|
1003
1003
|
|
1004
1004
|
##
|
1005
|
-
# Represents the ParameterType message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1005
|
+
# Represents the ParameterType message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1006
1006
|
#
|
1007
1007
|
|
1008
1008
|
#
|
@@ -1039,7 +1039,7 @@ module Cucumber
|
|
1039
1039
|
|
1040
1040
|
|
1041
1041
|
##
|
1042
|
-
# Represents the ParseError message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1042
|
+
# Represents the ParseError message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1043
1043
|
#
|
1044
1044
|
|
1045
1045
|
#
|
@@ -1061,7 +1061,7 @@ module Cucumber
|
|
1061
1061
|
|
1062
1062
|
|
1063
1063
|
##
|
1064
|
-
# Represents the Pickle message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1064
|
+
# Represents the Pickle message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1065
1065
|
#
|
1066
1066
|
# //// Pickles
|
1067
1067
|
#
|
@@ -1142,7 +1142,7 @@ module Cucumber
|
|
1142
1142
|
|
1143
1143
|
|
1144
1144
|
##
|
1145
|
-
# Represents the PickleDocString message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1145
|
+
# Represents the PickleDocString message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1146
1146
|
#
|
1147
1147
|
|
1148
1148
|
#
|
@@ -1164,7 +1164,7 @@ module Cucumber
|
|
1164
1164
|
|
1165
1165
|
|
1166
1166
|
##
|
1167
|
-
# Represents the PickleStep message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1167
|
+
# Represents the PickleStep message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1168
1168
|
#
|
1169
1169
|
# *
|
1170
1170
|
# An executable step
|
@@ -1211,7 +1211,7 @@ module Cucumber
|
|
1211
1211
|
|
1212
1212
|
|
1213
1213
|
##
|
1214
|
-
# Represents the PickleStepArgument message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1214
|
+
# Represents the PickleStepArgument message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1215
1215
|
#
|
1216
1216
|
# An optional argument
|
1217
1217
|
#
|
@@ -1233,7 +1233,7 @@ module Cucumber
|
|
1233
1233
|
|
1234
1234
|
|
1235
1235
|
##
|
1236
|
-
# Represents the PickleTable message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1236
|
+
# Represents the PickleTable message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1237
1237
|
#
|
1238
1238
|
|
1239
1239
|
#
|
@@ -1251,7 +1251,7 @@ module Cucumber
|
|
1251
1251
|
|
1252
1252
|
|
1253
1253
|
##
|
1254
|
-
# Represents the PickleTableCell message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1254
|
+
# Represents the PickleTableCell message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1255
1255
|
#
|
1256
1256
|
|
1257
1257
|
#
|
@@ -1269,7 +1269,7 @@ module Cucumber
|
|
1269
1269
|
|
1270
1270
|
|
1271
1271
|
##
|
1272
|
-
# Represents the PickleTableRow message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1272
|
+
# Represents the PickleTableRow message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1273
1273
|
#
|
1274
1274
|
|
1275
1275
|
#
|
@@ -1287,7 +1287,7 @@ module Cucumber
|
|
1287
1287
|
|
1288
1288
|
|
1289
1289
|
##
|
1290
|
-
# Represents the PickleTag message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1290
|
+
# Represents the PickleTag message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1291
1291
|
#
|
1292
1292
|
# *
|
1293
1293
|
# A tag
|
@@ -1313,7 +1313,7 @@ module Cucumber
|
|
1313
1313
|
|
1314
1314
|
|
1315
1315
|
##
|
1316
|
-
# Represents the Source message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1316
|
+
# Represents the Source message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1317
1317
|
#
|
1318
1318
|
# //// Source
|
1319
1319
|
#
|
@@ -1354,7 +1354,7 @@ module Cucumber
|
|
1354
1354
|
|
1355
1355
|
|
1356
1356
|
##
|
1357
|
-
# Represents the SourceReference message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1357
|
+
# Represents the SourceReference message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1358
1358
|
#
|
1359
1359
|
# *
|
1360
1360
|
# Points to a [Source](#io.cucumber.messages.Source) identified by `uri` and a
|
@@ -1386,7 +1386,7 @@ module Cucumber
|
|
1386
1386
|
|
1387
1387
|
|
1388
1388
|
##
|
1389
|
-
# Represents the JavaMethod message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1389
|
+
# Represents the JavaMethod message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1390
1390
|
#
|
1391
1391
|
|
1392
1392
|
#
|
@@ -1412,7 +1412,7 @@ module Cucumber
|
|
1412
1412
|
|
1413
1413
|
|
1414
1414
|
##
|
1415
|
-
# Represents the JavaStackTraceElement message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1415
|
+
# Represents the JavaStackTraceElement message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1416
1416
|
#
|
1417
1417
|
|
1418
1418
|
#
|
@@ -1438,7 +1438,7 @@ module Cucumber
|
|
1438
1438
|
|
1439
1439
|
|
1440
1440
|
##
|
1441
|
-
# Represents the StepDefinition message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1441
|
+
# Represents the StepDefinition message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1442
1442
|
#
|
1443
1443
|
|
1444
1444
|
#
|
@@ -1464,7 +1464,7 @@ module Cucumber
|
|
1464
1464
|
|
1465
1465
|
|
1466
1466
|
##
|
1467
|
-
# Represents the StepDefinitionPattern message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1467
|
+
# Represents the StepDefinitionPattern message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1468
1468
|
#
|
1469
1469
|
|
1470
1470
|
#
|
@@ -1486,7 +1486,7 @@ module Cucumber
|
|
1486
1486
|
|
1487
1487
|
|
1488
1488
|
##
|
1489
|
-
# Represents the TestCase message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1489
|
+
# Represents the TestCase message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1490
1490
|
#
|
1491
1491
|
# //// TestCases
|
1492
1492
|
#
|
@@ -1518,7 +1518,7 @@ module Cucumber
|
|
1518
1518
|
|
1519
1519
|
|
1520
1520
|
##
|
1521
|
-
# Represents the Group message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1521
|
+
# Represents the Group message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1522
1522
|
#
|
1523
1523
|
|
1524
1524
|
#
|
@@ -1544,7 +1544,7 @@ module Cucumber
|
|
1544
1544
|
|
1545
1545
|
|
1546
1546
|
##
|
1547
|
-
# Represents the StepMatchArgument message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1547
|
+
# Represents the StepMatchArgument message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1548
1548
|
#
|
1549
1549
|
# *
|
1550
1550
|
# Represents a single argument extracted from a step match and passed to a step definition.
|
@@ -1577,7 +1577,7 @@ module Cucumber
|
|
1577
1577
|
|
1578
1578
|
|
1579
1579
|
##
|
1580
|
-
# Represents the StepMatchArgumentsList message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1580
|
+
# Represents the StepMatchArgumentsList message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1581
1581
|
#
|
1582
1582
|
|
1583
1583
|
#
|
@@ -1595,7 +1595,7 @@ module Cucumber
|
|
1595
1595
|
|
1596
1596
|
|
1597
1597
|
##
|
1598
|
-
# Represents the TestStep message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1598
|
+
# Represents the TestStep message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1599
1599
|
#
|
1600
1600
|
# *
|
1601
1601
|
# A `TestStep` is derived from either a `PickleStep`
|
@@ -1645,7 +1645,7 @@ module Cucumber
|
|
1645
1645
|
|
1646
1646
|
|
1647
1647
|
##
|
1648
|
-
# Represents the TestCaseFinished message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1648
|
+
# Represents the TestCaseFinished message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1649
1649
|
#
|
1650
1650
|
|
1651
1651
|
#
|
@@ -1671,7 +1671,7 @@ module Cucumber
|
|
1671
1671
|
|
1672
1672
|
|
1673
1673
|
##
|
1674
|
-
# Represents the TestCaseStarted message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1674
|
+
# Represents the TestCaseStarted message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1675
1675
|
#
|
1676
1676
|
|
1677
1677
|
#
|
@@ -1694,24 +1694,31 @@ module Cucumber
|
|
1694
1694
|
|
1695
1695
|
attr_reader :test_case_id
|
1696
1696
|
|
1697
|
+
##
|
1698
|
+
# An identifier for the worker process running this test case, if test cases are being run in parallel. The identifier will be unique per worker, but no particular format is defined - it could be an index, uuid, machine name etc - and as such should be assumed that it's not human readable.
|
1699
|
+
|
1700
|
+
attr_reader :worker_id
|
1701
|
+
|
1697
1702
|
attr_reader :timestamp
|
1698
1703
|
|
1699
1704
|
def initialize(
|
1700
1705
|
attempt: 0,
|
1701
1706
|
id: '',
|
1702
1707
|
test_case_id: '',
|
1708
|
+
worker_id: nil,
|
1703
1709
|
timestamp: Timestamp.new
|
1704
1710
|
)
|
1705
1711
|
@attempt = attempt
|
1706
1712
|
@id = id
|
1707
1713
|
@test_case_id = test_case_id
|
1714
|
+
@worker_id = worker_id
|
1708
1715
|
@timestamp = timestamp
|
1709
1716
|
end
|
1710
1717
|
end
|
1711
1718
|
|
1712
1719
|
|
1713
1720
|
##
|
1714
|
-
# Represents the TestRunFinished message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1721
|
+
# Represents the TestRunFinished message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1715
1722
|
#
|
1716
1723
|
|
1717
1724
|
#
|
@@ -1750,7 +1757,7 @@ module Cucumber
|
|
1750
1757
|
|
1751
1758
|
|
1752
1759
|
##
|
1753
|
-
# Represents the TestRunStarted message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1760
|
+
# Represents the TestRunStarted message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1754
1761
|
#
|
1755
1762
|
|
1756
1763
|
#
|
@@ -1768,7 +1775,7 @@ module Cucumber
|
|
1768
1775
|
|
1769
1776
|
|
1770
1777
|
##
|
1771
|
-
# Represents the TestStepFinished message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1778
|
+
# Represents the TestStepFinished message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1772
1779
|
#
|
1773
1780
|
|
1774
1781
|
#
|
@@ -1798,7 +1805,7 @@ module Cucumber
|
|
1798
1805
|
|
1799
1806
|
|
1800
1807
|
##
|
1801
|
-
# Represents the TestStepResult message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1808
|
+
# Represents the TestStepResult message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1802
1809
|
#
|
1803
1810
|
|
1804
1811
|
#
|
@@ -1824,7 +1831,7 @@ module Cucumber
|
|
1824
1831
|
|
1825
1832
|
|
1826
1833
|
##
|
1827
|
-
# Represents the TestStepStarted message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1834
|
+
# Represents the TestStepStarted message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1828
1835
|
#
|
1829
1836
|
|
1830
1837
|
#
|
@@ -1850,7 +1857,7 @@ module Cucumber
|
|
1850
1857
|
|
1851
1858
|
|
1852
1859
|
##
|
1853
|
-
# Represents the Timestamp message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1860
|
+
# Represents the Timestamp message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1854
1861
|
#
|
1855
1862
|
|
1856
1863
|
#
|
@@ -1883,7 +1890,7 @@ module Cucumber
|
|
1883
1890
|
|
1884
1891
|
|
1885
1892
|
##
|
1886
|
-
# Represents the UndefinedParameterType message in Cucumber's {message protocol}[https://github.com/cucumber/
|
1893
|
+
# Represents the UndefinedParameterType message in Cucumber's {message protocol}[https://github.com/cucumber/messages].
|
1887
1894
|
#
|
1888
1895
|
|
1889
1896
|
#
|
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: 20.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: 2022-
|
11
|
+
date: 2022-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber-compatibility-kit
|
@@ -103,11 +103,11 @@ homepage: https://github.com/cucumber/messages-ruby#readme
|
|
103
103
|
licenses:
|
104
104
|
- MIT
|
105
105
|
metadata:
|
106
|
-
bug_tracker_uri: https://github.com/cucumber/
|
107
|
-
changelog_uri: https://github.com/cucumber/
|
108
|
-
documentation_uri: https://www.rubydoc.info/github/cucumber/messages
|
106
|
+
bug_tracker_uri: https://github.com/cucumber/messages/issues
|
107
|
+
changelog_uri: https://github.com/cucumber/messages/blob/main/CHANGELOG.md
|
108
|
+
documentation_uri: https://www.rubydoc.info/github/cucumber/messages
|
109
109
|
mailing_list_uri: https://groups.google.com/forum/#!forum/cukes
|
110
|
-
source_code_uri: https://github.com/cucumber/
|
110
|
+
source_code_uri: https://github.com/cucumber/messages
|
111
111
|
post_install_message:
|
112
112
|
rdoc_options:
|
113
113
|
- "--charset=UTF-8"
|
@@ -127,7 +127,7 @@ requirements: []
|
|
127
127
|
rubygems_version: 3.2.22
|
128
128
|
signing_key:
|
129
129
|
specification_version: 4
|
130
|
-
summary: cucumber-messages-
|
130
|
+
summary: cucumber-messages-20.0.0
|
131
131
|
test_files:
|
132
132
|
- spec/capture_warnings.rb
|
133
133
|
- spec/cucumber/messages/acceptance_spec.rb
|