allure-framework / allure-js-commons

Deprecated, use https://github.com/allure-framework/allure-js instead
Other
27 stars 40 forks source link

MarkDown Support #18

Closed arif49 closed 8 years ago

arif49 commented 8 years ago

Any possible way currently to write description in markdown format so eventually it will be generated like the following,

<description type="markdown">
just-boris commented 8 years ago

Well, this is a reasonable request. Will add it.

@baev: we are going to provide markdown descriptions from all Javascript test frameworks. Are you okay with it?

seth2810 commented 8 years ago

I added the ability to pass description type as second parameter of method setDescription. I also added a new entity - Description.

seth2810 commented 8 years ago

@arif49 In 1.2.1 you can use test.setDescription(text, type) to set custom description type.

just-boris commented 8 years ago

yes, the issue had been resolved.

See mocha-example to check out how it works