function __construct($label = false)
{
parent::__construct($label);
$this->appDir = dirname(dirname(__FILE__)) . DIRECTORY_SEPARATOR;
$this->testDir = $this->appDir . 'tests' . DIRECTORY_SEPARATOR;
$this->caseDir = $this->testDir . 'cases' . DIRECTORY_SEPARATOR;
$this->iniDir = $this->caseDir . 'ini' . DIRECTORY_SEPARATOR;
//$tmpBase = tempnam(sys_get_temp_dir(), 'pdtmp_');
$tmpBase = $this->caseDir;
$this->outputDir = $tmpBase . 'output' . DIRECTORY_SEPARATOR;
$this->tempDir = $tmpBase . 'tmp' . DIRECTORY_SEPARATOR;
// ensure all ready for tests to run
$this->clearOutputDir();
$this->clearTempDir();
}