Crud\Test\TestSuite\AllTest::suite PHP Method

suite() public static method

public static suite ( )
    public static function suite()
    {
        $suite = new TestSuite('All Crud plugin tests');
        $path = Plugin::path('Crud');
        $testPath = $path . DS . 'tests' . DS . 'TestCase';
        if (!is_dir($testPath)) {
            return $suite;
        }
        $suite->addTestDirectoryRecursive($testPath);
        return $suite;
    }
AllTest