grunt-jasmine-node-new
Grunt task for running jasmine-node
Last updated 6 years ago by lennym .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install grunt-jasmine-node-new 
SYNC missed versions from official npm registry.

grunt-jasmine-node

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

Note

Forked from (unmaintained) https://github.com/jasmine-contrib/grunt-jasmine-node by @s9tpepper to include https://github.com/jasmine-contrib/grunt-jasmine-node/pull/46

If that repo is actively maintained again then I will shut this one down.

Getting Started

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

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-new');

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.

Current Tags

  • 0.3.2                                ...           latest (6 years ago)

3 Versions

  • 0.3.2                                ...           6 years ago
  • 0.3.1                                ...           6 years ago
  • 0.3.0                                ...           6 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |