/** * Defines all tests for this suite. * * @return TestSuite */ public static function suite() { $suite = new TestSuite('All Asset Tests'); $path = dirname(__FILE__) . DS; $suite->addTestDirectoryRecursive($path); return $suite; }
public static function suite() { $suite = new TestSuite('All CRUD listener tests'); $path = Plugin::path('Crud'); $testPath = $path . DS . 'tests' . DS . 'TestCase'; if (!is_dir($testPath)) { return $suite; } $suite->addTestDirectoryRecursive($testPath . DS . 'Listener'); return $suite; }
public static function suite() { $suite = new TestSuite('All CRUD action tests'); $path = Plugin::path('Crud'); $testPath = $path . '/tests/TestCase'; if (!is_dir($testPath)) { return $suite; } $suite->addTestDirectoryRecursive($testPath . '/Action'); return $suite; }
public static function suite() { $suite = new TestSuite('Plugin Media'); $suite->addTestDirectoryRecursive(TESTS . 'TestCase'); return $suite; }