Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 2.33 KB

README.md

File metadata and controls

47 lines (35 loc) · 2.33 KB

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