Class TestSuite
A class to contain test cases and run them with shared fixtures
Namespace: Cake\TestSuite
Method Summary
-
addTestDirectory() public
Adds all the files in a directory to the test suite. Does not recursive through directories.
-
addTestDirectoryRecursive() public
Recursively adds all the files in a directory to the test suite.
Method Detail
addTestDirectory() ¶ public
addTestDirectory(string $directory = '.'): void
Adds all the files in a directory to the test suite. Does not recursive through directories.
Parameters
-
string
$directory optional The directory to add tests from.
Returns
void
addTestDirectoryRecursive() ¶ public
addTestDirectoryRecursive(string $directory = '.'): void
Recursively adds all the files in a directory to the test suite.
Parameters
-
string
$directory optional The directory subtree to add tests from.
Returns
void