summaryrefslogtreecommitdiffstats
path: root/library/Director/Test/TestSuiteUnit.php
blob: 8156ebaafa35797c9e670d3e8128e86480879704 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 .
    }
}