Method | Description | |
---|---|---|
RunTests ( ) | ||
assertEquals ( $tested_value, $expected_value, $strict = false ) | ||
assertInstanceOf ( $tested_object, $expected_class_name ) | ||
assertIsArray ( $array ) | ||
assertIsNumeric ( $numeric ) | ||
assertIsObject ( $value ) | ||
assertIsScalar ( $value ) | ||
assertIsValueOfType ( $value, $type ) | ||
assertTrue ( $variable ) | ||
assertTrueStrict ( $variable ) | ||
getTests ( ) | ||
setTestMethodPrefix ( $test_method_prefix ) | ||
setUpBeforeClass ( ) | ||
skipAllExcept ( string | array $method_names ) | ||
skipAllExceptLast ( ) | ||
skipTest ( $method_names ) | ||
tearDownAfterClass ( ) |
Method | Description | |
---|---|---|
RunAllTestsOfClass ( ) | ||
assertPostConditions ( ) | ||
assertPreConditions ( ) | ||
getErrorCatcherObject ( ) : |
||
getNewAssertionObject ( ) | ||
getNewTestObject ( ) : Test | ||
onNotSuccessfulTest ( ) | ||
setErrorExpected ( $value ) | ||
setExceptionExpected ( $value ) | ||
setUp ( ) | ||
tearDown ( ) |
Method | Description | |
---|---|---|
RunTestMethod ( $test_method_name ) | ||
addAssertionToCurrentTest ( |
||
assert ( $expression ) : |
Each assert* method should call this function | |
resetErrorsExpectations ( ) | ||
start_new_test ( $name ) |
public assertEquals ( $tested_value, $expected_value, $strict = false ) |
protected getErrorCatcherObject ( ) : |
||
return |
public skipAllExcept ( string | array $method_names ) | ||
$method_names | string | array |