Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No Colours in Specflow Feature Files on Visual Studio

I have the latest version of SpecFlow installed, and still the feature files display uncoloured, like so...

(Not enough rep to insert images)

Specflow uncoloured feature files

Is there certain configurations that are set for colours to be displayed in Specflow files?

VS2015 Specflow 2.1

like image 902
Taran Avatar asked Jan 20 '17 10:01

Taran


People also ask

How do I run a SpecFlow feature file in Visual Studio?

when right-clicking on a feature file and selecting Run Custom Tool , make sure the SpecFlow extension is enabled. To enable the extension in Visual Studio, select Tools | Extensions and Updates…, select the “SpecFlow for Visual Studio” extension, then select Enable.

Does SpecFlow work with Visual Studio code?

SpecFlow is an awesome tool when we want to write and run BDD (Behaviour Driven Development) tests on . Net platform. SpecFlow allows you to separate test automation from specifications and provides additional tools to structure your code.


1 Answers

There is an option for coloring syntax in Tools->Options->SpecFlow that could cause the problem.

enter image description here

EDIT:

Ensure your SpecFlow extension is installed correctly:

Go to Tools->Extensions and updates -> Installed look for SpecFlow for Visual Studio 2015. You might try to uninstall and install it again.

If you can't find in the list then select Online, in search type specflow, then select result and install.

like image 164
Renatas M. Avatar answered Sep 23 '22 11:09

Renatas M.