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

Eats non-test console output #65

Open
bitmage opened this issue Oct 2, 2018 · 1 comment
Open

Eats non-test console output #65

bitmage opened this issue Oct 2, 2018 · 1 comment

Comments

@bitmage
Copy link

bitmage commented Oct 2, 2018

Piping into tap-spec will sometimes eat my debug statements, depending on where they appear in the tap output. Other times the output will be there, but all my colored output gets translated to brown (on my terminal).

Is there any way to detect these non-tap output lines and pass them through unchanged? The spec seems to state that this should be normal operating procedure.

As a result of this, I'm currently not using a formatter, and regretting the choice to use tape (as I'm now having to stare at a machine readable output). The concept of tap output is lovely, but I can't do my work without debug statements.

@robwold
Copy link

robwold commented Dec 13, 2018

To add to this, I've been trying it out with testdouble, a mocking library which raises an error if a function isn't called as expected and prints an incredibly useful debugging trace. tap-spec eats this information completely.

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

No branches or pull requests

2 participants