# minitest/minitest

minitest provides a complete suite of testing facilities supporting TDD, BDD, and benchmarking.

Repository: https://github.com/minitest/minitest
Canonical: https://ross.abutalabs.com/products/minitest
Homepage: https://docs.seattlerb.org/minitest/
Language: Ruby
License Family: other
Topics: ruby, test, testing, minitest, seattlerb
Last push: 2026-07-22T03:17:04+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 93, release rhythm 35, longevity 100
- inputs: {"age_days": 6405, "days_push": 42, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license, no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3411, forks 582 (observed 2026-08-28T04:08:03.462156+00:00)

## What it is
Minitest is a small, fast, and readable testing suite for Ruby supporting TDD, BDD, spec-style expectations, and benchmarking. It ships as minitest/test, minitest/spec, minitest/benchmark, and minitest/pride with a rich set of assertions.

## Use cases
- write unit tests for ruby code
- run tdd workflow in ruby
- bdd-style specs with expectations
- assert algorithm performance with benchmarks
- replace rspec with a lighter test framework
- bootstrap a minimal test suite for a language implementation

## When to choose
- you want a fast, dependency-light ruby test framework
- you prefer plain ruby over a testing DSL
- you need both test-unit and spec styles in one gem
- you want to assert performance characteristics of algorithms

## When to avoid
- you need rspec's rich matcher DSL and ecosystem
- you need built-in fixtures like database transactional tests
- you want extensive mocking out of the box

## Facets
- artifact type: library
- maturity: stable
- function: testing, benchmarking, e2e-testing
- domain: testing, developer-tools, programming-languages
- platform: ruby, cli
- tags: tdd, bdd, unit-testing, spec, test-framework, ruby-gem

## Member repositories
- minitest/minitest (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:03.462156+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-29T18:38:31.259248+00:00, confidence not recorded.
  - homepage: https://docs.seattlerb.org/minitest/ (fetched 2026-08-29T09:32:29.857721+00:00, sha 35df96227a34)
  - site_page: https://docs.seattlerb.org/minitest/index.html (fetched 2026-08-29T09:32:29.867566+00:00, sha 35df96227a34)
- Data as of 2026-08-30T08:39:29.467469+00:00.
