TestLoader for CakePHP Test suite.
Turns partial paths used on the testsuite console and web UI into full file paths.
_basePath( array $params )
Generates the base path to a set of tests based on the parameters.
$params
string
_getRecursiveFileList( string $directory '.' )
Gets a recursive list of files from a given directory and matches then against a given fileTestFunction, like isTestCaseFile()
$directory
optional '.' array
_resolveTestFile( string $filePath , string $params )
Convert path fragments used by CakePHP's test runner to absolute paths that can be fed to PHPUnit.
$filePath
$params
string
generateTestList( string $params )
Get the list of files for the test listing.
$params
array
load( string $filePath , string $params '' )
Load a file and find the first test case / suite in that file.
$filePath
$params
optional '' ReflectionClass
© 2005–2016 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.
http://api.cakephp.org/2.7/class-CakeTestLoader.html