Closed Vic152 closed 1 year ago
Ah no, forget about it. Red herring.
TechTalk.SpecFlow.BindingException : Error calling binding method 'xxx.xxx.Module(String)': Value cannot be null.
is result of some exception swallowed in the process.
Navigation still does not work.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
SpecFlow Version
3.9.74
Which test runner are you using?
xUnit
Test Runner Version Number
2.4.5
.NET Implementation
.NET 6.0
Project Format of the SpecFlow project
Classic project format using
packages.config
.feature.cs files are generated using
SpecFlowSingleFileGenerator custom tool
Test Execution Method
Command line – PLEASE SPECIFY THE FULL COMMAND LINE
SpecFlow Section in app.config or content of specflow.json
n/a
Issue Description
I upgraded VS 2022 and F12 step navigation does not work.
I also started seeing (where previously it just executed):
TechTalk.SpecFlow.BindingException : Error calling binding method 'xxx.xxx.Module(String)': Value cannot be null. (Parameter 'first') Stack Trace: at TechTalk.SpecFlow.Bindings.BindingInvoker.InvokeBinding(IBinding binding, IContextManager contextManager, Object[] arguments, ITestTracer testTracer, TimeSpan& duration) at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.ExecuteStepMatch(BindingMatch match, Object[] arguments, TimeSpan& duration) at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.ExecuteStep(IContextManager contextManager, StepInstance stepInstance) at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.OnAfterLastStep() at TechTalk.SpecFlow.TestRunner.CollectScenarioErrors() at FM_Alert_BDD.Features.CSPModuleFeature.ScenarioCleanup() at FM_Alert_BDD.Features.CSPModuleFeature.CSPModuleReceivesAnImage(String camera, String module, String[] exampleTags) in xxx\xxx\.feature:line 11
Steps to Reproduce
I just upgraded VS 2022
I did rebuild project several times. Reinstalled SpecFlow.
Link to Repro Project
n/a