Closed just-boris closed 8 years ago
Is this a new notion? I remember there were labels in Allure. Where will the arguments be shown?
It is already implemented in java for a long time. Now we have a demand to do it in javascript.
If these parameters exist, they will be shown under test case title:
Also you will be able to set an environment entity. It is key-value list under the failure message.
allure.addEnvironment("testHost", "http://example.com/")
Links in the environment are clickable.
The new methods are described here: https://github.com/allure-framework/mocha-allure-reporter/blob/master/README.md#runtime-api
I know, that is kinda weird, but now I don't have any another place to keep it.
You could create a page in allure-common and reference it from the concrete reporters pages. I'd add it to jasmine reporter as well.
Possible api