quangv / mocha-cakes

(inactive) BDD mocha test framework add-on, stories with Cucumber style Given/When/Then syntax for Node.js
MIT License
126 stars 6 forks source link

Mocha-cakes as documentation tool should have better support for mocha reporters #8

Open ericchaves opened 11 years ago

ericchaves commented 11 years ago

Hi Quang,

We would like to use mocha-cakes to specify our specs and use it as a live documentation tool, but when we try any "markup based" reporter, like doc or markdown, we got a broken output full of formatting chars like "".

I saw a closed ticket about doc reporter, but even when I try the doc reporter I still got those chars printed.

It would be great to have mocha-cakes supporting the markdown reporter, so we could just pipe the output and use as live docs.

Cheers,

Eric.

quangv commented 11 years ago

@ericchaves that's a good idea!

If I remember correctly, the doc reporter got implemented by stripping out characters...

I haven't had much time to work on my open-source projects... if you can figure it out, I'd be more than happy to merge it :)

Tell me more about the broken output from the doc reporter? Might be easy to convert it over to Markdown...