grunt-mocha-debug
Easily run mocha tests on node.js/phantomjs
Last updated 6 years ago by tarruda .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install grunt-mocha-debug 
SYNC missed versions from official npm registry.

grunt-mocha-debug

Runs mocha tests in another process, automatically appending --debug-brk if 'debugger' statements are found

Getting Started

npm install grunt-mocha-debug --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-mocha-debug');

Overview

This task is similar to other mocha grunt tasks, except it will start another process. Itt will check each file for ocurrences of the 'debugger' statements (nothing fancy just regex test so the debugger statement can only have trailing spaces) and if any are found it will start the mocha process using the '--debug-brk' argument.

Current Tags

  • 0.0.10                                ...           latest (6 years ago)

9 Versions

  • 0.0.10                                ...           6 years ago
  • 0.0.9                                ...           6 years ago
  • 0.0.8                                ...           7 years ago
  • 0.0.7                                ...           7 years ago
  • 0.0.6                                ...           7 years ago
  • 0.0.5                                ...           7 years ago
  • 0.0.4                                ...           7 years ago
  • 0.0.3                                ...           7 years ago
  • 0.0.2                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 27
Dependencies (5)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |