Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Latest commit

 

History

History
30 lines (22 loc) · 918 Bytes

HACKING.md

File metadata and controls

30 lines (22 loc) · 918 Bytes

SitePrism dev setup

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

$ git clone [email protected]:your_user_name/site_prism.git
$ cd site_prism
$ bundle

Hacking commands you may need are ...

$ bundle exec rake cukes # Run feature tests on firefox (Default browser)
$ bundle exec rake cukes browser=chrome # Run feature tests on chrome
$ bundle exec rake specs # Run all rspec tests
$ bundle exec rake # Runs feature tests on firefox, then specs, then runs rubocop
  • Write your code. Make sure to add unit / feature tests AND documentation (If appropriate)
  • Run bundle exec rake and ensure it passes
  • Submit a pull request
  • If you encounter issues regarding not being able to perform browser tests check whether geckodriver and/or chromedriver have been downloaded (webdrivers controls this)

Happy Testing / Developing!

Cheers,

The SitePrism Team