dev-master
9999999-dev
MIT
The Requires
by David De Coninck
v0.0.2
0.0.2.0
MIT
The Requires
by David De Coninck
v0.0.1
0.0.1.0
The Requires
by David De Coninck
Install with composer., (*1)
composer require --dev maneuver/wp-test-suite
Run this script to copy some necessary files and example tests., (*2)
composer run-script copy-files -d ./vendor/maneuver/wp-test-suite
Create your tests inside the ./tests/ folder., (*3)
Then use phpunit to run all defined tests:, (*4)
./vendor/bin/phpunit
Or one specific test:, (*5)
./vendor/bin/phpunit ./tests/BrowserTest.php
For browser tests first run Chrome in headless mode in a seperate terminal window., (*6)
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --disable-gpu --headless --remote-debugging-address=0.0.0.0 --remote-debugging-port=9222
Or Chrome Canary:, (*7)
/Applications/Google\ Chrome\ Canary.app/Contents/MacOS/Google\ Chrome\ Canary --disable-gpu --headless --remote-debugging-address=0.0.0.0 --remote-debugging-port=9222
MIT
MIT