gruntjs/grunt — pull request #592 by gregrperkins (2012-12-24 04:04:25+00:00)
Title: Allow tasks to ignore AssertionError for tests

Mocha relies on ``uncaughtException`` to determine test failures (https://github.com/visionmedia/mocha/blob/master/lib/runner.js#L449-473). Since grunt bails completely on uncaught exceptions, mocha test runners can never continue reporting after a failure. This fixes that by allowing a task option ``ignoreAssertions`` which, when set, simply continues on uncaught exceptions for that task.

Associated tests included.

As docs have now moved to the wiki, how should one best associate doc changes with pull requests?