【文件属性】:
文件名称:behat-bootstrap:Behat 3初始化脚本扩展
文件大小:8KB
文件格式:ZIP
更新时间:2021-05-08 12:00:58
bootstrap behat-extension behat3 PHP
Behat Bootstrap
Behat扩展,用于自动化控制台操作,以便在Symfony 3/4中准备环境,即准备初始数据库状态,清理Redis缓存和预热作曲家缓存
入门
先决条件
贝哈特3
作曲家
正在安装
composer require --dev andreyors/behat-bootstrap
用法
我们通常需要准备behat环境(创建db的新副本,之前清除缓存,设置rabbitmq队列和交换)
复制并粘贴behat.yaml配置
extensions :
AndreyOrs\BehatBootstrap\Loader :
bootstrap :
- bin/console cache:clear -e test
- bin/console cache:warmup -e test
-
【文件预览】:
behat-bootstrap-master
----.gitignore(90B)
----src()
--------bootstrap.php(58B)
--------BehatBootstrap()
----.travis.yml(1KB)
----LICENSE(1KB)
----composer.json(846B)
----_config.yml(25B)
----README.md(2KB)
----tests()
--------BehatBootstrap()
----phpunit.xml.dist(1KB)