JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2657
  • Score
    100M100P100Q125498F

Grunt task for running jasmine-node

Package Exports

  • grunt-jasmine-node

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (grunt-jasmine-node) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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: {
    specNameMatcher: "./spec", // load only specs containing specNameMatcher
    projectRoot: ".",
    requirejs: false,
    forceExit: true,
    jUnit: {
      report: false,
      savePath : "./build/reports/jasmine/",
      useDotNotation: true,
      consolidate: true
    }
  }
});

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.