This project serves as an example for writing Automation using Gauge
This project uses
- Selenium
- 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)
- Python 3
- Java 1.7. [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-Python plugin by running
gauge --install python
[pip / pip3] install getgauge
- Google Chrome
- 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 pip to install dependencies. To install dependencies run :
pip install -r requirements.txt
Run the following command to install chromedriver, if it fails then download it from here and add it to the PATH
variable.
[pip / pip3] install chromedriver_installer
gauge specs
This will also compile all the supporting code implementations.