ModuleInitialisationController
class ModuleInitialisationController implements Controller (View source)
Initialises module test environment.
Replaces:
Traits
Properties
protected | Container | $container |
Methods
protected
getModule(string $name, bool $error = true)
Find target module being tested
from
ModuleCommandTrait
public
__construct(ContainerInterface $container, SuiteRepository $repository, SuiteBootstrapper $bootstrapper)
Initializes controller.
protected
protected
initConfig(OutputInterface $output, Module $module, string $namespaceRoot)
Init config file behat.yml
Details
protected Module
getModule(string $name, bool $error = true)
Find target module being tested
__construct(ContainerInterface $container, SuiteRepository $repository, SuiteBootstrapper $bootstrapper)
Initializes controller.
configure(Command $command)
{@inheritdoc}
execute(InputInterface $input, OutputInterface $output)
{@inheritdoc}
protected int
baseExecute(OutputInterface $output)
No description
protected
initFeaturesPath(OutputInterface $output, Module $module)
No description
protected
initClassPath(OutputInterface $output, Module $module, string $namespaceRoot)
Init class_path
protected string
getFixtureClass(string $namespaceRoot)
Get fixture class name
protected string
getFixtureNamespace(string $namespaceRoot)
No description
protected
initConfig(OutputInterface $output, Module $module, string $namespaceRoot)
Init config file behat.yml