An open API service indexing awesome lists of open source software.

https://github.com/testingbot/testingbot_pyunit

TestingBot.com package to be used with PyUnit and Selenium
https://github.com/testingbot/testingbot_pyunit

python pyunit testingbot webdriver

Last synced: 3 months ago
JSON representation

TestingBot.com package to be used with PyUnit and Selenium

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/testingbot/testingbot_pyunit.svg?branch=master)](https://travis-ci.org/testingbot/testingbot_pyunit)

## TestingBot - Python & PyUnit

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 PyUnit to run tests across several browsers.

### Environment Setup

1. TestingBot Credentials
* Add your TestingBot Key and Secret as environmental variables. You can find these in the [TestingBot Dashboard](https://testingbot.com/members/).
```
$ export TESTINGBOT_KEY=
$ export TESTINGBOT_SECRET=
```

### Running Tests

* Sample Test:
```
$ python test/test.py
```
You will see the test result in the [TestingBot Dashboard](https://testingbot.com/members/)

### Resources
##### [TestingBot Documentation](https://testingbot.com/support/)

##### [SeleniumHQ Documentation](http://www.seleniumhq.org/docs/)

##### [PyUnit Documentation](https://docs.python.org/3/library/unittest.html)