Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 877 Bytes

CONTRIBUTING.md

File metadata and controls

28 lines (21 loc) · 877 Bytes

SitePrism local setup

To successfully get SitePrism running locally, you need to just fork the repo

$ git clone git@github.com:your_user_name/site_prism.git
$ cd site_prism
$ bundle

Commands you may need whilst contributing to SitePrism are ...

$ bundle exec cucumber # Run feature tests on Chrome (Default browser)
$ bundle exec cucumber BROWSER=firefox # Run feature tests on Firefox
$ bundle exec rspec # Run all rspec tests
$ bundle exec rubocop # Run RuboCop
  • Write your code. Make sure to add tests AND documentation (if appropriate)
  • Submit a pull request, ensuring it passes CI
  • If you encounter issues regarding not being able to perform browser tests check whether geckodriver and/or chromedriver have been downloaded (Selenium Manager controls this), or they are on your $PATH

Happy Testing / Developing!

The SitePrism Team