stdout in ci with tap reporter #366

Open
andreineculau opened this Issue Apr 29, 2014 · 9 comments

5 participants

@andreineculau

Is there any way to have stdout and stderr?

I'm running mocha-casperjs and in CI I only see "failed", I have run testem in dev mode to see what casperjs prints to stdout/stderr to get some context

@andreineculau

a temporary workaround is to define the launcher with piping to tee, like mocha --no-color --reporter tap --compilers coffee:coffee-script/register test/api | tee test-report/api.tap 2>&1

@airportyh

Is the stdout/stderr output intermixed with the tap data?

@andreineculau
@airportyh

Sounds like the right thing to do would be to # escape the unexpected output.

@andreineculau
@KingScooty

Just piggy backing this issue. I've come across a TAP reporting issue when using testem and mocha-casperjs.

The tap output just outputs 1 test as passed if all 13 of my tests pass using testem CI.

Testem CI output:
Testem

Standard mocha-casper output:
Mocha-Casper

Is there a way to get the Testem CI reporting all the tests properly?

@andreineculau
@BryanCrotaz

also see #509 to be able to push test output to a file

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