Proposal: 3rd party formatters#42
Proposal: 3rd party formatters#42Freyert wants to merge 3 commits intotapjs:masterfrom Freyert:3rd-party
Conversation
This doesn't make sense. Are you using a globally installed |
|
Ah, yes I was using |
|
That's fixed it, thanks @rmg. |
|
After looking at this a bit more, this seems like the easiest insertion to add this functionality. Editing the error message to include the caveat: "Perhaps you were attempting to load a 3rd party reporter; please ensure it exists in the require path," would improve the quality. Tests as well :} |
can it be required error handling if reporter is bad missing error maintained
|
bump |
|
Passing in a reporter function (as supported by this PR) looks useful to me for folks calling this from JavaScript. Another approach (potentially more useful from the |
The
tap-mocha-reporterexposes a more convenient interface for certain use cases than thetap-parser. It would be nice to be able to create 3rd party reporters to use withtap-mocha-reporter.This is just a cheap trick that I've created to work around my issue, but it would be nice to formalize a system for 3rd party formatters.
Issues
NODE_PATH.