Skip to content

Basic Template for a RSpec Capybara test suite than can test any URLs

Notifications You must be signed in to change notification settings

durrantm/ruby_rspec_selenium_test_public_urls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

basic_app

This is the framework template for a rspec-capybara project.
It can be used to test any publicly available web site.

  • Ruby should be installed.
    I prefer RVM -https://rvm.io/
    \curl -sSL https://get.rvm.io | bash

  • Install bundler to manage your gems (components added to your basic ruby install)
    http://bundler.io/
    gem install bundler

  • Clone this repo
    git clone https://github.com/durrantm/basic_app

  • Use bundler to install the gems:
    cd basic_app
    bundle

  • To run all the tests:

    bundle exec rspec spec

  • To see different examples:

    There are various branches for common examples:

    master # Basic example

    multiple_domains # Running against multiple domains

    using_page_object # Using the Page Object pattern

    weather_with_login # Using a site with authentication

About

Basic Template for a RSpec Capybara test suite than can test any URLs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages