New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@wdio/allure-reporter

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

8.12.2
Version published
Weekly downloads
330K
-3.61%
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

FAQs

Package last updated on 10 Jul 2023

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