Skip to content

Duplicated tests when running with pytest-parallel #689

Closed
@b0mbays

Description

@b0mbays

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?

Hi, I have managed to get pytest-parallel and allure-pytest to run after following this suggestion but now we're seeing duplicated test cases inside the report when running in parallel.

In the screenshot below, the left hand side shows the generated files from pytest after a parallel run (24 files) and the right hand side is a normal run (6 files). It seems to be duplicated by 4.

Screenshot 2022-09-27 at 12 43 29

What is the expected behavior?

For there to be no duplicated test files.

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

Having the ability to run tests in parallel and generate reports would be very useful for users to speed up test executions.

Please tell us about your environment:

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions