Skip to content
This repository has been archived by the owner on Dec 30, 2019. It is now read-only.

sauce-archives/JS-Grunt-Mocha-Parallel-WebdriverJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE:
This project is not maintained by Sauce Labs anymore

JS-Grunt-Mocha-Parallel-WebdriverJS

This code is provided on an "AS-IS” basis without warranty of any kind, either express or implied, including without limitation any implied warranties of condition, uninterrupted use, merchantability, fitness for a particular purpose, or non-infringement. Your tests and testing environments may require you to modify this framework. Issues regarding this framework should be submitted through GitHub. For questions regarding Sauce Labs integration, please see the Sauce Labs documentation at https://wiki.saucelabs.com/. This framework is not maintained by Sauce Labs Support.

Environment Setup

  1. Global Dependencies

    $ brew install node
    
    • Install Grunt Globally
    $ npm install -g grunt-cli
    
  2. Sauce Credentials

    • In the terminal export your Sauce Labs Credentials as environmental variables:
    $ export SAUCE_USERNAME=<your Sauce Labs username>
    $ export SAUCE_ACCESS_KEY=<your Sauce Labs access key>
    
    • Set Build ID (Optional):
    $ export BUILD_TAG=sauce_automated_build_name
    
  3. Project Dependencies

    • Install Node modules
    $ npm install
    

Running Tests

  • Tests in Parallel:
     $ npm test
    

Sauce Labs Dashboard

Advice/Troubleshooting

  1. There may be additional latency when using a remote webdriver to run tests on Sauce Labs. Timeouts or Waits may need to be increased.

Resources

  • A great resource to search for issues not explicitly covered by documentation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published