lithium\tests\cases\console\command\RouteTest::skip PHP Method

skip() public method

Set the testPath and check if it is writable (skip if not).
public skip ( )
    public function skip()
    {
        $path = Libraries::get(true, 'resources');
        if (is_writable($path) && !is_dir("{$path}/tmp/tests")) {
            mkdir("{$path}/tmp/tests", 0777, true);
        }
        $this->_testPath = "{$path}/tmp/tests";
        $this->skipIf(!is_writable($this->_testPath), "Path `{$this->_testPath}` is not writable.");
    }