my-server
← Wiki

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.

Markdown

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

This Gauge specification describes a feature of the System Under Test. The scenarios <code>Search for movies</code> and <code>Book movie ticket</code> represent a flow in this specification. Steps are executable parts of a specification.

Test Code

Specifications in Markdown abstracts code behind the steps.

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

Gauge has Support for writing test code in:

The Community contributed language runners are:

Execution

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

The default command <code>gauge specs</code> run the tests sequentially.

The command <code>gauge -p specs</code> will execute the tests in Parallel.

Reports

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

IDE support

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

References

External links