🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

codeceptjs-saucehelper

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codeceptjs-saucehelper

Sauce Labs Result Publisher for Codecept JS tests

1.4.0
latest
Source
npm
Version published
Weekly downloads
6.2K
28.04%
Maintainers
1
Weekly downloads
 
Created
Source

codeceptjs-saucehelper

CodeceptJS Sauce Labs helpers, to update Test Names, Test Results after execution

codeceptjs-saucehelper is CodeceptJS helper which is to complete tests results on Sauce Labs after execution. The helper allows to update test name and test results on sauce labs using the _passed and _failed hooks accessible in the helper.

NPM package: https://www.npmjs.com/package/codeceptjs-saucehelper

Configuration

This helper should be added in codecept.json/codecept.conf.js

Example:

{
   "helpers": {
     "SauceHelper": {
      "require": "codeceptjs-saucehelper"
    },
   }
}

Your Sauce Labs user and key are now accessed from the WebDriver/Appium configuration to minimise duplication.

SauceLabs Automated Build Dashboard

To create SauceLabs Automated Build dashboard, you'd need to pass the unique build id. You can pass the unique build through process environment variable,


    $ SAUCE_BUILD=<your_build> <test_command>
    

e.g. SAUCE_BUILD='date'

### Development

Code quality and functionality are checked with ESlint (npm run lint) and Jest (npm run test). The tests use nock to check that appropriate requests are made to the Sauce Labs API given the configuration and the outcome of the test.

Keywords

codeceptJS

FAQs

Package last updated on 27 Aug 2019

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