Jyxo\Beholder\Executor::addTest PHP Method

addTest() public method

Adds a test.
public addTest ( string $ident, TestCase $test ) : self
$ident string Tests identifier
$test TestCase Test instance
return self
    public function addTest(string $ident, \Jyxo\Beholder\TestCase $test) : self
    {
        $this->tests[$ident] = $test;
        return $this;
    }