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

I get the same message every time I right-click on a script and "Create step definitions" or "Go to step definition".

This worked the first time I tried, but since then it has not.

I filed a bug report, but, nevertheless, does anyone know how to solve this?

+4
source share
5 answers

ive got this problem before, we have about 800 SF tests in one of our projects, and when we download first, sometimes it can take quite a while to load it. For me, he always sorted himself in the end.

Another thing worth trying is to upgrade to version 1.9, which appeared a few days ago, it may have improved performance.

+1
source

Although I use the latter (1.9.2), I had the same problem. Re-opening VS2010 solved the problem.

+1
source

I found a job for this problem; close the solution and delete the .SOU file. Reopening the solution then recreates this file, after which the SpecFlow context menu options work.

+1
source

More than five years later, and I get the same problem ... Here is a solution that worked for me:

  • Close the solution in Visual Studio.
  • Change to the temp directory in Windows Explorer (type% temp% in the location bar).
  • Delete the specflow-blah-blah.cache file.
  • Reboot the solution in Visual Studio, rebuild the solution, and give SpecFlow some time to sort.
+1
source

The same problem occurred when moving external assemblies to the specflow.json file from app.config

.1) It turned out that I got a link to the assembly, which does not even have the nuances of specflow.

2) I renamed one assembly, but for some reason the old name was not replaced in the AssemblyInfo.cs file. I changed it manually, cleaned the project. Cleared the workflow cache (see previous answers on how to do this) and it worked.

So, check the correctness of all links and assembly names.

Greetings

Postscript Do not forget to set the option "Copy to output directory" for specflow.json: D

0
source

All Articles