Skip to content
Zachary Wills edited this page Jun 14, 2016 · 7 revisions

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

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