mocha-allure2-example icon indicating copy to clipboard operation
mocha-allure2-example copied to clipboard

Allure 2 Mocha examples

Allure 2 Mocha Report Examples

This project demonstrates how to use allure-js with the official allure-decorators module. Note that it's based on the previous ts-test-decorators implementation.

Usage

Dependencies installation and tests execution:

npm install
npm test

Test results report generation and opening:

npm run allure-report

Note that .env was pushed to show how to deal with TMS_URL / PMS_URL environment variables required to be set while working with @issue / @testCaseId decorators.

image