\Cake\TestSuiteTestSuite

A class to contain test cases and run them with shared fixtures

Summary

Methods
Properties
Constants
addTestDirectory()
addTestDirectoryRecursive()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

addTestDirectory()

addTestDirectory(string  $directory = '.') : void

Adds all the files in a directory to the test suite. Does not recursive through directories.

Parameters

string $directory

The directory to add tests from.

addTestDirectoryRecursive()

addTestDirectoryRecursive(string  $directory = '.') : void

Recursively adds all the files in a directory to the test suite.

Parameters

string $directory

The directory subtree to add tests from.