Setting up SimpleTest for QP

1. Get the SimpleTest framework

If you want to run the SimpleTest cases in /tests, you'll have to get the simpletest framework. Of course.

You can download it from SourceForge or get it straight from Subversion:

svn co https://simpletest.svn.sourceforge.net/svnroot/simpletest/simpletest/trunk simpletest
Put it into the /tests/simpletest directory.

If you already have it somewhere, just create the file /tests/config.simpletest.OVERRIDE.php (in the QP root directory) define the constant SIMPLETEST_DIR, e.g.:

<?php
define( 'SIMPLETEST_DIR', '/your/path/with/trailing/slash/' );
?>

Simplest method, to not edit any config files: Just put a symlink named "symlink" in this directory (where this file is).

2. Configure the SimpleTest framework

Edit /test/config.php .

WARNING: Make sure you configure a TEST database and that you DO NOT run the tests in your normal blog database.

Happy testing..