An example project, illustrating test automation using Gauge, with Groovy support.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 1653aa5 Jul 10, 2018

README.md

Gauge example in Groovy

Build Status

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