Reputation: 59
I have the following specflow which causes a no matching step definition error. I'm not sure what is wrong with the following. Any help would be appreciated
Feature: SpecFlowFeature1
Scenario: Successful brushing
Given there is toothpaste on the brush
And the mouth is open
When the back teeth are brushed
And the front teeth are brushed
Then the teeth look clean
And the mouth feels fresh
But the braces aren't damaged
Upvotes: 0
Views: 1804
Reputation: 58
As mentioned, it is difficult to fully know what that issue may be with your steps, but I have found at times that the caching feature for SpecFlow in Visual Studio sometimes can have issues. Assuming your step definitions are properly setup and it isn't working then you have a few options different options that are better defined at: http://brantleytec.blogspot.com/2014/08/specflow-force-step-definition-rebinding.html.
For convenience, I have copied the suggested troubleshooting to this response:
Upvotes: 4