Skip to content
This repository was archived by the owner on May 29, 2024. It is now read-only.
This repository was archived by the owner on May 29, 2024. It is now read-only.

Summary output to stdout mentioning each test case twice #76

@DavidFarago

Description

@DavidFarago

The output of pytest shows, e.g.:

pytest-parallel: 4 workers (processes), 5 tests per worker (threads)
test/test_event_driven.py::test_foo FAILED
test/test_event_driven.py::test_foo FAILED
test/test_event_driven.py::test_bar PASSED
test/test_event_driven.py::test_bar PASSED
...

I would have expected instead:

pytest-parallel: 4 workers (processes), 5 tests per worker (threads)
test/test_event_driven.py::test_foo FAILED
test/test_event_driven.py::test_bar PASSED
...

I believe the test cases are only executed once, since the error output of a failing test case only appears once, and when I list the slowest x test durations, I do not see doublets there.

Environment:
platform linux -- Python 3.7.7, pytest-5.3.5, py-1.9.0, pluggy-0.13.1 -- /usr/local/bin/python
plugins: clarity-0.3.0a0, parallel-0.1.0

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