summaryrefslogtreecommitdiffstats
path: root/library/Director/Test/TestSuiteUnit.php
blob: 93dc69255eea03264b6918ea521b31db013ee19a (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
27
28
<?php

namespace Icinga\Module\Director\Test;

abstract class TestSuiteUnit
{
    private $testdoxFile;

    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 .
    }
}