https://github.com/sskorol/mocha-allure2-example
Allure 2 Mocha examples
https://github.com/sskorol/mocha-allure2-example
allure allure-js decorators mocha mocha-allure2 testdeck typesctipt
Last synced: 2 months ago
JSON representation
Allure 2 Mocha examples
- Host: GitHub
- URL: https://github.com/sskorol/mocha-allure2-example
- Owner: sskorol
- License: apache-2.0
- Created: 2018-10-29T23:27:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-24T08:28:01.000Z (10 months ago)
- Last Synced: 2025-04-10T00:44:21.353Z (2 months ago)
- Topics: allure, allure-js, decorators, mocha, mocha-allure2, testdeck, typesctipt
- Language: TypeScript
- Homepage:
- Size: 441 KB
- Stars: 18
- Watchers: 1
- Forks: 7
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Allure 2 Mocha Report Examples
This project demonstrates how to use [allure-js](https://github.com/allure-framework/allure-js) with the official allure-decorators module. Note that it's based on the previous [ts-test-decorators](https://github.com/sskorol/ts-test-decorators) implementation.
## Usage
Dependencies installation and tests execution:
```bash
npm install
npm test
```Test results report generation and opening:
```bash
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.