You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using version 0.1.6 of dotnet plugin, the Execution Hooks fail when using the ExecutionContext argument. The following stack trace is from a failure to execute a BeforeScenario hook.
Error Message: Parameter count mismatch.
Stacktrace:
at System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at Gauge.Dotnet.Wrappers.ReflectionWrapper.Invoke(MethodInfo method, Object obj, Object[] args) in /home/runner/work/gauge-dotnet/gauge-dotnet/src/Wrappers/ReflectionWrapper.cs:line 27
at Gauge.Dotnet.MethodExecutor.Execute(MethodInfo method, Object[] parameters) in /home/runner/work/gauge-dotnet/gauge-dotnet/src/MethodExecutor.cs:line 42
at Gauge.Dotnet.HookExecutor.Execute(String hookType, IHooksStrategy strategy, IList`1 applicableTags, ExecutionContext context) in /home/runner/work/gauge-dotnet/gauge-dotnet/src/HookExecutor.cs:line 35
Reverting to version 0.1.5 of the dotnet plugin allowed us to run the scenario successfully with the Execution Hooks utilizing the ExecutionContext.
Reviewing the tests, it appears the Execution Hooks are only testing with void argument and not with the ExecutionContext argument.
Any help would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered:
Last version (0.1.6) of dotnet plugin causes this failing, when using ExecutionContext parameter in hook methods
(Gauge Versions => 1.0.7, 1.0.8, 1.1.0, 1.1.1, 1.1.3)
Also this dotnet version causes timeout exception (Timed out connecting to 127.0.0.1:50498) for Gauge Version 1.0.6 (Commit Hash: 2bc49db).
Using version 0.1.6 of dotnet plugin, the Execution Hooks fail when using the ExecutionContext argument. The following stack trace is from a failure to execute a BeforeScenario hook.
Reverting to version 0.1.5 of the dotnet plugin allowed us to run the scenario successfully with the Execution Hooks utilizing the ExecutionContext.
Reviewing the tests, it appears the Execution Hooks are only testing with void argument and not with the ExecutionContext argument.
Any help would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered: