Skip to content

An example project, illustrating test automation using Gauge, with Groovy support.

Notifications You must be signed in to change notification settings

fabianromerorcc/gauge-example-groovy

 
 

Repository files navigation

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.

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

About

An example project, illustrating test automation using Gauge, with Groovy support.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Groovy 96.1%
  • Shell 3.9%