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