Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 2.21 KB

README.md

File metadata and controls

54 lines (40 loc) · 2.21 KB

Classic Plugin

Allure Report logo


Overview

The plugin generates a classic Allure Report.

Install

Use your favorite package manager to install the package:

npm add @allurereport/plugin-classic
yarn add @allurereport/plugin-classic
pnpm add @allurereport/plugin-classic

Then, add the plugin to the Allure configuration file:

import { defineConfig } from "allure";

export default defineConfig({
  name: "Allure Report",
  output: "./allure-report",
  historyPath: "./history.jsonl",
  plugins: {
+    classic: {
+      options: {
+        reportName: "HelloWorld",
+      },
+    },
  },
});

Options

The plugin accepts the following options:

Option Description Type Default
reportName Name of the report string Allure Report
singleFile Writes the report as a single index.html file boolean false
reportLanguage Default language of the report string OS language