Environment
class Environment
Testing environment.
Constants
COLORS |
Should Test use console colors? |
RUNNER |
Test is run by Runner |
COVERAGE_ENGINE |
Code coverage engine |
COVERAGE |
Code coverage file |
THREAD |
Thread number when run tests in multi threads |
Properties
static bool | $checkAssertions | ||
static bool | $useColors |
Methods
Configures testing environment.
Configures colored output.
Configures PHP error handling.
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()
No description
Details
at line 49
static void
setup()
Configures testing environment.
at line 76
static void
setupColors()
Configures colored output.
at line 100
static void
setupErrors()
Configures PHP error handling.
at line 144
static void
handleException(Throwable $e)
internal |
No description
at line 156
static void
skip(string $message = '')
Skips this test.
at line 168
static void
lock(string $name = '', string $path = '')
Locks the parallel tests.
at line 181
static array
getTestAnnotations()
Returns current test annotations.
at line 193
static void
bypassFinals()
Removes keyword final from source codes.
at line 213
static array
loadData()
Loads data according to the file annotation or specified by Tester\Runner\TestHandler::initiateDataProvider()
at line 246
static void
exit(int $code = 0)
No description