Home

Awesome

grunt-contrib-jasmine-example Build Status

Example application using grunt-contrib-jasmine

Getting Started

If you haven't used grunt before, be sure to check out the Getting Started guide.

From the same directory as your project's Gruntfile and package.json, install the project's dependencies

npm install

Once that's done, you can run the jasmine unit tests via

grunt jasmine

package.json allows you to define the script to execute when you run 'npm test'

"scripts": {
  "test": "grunt test"
},

grunt test is registered to run ['jshint', 'jasmine'] to thoroughly test your code.

grunt.registerTask('test', ['jshint', 'jasmine']);

Release History