Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.15 KB

README.md

File metadata and controls

35 lines (26 loc) · 1.15 KB

TestingBot - Java, TestNG & Cucumber

TestingBot provides an online grid of browsers and mobile devices to run Automated tests on via Selenium WebDriver. This example demonstrates how to use Java with TestNG and Cucumber to run tests across several browsers.

Environment Setup

  1. Global Dependencies

    $ brew install maven
    
  2. TestingBot Credentials

    • Add your TestingBot Key and Secret as environmental variables. You can find these in the TestingBot Dashboard.
    $ export TESTINGBOT_KEY=<your TestingBot Key>
    $ export TESTINGBOT_SECRET=<your TestingBot Secret>
    

Running Tests

  • To start an example test, please run this command:
    $ mvn test
    

You will see the test result in the TestingBot Dashboard

Resources