A Behat extension to automate init actions
A Behat extension to automate console operations in order to prepare environment within Symfony 3/4, i.e. preparing initial database state, cleaning redis cache and warming composer cache
- Behat 3
composer require --dev andreyors/behat-bootstrap
We usually need to prepare behat environment (create a fresh copy of db, clear the cache before, set up rabbitmq queues and exchanges)
extensions: AndreyOrs\BehatBootstrap\Loader: bootstrap: - bin/console cache:clear -e test - bin/console cache:warmup -e test - bin/console doctrine:schema:create -e test - bin/console rabbitmq:setup-fabric -e test
This library is released under the MIT license.