Jest test environment (v1.1.1, last updated June 2021) that integrates Allure reporting with Jest Circus test runner. Generates Allure result files for rich test reports. Key differentiator: enables Allure annotations via JSDoc pragmas directly in test files. Requires Allure CLI to serve reports. Ships TypeScript types. Maintained by community, low release cadence. Alternative to allure-jest.
npm install jest-circus-allure-environmentNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures Jest with Allure environment, sets up type augmentation, uses JSDoc pragma in test.
Rename 'categoryDefinitions' to 'categories' in jest.config.js environmentOptions.
No action needed; just leave 'testPath' if you want per-test results.
Set testRunner: 'jest-circus/runner' in jest.config.js.
Install Allure CLI and run 'allure serve ./allure-results'.
Place /** @tag foo */ inside the callback function of test() or describe().
Run 'npm install --save-dev jest-circus-allure-environment' and ensure testEnvironment string is correct.
Use 'testEnvironment: "jest-circus-allure-environment"' in config, do not import directly.
Ensure testEnvironment and testRunner are set in jest.config.js as shown in quickstart.
Install Allure CLI (Java): see https://docs.qameta.io/allure-report/#_installing_a_commandline
No dependency data recorded yet.