Visual Studio plugin for Gauge
C# PowerShell Batchfile
Permalink
Failed to load latest commit information.
.github Adding github issue template. Dec 20, 2016
.paket introducing paket for dependency management Dec 1, 2016
Gauge.ItemTemplate.Concept proj/sln opens with VS2013 and VS2015 May 24, 2016
Gauge.ItemTemplate.Spec proj/sln opens with VS2013 and VS2015 May 24, 2016
Gauge.ProjectTemplates.Basic Updating Gauge.CSharp.Lib version to 0.6.1 in template Oct 18, 2016
Gauge.ProjectTemplates.Webdriver fixed reference path in webdriver template, #153 Dec 8, 2016
Gauge.VisualStudio.Core.Tests make Gauge service non-static Dec 9, 2016
Gauge.VisualStudio.Core Building the project if no dll's found #166 Jan 10, 2017
Gauge.VisualStudio.Model.Tests add negative test cases for find references, #155 Dec 12, 2016
Gauge.VisualStudio.Model use warning icon for non critical alerts, #162 Dec 22, 2016
Gauge.VisualStudio.TestAdapter refresh test explorer when spec is deleted, #126 Dec 20, 2016
Gauge.VisualStudio.Tests remove paket.targets, it slows down the build Dec 8, 2016
Gauge.VisualStudio build solution before triggering a refactor #110 Dec 22, 2016
.gitignore introducing paket for dependency management Dec 1, 2016
CONTRIBUTING.md Create CONTRIBUTING.md Dec 1, 2015
Gauge.VisualStudio.2015.sln introducing paket for dependency management Dec 1, 2016
Gauge.VisualStudio.sln introducing paket for dependency management Dec 1, 2016
README.md Add dev-box setup instructions. May 23, 2016
appveyor.yml added appveyor.yml Feb 26, 2016
build.bat build.bat runs tests too May 18, 2016
build.ps1 upgrade fakeiteasy to 2.3.1 Dec 1, 2016
notice.md Created notice.md Feb 6, 2015
paket.dependencies fixed references for steps with inline tables, #155 Dec 12, 2016
paket.lock fixed references for steps with inline tables, #155 Dec 12, 2016
test.ps1 fixed reference to package locations for nunit, System.Collections.im… Dec 1, 2016
version_nightly.ps1 include nightly in display name May 30, 2016

README.md

Gauge.VisualStudio

Visual Studio plugin for Gauge - wires up Visual Studio features to Gauge.

Download Nightly

Installation

Open Visual Studio Extension Manager - Tools -> Extensions and Updates. Search for Gauge.VisualStudio.

The extension resides here on the Visual Studio Gallery.

Features Supported (And Usage)

Creating a new Gauge Project

  • Go to File -> New Project. Choose Gauge Test Project under Visual C# Test category.
  • Choose the Project location and Project Name and click OK.

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

This creates <project_name>.sln file which can be opened with Visual Studio.

Syntax Highlighting

Gauge specs are in Markdown syntax. This plugin highlights Specifications, Scenarios, Steps and Tags.

Steps with missing implementation are also highlighted.

Autocomplete

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.

Navigation

Jump from Step text to it's implementation.

Usage: Right Click -> Go to Declaration or hit F12

Smart Tag

Implement an unimplemented step - generates a method template, with a Step attribute having this Step Text.

Test Runner

Open the Test Explorer : Menu -> Test -> Windows -> 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).

License

Gauge.VisualStudio is released under Apache License 2.0

Copyright

Copyright - 2014, 2015 ThoughtWorks Inc.