【发布时间】:2018-04-19 08:37:48
【问题描述】:
在 v3 中从 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 风格。
【问题讨论】:
-
我觉得Docs应该更新并解释得更好,教程和示例似乎很长一段时间都一样