Skip to content

Using '-r Ff' will output failed tests twiceย #6334

@Matlino

Description

@Matlino

This is related to #5110 . -r F option is not documented but will create same output to short summary info as -r f. Problem is when user use both of them:

def test_1():
    assert False

pytest -r Fe

======================================================================= short test summary info ========================================================================
FAILED test_a.py::test_1 - assert False
FAILED test_a.py::test_1 - assert False

I teste on 5.3.1, master and also features.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: reportingrelated to terminal output and user-facing messages and errorstype: bugproblem that needs to be addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions