Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Specflow 2022 Generate a Step Definition file - VSC BDD: All steps have been defined in this file already

Just downloaded the latest version of VSC and Specflow (2022). For my training course.

I've created as simple customer registration BDD script

I have the correct Nugget packages installed but I am unable to see the "Generate Step Definitions" when I right click.

I'm trying to create a step definition I keep getting the following error

enter image description here

enter image description here

enter image description here

like image 446
fypnlp Avatar asked Oct 27 '25 21:10

fypnlp


1 Answers

I had this same issue.

You have to build the solution (ctrl+shift+B) or the project (ctrl+B) first. Then try define steps again.

Hope this helps.

like image 113
MobSaiki Avatar answered Oct 29 '25 11:10

MobSaiki



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!