Skip to content
This repository was archived by the owner on Oct 19, 2022. It is now read-only.

Commit abed633

Browse files
Merge branch 'master' into exclude-testdata-from-releases
2 parents e65d50f + 3c76956 commit abed633

File tree

3 files changed

+36
-14
lines changed

3 files changed

+36
-14
lines changed

Cucumber.Messages.Specs/Cucumber.Messages.Specs.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.0.1" />
9+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" />
1010
<PackageReference Include="xunit" Version="2.4.1" />
11-
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1">
11+
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.2">
1212
<PrivateAssets>all</PrivateAssets>
1313
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1414
</PackageReference>

Cucumber.Messages/Cucumber.Messages.csproj

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<PropertyGroup>
55
<TargetFrameworks>net45;netstandard2.0</TargetFrameworks>
6-
<VersionNumber>12.1.1</VersionNumber>
6+
<VersionNumber>12.2.0</VersionNumber>
77
<Version Condition="'$(SnapshotSuffix)' != ''">$(VersionNumber)-$(SnapshotSuffix)</Version>
88
<Version Condition="'$(SnapshotSuffix)' == ''">$(VersionNumber)</Version>
99
<SignAssembly>true</SignAssembly>
@@ -29,13 +29,13 @@
2929
</PropertyGroup>
3030

3131
<ItemGroup>
32-
<PackageReference Include="Google.Protobuf" Version="3.7.0"/>
33-
<PackageReference Include="Grpc.Tools" Version="1.20.1">
32+
<PackageReference Include="Google.Protobuf" Version="3.12.3"/>
33+
<PackageReference Include="Grpc.Tools" Version="2.30.0">
3434
<PrivateAssets>all</PrivateAssets>
3535
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3636
</PackageReference>
3737

38-
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0-preview.2">
38+
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.0">
3939
<PrivateAssets>all</PrivateAssets>
4040
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
4141
</PackageReference>

messages.proto

+30-8
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ message Envelope {
1919
// Compiler(s)
2020
Pickle pickle = 3;
2121

22-
//
22+
//
2323
StepDefinition step_definition = 4;
2424
Hook hook = 5;
2525
ParameterType parameter_type = 6;
@@ -37,7 +37,7 @@ message Envelope {
3737

3838
// Parsing
3939
ParseError parse_error = 16;
40-
40+
4141
Meta meta = 17;
4242
}
4343
}
@@ -63,14 +63,36 @@ message Meta {
6363

6464
// 386, arm, amd64 etc
6565
Product cpu = 5;
66-
66+
67+
// CI environment
68+
CI ci = 6;
69+
6770
// A product has a name and a version
6871
message Product {
6972
// The product name
7073
string name = 1;
7174
// The product version
7275
string version = 2;
7376
}
77+
78+
message CI {
79+
// Name of the CI product, e.g. "Jenkins", "CircleCI" etc.
80+
string name = 1;
81+
82+
// Link to the build
83+
string url = 2;
84+
85+
// Information about Git, provided by the Build/CI server as environment
86+
// variables.
87+
Git git = 3;
88+
89+
message Git {
90+
string remote = 1;
91+
string revision = 2;
92+
string branch = 3;
93+
string tag = 4;
94+
}
95+
}
7496
}
7597

7698

@@ -340,7 +362,7 @@ message Attachment {
340362
* - stream => BASE64
341363
*/
342364
ContentEncoding content_encoding = 6;
343-
365+
344366
enum ContentEncoding {
345367
IDENTITY = 0;
346368
// When this is used, the data field is a single line base64 string
@@ -535,7 +557,7 @@ message TestStepFinished {
535557
string test_step_id = 3;
536558
string test_case_started_id = 4;
537559

538-
560+
539561
message TestStepResult {
540562
Status status = 1;
541563
string message = 2;
@@ -580,9 +602,9 @@ message TestRunFinished {
580602
// Timestamp when the TestRun is finished
581603
Timestamp timestamp = 2;
582604
// Error message. Can be a stack trace from a failed `BeforeAll` or `AfterAll`.
583-
// If there are undefined parameter types, the message is simply
584-
// "The following parameter type(s() are not defined: xxx, yyy".
585-
// The independent `UndefinedParameterType` messages can be used to generate
605+
// If there are undefined parameter types, the message is simply
606+
// "The following parameter type(s() are not defined: xxx, yyy".
607+
// The independent `UndefinedParameterType` messages can be used to generate
586608
// snippets for those parameter types.
587609
string message = 3;
588610
}

0 commit comments

Comments
 (0)