SuiteManager
in package
uses
DispatcherWrapper
Table of Contents
Properties
- $environment : mixed
- $name : mixed
- $debug : mixed
- $di : Di
- $dispatcher : null|EventDispatcher
- $env : mixed
- $groupManager : GroupManager
- $moduleContainer : ModuleContainer
- $path : mixed
- $printer : mixed
- $settings : mixed
- $suite : TestSuite
- $testLoader : Loader
- $tests : mixed
Methods
- __construct() : mixed
- getModuleContainer() : ModuleContainer
- getSuite() : Suite
- initialize() : mixed
- loadTests() : mixed
- run() : mixed
- addToSuite() : mixed
- checkEnvironmentExists() : mixed
- configureTest() : mixed
- createSuite() : mixed
- dispatch() : mixed
- Compatibility wrapper for dispatcher change between Symfony 4 and 5
- getActor() : mixed
- isExecutedInCurrentEnvironment() : mixed
Properties
$environment
public
static mixed
$environment
$name
public
static mixed
$name
$debug
protected
mixed
$debug
= false
$di
protected
Di
$di
$dispatcher
protected
null|EventDispatcher
$dispatcher
= null
$env
protected
mixed
$env
= null
$groupManager
protected
GroupManager
$groupManager
$moduleContainer
protected
ModuleContainer
$moduleContainer
$path
protected
mixed
$path
= ''
$printer
protected
mixed
$printer
= null
$settings
protected
mixed
$settings
$suite
protected
TestSuite
$suite
= null
$testLoader
protected
Loader
$testLoader
$tests
protected
mixed
$tests
= []
Methods
__construct()
public
__construct(EventDispatcher $dispatcher, mixed $name, array<string|int, mixed> $settings) : mixed
Parameters
- $dispatcher : EventDispatcher
- $name : mixed
- $settings : array<string|int, mixed>
getModuleContainer()
public
getModuleContainer() : ModuleContainer
Return values
ModuleContainergetSuite()
public
getSuite() : Suite
Return values
Suiteinitialize()
public
initialize() : mixed
loadTests()
public
loadTests([mixed $path = null ]) : mixed
Parameters
- $path : mixed = null
run()
public
run(Runner $runner, TestResult $result, mixed $options) : mixed
Parameters
- $runner : Runner
- $result : TestResult
- $options : mixed
addToSuite()
protected
addToSuite(mixed $test) : mixed
Parameters
- $test : mixed
checkEnvironmentExists()
protected
checkEnvironmentExists(TestInterface $test) : mixed
Parameters
- $test : TestInterface
configureTest()
protected
configureTest(mixed $t) : mixed
Parameters
- $t : mixed
Tags
createSuite()
protected
createSuite(mixed $name) : mixed
Parameters
- $name : 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
getActor()
protected
getActor() : mixed
isExecutedInCurrentEnvironment()
protected
isExecutedInCurrentEnvironment(TestInterface $test) : mixed
Parameters
- $test : TestInterface