##Parallel testing with Behat + Gearman + Docker
-
Move
dockman
somewhere on yourPATH
-
Copy the following files to your project's root directory:
-
Dockerfile
-
.dockman.yml
-
behat-client.yml.tpl
-
behat-worker.yml.tpl
-
dockman-bahat.sh
-
-
Run
docker build -t a-data-container-name .
to create your data container -
Update
.dockman.yml
with your image names includinga-data-container-name
-
Update
behat-client.yml.tpl
+behat-worker.yml.tpl
according to your behat config -
Add any custom runtime commands you need to boostrap your particular application to
dockman-bahat.sh
-
Run
dockman n
to run your behat suite acrossn
workers