- Project Creation
- Syntax Highlighting
- Auto completion
- Smart Tag - Quick Fix for unimplemented steps
- Test Runner
- Rephrase steps
- Find Usages
- Go to
Gauge Test Projectunder Visual C# Test category.
- Choose the Project location and Project Name.
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> $ cd <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.
- Press F2 on a step to rephrase it.
- The parameters can also be reordered,removed or new parameters can be added.
- The rephrase change will reflect across all the specs in the project.
- Right click on a step -> Find All References
- You can right-click on
specsdirectory or any nested directory, choose
New Item-> Go to
Visual C# Items.
- Enter file name and click