Closed EmmanuelSammy closed 3 years ago
Thanks for creating your first issue! We are thankful for your help
Nevermind used gobdd.NewSuite() and it works thanks and sorry for the inconvenience.
thanks for your issue. I updated the readme file and put the missing gobdd.NewSuite
there. Hopefully, it won't confuse anyone else :)
Describe the bug NewSuite is undefined when trying to use your example in the readme.md
To Reproduce
Expected behavior
Additional context code where the error is: func TestScenarios(t *testing.T) { suite := NewSuite(t) <--- error here suite.AddStep(
I add (\d+) and (\d+)
, add) suite.AddStep(I the result should equal (\d+)
, check) suite.Run() }