Report Failures for each test function
Opened this issue · 1 comments
stevemolitor commented
This is a feature request: Report the first assertion failure in each test function, for each test function in a file. For example:
// foo.test.js
var assert = require('assert');
exports.test1 = function () {
assert.fail('test1 failure');
};
exports.test2 = function () {
assert.fail('test2 failure');
};
If I run this with 'expresso foo.test.js', I only get one assertion failure message -
foo.test.js test1: AssertionError: "undefined" "test1 failure".
I would like to also see the second test failure, something like this:
foo.test.js
test1: AssertionError: "undefined" "test1 failure".
test2: AssertionError: "undefined" "test2 failure".
ericlathrop commented
Looks like someone has a fix for this in issue #156.