Testing PHP Support
We will use the open source unit testing framework for PHP named SimpleTest.
Download the SimpleTest platform from SourceForge. Save the compressed file anywhere on your hard drive.
The file you just downloaded is compressed. Use a data extraction program to extract the files (I use the open source program 7-Zip).
Place the extracted simpletest folder and its contents inside the PEAR folder of PHP5
- For example, it might found at
C:\Program Files\PHP5\PEAR\
The advantage of placing SimpleTest in the PEAR folder is that, in the default installation of Abyss and PHP, the PEAR folder is in the include path. In your testing class code, you will need to place the PHP statement:
require_once('simpletest/unit_tester.php');
Next: Installing HTML-Kit