Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report Failures for each test function #142

Open
stevemolitor opened this issue Oct 20, 2011 · 1 comment
Open

Report Failures for each test function #142

stevemolitor opened this issue Oct 20, 2011 · 1 comment

Comments

@stevemolitor
Copy link

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
Copy link

Looks like someone has a fix for this in issue #156.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants