Visual Studio plugin for Gauge - wires up Visual Studio features to Gauge.
Open Visual Studio Extension Manager -
Extensions and Updates. Search for
The extension resides here on the Visual Studio Gallery.
Features Supported (And Usage)
Creating a new Gauge Project
- Go to
New Project. Choose
Gauge Test Projectunder Visual C# Test category.
- Choose the Project location and Project Name and click
This should setup a new Gauge project, and add the required meta data for Gauge to execute this project.
Alternately, you can create a Gauge project from command-line as:
mkdir <project_name> gauge --init csharp
<project_name>.sln file which can be opened with Visual Studio.
Gauge specs are in Markdown syntax. This plugin highlights Specifications, Scenarios, Steps and Tags.
Steps with missing implementation are also highlighted.
This plugin hooks into VisualStudio Intellisense, and brings in autocompletion of Step text. The step texts brought in is a union of steps already defined, concepts defined, and step text from implementation.
Hint: hit Ctrl + Space to bring up the Intellisense menu.
Jump from Step text to it's implementation.
Right Click ->
Go to Declaration or hit F12
Implement an unimplemented step - generates a method template, with a
Step attribute having this Step Text.
Open the Test Explorer :
All the scenarios in the project should be listed. Run one or more of these tests.
Development Environment Setup
- Use BoxStarter to setup Windows box.
- Install Windows
- Hit http://bit.ly/20pMrXY from Internet Explorer/Edge.
- Install Visual Studio and Resharper separately (You could consider installing from an ISO).
Gauge.VisualStudio is released under Apache License 2.0
Copyright - 2014, 2015 ThoughtWorks Inc.