ModuleSuiteLocator
class ModuleSuiteLocator implements Controller (View source)
Locates test suite configuration based on module name.
Replaces:
Traits
Properties
protected | Container | $container | ||
protected | SuiteRegistry | $registry |
Methods
protected
Module
getModule(string $name, bool $error = true)
Find target module being tested
from
ModuleCommandTrait
public
null
execute(InputInterface $input, OutputInterface $output)
Processes data from container and console input.
protected
array
loadSuiteConfiguration(string $suite, Module $module)
Load configuration dynamically from yml
Details
protected Module
getModule(string $name, bool $error = true)
Find target module being tested
__construct(ContainerInterface $container, SuiteRegistry $registry)
Init suite locator
configure(Command $command)
Configures command to be able to process it later.
null
execute(InputInterface $input, OutputInterface $output)
Processes data from container and console input.
protected string
findModuleConfig(Module $module)
Get behat.yml configured for this module
protected array
loadSuiteConfiguration(string $suite, Module $module)
Load configuration dynamically from yml