An xUnit family unit testing framework for Ruby
open sourceRuby OR BSD-2-Clausefree
test-unit (Test::Unit) is Ruby's original unit testing framework, based on the xUnit principles Kent Beck designed for Smalltalk's SUnit: you write test cases, check results with assertions and run them automatically. It ships with Ruby as a bundled gem, beside minitest, so you install the gem only to get a newer version. It is strict about backwards compatibility and aims to keep supporting old Ruby versions, even end-of-life ones, and extra features such as GUI test runners come as separate gems.
Problems it solves
- write unit tests in Ruby with xUnit-style assertions
- a Ruby test framework that keeps working on old Ruby versions
- run the testing library bundled with Ruby
Features
- xUnit-style test cases and assertions
- bundled with Ruby
- strict backwards compatibility
- supports end-of-life Ruby versions
- extra runners and helpers as separate gems
Alternatives
The same job
These do what test-unit does.
