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

Buffered subtests #305

Closed
isaacs opened this issue Sep 6, 2016 · 1 comment
Closed

Buffered subtests #305

isaacs opened this issue Sep 6, 2016 · 1 comment

Comments

@isaacs
Copy link
Member

isaacs commented Sep 6, 2016

t.test('test name', { buffer: true }, function (t) {
  t.plan(2)
  t.pass('this is fine')
  t.equal(1, 1)
})

This buffers the output until the test finishes, and produces output like:

ok 1 - test name {
    1..2
    ok 1 - this is fine
    ok 2 - should be equal
}
@isaacs isaacs mentioned this issue Sep 6, 2016
isaacs added a commit that referenced this issue Sep 6, 2016
@isaacs isaacs mentioned this issue Sep 6, 2016
7 tasks
isaacs added a commit that referenced this issue Sep 6, 2016
isaacs added a commit that referenced this issue Sep 7, 2016
isaacs added a commit that referenced this issue Sep 10, 2016
isaacs added a commit that referenced this issue Sep 10, 2016
isaacs added a commit that referenced this issue Sep 12, 2016
isaacs added a commit that referenced this issue Dec 30, 2016
@isaacs
Copy link
Member Author

isaacs commented Jan 11, 2017

Landed in v9

@isaacs isaacs closed this as completed Jan 11, 2017
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

1 participant