addTestDirectory($path . DS . 'Lib'); $path = dirname(__FILE__); $Suite->addTestDirectory($path . DS . 'Lib' . DS . 'Utility'); $path = dirname(__FILE__); $Suite->addTestDirectory($path . DS . 'View' . DS . 'Helper'); $path = dirname(__FILE__); $Suite->addTestDirectory($path . DS . 'Model'); $path = dirname(__FILE__); $Suite->addTestDirectory($path . DS . 'Model' . DS . 'Behavior'); $path = dirname(__FILE__); $Suite->addTestDirectory($path . DS . 'Console' . DS . 'Command'); $path = dirname(__FILE__); $Suite->addTestDirectory($path . DS . 'Controller' . DS . 'Component'); $path = dirname(__FILE__); $Suite->addTestDirectory($path . DS . 'Controller' . DS . 'Component' . DS . 'Auth'); //$path = CakePlugin::path('Tools') . 'Test' . DS . 'Case' . DS; //$Suite->addTestDirectoryRecursive($path); return $Suite; } }