Environment
class Environment
Testing environment.
Constants
COLORS |
Should Tester use console colors? |
RUNNER |
Test is run by Runner |
COVERAGE |
Code coverage file |
THREAD |
Thread number when run tests in multi threads |
Properties
static bool | $debugMode | ||
static bool | $checkAssertions | ||
static bool | $useColors |
Methods
Configures testing environment.
Configures colored output.
Configures PHP error handling.
No description
Skips this test.
Locks the parallel tests.
Returns current test annotations.
Removes keyword final from source codes.
Loads data according to the file annotation or specified by Tester\Runner\TestHandler::initiateDataProvider()
Details
at line 45
static void
setup()
Configures testing environment.
at line 68
static void
setupColors()
Configures colored output.
at line 86
static void
setupErrors()
Configures PHP error handling.
at line 126
static
handleException($e)
internal |
No description
at line 139
static void
skip($message = '')
Skips this test.
at line 153
static void
lock($name = '', $path = '')
Locks the parallel tests.
at line 167
static array
getTestAnnotations()
Returns current test annotations.
at line 179
static void
bypassFinals()
Removes keyword final from source codes.
at line 200
static array
loadData()
Loads data according to the file annotation or specified by Tester\Runner\TestHandler::initiateDataProvider()