The Scorpio Framework currently uses SimpleTest for Unit Testing. This is integrated into the main libraries of the framework.
testSuite.php is the command line interface to the test system. It can run specific tests, packages of tests or all the test cases. Test cases are stored in the data/tests folder and are usually grouped by the main package name. All test cases should be prefixed with test and end with .class.php.
testSuite.php can list these packages using -l (lowercase 'L') or list.
Tests are run by specifying:
php testSuite.php test [all|<packagename>] <subpackage (optional)>
Additionally individual test cases can be run by simply specifying the classname without the test prefix e.g. testSuite.php test base baseSet will run the testBaseSet test case.