nodejs required by all the development tools.
npm for managing server side, development, dependencies
Bower for managing client side dependencies
npm install -g bower
Grunt for managing various "tasks"
npm install -g grunt-cli
Buster for running unit tests
npm install -g buster
-
Clone this repo
-
Run
npm install
-
Contribute
Specs are written using rspec style "expectations" with BusterJs as the testing framework, toolkit & library.
Here's a breakdown of the test files:
test/buster.js
is the BusterJs configuration file
test/spec/*
are all the spec files.
test/coverage/
is automatically generated when unit tests are run and contains all test coverage information. test/coverage/lcov-report/index.html
provides an html summary of the results.
Travis CI will run all tests on each push to github.
Run jshint + buster tests:
> grunt test
Run jshint only:
> grunt jshint
Run buster tests only:
> grunt buster
The coverage report will be sent to coveralls.io when the tests are run on Travis. Test coverage should go up, not down.
Changes should follow existing patterns and pass jshint.