kyoh86 / richgo

Enrich `go test` outputs with text decorations.
Other
850 stars 25 forks source link

Add one line summary to count tests passed/failed/skipped #42

Closed jjanvier closed 2 years ago

jjanvier commented 2 years ago

Hello, thanks for your tool :) Very appreciable :)

Do you think it would be possible to add a one line summary to count tests that passed/failed/skipped at the end? Coming from other languages, this is something I miss in go test.

If you're interested, I could try to open a PR if you guide me a bit.

Thanks :)

kyoh86 commented 2 years ago

I don't think that is necessary.

We need to know whether all tests are passed (skipped), or not. We can get it from status code. We need to know which test is failed. We can get them from output. Though it could not bring value to us that how many tests are passed.

The unnecessary output may distract us from the information we need.

kyoh86 commented 2 years ago

In addition, don't try to attract attention by using bug labels unnecessarily.

jjanvier commented 2 years ago

OK no problem.

In addition, don't try to attract attention by using bug labels unnecessarily.

That wasn't my attention. I wanted to create a regular ticket, but I couldn't. I had only the choice between 2 bugs' templates.