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

Uncomment events, depend on strongloop/node-tap #2

Closed
wants to merge 20 commits into from

Conversation

sam-github
Copy link
Contributor

In this branch, npm test appears to pass, but it lies. Run
NOPATCH=events npm test, and you will see lots of tests pass,
run with the EE patches, and most of the tests only have a test count of
1, because they are just exiting abruptly with a status of 0 (tap thinks
that's success).

In this branch, npm test appears to pass, but it lies. Run
`NOPATCH=events npm test`, and you will see lots of tests pass,
run with the EE patches, and most of the tests only have a test count of
1, because they are just exiting abruptly with a status of 0 (tap thinks
that's success).
@sam-github
Copy link
Contributor Author

@piscisaureus, I PRed this branch to you so you can work on EE on it :-) feel free to push to it, and even rebase it around if you want. I just wanted the EE-enabled branch off of master while its being developed. Also, you can see I "fixed" the node-tap source, but what I did was not sufficient to get the tests passing (well, really passing).

@bnoordhuis
Copy link
Member

most of the tests only have a test count of 1, because they are just exiting abruptly with a status of 0 (tap thinks that's success).

I'm probably missing context but isn't that a bug in the tests rather than the test runner?

Are the tests calling process.exit()? That's almost always a testing anti-pattern, the event loop should die off naturally.

@piscisaureus piscisaureus deleted the patch-event-emitter branch March 11, 2014 17:15
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.

None yet

3 participants