Méthode |
Description |
|
_add ( $class ) |
Similar to a regular Agile Toolkit add method, however will
will return a "wrapper" object of a specified class. This
wrapper will automatically intercept all method calls of a
host object and send it to $debug. |
|
debug ( $text ) |
Outputs some debug information, which is cached until the end
of current test. If any of the assertions fail, this will also
output debug information. |
|
disableAsserts ( ) |
Restores previous setting of assert() method. |
|
enableAsserts ( ) |
Configures PHP assert() method to use internal callback for error
reporting. |
|
info ( $text ) |
Force output of the text which will appear while the tests are
being executed. This is useful if your test takes some time to
perform and you would want to have some output on the console. |
|
init ( ) |
|
|
prepareForTest ( $test ) |
|
|
setState ( $state ) |
Sets the state of your application. |
|
skip ( ) |
|
|
verifyState ( $state ) |
Verifies that the state of your application matches selected. |
|