How allure-framework/allure-js works
This monorepo provides Allure reporting integrations for JavaScript test frameworks and API tools, plus a shared runtime and reporter SDK. The principal workflow is a test run through its framework-specific integration, into shared result-writing facilities, producing allure-results for an Allure report generator. The README documents the common output and capabilities; sampled source confirms several reporter/runtime implementations. Links between unsampled integrations and the shared layer reflect README-level documentation, not inspected call sites.
Main entry points: facade.ts Runtime API · ReporterRuntime.ts Reporter SDK · src AVA · wrappers.ts Bun
Components 22
Test integrations
- AVA
packages/allure-ava/src - Bun
packages/allure-bun/src/wrappers.ts - CodeceptJS
packages/allure-codeceptjs/src/reporter.ts - CucumberJS
packages/allure-cucumberjs/src/reporter.ts - Cypress
packages/allure-cypress/src/browser/runtime.ts - Jasmine
packages/allure-jasmine/src/index.ts - Jest
packages/allure-jest/src/environmentFactory.ts - Mocha
packages/allure-mocha/src/AllureMochaReporter.ts - Node test
packages/allure-node-test/src/reporter.ts - Playwright
packages/allure-playwright/src/index.ts - TestCafe
packages/testcafe-reporter-allure/src/reporter.ts - Vitest
packages/allure-vitest/src/runtime.ts
API integrations
Shared SDK
- Runtime API
packages/allure-js-commons/src/facade.ts - Reporter SDK
packages/allure-js-commons/src/sdk/reporter/ReporterRuntime.ts - Result writer
packages/allure-js-commons/src/sdk/reporter/writer/FileSystemWriter.ts
Results and reporting
- allure-results
- Allure generator
Other components
- Test author
Connections 36
- Test author → AVA: runs tests
README.md - Test author → Bun: runs tests
README.md - Test author → CodeceptJS: runs tests
README.md - Test author → CucumberJS: runs tests
README.md - Test author → Cypress: runs tests
README.md - Test author → Jasmine: runs tests
README.md - Test author → Jest: runs tests
README.md - Test author → Mocha: runs tests
README.md - Test author → Node test: runs tests
README.md - Test author → Playwright: runs tests
README.md - Test author → TestCafe: runs tests
README.md - Test author → Vitest: runs tests
README.md - Test author → Axios: uses client
README.md - Test author → Fetch: uses client
README.md - Test author → Newman: runs collection
README.md - Test author → Chai: uses assertions
README.md - AVA → Runtime API: uses shared API
README.md - Bun → Runtime API: uses shared API
packages/allure-bun/src/wrappers.ts - CodeceptJS → Runtime API: uses shared API
README.md - CucumberJS → Reporter SDK: records results
packages/allure-cucumberjs/src/reporter.ts - Cypress → Runtime API: uses shared API
README.md - Jasmine → Reporter SDK: records results
packages/allure-jasmine/src/index.ts - Jest → Runtime API: uses shared API
README.md - Mocha → Reporter SDK: records results
packages/allure-mocha/src/AllureMochaReporter.ts - Node test → Reporter SDK: records results
packages/allure-node-test/src/reporter.ts - Playwright → Runtime API: uses shared API
README.md - TestCafe → Reporter SDK: records results
packages/testcafe-reporter-allure/src/reporter.ts - Vitest → Runtime API: uses shared API
README.md - Axios → Runtime API: uses shared API
README.md - Fetch → Runtime API: uses shared API
README.md - Newman → Reporter SDK: records results
packages/newman-reporter-allure/src/index.ts - Chai → Runtime API: uses shared API
README.md - Runtime API → Reporter SDK: feeds reporting
- Reporter SDK → Result writer: resolves writer
packages/allure-js-commons/src/sdk/reporter/ReporterRuntime.ts - Result writer → allure-results: writes files
README.md - allure-results → Allure generator: generates report
README.md