gauge-ruby 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,16 +1,15 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
- # source: lsp.proto
2
+ # source: services.proto
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'messages_pb'
7
7
  Google::Protobuf::DescriptorPool.generated_pool.build do
8
- add_message "gauge.messages.Empty" do
8
+ add_file("services.proto", :syntax => :proto3) do
9
9
  end
10
10
  end
11
11
 
12
12
  module Gauge
13
13
  module Messages
14
- Empty = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Empty").msgclass
15
14
  end
16
15
  end
@@ -0,0 +1,165 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: services.proto for package 'gauge.messages'
3
+
4
+ require 'grpc'
5
+ require 'services_pb'
6
+
7
+ module Gauge
8
+ module Messages
9
+ module Runner
10
+ class Service
11
+
12
+ include GRPC::GenericService
13
+
14
+ self.marshal_class_method = :encode
15
+ self.unmarshal_class_method = :decode
16
+ self.service_name = 'gauge.messages.Runner'
17
+
18
+ # ValidateStep is a RPC to validate a given step.
19
+ #
20
+ # Accepts a StepValidateRequest message and returns a StepValidateResponse message
21
+ rpc :ValidateStep, StepValidateRequest, StepValidateResponse
22
+ # SuiteDataStoreInit is a RPC to initialize the suite level data store.
23
+ #
24
+ # Accepts a Empty message and returns a ExecutionStatusResponse message
25
+ rpc :InitializeSuiteDataStore, Empty, ExecutionStatusResponse
26
+ # ExecutionStarting is a RPC to tell runner to execute Suite level hooks.
27
+ #
28
+ # Accepts a ExecutionStartingRequest message and returns a ExecutionStatusResponse message
29
+ rpc :StartExecution, ExecutionStartingRequest, ExecutionStatusResponse
30
+ # SpecDataStoreInit is a RPC to initialize the spec level data store.
31
+ #
32
+ # Accepts a Empty message and returns a ExecutionStatusResponse message
33
+ rpc :InitializeSpecDataStore, Empty, ExecutionStatusResponse
34
+ # SpecExecutionStarting is a RPC to tell runner to execute spec level hooks.
35
+ #
36
+ # Accepts a SpecExecutionStartingRequest message and returns a ExecutionStatusResponse message
37
+ rpc :StartSpecExecution, SpecExecutionStartingRequest, ExecutionStatusResponse
38
+ # ScenarioDataStoreInit is a RPC to initialize the scenario level data store.
39
+ #
40
+ # Accepts a Empty message and returns a ExecutionStatusResponse message
41
+ rpc :InitializeScenarioDataStore, Empty, ExecutionStatusResponse
42
+ # ScenarioExecutionStarting is a RPC to tell runner to execute scenario level hooks.
43
+ #
44
+ # Accepts a ScenarioExecutionStartingRequest message and returns a ExecutionStatusResponse message
45
+ rpc :StartScenarioExecution, ScenarioExecutionStartingRequest, ExecutionStatusResponse
46
+ # StepExecutionStarting is a RPC to tell runner to execute step level hooks.
47
+ #
48
+ # Accepts a StepExecutionStartingRequest message and returns a ExecutionStatusResponse message
49
+ rpc :StartStepExecution, StepExecutionStartingRequest, ExecutionStatusResponse
50
+ # ExecuteStep is a RPC to tell runner to execute a step .
51
+ #
52
+ # Accepts a ExecuteStepRequest message and returns a ExecutionStatusResponse message
53
+ rpc :ExecuteStep, ExecuteStepRequest, ExecutionStatusResponse
54
+ # StepExecutionEnding is a RPC to tell runner to execute step level hooks.
55
+ #
56
+ # Accepts a StepExecutionEndingRequest message and returns a ExecutionStatusResponse message
57
+ rpc :FinishStepExecution, StepExecutionEndingRequest, ExecutionStatusResponse
58
+ # ScenarioExecutionEnding is a RPC to tell runner to execute Scenario level hooks.
59
+ #
60
+ # Accepts a ScenarioExecutionEndingRequest message and returns a ExecutionStatusResponse message
61
+ rpc :FinishScenarioExecution, ScenarioExecutionEndingRequest, ExecutionStatusResponse
62
+ # SpecExecutionEnding is a RPC to tell runner to execute spec level hooks.
63
+ #
64
+ # Accepts a SpecExecutionEndingRequest message and returns a ExecutionStatusResponse message
65
+ rpc :FinishSpecExecution, SpecExecutionEndingRequest, ExecutionStatusResponse
66
+ # ExecutionEnding is a RPC to tell runner to execute suite level hooks.
67
+ #
68
+ # Accepts a ExecutionEndingRequest message and returns a ExecutionStatusResponse message
69
+ rpc :FinishExecution, ExecutionEndingRequest, ExecutionStatusResponse
70
+ # CacheFile is a RPC to tell runner to load/reload/unload a implementation file.
71
+ #
72
+ # Accepts a CacheFileRequest message and returns a Empty message
73
+ rpc :CacheFile, CacheFileRequest, Empty
74
+ # GetStepName is a RPC to get information about the given step.
75
+ #
76
+ # Accepts a StepNameRequest message and returns a StepNameResponse message.
77
+ rpc :GetStepName, StepNameRequest, StepNameResponse
78
+ # GetGlobPatterns is a RPC to get the file path pattern which needs to be cached.
79
+ #
80
+ # Accepts a Empty message and returns a ImplementationFileGlobPatternResponse message.
81
+ rpc :GetGlobPatterns, Empty, ImplementationFileGlobPatternResponse
82
+ # GetStepNames is a RPC to get all the available steps from the runner.
83
+ #
84
+ # Accepts a StepNamesRequest message and returns a StepNamesResponse
85
+ rpc :GetStepNames, StepNamesRequest, StepNamesResponse
86
+ # GetStepPositions is a RPC to get positions of all available steps in a given file.
87
+ #
88
+ # Accepts a StepPositionsRequest message and returns a StepPositionsResponse message
89
+ rpc :GetStepPositions, StepPositionsRequest, StepPositionsResponse
90
+ # GetImplementationFiles is a RPC get all the existing implementation files.
91
+ #
92
+ # Accepts a Empty and returns a ImplementationFileListResponse message.
93
+ rpc :GetImplementationFiles, Empty, ImplementationFileListResponse
94
+ # ImplementStub is a RPC to to ask runner to add a given implementation to given file.
95
+ #
96
+ # Accepts a StubImplementationCodeRequest and returns a FileDiff message.
97
+ rpc :ImplementStub, StubImplementationCodeRequest, FileDiff
98
+ # Refactor is a RPC to refactor a given step in implementation file.
99
+ #
100
+ # Accepts a RefactorRequest message and returns a RefactorResponse message.
101
+ rpc :Refactor, RefactorRequest, RefactorResponse
102
+ # Kill is a RPC tell plugin to stop grpc server and kill the plugin process.
103
+ #
104
+ # Accepts a KillProcessRequest message and returns a Empty message.
105
+ rpc :Kill, KillProcessRequest, Empty
106
+ end
107
+
108
+ Stub = Service.rpc_stub_class
109
+ end
110
+ module Reporter
111
+ # Reporter services is meant for reporting plugins, or others plugins which are interested the live events
112
+ class Service
113
+
114
+ include GRPC::GenericService
115
+
116
+ self.marshal_class_method = :encode
117
+ self.unmarshal_class_method = :decode
118
+ self.service_name = 'gauge.messages.Reporter'
119
+
120
+ # NotifyExecutionStarting is a RPC to tell plugins that the execution has started.
121
+ #
122
+ # Accepts a ExecutionStartingRequest message and returns a Empty message
123
+ rpc :NotifyExecutionStarting, ExecutionStartingRequest, Empty
124
+ # NotifySpecExecutionStarting is a RPC to tell plugins that the specification execution has started.
125
+ #
126
+ # Accepts a SpecExecutionStartingRequest message and returns a Empty message
127
+ rpc :NotifySpecExecutionStarting, SpecExecutionStartingRequest, Empty
128
+ # NotifyScenarioExecutionStarting is a RPC to tell plugins that the scenario execution has started.
129
+ #
130
+ # Accepts a ScenarioExecutionStartingRequest message and returns a Empty message
131
+ rpc :NotifyScenarioExecutionStarting, ScenarioExecutionStartingRequest, Empty
132
+ # NotifyStepExecutionStarting is a RPC to tell plugins that the step execution has started.
133
+ #
134
+ # Accepts a StepExecutionStartingRequest message and returns a Empty message
135
+ rpc :NotifyStepExecutionStarting, StepExecutionStartingRequest, Empty
136
+ # NotifyStepExecutionEnding is a RPC to tell plugins that the step execution has finished.
137
+ #
138
+ # Accepts a StepExecutionStartingRequest message and returns a Empty message
139
+ rpc :NotifyStepExecutionEnding, StepExecutionEndingRequest, Empty
140
+ # NotifyScenarioExecutionEnding is a RPC to tell plugins that the scenario execution has finished.
141
+ #
142
+ # Accepts a ScenarioExecutionEndingRequest message and returns a Empty message
143
+ rpc :NotifyScenarioExecutionEnding, ScenarioExecutionEndingRequest, Empty
144
+ # NotifySpecExecutionEnding is a RPC to tell plugins that the specification execution has finished.
145
+ #
146
+ # Accepts a SpecExecutionStartingRequest message and returns a Empty message
147
+ rpc :NotifySpecExecutionEnding, SpecExecutionEndingRequest, Empty
148
+ # NotifyExecutionEnding is a RPC to tell plugins that the execution has finished.
149
+ #
150
+ # Accepts a ExecutionEndingRequest message and returns a Empty message
151
+ rpc :NotifyExecutionEnding, ExecutionEndingRequest, Empty
152
+ # NotifySuiteResult is a RPC to tell about the end result of execution
153
+ #
154
+ # Accepts a SuiteExecutionResult message and returns a Empty message.
155
+ rpc :NotifySuiteResult, SuiteExecutionResult, Empty
156
+ # Kill is a RPC tell plugin to stop grpc server and kill the plugin process.
157
+ #
158
+ # Accepts a KillProcessRequest message and returns a Empty message.
159
+ rpc :Kill, KillProcessRequest, Empty
160
+ end
161
+
162
+ Stub = Service.rpc_stub_class
163
+ end
164
+ end
165
+ end
@@ -4,204 +4,237 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_message "gauge.messages.ProtoSpec" do
8
- optional :specHeading, :string, 1
9
- repeated :items, :message, 2, "gauge.messages.ProtoItem"
10
- optional :isTableDriven, :bool, 3
11
- repeated :preHookFailures, :message, 4, "gauge.messages.ProtoHookFailure"
12
- repeated :postHookFailures, :message, 5, "gauge.messages.ProtoHookFailure"
13
- optional :fileName, :string, 6
14
- repeated :tags, :string, 7
15
- repeated :preHookMessages, :string, 8
16
- repeated :postHookMessages, :string, 9
17
- repeated :preHookMessage, :string, 10
18
- repeated :postHookMessage, :string, 11
19
- repeated :preHookScreenshots, :bytes, 12
20
- repeated :postHookScreenshots, :bytes, 13
21
- end
22
- add_message "gauge.messages.ProtoItem" do
23
- optional :itemType, :enum, 1, "gauge.messages.ProtoItem.ItemType"
24
- optional :step, :message, 2, "gauge.messages.ProtoStep"
25
- optional :concept, :message, 3, "gauge.messages.ProtoConcept"
26
- optional :scenario, :message, 4, "gauge.messages.ProtoScenario"
27
- optional :tableDrivenScenario, :message, 5, "gauge.messages.ProtoTableDrivenScenario"
28
- optional :comment, :message, 6, "gauge.messages.ProtoComment"
29
- optional :table, :message, 7, "gauge.messages.ProtoTable"
30
- optional :tags, :message, 8, "gauge.messages.ProtoTags"
31
- end
32
- add_enum "gauge.messages.ProtoItem.ItemType" do
33
- value :Step, 0
34
- value :Comment, 1
35
- value :Concept, 2
36
- value :Scenario, 3
37
- value :TableDrivenScenario, 4
38
- value :Table, 5
39
- value :Tags, 6
40
- end
41
- add_message "gauge.messages.ProtoScenario" do
42
- optional :scenarioHeading, :string, 1
43
- optional :failed, :bool, 2
44
- repeated :contexts, :message, 3, "gauge.messages.ProtoItem"
45
- repeated :scenarioItems, :message, 4, "gauge.messages.ProtoItem"
46
- optional :preHookFailure, :message, 5, "gauge.messages.ProtoHookFailure"
47
- optional :postHookFailure, :message, 6, "gauge.messages.ProtoHookFailure"
48
- repeated :tags, :string, 7
49
- optional :executionTime, :int64, 8
50
- optional :skipped, :bool, 9
51
- repeated :skipErrors, :string, 10
52
- optional :ID, :string, 11
53
- repeated :tearDownSteps, :message, 12, "gauge.messages.ProtoItem"
54
- optional :span, :message, 13, "gauge.messages.Span"
55
- optional :executionStatus, :enum, 14, "gauge.messages.ExecutionStatus"
56
- repeated :preHookMessages, :string, 15
57
- repeated :postHookMessages, :string, 16
58
- repeated :preHookMessage, :string, 17
59
- repeated :postHookMessage, :string, 18
60
- repeated :preHookScreenshots, :bytes, 19
61
- repeated :postHookScreenshots, :bytes, 20
62
- end
63
- add_message "gauge.messages.Span" do
64
- optional :start, :int64, 1
65
- optional :end, :int64, 2
66
- optional :startChar, :int64, 3
67
- optional :endChar, :int64, 4
68
- end
69
- add_message "gauge.messages.ProtoTableDrivenScenario" do
70
- optional :scenario, :message, 1, "gauge.messages.ProtoScenario"
71
- optional :tableRowIndex, :int32, 2
72
- end
73
- add_message "gauge.messages.ProtoStep" do
74
- optional :actualText, :string, 1
75
- optional :parsedText, :string, 2
76
- repeated :fragments, :message, 3, "gauge.messages.Fragment"
77
- optional :stepExecutionResult, :message, 4, "gauge.messages.ProtoStepExecutionResult"
78
- repeated :preHookMessages, :string, 5
79
- repeated :postHookMessages, :string, 6
80
- repeated :preHookScreenshots, :bytes, 7
81
- repeated :postHookScreenshots, :bytes, 8
82
- end
83
- add_message "gauge.messages.ProtoConcept" do
84
- optional :conceptStep, :message, 1, "gauge.messages.ProtoStep"
85
- repeated :steps, :message, 2, "gauge.messages.ProtoItem"
86
- optional :conceptExecutionResult, :message, 3, "gauge.messages.ProtoStepExecutionResult"
87
- end
88
- add_message "gauge.messages.ProtoTags" do
89
- repeated :tags, :string, 1
90
- end
91
- add_message "gauge.messages.Fragment" do
92
- optional :fragmentType, :enum, 1, "gauge.messages.Fragment.FragmentType"
93
- optional :text, :string, 2
94
- optional :parameter, :message, 3, "gauge.messages.Parameter"
95
- end
96
- add_enum "gauge.messages.Fragment.FragmentType" do
97
- value :Text, 0
98
- value :Parameter, 1
99
- end
100
- add_message "gauge.messages.Parameter" do
101
- optional :parameterType, :enum, 1, "gauge.messages.Parameter.ParameterType"
102
- optional :value, :string, 2
103
- optional :name, :string, 3
104
- optional :table, :message, 4, "gauge.messages.ProtoTable"
105
- end
106
- add_enum "gauge.messages.Parameter.ParameterType" do
107
- value :Static, 0
108
- value :Dynamic, 1
109
- value :Special_String, 2
110
- value :Special_Table, 3
111
- value :Table, 4
112
- end
113
- add_message "gauge.messages.ProtoComment" do
114
- optional :text, :string, 1
115
- end
116
- add_message "gauge.messages.ProtoTable" do
117
- optional :headers, :message, 1, "gauge.messages.ProtoTableRow"
118
- repeated :rows, :message, 2, "gauge.messages.ProtoTableRow"
119
- end
120
- add_message "gauge.messages.ProtoTableRow" do
121
- repeated :cells, :string, 1
122
- end
123
- add_message "gauge.messages.ProtoStepExecutionResult" do
124
- optional :executionResult, :message, 1, "gauge.messages.ProtoExecutionResult"
125
- optional :preHookFailure, :message, 2, "gauge.messages.ProtoHookFailure"
126
- optional :postHookFailure, :message, 3, "gauge.messages.ProtoHookFailure"
127
- optional :skipped, :bool, 4
128
- optional :skippedReason, :string, 5
129
- end
130
- add_message "gauge.messages.ProtoExecutionResult" do
131
- optional :failed, :bool, 1
132
- optional :recoverableError, :bool, 2
133
- optional :errorMessage, :string, 3
134
- optional :stackTrace, :string, 4
135
- optional :screenShot, :bytes, 5
136
- optional :executionTime, :int64, 6
137
- repeated :message, :string, 7
138
- optional :errorType, :enum, 8, "gauge.messages.ProtoExecutionResult.ErrorType"
139
- optional :failureScreenshot, :bytes, 9
140
- repeated :screenshots, :bytes, 10
141
- end
142
- add_enum "gauge.messages.ProtoExecutionResult.ErrorType" do
143
- value :ASSERTION, 0
144
- value :VERIFICATION, 1
145
- end
146
- add_message "gauge.messages.ProtoHookFailure" do
147
- optional :stackTrace, :string, 1
148
- optional :errorMessage, :string, 2
149
- optional :screenShot, :bytes, 3
150
- optional :tableRowIndex, :int32, 4
151
- optional :failureScreenshot, :bytes, 5
152
- end
153
- add_message "gauge.messages.ProtoSuiteResult" do
154
- repeated :specResults, :message, 1, "gauge.messages.ProtoSpecResult"
155
- optional :preHookFailure, :message, 2, "gauge.messages.ProtoHookFailure"
156
- optional :postHookFailure, :message, 3, "gauge.messages.ProtoHookFailure"
157
- optional :failed, :bool, 4
158
- optional :specsFailedCount, :int32, 5
159
- optional :executionTime, :int64, 6
160
- optional :successRate, :float, 7
161
- optional :environment, :string, 8
162
- optional :tags, :string, 9
163
- optional :projectName, :string, 10
164
- optional :timestamp, :string, 11
165
- optional :specsSkippedCount, :int32, 12
166
- repeated :preHookMessages, :string, 13
167
- repeated :postHookMessages, :string, 14
168
- repeated :preHookMessage, :string, 15
169
- repeated :postHookMessage, :string, 16
170
- repeated :preHookScreenshots, :bytes, 17
171
- repeated :postHookScreenshots, :bytes, 18
172
- end
173
- add_message "gauge.messages.ProtoSpecResult" do
174
- optional :protoSpec, :message, 1, "gauge.messages.ProtoSpec"
175
- optional :scenarioCount, :int32, 2
176
- optional :scenarioFailedCount, :int32, 3
177
- optional :failed, :bool, 4
178
- repeated :failedDataTableRows, :int32, 5
179
- optional :executionTime, :int64, 6
180
- optional :skipped, :bool, 7
181
- optional :scenarioSkippedCount, :int32, 8
182
- repeated :skippedDataTableRows, :int32, 9
183
- repeated :errors, :message, 10, "gauge.messages.Error"
184
- end
185
- add_message "gauge.messages.Error" do
186
- optional :type, :enum, 1, "gauge.messages.Error.ErrorType"
187
- optional :filename, :string, 2
188
- optional :lineNumber, :int32, 3
189
- optional :message, :string, 4
190
- end
191
- add_enum "gauge.messages.Error.ErrorType" do
192
- value :PARSE_ERROR, 0
193
- value :VALIDATION_ERROR, 1
194
- end
195
- add_message "gauge.messages.ProtoStepValue" do
196
- optional :stepValue, :string, 1
197
- optional :parameterizedStepValue, :string, 2
198
- repeated :parameters, :string, 3
199
- end
200
- add_enum "gauge.messages.ExecutionStatus" do
201
- value :NOTEXECUTED, 0
202
- value :PASSED, 1
203
- value :FAILED, 2
204
- value :SKIPPED, 3
7
+ add_file("spec.proto", :syntax => :proto3) do
8
+ add_message "gauge.messages.ProtoSpec" do
9
+ optional :specHeading, :string, 1
10
+ repeated :items, :message, 2, "gauge.messages.ProtoItem"
11
+ optional :isTableDriven, :bool, 3
12
+ repeated :preHookFailures, :message, 4, "gauge.messages.ProtoHookFailure"
13
+ repeated :postHookFailures, :message, 5, "gauge.messages.ProtoHookFailure"
14
+ optional :fileName, :string, 6
15
+ repeated :tags, :string, 7
16
+ repeated :preHookMessages, :string, 8
17
+ repeated :postHookMessages, :string, 9
18
+ repeated :preHookMessage, :string, 10
19
+ repeated :postHookMessage, :string, 11
20
+ repeated :preHookScreenshots, :bytes, 12
21
+ repeated :postHookScreenshots, :bytes, 13
22
+ optional :itemCount, :int64, 14
23
+ repeated :preHookScreenshotFiles, :string, 15
24
+ repeated :postHookScreenshotFiles, :string, 16
25
+ end
26
+ add_message "gauge.messages.ProtoItem" do
27
+ optional :itemType, :enum, 1, "gauge.messages.ProtoItem.ItemType"
28
+ optional :step, :message, 2, "gauge.messages.ProtoStep"
29
+ optional :concept, :message, 3, "gauge.messages.ProtoConcept"
30
+ optional :scenario, :message, 4, "gauge.messages.ProtoScenario"
31
+ optional :tableDrivenScenario, :message, 5, "gauge.messages.ProtoTableDrivenScenario"
32
+ optional :comment, :message, 6, "gauge.messages.ProtoComment"
33
+ optional :table, :message, 7, "gauge.messages.ProtoTable"
34
+ optional :tags, :message, 8, "gauge.messages.ProtoTags"
35
+ optional :fileName, :string, 9
36
+ end
37
+ add_enum "gauge.messages.ProtoItem.ItemType" do
38
+ value :Step, 0
39
+ value :Comment, 1
40
+ value :Concept, 2
41
+ value :Scenario, 3
42
+ value :TableDrivenScenario, 4
43
+ value :Table, 5
44
+ value :Tags, 6
45
+ end
46
+ add_message "gauge.messages.ProtoScenario" do
47
+ optional :scenarioHeading, :string, 1
48
+ optional :failed, :bool, 2
49
+ repeated :contexts, :message, 3, "gauge.messages.ProtoItem"
50
+ repeated :scenarioItems, :message, 4, "gauge.messages.ProtoItem"
51
+ optional :preHookFailure, :message, 5, "gauge.messages.ProtoHookFailure"
52
+ optional :postHookFailure, :message, 6, "gauge.messages.ProtoHookFailure"
53
+ repeated :tags, :string, 7
54
+ optional :executionTime, :int64, 8
55
+ optional :skipped, :bool, 9
56
+ repeated :skipErrors, :string, 10
57
+ optional :ID, :string, 11
58
+ repeated :tearDownSteps, :message, 12, "gauge.messages.ProtoItem"
59
+ optional :span, :message, 13, "gauge.messages.Span"
60
+ optional :executionStatus, :enum, 14, "gauge.messages.ExecutionStatus"
61
+ repeated :preHookMessages, :string, 15
62
+ repeated :postHookMessages, :string, 16
63
+ repeated :preHookMessage, :string, 17
64
+ repeated :postHookMessage, :string, 18
65
+ repeated :preHookScreenshots, :bytes, 19
66
+ repeated :postHookScreenshots, :bytes, 20
67
+ repeated :preHookScreenshotFiles, :string, 21
68
+ repeated :postHookScreenshotFiles, :string, 22
69
+ end
70
+ add_message "gauge.messages.Span" do
71
+ optional :start, :int64, 1
72
+ optional :end, :int64, 2
73
+ optional :startChar, :int64, 3
74
+ optional :endChar, :int64, 4
75
+ end
76
+ add_message "gauge.messages.ProtoTableDrivenScenario" do
77
+ optional :scenario, :message, 1, "gauge.messages.ProtoScenario"
78
+ optional :tableRowIndex, :int32, 2
79
+ optional :scenarioTableRowIndex, :int32, 3
80
+ optional :isSpecTableDriven, :bool, 4
81
+ optional :isScenarioTableDriven, :bool, 5
82
+ optional :scenarioDataTable, :message, 6, "gauge.messages.ProtoTable"
83
+ optional :scenarioTableRow, :message, 7, "gauge.messages.ProtoTable"
84
+ end
85
+ add_message "gauge.messages.ProtoStep" do
86
+ optional :actualText, :string, 1
87
+ optional :parsedText, :string, 2
88
+ repeated :fragments, :message, 3, "gauge.messages.Fragment"
89
+ optional :stepExecutionResult, :message, 4, "gauge.messages.ProtoStepExecutionResult"
90
+ repeated :preHookMessages, :string, 5
91
+ repeated :postHookMessages, :string, 6
92
+ repeated :preHookScreenshots, :bytes, 7
93
+ repeated :postHookScreenshots, :bytes, 8
94
+ repeated :preHookScreenshotFiles, :string, 9
95
+ repeated :postHookScreenshotFiles, :string, 10
96
+ end
97
+ add_message "gauge.messages.ProtoConcept" do
98
+ optional :conceptStep, :message, 1, "gauge.messages.ProtoStep"
99
+ repeated :steps, :message, 2, "gauge.messages.ProtoItem"
100
+ optional :conceptExecutionResult, :message, 3, "gauge.messages.ProtoStepExecutionResult"
101
+ end
102
+ add_message "gauge.messages.ProtoTags" do
103
+ repeated :tags, :string, 1
104
+ end
105
+ add_message "gauge.messages.Fragment" do
106
+ optional :fragmentType, :enum, 1, "gauge.messages.Fragment.FragmentType"
107
+ optional :text, :string, 2
108
+ optional :parameter, :message, 3, "gauge.messages.Parameter"
109
+ end
110
+ add_enum "gauge.messages.Fragment.FragmentType" do
111
+ value :Text, 0
112
+ value :Parameter, 1
113
+ end
114
+ add_message "gauge.messages.Parameter" do
115
+ optional :parameterType, :enum, 1, "gauge.messages.Parameter.ParameterType"
116
+ optional :value, :string, 2
117
+ optional :name, :string, 3
118
+ optional :table, :message, 4, "gauge.messages.ProtoTable"
119
+ end
120
+ add_enum "gauge.messages.Parameter.ParameterType" do
121
+ value :Static, 0
122
+ value :Dynamic, 1
123
+ value :Special_String, 2
124
+ value :Special_Table, 3
125
+ value :Table, 4
126
+ end
127
+ add_message "gauge.messages.ProtoComment" do
128
+ optional :text, :string, 1
129
+ end
130
+ add_message "gauge.messages.ProtoTable" do
131
+ optional :headers, :message, 1, "gauge.messages.ProtoTableRow"
132
+ repeated :rows, :message, 2, "gauge.messages.ProtoTableRow"
133
+ end
134
+ add_message "gauge.messages.ProtoTableRow" do
135
+ repeated :cells, :string, 1
136
+ end
137
+ add_message "gauge.messages.ProtoStepExecutionResult" do
138
+ optional :executionResult, :message, 1, "gauge.messages.ProtoExecutionResult"
139
+ optional :preHookFailure, :message, 2, "gauge.messages.ProtoHookFailure"
140
+ optional :postHookFailure, :message, 3, "gauge.messages.ProtoHookFailure"
141
+ optional :skipped, :bool, 4
142
+ optional :skippedReason, :string, 5
143
+ end
144
+ add_message "gauge.messages.ProtoExecutionResult" do
145
+ optional :failed, :bool, 1
146
+ optional :recoverableError, :bool, 2
147
+ optional :errorMessage, :string, 3
148
+ optional :stackTrace, :string, 4
149
+ optional :screenShot, :bytes, 5
150
+ optional :executionTime, :int64, 6
151
+ repeated :message, :string, 7
152
+ optional :errorType, :enum, 8, "gauge.messages.ProtoExecutionResult.ErrorType"
153
+ optional :failureScreenshot, :bytes, 9
154
+ repeated :screenshots, :bytes, 10
155
+ optional :failureScreenshotFile, :string, 11
156
+ repeated :screenshotFiles, :string, 12
157
+ end
158
+ add_enum "gauge.messages.ProtoExecutionResult.ErrorType" do
159
+ value :ASSERTION, 0
160
+ value :VERIFICATION, 1
161
+ end
162
+ add_message "gauge.messages.ProtoHookFailure" do
163
+ optional :stackTrace, :string, 1
164
+ optional :errorMessage, :string, 2
165
+ optional :screenShot, :bytes, 3
166
+ optional :tableRowIndex, :int32, 4
167
+ optional :failureScreenshot, :bytes, 5
168
+ optional :failureScreenshotFile, :string, 6
169
+ end
170
+ add_message "gauge.messages.ProtoSuiteResult" do
171
+ repeated :specResults, :message, 1, "gauge.messages.ProtoSpecResult"
172
+ optional :preHookFailure, :message, 2, "gauge.messages.ProtoHookFailure"
173
+ optional :postHookFailure, :message, 3, "gauge.messages.ProtoHookFailure"
174
+ optional :failed, :bool, 4
175
+ optional :specsFailedCount, :int32, 5
176
+ optional :executionTime, :int64, 6
177
+ optional :successRate, :float, 7
178
+ optional :environment, :string, 8
179
+ optional :tags, :string, 9
180
+ optional :projectName, :string, 10
181
+ optional :timestamp, :string, 11
182
+ optional :specsSkippedCount, :int32, 12
183
+ repeated :preHookMessages, :string, 13
184
+ repeated :postHookMessages, :string, 14
185
+ repeated :preHookMessage, :string, 15
186
+ repeated :postHookMessage, :string, 16
187
+ repeated :preHookScreenshots, :bytes, 17
188
+ repeated :postHookScreenshots, :bytes, 18
189
+ optional :chunked, :bool, 19
190
+ optional :chunkSize, :int64, 20
191
+ repeated :preHookScreenshotFiles, :string, 21
192
+ repeated :postHookScreenshotFiles, :string, 22
193
+ end
194
+ add_message "gauge.messages.ProtoSpecResult" do
195
+ optional :protoSpec, :message, 1, "gauge.messages.ProtoSpec"
196
+ optional :scenarioCount, :int32, 2
197
+ optional :scenarioFailedCount, :int32, 3
198
+ optional :failed, :bool, 4
199
+ repeated :failedDataTableRows, :int32, 5
200
+ optional :executionTime, :int64, 6
201
+ optional :skipped, :bool, 7
202
+ optional :scenarioSkippedCount, :int32, 8
203
+ repeated :skippedDataTableRows, :int32, 9
204
+ repeated :errors, :message, 10, "gauge.messages.Error"
205
+ optional :timestamp, :string, 11
206
+ end
207
+ add_message "gauge.messages.ProtoScenarioResult" do
208
+ optional :protoItem, :message, 1, "gauge.messages.ProtoItem"
209
+ optional :executionTime, :int64, 2
210
+ optional :timestamp, :string, 3
211
+ end
212
+ add_message "gauge.messages.ProtoStepResult" do
213
+ optional :protoItem, :message, 1, "gauge.messages.ProtoItem"
214
+ optional :executionTime, :int64, 2
215
+ optional :timestamp, :string, 3
216
+ end
217
+ add_message "gauge.messages.Error" do
218
+ optional :type, :enum, 1, "gauge.messages.Error.ErrorType"
219
+ optional :filename, :string, 2
220
+ optional :lineNumber, :int32, 3
221
+ optional :message, :string, 4
222
+ end
223
+ add_enum "gauge.messages.Error.ErrorType" do
224
+ value :PARSE_ERROR, 0
225
+ value :VALIDATION_ERROR, 1
226
+ end
227
+ add_message "gauge.messages.ProtoStepValue" do
228
+ optional :stepValue, :string, 1
229
+ optional :parameterizedStepValue, :string, 2
230
+ repeated :parameters, :string, 3
231
+ end
232
+ add_enum "gauge.messages.ExecutionStatus" do
233
+ value :NOTEXECUTED, 0
234
+ value :PASSED, 1
235
+ value :FAILED, 2
236
+ value :SKIPPED, 3
237
+ end
205
238
  end
206
239
  end
207
240
 
@@ -229,6 +262,8 @@ module Gauge
229
262
  ProtoHookFailure = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoHookFailure").msgclass
230
263
  ProtoSuiteResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoSuiteResult").msgclass
231
264
  ProtoSpecResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoSpecResult").msgclass
265
+ ProtoScenarioResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoScenarioResult").msgclass
266
+ ProtoStepResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoStepResult").msgclass
232
267
  Error = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Error").msgclass
233
268
  Error::ErrorType = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.Error.ErrorType").enummodule
234
269
  ProtoStepValue = Google::Protobuf::DescriptorPool.generated_pool.lookup("gauge.messages.ProtoStepValue").msgclass