Gauge (software)
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. MarkdownGauge specifications[2] 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 <[email protected]>
* 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 scenarios[3] Test CodeSpecifications in Markdown abstracts code behind the steps. For example, the step // 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: ExecutionGauge tests can be executed from the command line[5] or the supported IDEs.[6] The default command The command ReportsGauge gives comprehensive test reports[7] that provides the required details of a given run. IDE supportGauge's IDE support[6] helps to write and maintain the test suite. References
External links |