This project serves as an example for writing Automation using Gauge
This project uses
- Capypage, that gives you neat helpers to define your Page Objects.
 - Capybara, as a dependency of Capypage
 - Test::Unit for assertions
 - Snap CI has been setup to run the Gauge Specs from this project.
 
- Use Webdriver as base of implementation
 - Concepts
 - Specification, Scenario & Step usage
 - Table driven execution
 - External datasource (special param)
 
- Java 1.7 or above. [Required to bring up the SUT]
 - Install Gauge
- Homebrew on Mac OS X :
brew install gauge - Download Installer
 
 - Homebrew on Mac OS X :
 - Install Gauge-Ruby plugin by running
gauge --install ruby - Chromedriver, for Capybara to interact with Chrome. Make sure that the Chrome driver executable is available in your PATH.
 
- 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/
 
This project requires bundler to install dependencies, bundler can be installed by running
gem install bundler
To install dependencies run :
bundle install
bundle exec gauge specs
This will also compile all the supporting code implementations.
Copyright 2016, ThoughtWorks Inc.