Skip to content
This repository has been archived by the owner on Aug 16, 2020. It is now read-only.

Create Node.js nodeunit wrapper #35

Open
ianb opened this issue Oct 5, 2012 · 0 comments
Open

Create Node.js nodeunit wrapper #35

ianb opened this issue Oct 5, 2012 · 0 comments

Comments

@ianb
Copy link
Owner

ianb commented Oct 5, 2012

It would be nice if you could make nodeunit-compatible tests from doctests. This might look like:

doctest = require('doctest');
exports.testDoctests = doctest.UnitTest('some_file.js');

This might be very simplistic, like just create a function that raises an exception when it fails. But it could also do something like explode tests into a suite.

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

No branches or pull requests

1 participant