So you’ve installed SpecRun, updated app.config, started a testrun….but SpecRun reports that it found 0 testcases. There’s two fixes for this.
Regenerate the feature files
*.feature.cscode-behinds aren’t removed when you clean the project. Those files still contain code pertaining to the previous test runner. You need to regenerate the
.featurefiles in the solution before the code-behinds are updated to use the SpecRun test runner.
Clean Visual Studio’s cache for the test runners
Another cause for this unexpected behavior is due due to corruption in Visual Studio’s cache for the test runners. This can be fixed by the following:
- Close Visual Studio
- navigate to
- Delete any SpecRun related folders