diff --git a/Tms.Adapter.Core/Tms.Adapter.Core.csproj b/Tms.Adapter.Core/Tms.Adapter.Core.csproj index 0e3fb24..51298bb 100644 --- a/Tms.Adapter.Core/Tms.Adapter.Core.csproj +++ b/Tms.Adapter.Core/Tms.Adapter.Core.csproj @@ -1,7 +1,7 @@ - 1.0.6 + 1.0.7 netstandard2.1 enable true diff --git a/Tms.Adapter.SpecFlowPlugin/Tms.Adapter.SpecFlowPlugin.csproj b/Tms.Adapter.SpecFlowPlugin/Tms.Adapter.SpecFlowPlugin.csproj index 77bfdd5..33ef5a7 100644 --- a/Tms.Adapter.SpecFlowPlugin/Tms.Adapter.SpecFlowPlugin.csproj +++ b/Tms.Adapter.SpecFlowPlugin/Tms.Adapter.SpecFlowPlugin.csproj @@ -1,7 +1,7 @@ - 1.0.6 + 1.0.7 netstandard2.1 enable true diff --git a/Tms.Adapter.XUnit/Tms.Adapter.XUnit.csproj b/Tms.Adapter.XUnit/Tms.Adapter.XUnit.csproj index 949dccf..37f1e78 100644 --- a/Tms.Adapter.XUnit/Tms.Adapter.XUnit.csproj +++ b/Tms.Adapter.XUnit/Tms.Adapter.XUnit.csproj @@ -1,7 +1,7 @@ - 1.0.6 + 1.0.7 netstandard2.1 enable true diff --git a/Tms.Adapter/Attributes/StepAttribute.cs b/Tms.Adapter/Attributes/StepAttribute.cs index 588e7f9..f51f68c 100644 --- a/Tms.Adapter/Attributes/StepAttribute.cs +++ b/Tms.Adapter/Attributes/StepAttribute.cs @@ -35,7 +35,7 @@ public override void OnEntry(MethodExecutionArgs arg) if (type is not null) { - _callerMethod = type.GetMethod(caller.Groups[2].Value); + _callerMethod = type.GetMethod(caller.Groups[2].Value, arg.Method.GetParameters().Select(x => x.ParameterType).ToArray()); if (_callerMethod == null) _callerMethod = type.GetMethod(caller.Groups[2].Value, BindingFlags.Instance | BindingFlags.NonPublic); diff --git a/Tms.Adapter/Tms.Adapter.csproj b/Tms.Adapter/Tms.Adapter.csproj index 1df0e0a..9108099 100644 --- a/Tms.Adapter/Tms.Adapter.csproj +++ b/Tms.Adapter/Tms.Adapter.csproj @@ -1,7 +1,7 @@ - 1.0.6 + 1.0.7 netstandard2.1 enable true diff --git a/TmsRunner/TmsRunner.csproj b/TmsRunner/TmsRunner.csproj index 73baeb8..0d8cc95 100644 --- a/TmsRunner/TmsRunner.csproj +++ b/TmsRunner/TmsRunner.csproj @@ -1,7 +1,7 @@  - 1.0.6 + 1.0.7 Exe enable enable