- codeception
- php
- php-mbstring
- docker => 1.11.2
- docker-compose => 1.7.1
- selenium server
- chrome linux64 webdriver
- Starting the webserver
php -S localhost:8090
- Run acceptance test
codecept run acceptance
- Start selenium hub and register clients
- The docker-compose is taken from https://github.com/elgalu/docker-selenium/
export SELENIUM_HUB_PORT=4444 NODES=3 VNC_FROM_PORT=40650 VNC_TO_PORT=40700 VIDEO=false
docker-compose -p grid up -d
docker-compose -p grid scale chrome=${NODES} firefox=${NODES}
- Running parralel http://codeception.com/docs/12-ParallelExecution
- Functional tests
- Unit tests