A summary of data about the Ruby ecosystem.

https://github.com/test-unit/test-unit

test-unit
https://github.com/test-unit/test-unit

Keywords from Contributors

rubygems activerecord activejob mvc rack rspec ruby-gem repl rubocop documentation-tool

Last synced: about 22 hours ago
JSON representation

Repository metadata

test-unit

README.md

test-unit

Gem Version
Build Status for Ruby 2.1+

Description

An xUnit family unit testing framework for Ruby.

test-unit (Test::Unit) is unit testing framework for Ruby, based on xUnit
principles. These were originally designed by Kent Beck, creator of extreme
programming software development methodology, for Smalltalk's SUnit. It allows
writing tests, checking results and automated testing in Ruby.

test-unit ships as part of Ruby as a bundled gem. To check which version is included, see https://stdgems.org/test-unit/.
It's only necessary to install the gem if you need a newer version.

test-unit is the original Ruby unit testing library, and is still active.
It is one of two unit testing libraries bundled with Ruby, the other being minitest.

When deciding which to use, consider:

  • test-unit is strict about backwards compatibility. A backwards-incompatible change would be considered a bug.
  • test-unit aims to support old Ruby versions, even if EOL.

Features

  • test-unit 1.2.3 is the original test-unit, taken
    straight from the ruby distribution. It is being
    distributed as a gem to allow tool builders to use it as a
    stand-alone package. (The test framework in ruby is going
    to radically change very soon).

  • test-unit will be improved actively and may break
    compatibility with test-unit 1.2.3. (We will not hope it
    if it isn't needed.)

  • Some features exist as separated gems like GUI test
    runner. (Tk, GTK+ and Fox) test-unit-full gem package
    provides for installing all test-unit related gems
    easily.

How To

  • How To (link for GitHub)
  • {file:doc/text/how-to.md How To} (link for YARD)

Install

If you want to use full test-unit features:

License

This software is distributed under either the terms of new Ruby
License or BSDL. See the file COPYING.

Exception:

  • lib/test/unit/diff.rb is a triple license of (the new Ruby license
    or BSDL) and PSF license.

Authors

Active

  • Kouhei Sutou: The current maintainer
  • Haruka Yoshihara: Data driven test supports.

Inactive

  • Nathaniel Talbott: The original author
  • Ryan Davis: The second maintainer

Images

  • Mayu & Co.: kinotan icons

Thanks

  • Daniel Berger: Suggestions and bug reports.
  • Designing Patterns: Suggestions.
  • Erik Hollensbe: Suggestions and bug reports.
  • Bill Lear: A suggestion.
  • Diego Pettenò: A bug report.
  • Angelo Lakra: A bug report.
  • Mike Pomraning: A bug report.
  • David MARCHALAND: Suggestions and bug reports.
  • Andrew Grimm: A bug report.
  • Champak Ch: A bug report.
  • Florian Frank: A bug report.
  • grafi-tt: Bug fixes and reports.
  • Jeremy Stephens: A bug report.
  • Hans de Graaff: Bug reports.
  • James Mead: A bug report.
  • Marc Seeger (Acquia): A bug report.
  • boutil: A bug report.
  • Vladislav Rassokhin: A bug report.

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 1 day ago

Total Commits: 1,537
Total Committers: 68
Avg Commits per committer: 22.603
Development Distribution Score (DDS): 0.202

Commits in past year: 57
Committers in past year: 6
Avg Commits per committer in past year: 9.5
Development Distribution Score (DDS) in past year: 0.263

Name Email Commits
Kouhei Sutou k****u@c****m 1226
Tsutomu Katsube t****e@g****m 80
Kenji Okimoto o****o@c****m 68
Kenichi Kamiya k****1@g****m 24
Haruka Yoshihara y****a@c****m 23
Kazuki Tsujimoto k****i@c****t 10
takiy33 t****3@g****m 7
kares s****f@k****g 6
7rans t****e@g****m 5
dependabot[bot] 4****] 4
Ryan Davis r****y@z****m 4
Nobuyoshi Nakada n****u@r****g 4
Vít Ondruch v****h@r****m 3
naofumi-fujii n****i@g****m 3
cosmo0920 c****g@y****p 3
Akira Matsuda r****e@d****p 3
Andy Waite a****8 3
Hiroyuki Sato h****o@g****m 3
Ryo Onodera r****n@g****m 3
icm7216 i****d@g****m 2
Mau Magnaguagno m****o@g****m 2
Luke Gruber l****u@g****m 2
David Rodríguez d****z@r****t 2
Masafumi Yokoyama y****a@c****m 2
grosser g****l@g****m 2
Ryo Onodera o****a@c****m 1
Tom Miller t****m@g****m 1
Yuki Ito y****i@g****t 1
grafi g****i@g****p 1
Aaron Stone a****n@b****m 1
and 38 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 3 days ago

Total issues: 41
Total pull requests: 209
Average time to close issues: 10 months
Average time to close pull requests: 13 days
Total issue authors: 26
Total pull request authors: 42
Average comments per issue: 5.68
Average comments per pull request: 1.79
Merged pull request: 184
Bot issues: 0
Bot pull requests: 4

Past year issues: 5
Past year pull requests: 47
Past year average time to close issues: 13 days
Past year average time to close pull requests: 1 day
Past year issue authors: 3
Past year pull request authors: 6
Past year average comments per issue: 1.6
Past year average comments per pull request: 1.57
Past year merged pull request: 42
Past year bot issues: 0
Past year bot pull requests: 2

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/test-unit/test-unit

Top Issue Authors

  • tikkss (8)
  • kou (4)
  • djberg96 (2)
  • mtasaka (2)
  • asia215 (2)
  • eregon (2)
  • masa-kunikata (2)
  • btatnall (1)
  • changeworld (1)
  • mtsmfm (1)
  • xgraffm (1)
  • arika (1)
  • junaruga (1)
  • tueda (1)
  • kulldox (1)

Top Pull Request Authors

  • tikkss (113)
  • kachick (26)
  • Maumagnaguagno (6)
  • nobu (5)
  • dependabot[bot] (4)
  • kateinoigakukun (3)
  • k-tsj (3)
  • andyw8 (3)
  • naofumi-fujii (3)
  • MSP-Greg (3)
  • deivid-rodriguez (2)
  • luke-gru (2)
  • hiroyuki-sato (2)
  • kenichiice (2)
  • ydah (2)

Top Issue Labels

Top Pull Request Labels

  • dependencies (4)
  • github_actions (2)

Package metadata

gem.coop: test-unit

test-unit (Test::Unit) is unit testing framework for Ruby, based on xUnit principles. These were originally designed by Kent Beck, creator of extreme programming software development methodology, for Smalltalk's SUnit. It allows writing tests, checking results and automated testing in Ruby.

  • Homepage: https://test-unit.github.io/
  • Documentation: http://www.rubydoc.info/gems/test-unit/
  • Licenses: Ruby,BSDL,PSFL
  • Latest release: 3.7.7 (published 2 months ago)
  • Last Synced: 2026-03-01T08:31:34.419Z (2 days ago)
  • Versions: 112
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 85,400,752 Total
  • Docker Downloads: 4,812,084,700
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.117%
    • Downloads: 0.351%
  • Maintainers (5)
rubygems.org: test-unit

test-unit (Test::Unit) is unit testing framework for Ruby, based on xUnit principles. These were originally designed by Kent Beck, creator of extreme programming software development methodology, for Smalltalk's SUnit. It allows writing tests, checking results and automated testing in Ruby.

  • Homepage: https://test-unit.github.io/
  • Documentation: http://www.rubydoc.info/gems/test-unit/
  • Licenses: Ruby,BSDL,PSFL
  • Latest release: 3.7.7 (published 2 months ago)
  • Last Synced: 2026-03-02T09:33:12.616Z (1 day ago)
  • Versions: 112
  • Dependent Packages: 3,214
  • Dependent Repositories: 29,710
  • Downloads: 85,443,895 Total
  • Docker Downloads: 4,812,084,700
  • Rankings:
    • Docker downloads count: 0.004%
    • Dependent packages count: 0.018%
    • Dependent repos count: 0.201%
    • Downloads: 0.352%
    • Average: 1.121%
    • Forks count: 2.603%
    • Stargazers count: 3.546%
  • Maintainers (5)
proxy.golang.org: github.com/test-unit/test-unit

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/test-unit/test-unit#section-documentation
  • Licenses: other
  • Latest release: v2.5.3+incompatible (published over 13 years ago)
  • Last Synced: 2026-02-28T11:03:11.334Z (3 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent packages count: 5.426%
    • Average: 5.609%
    • Dependent repos count: 5.791%
repo1.maven.org: rubygems:test-unit

Test::Unit (test-unit) is unit testing framework for Ruby, based on xUnit principles. These were originally designed by Kent Beck, creator of extreme programming software development methodology, for Smalltalk's SUnit. It allows writing tests, checking results and automated testing in Ruby.

  • Homepage: https://github.com/test-unit/test-unit
  • Documentation: https://appdoc.app/artifact/rubygems/test-unit/
  • Licenses: Ruby,PSFL
  • Latest release: 3.0.3 (published almost 11 years ago)
  • Last Synced: 2026-02-28T11:03:09.696Z (3 days ago)
  • Versions: 1
  • Dependent Packages: 2
  • Dependent Repositories: 11
  • Rankings:
    • Dependent repos count: 7.418%
    • Average: 17.553%
    • Forks count: 19.044%
    • Stargazers count: 20.601%
    • Dependent packages count: 23.15%

Dependencies

test-unit.gemspec rubygems
  • bundler >= 0 development
  • kramdown >= 0 development
  • packnga >= 0 development
  • rake >= 0 development
  • yard >= 0 development
  • power_assert >= 0
.github/workflows/release.yml actions
  • actions/checkout v3 composite
  • softprops/action-gh-release v1 composite
.github/workflows/test.yml actions
  • actions/checkout v3 composite
  • ruby/setup-ruby v1 composite
Gemfile rubygems
  • bigdecimal >= 0 development

Score: 32.83045362722958