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

Create proper tests #104

Closed
TooTallNate opened this issue Jun 2, 2014 · 2 comments
Closed

Create proper tests #104

TooTallNate opened this issue Jun 2, 2014 · 2 comments

Comments

@TooTallNate
Copy link
Contributor

We can't really test what happens once we pass the arguments to console.log, but at least we could write tests testing the arguments that would get passed to console.log. That way we can test the debug options and make sure the formatters work, etc.

@dougwilson
Copy link
Contributor

For testing in Node.js environment, you could use child_process.spawn and run a test file and logs and test the stdout from that. I was going to to that with depd, but then I couldn't get coverage information from the spawned file.

@thebigredgeek
Copy link
Contributor

#370

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

No branches or pull requests

3 participants