Class CakeTestSuite
A class to contain test cases and run them with shared fixtures
- PHPUnit_Framework_TestSuite
- CakeTestSuite
Package: Cake\TestSuite
Copyright: Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Location: Cake/TestSuite/CakeTestSuite.php
Copyright: Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
License: License (http://www.opensource.org/licenses/mit-license.php)
Location: Cake/TestSuite/CakeTestSuite.php
Method Summary
-
addTestDirectory() public
Adds all the files in a directory to the test suite. Does not recurse through directories. -
addTestDirectoryRecursive() public
Recursively adds all the files in a directory to the test suite.
Method Detail
addTestDirectory() public ¶
addTestDirectory( string $directory = '.' )
Adds all the files in a directory to the test suite. Does not recurse through directories.
Parameters
- string $directory optional '.'
- The directory to add tests from.
addTestDirectoryRecursive() public ¶
addTestDirectoryRecursive( string $directory = '.' )
Recursively adds all the files in a directory to the test suite.
Parameters
- string $directory optional '.'
- The directory subtree to add tests from.