Gauge (software) (original) (raw)

From Wikipedia, the free encyclopedia

Cross-platform test automation tool

Gauge
Developer ThoughtWorks
Stable release 1.6.20 Edit this on Wikidata / 7 August 2025; 2 months ago (7 August 2025)
Repository github.com/getgauge/gauge Edit this at Wikidata
Written in Go
Operating system Platform-independent
Type Test automation tool
License Apache License 2.0
Website gauge.org Edit this at Wikidata

Gauge is a light weight cross-platform test automation tool. It uses markdown to author test cases and scenarios. Its modular architecture makes it flexible and scalable.

Gauge specifications[1] are written in the business language. For example,

Find movies playing near me

The System Under Test in this example is a web application to find and book movie tickets

Search for movies

Book movie ticket

This Gauge specification describes a feature of the System Under Test. The scenarios[2] Search for movies and Book movie ticket represent a flow in this specification. Steps[3] are executable parts of a specification.

Specifications in Markdown abstracts code behind the steps.

For example, the step Specify location as "Bangalore" implementation in Java would look like

// This Method can be written in any java class as long as it is in classpath.

public class StepImplementation { @Step("Specify location as ") public void helloWorld(String location) { // Step implementation } }

Gauge has Support for writing test code in:

The Community contributed language runners are:

Gauge tests can be executed from the command line[4] or the supported IDEs.[5]

The default command gauge specs run the tests sequentially.

The command gauge -p specs will execute the tests in Parallel.

Gauge gives comprehensive test reports[6] that provides the required details of a given run.

Gauge's IDE support[5] helps to write and maintain the test suite.

  1. ^ "Long Start – Gauge 0.8.3 documentation". Archived from the original on March 7, 2017. Retrieved April 28, 2017.
  2. ^ "Long Start – Gauge 0.8.3 documentation". Archived from the original on March 7, 2017. Retrieved April 28, 2017.
  3. ^ "Long Start – Gauge 0.8.3 documentation". Archived from the original on March 7, 2017. Retrieved April 28, 2017.
  4. ^ "Using Gauge – Gauge 0.8.3 documentation". Archived from the original on March 6, 2017. Retrieved April 28, 2017.
  5. ^ a b "Using Gauge – Gauge 0.8.3 documentation". Archived from the original on March 6, 2017. Retrieved April 28, 2017.
  6. ^ "Reports – Gauge 0.8.3 documentation". Archived from the original on March 6, 2017. Retrieved April 28, 2017.