Socket
Socket
Sign inDemoInstall

@heathmont/allure-service-client

Package Overview
Dependencies
2
Maintainers
98
Versions
11
Alerts
File Explorer

Advanced tools

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)


Version published
Weekly downloads
7
increased by250%
Maintainers
98
Created
Weekly downloads
 

Readme

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

Last updated on 07 Apr 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc