Skip to content

Support skip reason in the status line #28

@bluetech

Description

@bluetech

pytest 6.2 now prints skip/xfail reasons in the status line, e.g.

test_verbose_skip_reason.py::test_1 SKIPPED (Just because)  [ 50%]
test_verbose_skip_reason.py::test_2 XFAIL (Reason here)     [100%]

pytest uses pygments-pytest in its own docs and has a couple examples using this, so would be good if pygments-pytest supported this.

(I intend to submit a patch for this when I get a chance unless someone beats me to it)

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