Skip to content

Latest commit

 

History

History
51 lines (41 loc) · 833 Bytes

CONTRIBUTING.md

File metadata and controls

51 lines (41 loc) · 833 Bytes

Contributing

  1. Fork it!

  2. Create your feature branch:

$ git checkout -b my-new-feature
  1. Install all dependencies:
$ npm install
  1. Create the references to the regression test:
$ cd node_modules/backstopjs
$ npm run reference
$ cd ../..
  1. Create your feature:

    magic

  2. Run lint process:

$ grunt lint
  1. Run the regression test:
$ cd node_modules/backstopjs
$ npm run test
$ cd ../..
  1. Write your visual regression test (Not mandatory)

  2. Commit your changes:

$ git commit -m 'Add some feature'
  1. Push to the branch:
$ git push origin my-new-feature
  1. Submit a pull request

PS: After your pull request is merged, you can safely delete your branch.