4 * Controller for PHPT that implements the SimpleTest unit-testing interface.
6 class PHPT_Controller_SimpleTest
extends SimpleTestCase
11 public function __construct($path) {
13 parent
::__construct($path);
16 public function testPhpt() {
17 $suite = new PHPT_Suite(array($this->_path
));
18 $phpt_reporter = new PHPT_Reporter_SimpleTest($this->reporter
);
19 $suite->run($phpt_reporter);