-
Fork it!
-
Create your feature branch:
$ git checkout -b my-new-feature
- Install all dependencies:
$ npm install
- Create the references to the regression test:
$ cd node_modules/backstopjs
$ npm run reference
$ cd ../..
$ grunt lint
- Run the regression test:
$ cd node_modules/backstopjs
$ npm run test
$ cd ../..
-
Write your visual regression test (Not mandatory)
-
Commit your changes:
$ git commit -m 'Add some feature'
- Push to the branch:
$ git push origin my-new-feature
- Submit a pull request
PS: After your pull request is merged, you can safely delete your branch.