Specflow calling steps within steps causes “No matching step definition” error

后端 未结 4 1984
暗喜
暗喜 2021-01-17 17:18

I am following the technique outlined here

using a step defined like

[Given(\"some base scenario has happened\")]
public void SomeBaseScenarioHasHapp         


        
4条回答
  •  灰色年华
    2021-01-17 17:56

    try verifying if your sentence has empty spaces. i.e: Given some description(empty space) so, in the method will appear like: [Given("some description ")]

提交回复
热议问题