Skip to content

fiznool/grunt-jasmine-node

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 Gruntfile.js grunt file:

grunt.initConfig({
  jasmine_node: {
    options: {
      forceExit: true,
      match: '.',
      matchall: false,
      extensions: 'js',
      specNameMatcher: 'spec',
      jUnit: {
        report: true,
        savePath : "./build/reports/jasmine/",
        useDotNotation: true,
        consolidate: true
      }
    },
    all: ['spec/']
  }
});

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

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

Options

default options are:

{
  match: '.',
  matchall: false,
  specNameMatcher: 'spec',
  helperNameMatcher: 'helpers',
  extensions: 'js',
  showColors: true,
  includeStackTrace: true,
  useHelpers: false,
  teamcity: false,
  coffee: false,
  jUnit: {
    report: false,
    savePath : "./reports/",
    useDotNotation: true,
    consolidate: true
  }
}

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.

About

Grunt task for running jasmine-node

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 75.6%
  • CoffeeScript 24.4%