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).
The tests are run on Firefox by default.
This example requires the following softwares to run.
- Java
- Gauge
- Gauge Java plugin
- Gauge Java plugin can be installed using
gauge --install java
- Gauge Java plugin can be installed using
You can optionally install Gauge-IntelliJ plugin.
- Download activeadmin-demo.war
- Bring up the SUT by executing the below command
java -jar activeadmin-demo.war
- The SUT should now be available at http://localhost:8080/
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!
- Specification, Scenario, Step, Concepts and Context Steps
- Table parameters
- Using External datasource (special param)
- Using tags
- Using Gauge with Selenium Webdriver
- Running Gauge specs with maven