Socket
Book a DemoInstallSign in
Socket

@heathmont/allure-service-client

Package Overview
Dependencies
Maintainers
98
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@heathmont/allure-service-client

This is a 2 classes package that allows you to easily connect to an allure server, it was designed and tested with the [allure-service-docker](https://github.com/fescobar/allure-docker-service)

1.0.0
latest
Source
npmnpm
Version published
Maintainers
98
Created
Source

Allure Service Client

This is a 2 classes package that allows you to easily connect to an allure server, it was designed and tested with the allure-service-docker

Installation

- npm install allure-service-client

Usage

Package contains only one public method reportToAllure(options) where the options are

  • project: Name of the allure server project where you are pushing the results
  • resultsFolder: Path to the folder where the testsresults are stored after execution
  • cleanupFilesAfterUpload: Setting this true will delete all the test results in the folder after uploading them
  • host: url to your allure docker service
  • security: optional parameter if your service has security, do not pass it if your allure instance do not have security
const {reportToAllure} = require("allure-service-client");

let resultsDir = resolve(__dirname, './allure-results');
let options = {
    project: 'postman-poc',
    resultsFolder: resultsDir,
    cleanupFilesAfterUpload: false,
    host: 'http://localhost:5050/allure-docker-service',
    security: {
        username: 'username',
        password: 'password'
    }
}
await reportToAllure(options);

FAQs

Package last updated on 07 Apr 2022

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.