KARATE: Loop over a feature file fails when I call a feature file with scenario outline

你。 提交于 2019-12-06 16:56:42

Your formatting is very hard to understand. Anyway Karate is supposed to evaluate all example rows even if there is a failure. Here is a simple example:

Feature:    
Scenario Outline:

* call read('called.feature') { a: <value> }    

Examples:
| value |
| 1     |
| 2     |
| 3     |

And called.feature is:

Feature:
Scenario:

* match a == 2

And it works as expected. Even though rows 1 and 3 fail, all rows are executed. So you may be on an old version of Karate. Please upgrade.

EDIT: This was fixed in 0.8.0: https://github.com/intuit/karate/issues/421

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!