Closed screendriver closed 5 years ago
That seems more like a unix question, and I don't think it's really possible. You might be able to direct the output to both stdout and stderr, and find something that can handle both streams, but that's beyond my unix expertise.
Ok. I thought maybe one of you already has some experience with that and did that already :wink:
Probably the simplest is to pipe the initial results into a file, and then you can cat the file twice.
Do you know if / how it is possible to pipe the TAP output into multiple reporters at once?
For example locally I want to pipe into tap-spec via
but in a CI system I want to use tap-xunit
I know I could do following
But then I have to run
test:unit
andtest:unit:ci
separately and that means the tests runs twice. Is there a way to define both reporters at once?