Environment
class Environment
Testing environment.
Constants
COLORS |
Should Tester use console colors? |
RUNNER |
Test is runned by Runner |
COVERAGE |
Code coverage file |
Properties
static bool | $debugMode | ||
static bool | $checkAssertions | ||
static bool | $useColors |
Methods
static void
setup()
Configures testing environment.
static void
setupColors()
Configures colored output.
static void
setupErrors()
Configures PHP error handling.
static
handleException($e)
No description
static void
skip($message = '')
Skips this test.
static void
lock($name = '', $path = '')
Locks the parallel tests.
static array
getTestAnnotations()
Returns current test annotations.
static array
loadData()
Loads data according to the file annotation or specified by Tester\Runner\TestHandler::initiateDataProvider()
Details
at line 39
static void
setup()
Configures testing environment.
at line 61
static void
setupColors()
Configures colored output.
at line 79
static void
setupErrors()
Configures PHP error handling.
at line 117
static
handleException($e)
internal |
No description
at line 129
static void
skip($message = '')
Skips this test.
at line 143
static void
lock($name = '', $path = '')
Locks the parallel tests.
at line 157
static array
getTestAnnotations()
Returns current test annotations.
at line 169
static array
loadData()
Loads data according to the file annotation or specified by Tester\Runner\TestHandler::initiateDataProvider()