Article · Wikipedia archive · Last revised Jul 17, 2026

Gauge (software)

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

Last revised
Jul 17, 2026
Read time
≈ 2 min
Length
442 w
Citations
8
Source
Gauge
DeveloperThoughtWorks
Stable release
1.6.331 Edit this on Wikidata / 18 June 2026 (18 June 2026)
Written inGo
Operating systemPlatform-independent
TypeTest automation tool
LicenseApache License 2.0
Websitegauge.org Edit this at Wikidata
Repository

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

Markdown

Gauge specifications2 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
-----------------

* Specify location as "Bangalore"
* Search for movie "Star Wars"
* Verify that "INOX" is playing "Star Wars" at "7:30 pm"

Book movie ticket
-----------------

* Sign up with email address <user@example.com>
* Complete the verification
* Select location as "Bangalore", the movie "Star Wars" and "3" seats
* Confirm and pay
* Verify the "e-ticket" has been sent to the registered email.

This Gauge specification describes a feature of the System Under Test. The scenarios3 Search for movies and Book movie ticket represent a flow in this specification. Steps4 are executable parts of a specification.

Test Code

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 <location>")
   public void helloWorld(String location) {
       // Step implementation
   }
}

Gauge has Support for writing test code in:

The Community contributed language runners are:

Execution

Gauge tests can be executed from the command line5 or the supported IDEs.6

The default command gauge specs run the tests sequentially.

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

Reports

Gauge gives comprehensive test reports7 that provides the required details of a given run.

IDE support

Gauge's IDE support6 helps to write and maintain the test suite.

References

References

  1. "Release 1.6.33". June 18, 2026. Retrieved June 19, 2026.
  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. "Long Start – Gauge 0.8.3 documentation". Archived from the original on March 7, 2017. Retrieved April 28, 2017.
  5. "Using Gauge – Gauge 0.8.3 documentation". Archived from the original on March 6, 2017. Retrieved April 28, 2017.
  6. "Using Gauge – Gauge 0.8.3 documentation". Archived from the original on March 6, 2017. Retrieved April 28, 2017.
  7. "Reports – Gauge 0.8.3 documentation". Archived from the original on March 6, 2017. Retrieved April 28, 2017.
External links