Skip to content

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

License

Notifications You must be signed in to change notification settings

gkushang/codeceptjs-saucehelper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

### 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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%