Since some days the feature files are broken.
VS2017:
- Colors dissapeard, everything is white.
- When I press F12 nothing happens.
- When I run the test from solution explorer the tests work fine.
VS2015:
- Everything works fine.
What I tried to do:
Option 1: Run Binding Tool Right-click on the feature file Select "Run Custom Tool" This causes the SpecFlowSingleFileGenerator to regenerate the code-behind for your test framework.
Option 2: Restart Visual Studio Close Visual Studio Open Visual Studio Reopen solution This causes any bindings that haven't been cached to rerun.
Option 3: Clear SpecFlow Step Mapping Cache Close Visual Studio Open Windows Explorer Type %TEMP% in Address Bar and hit Enter Search for "specflow-stepmap-*.cache" Delete those files Open Visual Studio Reopen solution
Option4: Uninstall and reinstall visual studio 2017
None of them fixes the issues for VS2017.
Some help is more than welcome.