docs | ||
tasks | ||
test | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.jshintrc | ||
.npmignore | ||
.travis.yml | ||
AUTHORS | ||
CHANGELOG | ||
CONTRIBUTING.md | ||
Gruntfile.js | ||
LICENSE-MIT | ||
package.json | ||
README.md |
grunt-contrib-jasmine
Run jasmine specs headlessly through PhantomJS.
Note that this plugin has not yet been released, and only works with the latest bleeding-edge, in-development version of grunt. See the When will I be able to use in-development feature 'X'? FAQ entry for more information.
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 this plugin with the following command:
npm install grunt-contrib-jasmine --save-dev
Once that's done, add this line to your project's Gruntfile:
grunt.loadNpmTasks('grunt-contrib-jasmine');
If the plugin has been installed correctly, running grunt --help
at the command line should list the newly-installed plugin's task or tasks. In addition, the plugin should be listed in package.json as a devDependency
, which ensures that it will be installed whenever the npm install
command is run.
The jasmine task
Overview
Options
option1
Type: Integer
Default: 8080
descr
option2
Type: String
Default: foo
descr
option3
Type: String
Default: .
descr
option4
Type: Boolean
Default: false
descr
options5
Type: Function
Default:
function() {
}
Usage examples
Basic Use
Release History
- 2012-10-31 - v0.1.0 - Work in progress, not yet officially released.
-- Task submitted by Jarrod Overson.
Generated on Thu Nov 01 2012 22:01:17.