ember-cli-sauce

    2.2.0 • Public • Published

    ember-cli-sauce Build Status

    Cross browser testing for your ember-cli app using SauceLabs.

    Installation

    • ember install ember-cli-sauce

    Usage

    • Get a SauceLabs account.
    • Make sure Sauce credentials are set in env:
      • SAUCE_USERNAME - your SauceLabs username
      • SAUCE_ACCESS_KEY - your SauceLabs API/Access key.
    • Add browsers using ember sauce --help
    • During test runs an open Sauce Connect tunnel is required. You can create a tunnel using the following command:
    ember sauce:connect

    Use a different port

    Some browsers (e.g. Safari & Edge) don't work with the default testem port and require a different port for now.

    ember test --test-port 7000

    Please vote on https://saucelabs.ideas.aha.io/ideas/SLIDEA-I-284, to have this working out of the box.

    Using on Travis

    • Add SAUCE_USERNAME, SAUCE_ACCESS_KEY and the following script to your .travis.yml
    before_script:
      - ember sauce:connect
     
    after_script:
      - ember sauce:disconnect
    • Happy testing!

    Running Tests

    • ember test
    • ember test --server

    Building

    • ember build

    For more information on using ember-cli, visit http://www.ember-cli.com/.

    Install

    npm i ember-cli-sauce

    DownloadsWeekly Downloads

    178

    Version

    2.2.0

    License

    MIT

    Unpacked Size

    15.6 kB

    Total Files

    14

    Last publish

    Collaborators

    • johanneswuerbach