Skip to content

How do Allure contribute to the @Allure. Severity trend? #1170

@Mr-zuo-test

Description

@Mr-zuo-test

What do I want to do when I write priorities to a data file and then automate its use cases by reading the data file and passing the priorities to @allure. Severity?
For example, I have a login data file, see below, and I'm using the @pytest.mark. Bad trize and the data file to get the data, how will the first use case be minor and the second use case be Blocker

login001:
password: "111"
expect: "密码错误,请重新输入"
success: "False"
titles: "登录失败用例"
severity: "minor"
login002:
password: "111111Aa"
expect: "管理员端"
success: "True"
titles: "登录成功用例"
severity: "blocker"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions