Skip to content

Added optional callback testReady(test). - #235

Merged
mreinstein merged 1 commit into
caolan:masterfrom
tristanls:test-ready
Dec 26, 2013
Merged

mreinstein merged 1 commit into
caolan:masterfrom
tristanls:test-ready

Conversation

@tristanls

Copy link
Copy Markdown
Contributor

The testReady(test) is called before a test function is run with
the same test object that will be handed to the test function.
This allows for decorating the test object with additional
functionality.

For instance, in the case of
http://github.com/dalnefre/tart-nodeunit it enables adding
test.sponsor(...) and test.dispatch(...) without changing nodeunit.

The testReady(test) is called before a test function is run with
the same test object that will be handed to the test function.
This allows for decorating the test object with additional
functionality.

For instance, in the case of
http://github.com/dalnefre/tart-nodeunit it enables adding
test.sponsor(...) and test.dispatch(...) without changing nodeunit.
mreinstein added a commit that referenced this pull request Dec 26, 2013
Added optional callback testReady(test).
@mreinstein
mreinstein merged commit 92a904b into caolan:master Dec 26, 2013
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

Successfully merging this pull request may close these issues.

2 participants