Skip to content

Latest commit

 

History

History
49 lines (40 loc) · 1017 Bytes

readme.md

File metadata and controls

49 lines (40 loc) · 1017 Bytes

Docker WordPress Tests

License

Testing WordPress Develop with Composer and Docker in OSX.

Requirements

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

Step by step

Clone

Checkout this repo to your folder

git clone http://github.com/ekandreas/dwpt

Folder

Step into the folder

cd dwpt

IP-address

Change the IP-address in 'deploy.php' to your Docker IP, eg 192.168.99.100

nano deploy.php

Composer update

Run composer install or update

composer update

Running tests

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