Skip to content

skipped test cases, marked with @pytest.mark.xfail, does not show special tag #488

@smdelacruz

Description

@smdelacruz

I'm submitting a ...

  • bug report

What is the current behavior?

Test cases marked with @pytest.mark.xfail is expected to be "Skipped" on allure report BUT did not produced a tag with the reason

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

What is the expected behavior?

Based on the documentation, Allure documentation

results in test being skipped and marked with a special tag when it is expected to fail.

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • Allure version: 2.13.3
  • Test framework: Pytest-5.3.5
  • Allure adaptor: allure-pytest-2.8.14
    -t@ Python 3.7.6

Other information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions