Skip to content

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

Notifications You must be signed in to change notification settings

getgauge-examples/groovy-selenium

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published