Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cucumber-messages: Add timestamp to TestRunStarted message #615

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion cucumber-messages/go/messages.proto
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,9 @@ message PickleRejected {

////// Results

message TestRunStarted {}
message TestRunStarted {
google.protobuf.Timestamp timestamp = 1;
}

message TestCasePreparedStep {
SourceReference sourceLocation = 1;
Expand Down
4 changes: 3 additions & 1 deletion cucumber-messages/java/messages.proto
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,9 @@ message PickleRejected {

////// Results

message TestRunStarted {}
message TestRunStarted {
google.protobuf.Timestamp timestamp = 1;
}

message TestCasePreparedStep {
SourceReference sourceLocation = 1;
Expand Down
4 changes: 3 additions & 1 deletion cucumber-messages/javascript/messages.proto
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,9 @@ message PickleRejected {

////// Results

message TestRunStarted {}
message TestRunStarted {
google.protobuf.Timestamp timestamp = 1;
}

message TestCasePreparedStep {
SourceReference sourceLocation = 1;
Expand Down
4 changes: 3 additions & 1 deletion cucumber-messages/messages.proto
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,9 @@ message PickleRejected {

////// Results

message TestRunStarted {}
message TestRunStarted {
google.protobuf.Timestamp timestamp = 1;
}

message TestCasePreparedStep {
SourceReference sourceLocation = 1;
Expand Down
4 changes: 3 additions & 1 deletion cucumber-messages/ruby/messages.proto
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,9 @@ message PickleRejected {

////// Results

message TestRunStarted {}
message TestRunStarted {
google.protobuf.Timestamp timestamp = 1;
}

message TestCasePreparedStep {
SourceReference sourceLocation = 1;
Expand Down
9 changes: 9 additions & 0 deletions cucumber-messages/specs/TestRunStarted.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Feature: Sending TestRunStarted messages

Scenario: Test suite starting time is included in the message

When the test suite is started at '2019-05-13 13:09:46'
And the test suite was executed
Then a TestRunStarted message has been sent with the following attributes
| Attribute | Value |
| timestamp | 2019-05-13 13:09:46 |