cakephp/cakephp — pull request #371 by shama (2011-12-10 07:39:52+00:00)
Title: Add tests for CakeTestSuite and dont include hidden folders when recursively addTestFile

Adding tests for CakeTestSuite.

Also when trying to build a test suite while using svn it crashes when using `addTestDirectoryRecursive()`. Because it also adds the duplicated `*Test.php` files in the `.svn` folders.

The real issue is likely with `Folder::tree()` as even when you set it to skip hidden files it still will include visible files in hidden folders (as pull https://github.com/cakephp/cakephp/pull/370 demonstrates). I imagine that is not the desired behavior but 'fixing' that could likely cause more issues for others then just doing this simple fix in CakeTestSuite.