azer / prova

Test runner based on Tape and Browserify
Other
332 stars 30 forks source link

consider breaking out reporters as seperate modules #17

Open Raynos opened 10 years ago

Raynos commented 10 years ago

It would be nice if I can do node test/foo.js | prova-reporter and it gives me the pretty output prova gives but I'm using tape under the hood.

i.e. if we can have some of the reporting pretties re-implemented as something that parses TAP on standard in then that would be awesome.

azer commented 10 years ago

Is there any module that can transform Tape's default output into a JSON stream preferably same as what tape.createJSONStream does? It'd be an easy feature to implement if something like that exists already

Raynos commented 10 years ago

There is https://github.com/gummesson/tap-json

bclinkinbeard commented 10 years ago

Looks like https://github.com/scottcorgan/tap-spec uses https://www.npmjs.org/package/tap-parser to accomplish a very similar outcome.

Raynos commented 10 years ago

oh yes, i forgot about tap-parser you can use that, it's great :)

azer commented 10 years ago

I also feel the need of separating it to more modules. It needs some restructure, at least one weekend day is needed