Skip to content

Latest commit

 

History

4 提交

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

仓库 files navigation

Build Status

TestingBot - Python & PyTest

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 PyTest to run tests 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 仪表盘.
    $ export TESTINGBOT_KEY=<your TestingBot Key>
    $ export TESTINGBOT_SECRET=<your TestingBot Secret>
    

Running Tests

  • Sample Test:
    $ pytest test_sample.py
    

You will see the test result in the TestingBot 仪表盘

Resources

关于

PyTest Selenium example for TestingBot.com

Topics

Resources

Stars

1 star

关注者

0 watching

复刻s

发布

Used by

贡献者

Languages