Require the bootstrap. If the file is specified, but does not exist
then an exception will be raised.
public requireBootstrap ( $file ) | ||
$file |
public function testRequireBootstrapIsChdirResistent() { $file = dirname(__FILE__) . '/../../../../fixtures/chdirBootstrap.php'; $tester = new PHPUnit(); $cwd = getcwd(); $tester->requireBootstrap($file); $this->assertEquals($cwd, getcwd()); }