Skip to content

Short test summary info should use colors #9873

@ssbarnea

Description

@ssbarnea

What's the problem this feature will solve?

While #5061 added nice solors for the single line end-of-summary report, it did not include colors for the summary of the run, which makes harder to read the lines and to distinguish between skips xfail and failed statuses.

Describe the solution you'd like

Some coloring on the summary entries is needed, either one of:

  1. first word colored only, such SKIPPED, XFAIL, FAILED
  2. entire line being colored

Alternative Solutions

Optionally we could try to color the filename using dimmed text, to make it easier to spot the test name that failed. The idea is that we current display 6 different texts on a single line without any visual help to make it easier to read

<MARKER> <file-path>::<test_function[parameter]><optional message/error>

Additional context

Attention should be taken to not over-do-it, too much coloring would also make reading harder.

PS. Please do not propose use of emoji ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: proposalproposal for a new feature, often to gather opinions or design the API around the new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions