Intended to be run against a clean installation of ProcessWire with Version Control included. Most of the tests included depend on each other, which is why they're grouped together into one file and use depends annotation.
DO NOT run these tests against production site, as they will add, edit and remove pages when necessary, thus potentially seriously damaging your site!
You'll need to install PHPUnit in order to run these tests. There are couple of ways to do that, including PHAR, Composer and PEAR; visit PHPUnit Manual for details: http://phpunit.de/manual/3.7/en/installation.html.
Once PHPUnit is installed, the rest is as simple as cloning this repository
into the module directory (usually /site/modules/name-of-module/), going to
cloned tests directory and typing phpunit .
to run all PHPUnit tests that
were found below that directory.
- ProcessWire CMS/CMF: https://github.com/ryancramerdesign/ProcessWire
- Version Control module: https://github.com/teppokoivula/VersionControl