This repo contains a small example on how to use the Gauge test framework for end-to-end tests using Selenium inside a Maven project.
Read the tutorial here: Gauge - a lightweight behavior-driven testing tool .
- Clone this project via
$ git clone <url>
- Make sure you are running Gauge on your system.
- You also need to install the Gauge Java Plugin with
$ gauge --install java
- Make sure HTML-Report plugin is installed with
$ gauge -v
, otherwise install it. - You also have to install Maven.
- If you want to try another Browser, take a look into
env/default/browser.properties
. Possible browser entries areCHROME
,IE
or by default firefox. - Selenium best runs with Chrome which requires ChromeDriver to be executed.
Some older Versions of Firefox might crash with Selenium!
- After fullfilling the prerequisites you can start the test with
$ mvn test
. - Now the test automation should start.