From 33dc6ea7d94f703f9a42fd1d6d33d193a7457165 Mon Sep 17 00:00:00 2001 From: Piotr Nestorow Date: Fri, 8 Mar 2024 01:34:38 +0100 Subject: [PATCH] Added scenario retries info params (#209) * Added scenario retries info params Signed-off-by: Piotr Nestorow * Handle currentScenario.Retries is null Signed-off-by: Piotr Nestorow --------- Signed-off-by: Piotr Nestorow --- src/ExecutionInfoMapper.cs | 6 +- src/Gauge.CSharp.Core/Messages.cs | 657 +++++++++++++++++++++--------- src/Gauge.Dotnet.csproj | 4 +- src/dotnet.json | 2 +- test/ExecutionInfoMapperTests.cs | 6 +- 5 files changed, 485 insertions(+), 190 deletions(-) diff --git a/src/ExecutionInfoMapper.cs b/src/ExecutionInfoMapper.cs index c35fa25..9baaba2 100644 --- a/src/ExecutionInfoMapper.cs +++ b/src/ExecutionInfoMapper.cs @@ -45,9 +45,13 @@ private dynamic SpecificationFrom(SpecInfo currentSpec) private dynamic ScenarioFrom(ScenarioInfo currentScenario) { var executionContextScenarioType = _executionContextType.GetNestedType("Scenario"); + if (currentScenario != null && currentScenario.Retries == null) + { + currentScenario.Retries = new ScenarioRetriesInfo{MaxRetries=0, CurrentRetry=0}; + } return currentScenario != null ? activatorWrapper.CreateInstance(executionContextScenarioType, currentScenario.Name, currentScenario.IsFailed, - currentScenario.Tags.ToArray()) + currentScenario.Tags.ToArray(), currentScenario.Retries.MaxRetries, currentScenario.Retries.CurrentRetry) : activatorWrapper.CreateInstance(executionContextScenarioType); } diff --git a/src/Gauge.CSharp.Core/Messages.cs b/src/Gauge.CSharp.Core/Messages.cs index fa3b2f0..2ed0814 100644 --- a/src/Gauge.CSharp.Core/Messages.cs +++ b/src/Gauge.CSharp.Core/Messages.cs @@ -73,158 +73,161 @@ static MessagesReflection() { "Y3V0aW9uQXJncxgGIAMoCzIcLmdhdWdlLm1lc3NhZ2VzLkV4ZWN1dGlvbkFy", "ZxIgChhudW1iZXJPZkV4ZWN1dGlvblN0cmVhbXMYByABKAUSEAoIcnVubm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ZXN0EBkSGQoVU3RlcFBvc2l0aW9uc1Jlc3BvbnNlEBoSIQod", + "SW1wbGVtZW50YXRpb25GaWxlTGlzdFJlcXVlc3QQGxIiCh5JbXBsZW1lbnRh", + "dGlvbkZpbGVMaXN0UmVzcG9uc2UQHBIhCh1TdHViSW1wbGVtZW50YXRpb25D", + "b2RlUmVxdWVzdBAdEgwKCEZpbGVEaWZmEB4SKAokSW1wbGVtZW50YXRpb25G", + "aWxlR2xvYlBhdHRlcm5SZXF1ZXN0EB8SKQolSW1wbGVtZW50YXRpb25GaWxl", + "R2xvYlBhdHRlcm5SZXNwb25zZRAgEhwKGFN1aXRlRXhlY3V0aW9uUmVzdWx0", + "SXRlbRAhEg0KCUtlZXBBbGl2ZRAiEhwKGENvbmNlcHRFeGVjdXRpb25TdGFy", + "dGluZxAjEhoKFkNvbmNlcHRFeGVjdXRpb25FbmRpbmcQJEJcChZjb20udGhv", + "dWdodHdvcmtzLmdhdWdlWjFnaXRodWIuY29tL2dldGdhdWdlL2dhdWdlLXBy", + "b3RvL2dvL2dhdWdlX21lc3NhZ2VzqgIOR2F1Z2UuTWVzc2FnZXNiBnByb3Rv", + "Mw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { global::Gauge.Messages.SpecReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { @@ -243,7 +246,8 @@ static MessagesReflection() { new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ExecutionArg), global::Gauge.Messages.ExecutionArg.Parser, new[]{ "FlagName", "FlagValue" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ExecutionInfo), global::Gauge.Messages.ExecutionInfo.Parser, new[]{ "CurrentSpec", "CurrentScenario", "CurrentStep", "Stacktrace", "ProjectName", "ExecutionArgs", "NumberOfExecutionStreams", "RunnerId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.SpecInfo), global::Gauge.Messages.SpecInfo.Parser, new[]{ "Name", "FileName", "IsFailed", "Tags" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ScenarioInfo), global::Gauge.Messages.ScenarioInfo.Parser, new[]{ "Name", "IsFailed", "Tags" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ScenarioInfo), global::Gauge.Messages.ScenarioInfo.Parser, new[]{ "Name", "IsFailed", "Tags", "Retries" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ScenarioRetriesInfo), global::Gauge.Messages.ScenarioRetriesInfo.Parser, new[]{ "MaxRetries", "CurrentRetry" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.StepInfo), global::Gauge.Messages.StepInfo.Parser, new[]{ "Step", "IsFailed", "StackTrace", "ErrorMessage" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ExecuteStepRequest), global::Gauge.Messages.ExecuteStepRequest.Parser, new[]{ "ActualStepText", "ParsedStepText", "ScenarioFailing", "Parameters", "Stream" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.StepValidateRequest), global::Gauge.Messages.StepValidateRequest.Parser, new[]{ "StepText", "NumberOfParameters", "StepValue" }, null, null, null, null), @@ -4620,6 +4624,7 @@ public ScenarioInfo(ScenarioInfo other) : this() { name_ = other.name_; isFailed_ = other.isFailed_; tags_ = other.tags_.Clone(); + retries_ = other.retries_ != null ? other.retries_.Clone() : null; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -4673,6 +4678,21 @@ public bool IsFailed { get { return tags_; } } + /// Field number for the "retries" field. + public const int RetriesFieldNumber = 4; + private global::Gauge.Messages.ScenarioRetriesInfo retries_; + /// + //// Retries info + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ScenarioRetriesInfo Retries { + get { return retries_; } + set { + retries_ = value; + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -4691,6 +4711,7 @@ public bool Equals(ScenarioInfo other) { if (Name != other.Name) return false; if (IsFailed != other.IsFailed) return false; if(!tags_.Equals(other.tags_)) return false; + if (!object.Equals(Retries, other.Retries)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -4701,6 +4722,7 @@ public override int GetHashCode() { if (Name.Length != 0) hash ^= Name.GetHashCode(); if (IsFailed != false) hash ^= IsFailed.GetHashCode(); hash ^= tags_.GetHashCode(); + if (retries_ != null) hash ^= Retries.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -4728,6 +4750,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteBool(IsFailed); } tags_.WriteTo(output, _repeated_tags_codec); + if (retries_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Retries); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -4747,6 +4773,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteBool(IsFailed); } tags_.WriteTo(ref output, _repeated_tags_codec); + if (retries_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Retries); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -4764,6 +4794,9 @@ public int CalculateSize() { size += 1 + 1; } size += tags_.CalculateSize(_repeated_tags_codec); + if (retries_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Retries); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -4783,6 +4816,12 @@ public void MergeFrom(ScenarioInfo other) { IsFailed = other.IsFailed; } tags_.Add(other.tags_); + if (other.retries_ != null) { + if (retries_ == null) { + Retries = new global::Gauge.Messages.ScenarioRetriesInfo(); + } + Retries.MergeFrom(other.Retries); + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -4810,6 +4849,13 @@ public void MergeFrom(pb::CodedInputStream input) { tags_.AddEntriesFrom(input, _repeated_tags_codec); break; } + case 34: { + if (retries_ == null) { + Retries = new global::Gauge.Messages.ScenarioRetriesInfo(); + } + input.ReadMessage(Retries); + break; + } } } #endif @@ -4837,6 +4883,249 @@ public void MergeFrom(pb::CodedInputStream input) { tags_.AddEntriesFrom(ref input, _repeated_tags_codec); break; } + case 34: { + if (retries_ == null) { + Retries = new global::Gauge.Messages.ScenarioRetriesInfo(); + } + input.ReadMessage(Retries); + break; + } + } + } + } + #endif + + } + + /// + //// Contains details of the Scenario repeat execution. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ScenarioRetriesInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ScenarioRetriesInfo()); + private pb::UnknownFieldSet _unknownFields; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pb::MessageParser Parser { get { return _parser; } } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static pbr::MessageDescriptor Descriptor { + get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[16]; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + pbr::MessageDescriptor pb::IMessage.Descriptor { + get { return Descriptor; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ScenarioRetriesInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ScenarioRetriesInfo(ScenarioRetriesInfo other) : this() { + maxRetries_ = other.maxRetries_; + currentRetry_ = other.currentRetry_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ScenarioRetriesInfo Clone() { + return new ScenarioRetriesInfo(this); + } + + /// Field number for the "maxRetries" field. + public const int MaxRetriesFieldNumber = 1; + private int maxRetries_; + /// + /// Maximum retries. Related to '--max-retries-count' run parameter + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaxRetries { + get { return maxRetries_; } + set { + maxRetries_ = value; + } + } + + /// Field number for the "currentRetry" field. + public const int CurrentRetryFieldNumber = 2; + private int currentRetry_; + /// + /// Current retry attempt. It's 0 for the normal first run + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CurrentRetry { + get { return currentRetry_; } + set { + currentRetry_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ScenarioRetriesInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ScenarioRetriesInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (MaxRetries != other.MaxRetries) return false; + if (CurrentRetry != other.CurrentRetry) return false; + return Equals(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override int GetHashCode() { + int hash = 1; + if (MaxRetries != 0) hash ^= MaxRetries.GetHashCode(); + if (CurrentRetry != 0) hash ^= CurrentRetry.GetHashCode(); + if (_unknownFields != null) { + hash ^= _unknownFields.GetHashCode(); + } + return hash; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override string ToString() { + return pb::JsonFormatter.ToDiagnosticString(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void WriteTo(pb::CodedOutputStream output) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + output.WriteRawMessage(this); + #else + if (MaxRetries != 0) { + output.WriteRawTag(8); + output.WriteInt32(MaxRetries); + } + if (CurrentRetry != 0) { + output.WriteRawTag(16); + output.WriteInt32(CurrentRetry); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(output); + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { + if (MaxRetries != 0) { + output.WriteRawTag(8); + output.WriteInt32(MaxRetries); + } + if (CurrentRetry != 0) { + output.WriteRawTag(16); + output.WriteInt32(CurrentRetry); + } + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int CalculateSize() { + int size = 0; + if (MaxRetries != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxRetries); + } + if (CurrentRetry != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(CurrentRetry); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ScenarioRetriesInfo other) { + if (other == null) { + return; + } + if (other.MaxRetries != 0) { + MaxRetries = other.MaxRetries; + } + if (other.CurrentRetry != 0) { + CurrentRetry = other.CurrentRetry; + } + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(pb::CodedInputStream input) { + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + input.ReadRawMessage(this); + #else + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); + break; + case 8: { + MaxRetries = input.ReadInt32(); + break; + } + case 16: { + CurrentRetry = input.ReadInt32(); + break; + } + } + } + #endif + } + + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) { + uint tag; + while ((tag = input.ReadTag()) != 0) { + switch(tag) { + default: + _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); + break; + case 8: { + MaxRetries = input.ReadInt32(); + break; + } + case 16: { + CurrentRetry = input.ReadInt32(); + break; + } } } } @@ -4862,7 +5151,7 @@ public sealed partial class StepInfo : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[16]; } + get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[17]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -5187,7 +5476,7 @@ public sealed partial class ExecuteStepRequest : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[22]; } + get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[23]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6694,7 +6983,7 @@ public sealed partial class StepNamesResponse : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[23]; } + get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[24]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6880,7 +7169,7 @@ public sealed partial class ScenarioDataStoreInitRequest : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[27]; } + get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[28]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7692,7 +7981,7 @@ public sealed partial class RefactorRequest : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[28]; } + get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[29]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -8015,7 +8304,7 @@ public sealed partial class FileChanges : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[29]; } + get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[30]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -8272,7 +8561,7 @@ public sealed partial class RefactorResponse : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[30]; } + get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[31]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -8566,7 +8855,7 @@ public sealed partial class StepNameRequest : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[31]; } + get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[32]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -8763,7 +9052,7 @@ public sealed partial class StepNameResponse : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[32]; } + get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[33]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -9157,7 +9446,7 @@ public sealed partial class UnsupportedMessageResponse : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[34]; } + get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[35]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -9699,7 +9988,7 @@ public sealed partial class StepPositionsRequest : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[42]; } + get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[43]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -11525,7 +11814,7 @@ public sealed partial class FileDiff : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[43]; } + get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[44]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -11750,7 +12039,7 @@ public sealed partial class KeepAlive : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[44]; } + get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[45]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -11943,7 +12232,7 @@ public sealed partial class SpecDetails : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[45]; } + get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[46]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -12367,7 +12656,7 @@ public sealed partial class Empty : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[46]; } + get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[47]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -12525,7 +12814,7 @@ public sealed partial class Message : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[47]; } + get { return global::Gauge.Messages.MessagesReflection.Descriptor.MessageTypes[48]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] diff --git a/src/Gauge.Dotnet.csproj b/src/Gauge.Dotnet.csproj index 69613fa..a6d8992 100644 --- a/src/Gauge.Dotnet.csproj +++ b/src/Gauge.Dotnet.csproj @@ -5,7 +5,7 @@ net6.0;net7.0;net8.0 Runner.NetCore30 The Gauge Team - 0.5.6 + 0.5.7 ThoughtWorks Inc. Gauge C# runner for Gauge. https://gauge.org @@ -23,7 +23,7 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/dotnet.json b/src/dotnet.json index ad32187..898105d 100644 --- a/src/dotnet.json +++ b/src/dotnet.json @@ -1,6 +1,6 @@ { "id": "dotnet", - "version": "0.5.6", + "version": "0.5.7", "description": "C# support for gauge + .NET 6.0/7.0/8.0", "run": { "windows": [ diff --git a/test/ExecutionInfoMapperTests.cs b/test/ExecutionInfoMapperTests.cs index e5a6fd9..8862e00 100644 --- a/test/ExecutionInfoMapperTests.cs +++ b/test/ExecutionInfoMapperTests.cs @@ -19,7 +19,8 @@ public void Setup() mockAssemblyLoader = new Mock(); mockAssemblyLoader.Setup(x => x.GetLibType(LibType.ExecutionContext)).Returns(typeof(ExecutionContext)); executionInfo = new ExecutionInfo { - CurrentScenario = new ScenarioInfo{IsFailed = true, Name = "Dummy Scenario" }, + CurrentScenario = new ScenarioInfo{IsFailed = true, Name = "Dummy Scenario", + Retries = new ScenarioRetriesInfo{MaxRetries = 0, CurrentRetry = 0} }, CurrentSpec = new SpecInfo {FileName = "dummy.spec", Name = "Dummy Spec", IsFailed = true}, CurrentStep = new StepInfo {IsFailed = true, ErrorMessage = "Dummy Error", StackTrace = "Dummy Stacktrace", Step = new ExecuteStepRequest {ActualStepText = "Dummy Step Text"} @@ -54,7 +55,8 @@ public void ShouldMapScenarioInfo() var mockActivatorWrapper = new Mock(); mockActivatorWrapper.Setup(x => x.CreateInstance(typeof(ExecutionContext.Scenario), executionInfo.CurrentScenario.Name, executionInfo.CurrentScenario.IsFailed, - executionInfo.CurrentScenario.Tags.ToArray())).Verifiable(); + executionInfo.CurrentScenario.Tags.ToArray(), + executionInfo.CurrentScenario.Retries.MaxRetries, executionInfo.CurrentScenario.Retries.CurrentRetry)).Verifiable(); new ExecutionInfoMapper(mockAssemblyLoader.Object, mockActivatorWrapper.Object).ExecutionContextFrom(executionInfo); mockActivatorWrapper.VerifyAll(); }