Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SpecFlow: "Step bindings are still being analyzed. Please wait."

I keep getting the same message whenever I right click a scenario and "Generate Step Definitions" or "Go To Step Definition".

It worked the first time I tried, but it hasn't since.

I've filed a bug report, but in the mean time, anyone know how to solve this?

like image 574
Peter Coulton Avatar asked Aug 08 '12 10:08

Peter Coulton


2 Answers

Over five years later and I'm getting the same problem... Here is the solution that worked for me:

  1. Close the solution in Visual Studio.
  2. Go to your temp directory in Windows Explorer (enter %temp% in the location bar).
  3. Delete the 'specflow-blah-blah.cache' file.
  4. Reload the solution in Visual Studio, rebuild the solution and give SpecFlow a bit of time to sort itself out.
like image 131
TallGuy Avatar answered Oct 05 '22 23:10

TallGuy


ive gotten this issue before, we have about 800 SF tests in one of our projects and when we first load it can sometimes take quite a lot of time for it to load up. For me its always sorted itself out eventually.

Another thing to try would be to upgrade to 1.9 which came out a few days ago, it may have improved performance.

like image 22
Not loved Avatar answered Oct 06 '22 00:10

Not loved