Skip to content

Work in progress - Demonstration of Capybara and RSpec feature tests of the Climate Mind beta contributor page at https://scientistsspeakup.org/climate-mind/

Notifications You must be signed in to change notification settings

elledash/climatemind-contributor-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automated tests for the Cimate Mind beta contributor page

This is a demo Ruby project showing the use of RSpec (a Ruby test framework) and Capybara (a Selenium Webdriver wrapper) to test a submission form page at https://scientistsspeakup.org/climate-mind/

You may find the tests run slowly due to the relatively slow speed of the site.

I will use the FactoryBot gem to create factories and the Faker gem to generate random data.

To run this project you will need

  • Ruby 2.5.3 or greater
  • bundler

To install bundler:
gem install bundler

To install the gems:
bundle install

To run the tests:
bundle exec rspec

About

Work in progress - Demonstration of Capybara and RSpec feature tests of the Climate Mind beta contributor page at https://scientistsspeakup.org/climate-mind/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages