Skip to content
Zachary Wills edited this page Sep 21, 2016 · 7 revisions

In order to run the unit tests you'll want to vagrant ssh into your virtual machine (if you're using one) and cd to the directory where the plugin is. From there:

If you are using VVV, skip step #1.

  1. Run bin/install-wp-tests.sh to install the test database.
  2. Run phpunit to run the single site tests, or phpunit -c multisite.xml.dist for multisite test.
  3. You should see the tests run and complete with no errors.
Clone this wiki locally