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