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/dwptStep into the folder
cd dwptChange the IP-address in 'deploy.php' to your Docker IP, eg 192.168.99.100
nano deploy.phpRun composer install or update
composer updateRun tests with PHP Deployer
vendor/bin/dep testsIf you want a more verbose output then add -v, -vv or -vvv to the command, eg:
vendor/bin/dep tests -vvv