Skip to content

@pytest.mark.usefixtures decorator should be excluded from the Tags: section in the report. #119

Closed

Description

@OlegKuzovkov

I'm submitting a ...

  • bug report
  • feature request
  • support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

As far as I understand the purpose of that Tags: section is to add to the test report all the custom markers for additional filtering retrieving this information from pytest. But not all of the information after mark.* should be considered as tag, for example usefixture internal pytest marker, that I am using to decorate some classes:

@pytest.mark.usefixtures("fx_cl_create_retailer")
class TestPasswordReset:

In this case for all the test cases within this class "Tags: @pytest.mark.usefixtures('fx_cl_create_retailer')" will be shown, but it should not be because this is internal class configuration.

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?

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

Please tell us about your environment:

  • Allure version: 2.1.0
  • Test framework: pytest@3.0
  • Allure adaptor: allure-pytest@2.1.1b1

Other information

Activity

  1. added a commit that references this issue on Nov 18, 2020
    0493068
  2. added a commit that references this issue on Apr 10, 2023
    fd01d09
  3. added 2 commits that reference this issue on Mar 19, 2024
    e014abb
    97ee3c9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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