TestSuite
extends TestSuite
in package
A class to contain test cases and run them with shared fixtures
Table of Contents
Methods
- addTestDirectory() : void
- Adds all the files in a directory to the test suite. Does not recursive through directories.
- addTestDirectoryRecursive() : void
- Recursively adds all the files in a directory to the test suite.
Methods
addTestDirectory()
Adds all the files in a directory to the test suite. Does not recursive through directories.
public
addTestDirectory([string $directory = '.' ]) : void
Parameters
- $directory : string = '.'
-
The directory to add tests from.
addTestDirectoryRecursive()
Recursively adds all the files in a directory to the test suite.
public
addTestDirectoryRecursive([string $directory = '.' ]) : void
Parameters
- $directory : string = '.'
-
The directory subtree to add tests from.