Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Grunt task for running Jasmine specs
JavaScript
tag: v0.2.0

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
node_modules
tasks
.npmignore
LICENSE-MIT
README.md
grunt.js
package.json

README.md

grunt-jasmine-task

Grunt task for running jasmine specs.

Status: stable

Getting Started

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-jasmine-task

(ie. the plugin is installed locally. If you want to install it globally - which is not recommended - check out the official grunt documentation)

Then add this line to your project's grunt.js gruntfile at the bottom:

grunt.loadNpmTasks('grunt-jasmine-task');

Also add this to the grunt.initConfig object in the same file:

jasmine: {
  index: ['specs/index.html']
},

Obviously you need to replace specs/index.html with the location of your jasmine spec running html file. Now you can run the jasmine task with:

grunt jasmine

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

More info on creating grunt plugins

Release History

  • v0.1.1: stable
  • v0.1.0: broken

License

Copyright (c) 2012 Camille Reynders
Licensed under the MIT license.

Something went wrong with that request. Please try again.