Skip to content

getgauge-examples/gauge-example-ruby

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

About

An example project, illustrating test automation using Gauge, with ruby support.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published