Local
extends SuiteSubscriber
in package
Collects code coverage from unit and functional tests.
Results from all suites are merged.
Table of Contents
Properties
- $events : mixed
- $coverage : mixed
- $defaultSettings : mixed
- $filters : mixed
- $logDir : mixed
- $module : Remote
- $modules : mixed
- $options : mixed
- $settings : mixed
Methods
- __construct() : mixed
- afterSuite() : mixed
- applyFilter() : mixed
- beforeSuite() : mixed
- getSubscribedEvents() : mixed
- applySettings() : mixed
- getServerConnectionModule() : Remote|null
- isEnabled() : mixed
- mergeToPrint() : mixed
Properties
$events
public
static mixed
$events
= [\Codeception\Events::SUITE_BEFORE => 'beforeSuite', \Codeception\Events::SUITE_AFTER => 'afterSuite']
$coverage
protected
mixed
$coverage
$defaultSettings
protected
mixed
$defaultSettings
= ['enabled' => false, 'remote' => false, 'local' => false, 'xdebug_session' => 'codeception', 'remote_config' => null, 'show_uncovered' => false, 'c3_url' => null, 'work_dir' => null, 'cookie_domain' => null]
$filters
protected
mixed
$filters
= []
$logDir
protected
mixed
$logDir
$module
protected
Remote
$module
$modules
protected
mixed
$modules
= []
$options
protected
mixed
$options
$settings
protected
mixed
$settings
= []
Methods
__construct()
public
__construct([mixed $options = [] ]) : mixed
Parameters
- $options : mixed = []
afterSuite()
public
afterSuite(SuiteEvent $e) : mixed
Parameters
- $e : SuiteEvent
applyFilter()
public
applyFilter(TestResult $result) : mixed
Parameters
- $result : TestResult
beforeSuite()
public
beforeSuite(SuiteEvent $e) : mixed
Parameters
- $e : SuiteEvent
getSubscribedEvents()
public
static getSubscribedEvents() : mixed
applySettings()
protected
applySettings(mixed $settings) : mixed
Parameters
- $settings : mixed
getServerConnectionModule()
protected
getServerConnectionModule(array<string|int, mixed> $modules) : Remote|null
Parameters
- $modules : array<string|int, mixed>
Return values
Remote|nullisEnabled()
protected
isEnabled() : mixed
mergeToPrint()
protected
mergeToPrint(mixed $coverage) : mixed
Parameters
- $coverage : mixed