Behat,PHP Scenario outline:输出参数

时间:2018-02-12 11:10:05

标签: php testing behat

鉴于以下情况:

 Scenario Outline: Bootstrap pages does not encounter the following problems:
Given I am on "<page>"
And I should not see "�"

Examples:
| page                     |
| web.php                  |
| logs.php                 |
| web.php                  |
| payout.php               |

如果没有通过返回,其中一个:

0 scenario0 step0m0.02s (23.11Mb)
Given I am on "<page>"
And I should not see "�"

The text "�" appears in the text of this page, but it should not.

Skipped step

问题在于我不知道哪个页面确实失败,因为我有"<page>"而不是实际的页面。有人有想法吗?我在谷歌上搜索了这个,但我找不到任何东西

1 个答案:

答案 0 :(得分:2)

对错误进行详细堆栈跟踪的解决方案是使用详细选项。

根据您需要的详细程度添加-v|-vv|-vvv标记。