diff options
Diffstat (limited to 'library/Director/Test/TestSuiteUnit.php')
-rw-r--r-- | library/Director/Test/TestSuiteUnit.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/library/Director/Test/TestSuiteUnit.php b/library/Director/Test/TestSuiteUnit.php new file mode 100644 index 0000000..8156eba --- /dev/null +++ b/library/Director/Test/TestSuiteUnit.php @@ -0,0 +1,26 @@ +<?php + +namespace Icinga\Module\Director\Test; + +abstract class TestSuiteUnit +{ + public function run() + { + } + public function __construct() + { + $this->testdoxFile = $this->newTempfile(); + } + + public function __destruct() + { + if ($this->testdoxFile && file_exists($this->testdoxFile)) { + unlink($this->testDoxfile); + } + } + + public function getPhpunitCommand() + { + // return phpunit --bootstrap test/bootstrap.php --testdox-text /tmp/testdox.txt . + } +} |