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

@wdio/allure-reporter

Package Overview
Dependencies
Maintainers
3
Versions
311
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wdio/allure-reporter

A WebdriverIO reporter plugin to create Allure Test Reports

  • 9.0.0-alpha.114
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
90K
decreased by-66.37%
Maintainers
3
Weekly downloads
 
Created

What is @wdio/allure-reporter?

@wdio/allure-reporter is a WebdriverIO plugin that allows you to generate Allure Test Reports. Allure is a flexible, lightweight multi-language test report tool that not only shows a very concise representation of what has been tested in a neat web report form but also allows everyone participating in the development process to extract maximum of useful information from everyday execution of tests.

What are @wdio/allure-reporter's main functionalities?

Adding Labels

This feature allows you to add custom labels to your tests. Labels can be used to categorize and filter tests in the Allure report.

const { addLabel } = require('@wdio/allure-reporter').default;

addLabel('feature', 'Login');

Adding Steps

This feature allows you to add steps to your tests. Steps provide a detailed breakdown of the actions performed during the test execution.

const { addStep } = require('@wdio/allure-reporter').default;

addStep('Open login page');

Adding Attachments

This feature allows you to add attachments to your tests. Attachments can include screenshots, logs, or any other relevant files.

const { addAttachment } = require('@wdio/allure-reporter').default;

addAttachment('Screenshot', Buffer.from('...'), 'image/png');

Adding Test Case ID

This feature allows you to link your tests to external test case management systems by adding a test case ID.

const { addTestId } = require('@wdio/allure-reporter').default;

addTestId('TC-1234');

Adding Severity

This feature allows you to specify the severity of a test case, which can be useful for prioritizing test results.

const { addSeverity } = require('@wdio/allure-reporter').default;

addSeverity('critical');

Other packages similar to @wdio/allure-reporter

Keywords

FAQs

Package last updated on 25 Apr 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