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

@saucelabs/cucumber-reporter

Package Overview
Dependencies
Maintainers
28
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@saucelabs/cucumber-reporter

Reports your tests to Sauce Labs

  • 0.2.0
  • npm
  • Socket score

Version published
Maintainers
28
Created
Source

sauce-cucumber-reporter

This Cucumber plugins reports each project to your Sauce Labs account.

Installation

Install from npm:

npm install @saucelabs/cucumber-reporter

Sauce Labs credentials

SAUCE_USERNAME and SAUCE_ACCESS_KEY environment variables needs to be set to allow the plugin to report your results to Sauce Labs. Your Sauce Labs Username and Access Key are available from your dashboard.

Usage

Add to Cucumber formatter

npx cucumber test  --format=@saucelabs/cucumber-reporter

You can also configure using cucumber.json. To achieve that, add '@saucelabs/cucumber-reporter' to the reporter section of your configuration:

{
  "default": {
    "requireModule": [
      "ts-node/register"
    ],
    "format": "@saucelabs/cucumber-reporter"
  }
}

Plugin configuration

@saucelabs/cucumber-reporter is configurable through your cucumber config file.

Example cucumber.json

{
  "default": {
    "requireModule": [
      "ts-node/register"
    ],
    "format": "@saucelabs/cucumber-reporter",
    "formatOptions": {
      "suiteName": "my cucumber test",
      "build": "mybuild",
      "tags": ["demo", "e2e", "cucumber"],
      "region": "eu-central-1"
    }
  }
}
NameDescriptionKind
browserNameSets browserNameString
buildSets a build ID. (Default: '')String
tagsTags to add to the uploaded Sauce job. (Default: [])String[]
regionSets the region. (Default: us-west-1)us-west-1 | eu-central-1
uploadWhether to upload report and assets to Sauce (Default: true)boolean
outputFileThe local path to write the sauce test report (Default: sauce-test-report.json).String
suiteNameSets the suite name (Default: Unnamed job ${job_id}).String

FAQs

Package last updated on 22 Sep 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