HumHub Documentation (unofficial)

Codecept
in package
uses DispatcherWrapper

Table of Contents

Constants

VERSION  = '4.2.2'

Properties

$config  : mixed
$coverage  : CodeCoverage
$dispatcher  : EventDispatcher
$extensionLoader  : ExtensionLoader
$extensions  : array<string|int, mixed>
$options  : array<string|int, mixed>
$result  : TestResult
$runner  : Runner

Methods

__construct()  : mixed
getDispatcher()  : EventDispatcher
getOptions()  : mixed
getResult()  : TestResult
printResult()  : mixed
registerSubscribers()  : mixed
run()  : mixed
runSuite()  : mixed
versionString()  : mixed
dispatch()  : mixed
Compatibility wrapper for dispatcher change between Symfony 4 and 5
mergeOptions()  : array<string|int, mixed>
Merges given options with default values and current configuration
registerPHPUnitListeners()  : mixed
registerPrinter()  : mixed

Constants

Properties

$coverage

protected CodeCoverage $coverage

$extensions

protected array<string|int, mixed> $extensions = []

$options

protected array<string|int, mixed> $options = ['silent' => false, 'debug' => false, 'steps' => false, 'html' => false, 'xml' => false, 'phpunit-xml' => false, 'no-redirect' => true, 'json' => false, 'tap' => false, 'report' => false, 'colors' => false, 'coverage' => false, 'coverage-xml' => false, 'coverage-html' => false, 'coverage-text' => false, 'coverage-crap4j' => false, 'coverage-cobertura' => false, 'coverage-phpunit' => false, 'groups' => null, 'excludeGroups' => null, 'filter' => null, 'env' => null, 'fail-fast' => false, 'ansi' => true, 'verbosity' => 1, 'interactive' => true, 'no-rebuild' => false, 'quiet' => false]

Methods

__construct()

public __construct([mixed $options = [] ]) : mixed
Parameters
$options : mixed = []

getOptions()

public getOptions() : mixed

getResult()

public getResult() : TestResult
Return values
TestResult

printResult()

public printResult() : mixed

registerSubscribers()

public registerSubscribers() : mixed

run()

public run(mixed $suite[, mixed $test = null ][, array<string|int, mixed> $config = null ]) : mixed
Parameters
$suite : mixed
$test : mixed = null
$config : array<string|int, mixed> = null

runSuite()

public runSuite(mixed $settings, mixed $suite[, mixed $test = null ]) : mixed
Parameters
$settings : mixed
$suite : mixed
$test : mixed = null

versionString()

public static versionString() : mixed

dispatch()

Compatibility wrapper for dispatcher change between Symfony 4 and 5

protected dispatch(EventDispatcher $dispatcher, string $eventType, Event $eventObject) : mixed
Parameters
$dispatcher : EventDispatcher
$eventType : string
$eventObject : Event

mergeOptions()

Merges given options with default values and current configuration

protected mergeOptions(array<string|int, mixed> $options) : array<string|int, mixed>
Parameters
$options : array<string|int, mixed>

options

Tags
throws
ConfigurationException
Return values
array<string|int, mixed>

registerPHPUnitListeners()

protected registerPHPUnitListeners() : mixed

registerPrinter()

protected registerPrinter() : mixed

        
On this page

Search results