[solved] Show stats at the end of the test suite

Open
#761 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
go
Domain
testing-qa

Research direction

Review the linked testify-stats package and the proposed go test -stats entry point first. Done means testify provides the requested test and assertion statistics at the end of a test run; the issue does not name repository files or tests.

Written by the indexing model from the issue text.

Description

I was looking for a way to show test and assertion stats at the end of the test suite, so I created this simple package:

https://github.com/elliotchance/testify-stats

It would be great to have this built in, such:

go test -stats

Is this something the testify is interested in for a PR?

Dominant language
Go
Stars
26.2k
Forks
1.9k
Avg merge
2d 4h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from stretchr/testify

All issues in stretchr/testify

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.