2017 © Pedro Peláez
 

library wp-test-suite

image

maneuver/wp-test-suite

  • Tuesday, April 10, 2018
  • by maneuver
  • Repository
  • 2 Watchers
  • 0 Stars
  • 20 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 18 % Grown

The README.md

Installing

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

Usage

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

The Versions

10/04 2018

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

by David De Coninck

10/04 2018

v0.0.2

0.0.2.0

  Sources   Download

MIT

The Requires

 

by David De Coninck

10/04 2018