isaacs/node-tap — Issue #14: Subtests don't Run
Author: ashb
Created: 2011-10-22 14:08:52+00:00
State: open

Best illustrated by an example:

var test = require("tap").test;
test("parent", function (t) {
t.plan(1)
t.test("subtest", function (t) {
t.ok()
t.end()
})
t.end()
})

The output of running this via `node foo.t.js` is:

# parent

1..0
# tests 0

# ok

(This is basically a cut down version of the example from the README.md)