qunitjs/node-qunit

Cant recieve summary as json

Closed this issue · 4 comments

The json that is returned on completion of the test suite is extremely limited, I would like to be able to receive the detailed summaries as json instead of of printed to stdio

kof commented

Yes its just general information. For more you can use log.js functions to get everything else.

Could you give an example of how to say, send qunits output to a readable stream? that would be enough for me, I can redirect the stdio for the current process fine, however qunit launches a new process by the looks of things

kof commented

there is no streaming json, after its finisched you can just call log.assertion() or .summary() or test ... just look at log.js

kof commented

Was you able to do it? If yes, please close the issue.