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()

static 
removeOutputBuffers()

No description

Details

at line 42
static void setup()

Configures testing environment.

Return Value

void

at line 65
static void setupColors()

Configures colored output.

Return Value

void

at line 84
static void setupErrors()

Configures PHP error handling.

Return Value

void

at line 124
static handleException($e)

internal  
 

No description

Parameters

$e

at line 137
static void skip($message = '')

Skips this test.

Parameters

$message

Return Value

void

at line 151
static void lock($name = '', $path = '')

Locks the parallel tests.

Parameters

$name
$path

Return Value

void

at line 165
static array getTestAnnotations()

Returns current test annotations.

Return Value

array

at line 177
static array loadData()

Loads data according to the file annotation or specified by Tester\Runner\TestHandler::initiateDataProvider()

Return Value

array

at line 198
static removeOutputBuffers()

internal  
 

No description