Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.17 KB

README.md

File metadata and controls

40 lines (31 loc) · 1.17 KB

TestingBot - JestJS Example

TestingBot offers an online grid of browsers and mobile devices for running automated tests using Jest. This example repository demonstrates how to use Jest to execute Selenium WebDriver tests in parallel across multiple browsers on TestingBot.

Environment Setup

  1. Global Dependencies
    $ brew install node
    
  2. TestingBot Credentials
    • In the terminal export your TestingBot Credentials as environmental variables:
    $ export TESTINGBOT_KEY=<your TestingBot Key>
    $ export TESTINGBOT_SECRET=<your TestingBot Secret>
    
  3. Project Dependencies
    • Install Node modules
    $ npm install
    

Running Tests

  • Run a Jest test:
    $ npm test
    

You will see the test result in the TestingBot Dashboard

Resources