Edit

Viewing Reports

Setup
macOS
JavaScript
Visual Studio Code
Modify

Viewing Reports from Visual Studio Code

Once the specifications are run you will get immediate feedback in the output console of Visual Studio Code.

You can also view the HTML report of tests run by following either of the steps below:

Open the html report by clicking on the view summary link in Visual Studio Code

Visual Studio Code execution report link

OR

In the editor’s command palete type Gauge: Show Last Run Report to view the report in the browser

Visual Studio Code show last run report command

Here’s what a Gauge report looks like.

HTML report

Viewing Reports from IntelliJ IDEA

Once the specifications are run you will get immediate feedback in the output screen of IntelliJ IDEA.

Once you’ve run the sample spec, you can view the HTML report of the tests run by opening the index.html file available in $PROJECT_ROOT/reports/html-report/index.html

Here’s what a Gauge report looks like.

HTML report

Viewing Reports from Visual Studio

Once the specifications are run you will get immediate feedback in the output screen of Visual Studio.

Once you’ve run the sample spec, you can view the HTML report of the tests run by opening the index.html file available in $PROJECT_ROOT/reports/html-report/index.html

Here’s what a Gauge report looks like.

HTML report

And, that concludes our getting started journey for Gauge. Hopefully this helped you install and set-up your first Gauge project. Gauge comes with powerful language & tool support as well as a versatile reporting functionality. We’ve covered the basics for all of these features in this guide.

As a next step, the following resources are available:

  • Write Specifications: This section has more in-depth detail on writing Gauge specifications and connecting them with the test scripts of your choice.
  • Examples: The examples section contains example projects of different languages and tools to help you get started with exactly what you need.