No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
package.json

README.md

#Unit testing

install nodejs on your machine
install karma on your machine globally

##Unit testing with a browser

git checkout browser
open test.html

##Unit testing with multiple browser (karma)

git checkout karma
npm install
karma start

##Unit testing with node

git checkout node
npm install
mocha

##Unit testing with karma and mocha (same tests)

git checkout both
npm install

###Karma

karma start

###Mocha

mocha

##Unit testing with grunt

git checkout grunt

###Mocha

grunt mochaTest

###Karma

grunt karma

###Watch (auto run tests and jshint on file changes)

grunt watch