This repository has been archived by the owner on Feb 17, 2022. It is now read-only.
Releases: allure-framework/allure-mocha
Releases · allure-framework/allure-mocha
Compatibility with newer Mocha
- All dependencies were updated
- Can be used with any version of mocha (in theory, needs testing)
Mocha is a peer-dependency now
Mocha always should be installed in your project that uses mocha-allure-reporter
, this is how that have been before, but now it is explicit.
Also we have battle tested reporter with both versions Mocha 2 and 3 and can declare compatibility well.
Flexible version of commons
This will make delivery updates from allure-js-commons
module faster
Await promises from steps
Now steps can be asynchronous. Allure now waits until promise will be resolved before finish a step.
See mocha-example for usage example
Support errors in afterEach hooks
Previous version failed in this case. Now you will have this errors in report.
Also you can add afterEach hook, and add attachments from there, for example, screenshots