Skip to content

testingbot/php-codeception-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

TestingBot - CodeCeption Example

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

Environment Setup

  1. Global Dependencies

    curl http://getcomposer.org/installer | php
    
  2. Project Dependencies

    • Clone the repository
    • Install all dependencies composer install
  3. 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 composer single
  • To run parallel tests, run composer parallel

You will see the test result in the TestingBot Dashboard

Resources

About

PHP CodeCeption Example to run Selenium tests with TestingBot

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages