Mutagenesis\Console::setTestDirectory PHP Method

setTestDirectory() protected static method

Set a tests directory for the provided runner
protected static setTestDirectory ( RunnerAbstract $runner )
$runner Mutagenesis\Runner\RunnerAbstract
    protected static function setTestDirectory(\Mutagenesis\Runner\RunnerAbstract $runner)
    {
        if (isset(self::$_options['tests'])) {
            $runner->setTestDirectory(self::$_options['tests']);
        } else {
            $runner->setTestDirectory(getcwd());
        }
    }