gruntjs / grunt-contrib-nodeunit

Run Nodeunit unit tests.
http://gruntjs.com/
MIT License
70 stars 27 forks source link

On crash exit value is still 0 #40

Open perry-mitchell opened 9 years ago

perry-mitchell commented 9 years ago

When grunt-contrib-nodeunit crashes, which is does often without any error message, the exit value is still 0.

The exit value for any failure should be > 0.

By crash I simply mean a fault in the code which nodeunit/grunt was somehow unable to handle. For example, not calling done() on a setup or tearDown method.

Laro88 commented 8 years ago

This still seems to be an issue. I have a fail silent scenario happening.