简体   繁体   English

如何在空手道框架的场景大纲中添加“abortedStepsShouldPass”配置?

[英]How to add 'abortedStepsShouldPass' configuration inside the scenario outline in Karate framework?

I would like to add ' abortedStepsShouldPass ' for just one scenario outline in a feature file.我想为功能文件中的一个场景大纲添加“ abortedStepsShouldPass ”。

When I tried to add * configure abortedStepsShouldPass = true inside my scenario outline and I got the error as > unexpected 'configure' key: 'abortedStepsShouldPass'当我尝试在我的场景大纲中添加* configure abortedStepsShouldPass = true ,我收到了错误> 意外的“配置”键:“abortedStepsShouldPass”

I got the same error too when added the configuration in karate.config.js like在 karate.config.js 中添加配置时,我也遇到了同样的错误

karate.configure('abortedStepsShouldPass', true); . .

reference link参考链接

Could you help to resolve this?你能帮忙解决这个问题吗?

这仅在空手道版本 0.9.5 中可用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 空手道 DSL:如何将场景大纲变量传递到 json 字符串中 - Karate DSL: How to pass Scenario Outline variables into a json string 空手道:是否可以从场景大纲中匹配 json - Karate: is it possible to match the json from scenario outline 在空手道场景大纲测试中,如何通过变量传递示例表中的参数值 - In Karate Scenario Outline test, how to pass param values in the Examples table through a variable 如何有效地在空手道框架中进行名称重构? - how to efficiently do the name refactoring in karate framework? 如何在空手道框架的post请求中传递多个参数? - How to pass multiple parameters in post request in karate framework? 如何在Karate Framework中从JSON api响应中计算记录数? - How we can count the number of records from JSON api response in Karate Framework? 空手道模拟测试双打无法识别 headerContains 场景参数 - Karate Mock Test Doubles not recognizing the headerContains scenario parameter 有没有办法为空手道 DSL 中的每个功能/场景分配一个唯一的“ID 密钥” - Is there a way to assign a unique “ID Key” to each feature/scenario in Karate DSL 空手道 API 框架 - 测试依赖 - Karate API framework- test dependency 为什么正则表达式在空手道框架中不起作用? - Why regex does not work in karate framework?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM