specflow error in migration to .net6
I have migrated the specflow project from .netstandard 2.0 to .net 6. It works fine with .netstandard 2.0 but after i did the migration, when i run the unit test i got the below error.
No matching step definition found for one or more steps.
public class StepDefinitions
private readonly ScenarioContext _scenarioContext;
public StepDefinitions(ScenarioContext scenarioContext)
_scenarioContext = scenarioContext;
[Given(@"the Logic App ""(.*)"" on ResourceGroup ""(.*)""")]
public void GivenTheLogicAppOnResourceGroup(string p0, string p1)
The error appears for each statement from the feature file. Not sure what is the cause. Please can someone help really appreciate.
Thanks in advance
Please sign in to leave a comment.