On this page
Class TestSuite
A class to contain test cases and run them with shared fixtures
- PHPUnit_Framework_TestSuite
 
 Cake\TestSuite\TestSuite
   
Method Summary
- 
    addTestDirectory() publicAdds all the files in a directory to the test suite. Does not recursive through directories.
 - 
    addTestDirectoryRecursive() publicRecursively adds all the files in a directory to the test suite.
 
Method Detail
addTestDirectory()source public
addTestDirectory( string $directory '.' )
   Adds all the files in a directory to the test suite. Does not recursive through directories.
Parameters
- 
     string 
$directoryoptional '.' - The directory to add tests from.
 
addTestDirectoryRecursive()source public
addTestDirectoryRecursive( string $directory '.' )
   Recursively adds all the files in a directory to the test suite.
Parameters
- 
     string 
$directoryoptional '.' - The directory subtree to add tests from.
 
© 2005–2017 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
 https://api.cakephp.org/3.3/class-Cake.TestSuite.TestSuite.html