Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Latest commit

 

History

History
70 lines (54 loc) · 2.85 KB

README.md

File metadata and controls

70 lines (54 loc) · 2.85 KB

Deprecation notice

Do not use this sample. It's a reference on why page objects will burn your house. Gauge recommends not using page objects. Refer https://github.com/getgauge-examples/ruby-selenium and our blog

Gauge example project, in Ruby

Build Status

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.

Concepts covered

Prerequisites

Setting up the System Under Test (SUT)

java -jar activeadmin-demo.war

Executing specs

Set up

This project requires bundler to install dependencies, bundler can be installed by running

gem install bundler

To install dependencies run :

bundle install

All specs

bundle exec gauge run specs

This will also compile all the supporting code implementations.

Copyright

Copyright 2017, ThoughtWorks Inc.