Skip to content

Format final counts as a table #10

@mgrojo

Description

@mgrojo

Currently, the summary counts are printed as a list:

------------------
- Failed     =  3
- Successful =  1
- Empty      =  0
- Not run    =  0

That turns into (note that the plain-text alignment is lost):


  • Failed = 3
  • Successful = 1
  • Empty = 0
  • Not run = 0

With a simple change of the output, it could be turned into a pretty table:

| Status     | Count |
|------------|-------|
| Failed     |  3
| Successful |  1
| Empty      |  0
| Not run    |  0
Status Count
Failed 3
Successful 1
Empty 0
Not run 0

By the way, a Total count could also make sense.

N.B. I see that tables are not part of the CommonMark specification, so maybe you don't want to make it less interoperable. Feel free to close this, in such case.

Sub-issues

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions