需要在空手道报告中仅显示通过和失败状态 [英] Need to show only pass and fail status in karate report

查看:78
本文介绍了需要在空手道报告中仅显示通过和失败状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如,如果有一个功能文件,并且如果所有步骤都成功执行,那么在报告中,我想将状态显示为通过".我不想在报告中显示每个步骤的状态. 有什么办法可以达到相同目的

For e.g if there is a feature file and if all of the steps are executed successfully then in the report I want to show the status as Pass. I don't want to show the status of each step in the report. Is there any way to achieve the same

推荐答案

没有.您可以忽略该报告,并按以下说明使用Results类: https://stackoverflow.com/a/63351980/143475

No there isn't. You can ignore the report and use the Results class as described here: https://stackoverflow.com/a/63351980/143475

这篇关于需要在空手道报告中仅显示通过和失败状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆