问题描述
我的撰写文件中有以下 Behat 定义:
version: '3'
services:
.
.
.
behat:
container_name: test.behat
image: docksal/behat
command: behat --init
volumes:
- ./e2e:/var/www/drupal
ports:
- 83:80
但是当我运行 docker-compose up
时,容器会快速连续启动和停止。
我运行 docker-compose up --version
并得到以下结果:
test.behat UninitializedContextEnvironment.php line 44
test.behat `FeatureContext` context class not found and can not be used.
容器在我运行 docker-compose up
后立即处于退出状态,因此我无法进入它运行 behat --init
。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)