# gotestyourself/gotestsum

'go test' runner with output optimized for humans, JUnit XML for CI integration, and a summary of the test results.

Repository: https://github.com/gotestyourself/gotestsum
Canonical: https://ross.abutalabs.com/products/gotestsum
Language: Go
License: Apache-2.0
License Family: permissive
Topics: go, golang, go-test, junit-xml, ci, test, test-runner, testing
Last push: 2026-04-15T00:47:43+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 77, release rhythm 35, longevity 100
- inputs: {"age_days": 3087, "days_push": 141, "days_rel": 356, "gap_med": 54, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2712, forks 170 (observed 2026-08-28T04:07:11.914577+00:00)

## What it is
gotestsum is a Go test runner that wraps 'go test -' to produce human-friendly formatted output and a test run summary. It also writes JUnit XML for CI integration, re-runs failed tests, and offers watch mode for local development.

## Use cases
- run go tests with prettier output
- generate junit xml reports for ci
- rerun only failed flaky tests
- watch go files and rerun tests on save
- find slowest go tests
- summarize go test results

## When to choose
- you want readable go test output locally or in CI
- your CI system needs JUnit XML test reports
- you have flaky tests and want to rerun failures only

## When to avoid
- you are not testing Go code
- you need a full test framework rather than a runner wrapper

## Facets
- artifact type: cli-tool
- maturity: stable
- function: testing, cli, ci-cd
- domain: testing, developer-tools
- platform: cli, cross-platform, go
- tags: go-test, test-runner, junit-xml, test-output-formatting, flaky-test-rerun, watch-mode, command-line

## Member repositories
- gotestyourself/gotestsum (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:11.914577+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:15:33.305753+00:00, confidence not recorded.
  - readme: https://github.com/gotestyourself/gotestsum (fetched 2026-08-28T04:07:11.914577+00:00, sha 5432839ad297)
- Data as of 2026-08-30T08:39:29.467469+00:00.
