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.

License

License

Ruby
PSFL
Categories

Categories

Ruby Languages
GroupId

GroupId

rubygems
ArtifactId

ArtifactId

test-unit
Last Version

Last Version

3.0.3
Release Date

Release Date

Type

Type

gem
Description

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.
Project URL

Project URL

https://github.com/test-unit/test-unit
Source Code Management

Source Code Management

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

Download test-unit

Dependencies

compile (1)

Group / Artifact Type Version
rubygems : power_assert gem [0,)

test (5)

Group / Artifact Type Version
rubygems » bundler gem [0,)
rubygems : rake gem [0,)
rubygems » yard gem [0,)
rubygems » kramdown gem [0,)
rubygems » packnga gem [0,)

Project Modules

There are no modules declared in this project.

test-unit

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.

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 compatiblity 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

% sudo gem install test-unit

If you want to use full test-unit features:

% sudo gem install test-unit-full

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.
rubygems

test-unit

Versions

Version
3.0.3