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

jest-allure

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-allure

Allure Reports for jest

  • 0.0.2
  • npm
  • Socket score

Version published
Weekly downloads
25K
decreased by-10.7%
Maintainers
1
Weekly downloads
 
Created
Source

Jest-Allure reporting plugin

Add more power to your test using Jest-Allure.

Easily generate nice reports at the end of the execution.

Allure Framework is a flexible lightweight multi-language test report tool that not only shows a very concise representation of what have been tested in a neat web report form, but allows everyone participating in the development process to extract maximum of useful information from everyday execution of tests.

Allure Report

Installation

yarn add -D jest-allure

or

npm install --save-dev jest-allure
add reporter to jest.config.js
reporters: ["default", "jest-allure"],

Run your tests and enjoy 🥤🚀


How to get a report

To see a report in browser, run in console

allure serve

If you want to generate html version, run in console

allure generate
What's next
  • Generate report from Jest results
  • Add steps support
  • Add labels support
  • Add attachments support

Warning

jest-allure reporter dynamically configure "setupTestFrameworkScriptFile" option in Jest configuration. If you have your own setupTestFrameworkScriptFile file, you need to manually register allure reporter.

import { registerAllureReporter } from "jest-allure/dist/setup";
...
registerAllureReporter();

Contributors


Denis Artyuhovich

Dmitry Bogomya

FAQs

Package last updated on 28 May 2018

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