trivial-search / python-behave-example

An example of Python with Behave for TestingBot.com

Home Page:https://testingbot.com/support/getting-started/behave.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

TestingBot - Behave

TestingBot provides an online grid of browsers and mobile devices to run Automated tests on via Selenium WebDriver. This example demonstrates how to use Python with Behave to run a test in parallel across several browsers.

Environment Setup

  1. Setup

    • Clone the repo
    • Install the dependencies pip install -r requirements.txt
  2. TestingBot Credentials Add your TestingBot Key and Secret as environmental variables. You can find these in the TestingBot Dashboard.

    $ export TB_KEY=<your TestingBot Key>
    $ export TB_SECRET=<your TestingBot Secret>
    

Running Tests

  • To run a single test, run paver run single
  • To run parallel tests, run paver run parallel

You will see the test result in the TestingBot Dashboard

Resources

About

An example of Python with Behave for TestingBot.com

https://testingbot.com/support/getting-started/behave.html


Languages

Language:Python 89.9%Language:Gherkin 10.1%