包详细信息

grunt-jasmine-node

Grunt task for running jasmine-node

gruntplugin, grunt, plugins, builds

自述文件

grunt-jasmine-node

A grunt.js task to run your jasmine feature suite using jasmine-node.

Getting Started

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

Then add this line to your project's grunt.js grunt file:

grunt.initConfig({
  jasmine_node: {
    options: {
      forceExit: true,
      match: '.',
      matchall: false,
      extensions: 'js',
      specNameMatcher: 'spec'
    },
    all: ['spec/']
  }
});

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

grunt.registerTask('default', 'jasmine_node');

Bugs

Help us squash them by submitting an issue that describes how you encountered it; please be as specific as possible including operating system, node, grunt, and grunt-jasmine-node versions.

Release History

see GitHub Repository.

License

Copyright (c) 2012 "s9tpepper" Omar Gonzalez & contributors. Licensed under the MIT license.

更新日志

0.3.1

  • Merged PR #62 to fix junitreport hard-coded options

0.2.1

  • multi-task configuration support added
  • coffeescript support fixed
  • fixed issue with projectRoot defaulting to entire project when it was not specified in the config, the projectRoot will now default to being empty and not adding the entire project folder if it is not specified in the task configuration
  • added growl option to configuration
  • added fix so the task fails if Jasmine tests fail