Assuming you have a separate WordPress installation for your project (eg. /var/www/my-project
) with your plugin you want to test in /var/www/my-project/wp-content/plugins/my-plugin
. PHPUnit and SVN needs also to be installed on your system.
Get the WordPress test environment as described here in step 1 and 2. You may want to use a separate directory for those stuff like ( ~/tmp/wordpress-test
).
The repository looks like: