像Jasmine一样在浏览器中查看Behat测试的结果

View the results of Behat tests in the browser like Jasmine

Jasmine 有一个运行 js 测试并显示结果的页面。

Behat 是否有类似的东西运行测试并显示结果。

基本上我希望非技术人员能够访问页面以查看项目是否符合要求。

比 2.x 有 an html formatter。您可以使用它生成 html 页面并将其发布到某处,以便其他人可以看到结果。

Behat 3 还没有内置 html 格式化程序(请参阅 https://github.com/Behat/Behat/issues/359). However, there's a third party extension - emuse/behat-html-formatter。它不仅允许您生成经典的 Behat 2 样式报告,而且还有一个。