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/orchromedriver
have been downloaded (Selenium Manager controls this), or they are on your$PATH
Happy Testing / Developing!
The SitePrism Team