Skip to content

Duplicate reports when running pytest with allure #1

@kevinxutg

Description

@kevinxutg

When I run pytest with allure, the report are duplicated in job summary.

image

pip3 install allure-pytest
pytest --alluredir=alluredir

I checked the source code. The job summary is written in pytest_unconfigure hook. I am not quite familiar with pytest. I guess it was called twice when pytest run together with allure plugin. Maybe the job summary can be written in pytest_sessionfinish hook?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions