Testing WordPress Develop with Composer and Docker in OSX.
All these components should be installed to your local environment, preferable with Brew.
- Docker with the new docker-machine installed (not the old Boot2Docker)
- PHP installed
- PHP Composer installed
- PHPUnit installed
- Git
Checkout this repo to your folder
git clone http://github.com/ekandreas/dwpt
Step into the folder
cd dwpt
Change the IP-address in 'deploy.php' to your Docker IP, eg 192.168.99.100
nano deploy.php
Run composer install or update
composer update
Run tests with PHP Deployer
vendor/bin/dep tests
If you want a more verbose output then add -v, -vv or -vvv to the command, eg:
vendor/bin/dep tests -vvv