Wondering what’s next for npm?Check out our public roadmap! »

codeceptjs-bshelper

3.0.2 • Public • Published

Codacy Badge

npm

codeceptjs-bshelper

CodeceptJS Browserstack plugin, to update Test Names, Test Results after test execution

codeceptjs-bshelper is CodeceptJS plugin which is to complete tests results on Browserstack after execution. The plugin updates test name and test results on Browserstack using the event.test.passed and event.test.failed events.

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

Installation

npm install codeceptjs-bshelper --save-dev

Configuration

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

Example:

{
...
   plugins: {
     BrowserstackHelper: {
      require: 'codeceptjs-bshelper',
      user: 'BROWSERSTACK_USERNAME',
      key: 'BROWSERSTACK_ACCESS_KEY',
      shortUrl: true,
      enabled: true
    }
   }
...
}

To use this plugin, users must provide the Browserstack User, Key & Host as part of the configuration.

Note

At the end, there will be an exposed URL to Browserstack. You can have the option to shorten the URL by passing this to the config

shortUrl: true

By default, it is setting to false due to privacy concerns, cause we use a third party lib to shorten the url. Using it as your own risks. :)

Install

npm i codeceptjs-bshelper

DownloadsWeekly Downloads

479

Version

3.0.2

License

MIT

Unpacked Size

7.92 kB

Total Files

6

Last publish

Collaborators

  • avatar