The Recess unit tests are written for PHPUnit
In order to run the unit tests for Recess take the following steps:
Figure 19.1. Setting up PHPUnit for Recess
Install PEAR - Typically this is done by executing the go-pear script in your PHP installation directory.
Install PHPUnit
First add the PHPUnit channel to PEAR: pear channel-discover pear.phpunit.de
Next install PHPUnit with pear install phpunit/PHPUnit
Setup MySQL & DSN for Database Tests
The default MySQL test DSN is 'localhost,dbname=recess, user=recess, password=recess'
To use settings other than default modify recess/test/recess/database/PdoDsnSettings.php
At a command prompt, navigate to recess/test/
Run the Unit Tests: phpunit --bootstrap bootstrap.php AllTests.php
To contribute unit tests to Recess fork the source on GitHub, commit your unit tests to the fork, and request a pull from Recess. Happy testing!