简体   繁体   English

如何在诱惑报告中设置严重性级别,使用行为

[英]How to set the severity level in allure report, using behave

How to set the severity level in allure report, using python behave bdd framework.如何在诱惑报告中设置严重级别,使用 python 表现 bdd 框架。 I used below one but its not working and is showing me by default normal:我使用了以下一个,但它不起作用,默认情况下显示正常:

from allure import severity, severity_level从诱惑进口严重性,severity_level

@severity(severity_level.CRITICAL) @severity(severity_level.CRITICAL)

Try just the tags with severity names like @critical , @trivial , @normal etc. It's one of the documented features: https://docs.qameta.io/allure/#_behave只尝试带有严重性名称的标签,如@critical@trivial@normal等。这是记录的功能之一: https://docs.qameta.io/allure/#_behave 在此处输入图像描述

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM