PhptTestCase
class PhptTestCase implements Test, SelfDescribing (View source)
Runner for PHPT test cases.
Methods
__construct(string $filename, AbstractPhpProcess $phpUtil = null)
Constructs a test case with the given filename.
int
count()
Counts the number of test cases executed by run(TestResult result).
string
getName()
Returns the name of the test case.
string
toString()
Returns a string representation of the test case.
array
parseIniSection(string $content)
Parse --INI-- section key value pairs and return as array.
array
parseEnvSection(string $content)
No description
Details
at line 73
__construct(string $filename, AbstractPhpProcess $phpUtil = null)
Constructs a test case with the given filename.
at line 97
int
count()
Counts the number of test cases executed by run(TestResult result).
at line 146
TestResult
run(TestResult $result = null)
Runs a test and collects its result in a TestResult instance.
at line 263
string
getName()
Returns the name of the test case.
at line 273
string
toString()
Returns a string representation of the test case.
at line 431
protected array
parseIniSection(string $content)
Parse --INI-- section key value pairs and return as array.