An example project, illustrating test automation using Gauge, with Groovy support.
Groovy Shell
Latest commit 002b805 Nov 18, 2016 @apoorvam apoorvam committed on GitHub Update README.md
Permalink
Failed to load latest commit information.
env
resources Gauge example project with Groovy Feb 23, 2016
specs Gauge example project with Groovy Feb 23, 2016
src/test/groovy/com/thoughtworks/gauge/example
.gitignore Gauge example project with Groovy Feb 23, 2016
README.md Update README.md Nov 18, 2016
install_latest_gauge.sh changing permissions of install_latest_gauge.sh Feb 24, 2016
manifest.json Gauge example project with Groovy Feb 23, 2016
pom.xml adding src/test/groovy in project structure | adding gmavenplus-plugi… Feb 24, 2016

README.md

Gauge example in Groovy

Build Status HTML report Console report

This is an example project for doing web automation testing with Gauge. This project tests some of the functionalities of the active admin demo app. This app is hosted as a Java WAR (with embedded Jetty).

Running this example

The tests are run on Firefox by default. You can set environment to run on different browsers.

Prerequisites

This example requires the following softwares to run.

  • Java
  • Gauge
  • Gauge Java plugin
    • Gauge Java plugin can be installed using gauge --install java

You can optionally install Gauge-IntelliJ plugin.

Setting up the System Under Test (SUT)

java -jar activeadmin-demo.war

Execute specs

mvn clean test

This runs Gauge specs with maven.

Note:

  • Gauge can also be used with other build tools like gradle and ant.
  • You can use Gauge even without a build script!

Topics covered in the example