3.5.1 • Published 10 months ago

testcafe-reporter-saucelabs v3.5.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

testcafe-reporter-saucelabs

This is the Sauce Labs reporter plugin for TestCafe.

Tip: You can also use this reporter together with the Sauce Labs Browser Provider for running tests against remote browsers from Sauce Labs!

Installation

npm install testcafe-reporter-saucelabs

Configuration

Sauce Labs Credentials

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

Alternatively, you can use the username and accessKey fields in the reporter configuration.

TestCafe Configuration

To configure the reporter, extend your TestCafe configuration file (e.g. .testcaferc.js):

module.exports = {
  sauce: {
    build: 'build123',
    tags: ['app101'],
    region: 'us-west-1',
  },
};

Usage

When you run tests from the command line, specify the reporter name using the --reporter option:

testcafe chrome 'path/to/test/file.js' --reporter saucelabs

When using the API, pass the reporter name to the reporter() method:

testCafe
  .createRunner()
  .src('path/to/test/file.js')
  .browsers('chrome')
  .reporter('saucelabs') // <-
  .run();
3.5.1

10 months ago

3.5.0

10 months ago

3.4.1

11 months ago

3.4.0

11 months ago

3.3.0

1 year ago

3.2.0

1 year ago

3.1.0

2 years ago

3.0.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.5.0

2 years ago

0.4.0

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.1.0

4 years ago

0.2.1

3 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.0.1

4 years ago