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

@smartbear/one-report-publisher

Package Overview
Dependencies
Maintainers
14
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smartbear/one-report-publisher

Publish Test Results to SmartBear OneReport

  • 0.0.14
  • Source
  • npm
  • Socket score

Version published
Maintainers
14
Created
Source

Run Tests

OneReport Publisher

This is a tool that publishes test results to SmartBear OneReport. It is intended to be used in Continuous Integration workflows.

The tool supports the following file formats:

  • JUnit XML
  • Cucumber JSON
  • Cucumber Messages
  • Zip files (containing any of the above)

The tool will also send Git metadata to OneReport:

  • Repository URL
  • Commit SHA
  • Current Branch
  • Current Tag (if available)

The Git metadata is detected from environment variables defined by the CI server. See cucumber/ci-environment for details about supported CI servers.

Command Line

The command-line tool can be launched with the Node.js npx command:

npx @smartbear/one-report-publisher@v0.0.13 --help

Usage: one-report-publisher [options]

Options:
  -o, --organization-id <id>  OneReport organization id
  -p, --password <password>   OneReport password
  -r, --reports <glob>        Glob to the files to publish
  -u, --url <url>             OneReport URL (default: "https://one-report.vercel.app")
  -h, --help                  display help for command

Example:

npx @smartbear/one-report-publisher@0.0.13 --organization-id F5222E06-BA05-4C82-949A-2FE537B6F59F --password ${ONE_REPORT_PASSWORD} --reports "./reports/**/*.{xml,json,ndjson,zip}"

The command-line tool can be used in any CI pipeline that has the npx command available

GitHub Actions

The GitHub Action can be used as follows:

- name: 'Publish to OneReport'
  uses: smartbear/one-report-publisher@v0.0.13
  with:
    organization-id: F5222E06-BA05-4C82-949A-2FE537B6F59F
    password: ${{ secrets.ONE_REPORT_PASSWORD }}
    reports: ./reports/**/*.{xml,json,ndjson,zip}

Keywords

FAQs

Package last updated on 27 Jan 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

  • 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