Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jest-allure2-reporter

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-allure2-reporter

Idiomatic Jest reporter for Allure Framework

  • 2.0.0-beta.27
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3.3K
decreased by-31.12%
Maintainers
1
Weekly downloads
 
Created
Source

Stand With Ukraine

jest-allure2-reporter

Idiomatic Jest reporter for Allure Framework

npm version CI semantic-release: angular Commitizen friendly

Installation

This is an express guide to get you started quickly. Please visit our documentation website for more information.

Your project should have jest installed. The minimum supported version is 27.x.

Run in your project:

npm install --save-dev jest-allure2-reporter@beta

Edit your Jest config, e.g. jest.config.js:

/** @type {import('@jest/types').Config.InitialOptions} */
module.exports = {
   // ...
   reporters: [
     'default',
+    'jest-allure2-reporter',
   ],
   // For the most of the features you'll need the custom environment:
+  testEnvironment: 'jest-allure2-reporter/environment-node',
};

Usage

Run your tests with jest as usual, e.g.:

npm test

and then view the results:

ALLURE_NO_ANALYTICS=1 allure serve

Example screenshot

If you need to generate a static report, e.g., on CI, run instead:

ALLURE_NO_ANALYTICS=1 allure generate

Make sure you have allure CLI installed beforehand. For more information about it, refer to the official Allure docs.

Contributing

See the Contributing guide on the website.

License

Licensed under MIT License.

Keywords

FAQs

Package last updated on 06 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc