0
从Behat切换到v3中的Mink以使用无头浏览器进行测试时。它会自动停止从我的要素文件为我生成片段。Behat/Mink错误未生成以下步骤的代码片段
继续从文档设置features/bootstrap/FeatureContext.php。
behat
# generates this error at the bottom of the output
--- Snippets for the following steps in the default suite were not generated (check your configuration)
在Behat风格就在它输出我需要设置的功能之前。
看到底我觉得文档应该更新,并解释这再次显示更好的是,教程和示例很长一段时间看起来一样 – tristanbailey