Ruby/minitest/5.25.1


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

"I had a class with Jim Weirich on testing last week and we were
 allowed to choose our testing frameworks. Kirk Haines and I were
 paired up and we cracked open the code for a few test
 frameworks...

 I MUST say that minitest is *very* readable / understandable
 compared to the 'other two' options we looked at. Nicely done and
 thank you for helping us keep our mental sanity."

-- Wayne E. Seguin

minitest/test is a small and incredibly fast unit testing framework. It provides a rich set of assertions to make your tests clean and readable.

minitest/spec is a functionally complete spec engine. It hooks onto minitest/test and seamlessly bridges test assertions over to spec expectations.

minitest/benchmark is an awesome way to assert the performance of your algorithms in a repeatable manner. Now you can assert that your newb co-worker doesn't replace your linear algorithm with an exponential one!

minitest/mock by Steven Baker, is a beautifully tiny mock (and stub) object framework.

minitest/pride shows pride in testing and adds coloring to your test output. I guess it is an example of how to write IO pipes too. :P

minitest/test is meant to have a clean implementation for language implementors that need a minimal set of methods to bootstrap a working test suite. For example, there is no magic involved for test-case discovery.

"Again, I can't praise enough the idea of a testing/specing
 framework that I can actually read in full in one sitting!"

-- Piotr Szotkowski

Comparing to rspec:

rspec is a testing DSL. minitest is ruby.

-- Adam Hawkins, "Bow Before MiniTest"

minitest doesn't reinvent anything that ruby already provides, like: classes, modules, inheritance, methods. This means you only have to learn ruby to use minitest and all of your regular OO practices like extract-method refactorings still apply.

https://rubygems.org/gems/minitest
MIT

146 Other Versions

Version License Security Released
5.25.5 MIT 2025-03-12 - 19:41 4 months
5.25.4 MIT 2024-12-04 - 04:06 7 months
5.25.3 MIT 2024-12-03 - 19:28 7 months
5.25.2 MIT 2024-11-21 - 20:19 8 months
5.25.1 MIT 2024-08-16 - 18:15 11 months
5.25.0 MIT 2024-08-14 - 03:42 11 months
5.24.1 MIT 2024-06-29 - 21:43 about 1 year
5.24.0 MIT 2024-06-19 - 02:50 about 1 year
5.23.1 MIT 2024-05-22 - 01:02 about 1 year
5.23.0 MIT 2024-05-15 - 19:42 about 1 year
5.22.3 MIT 2024-03-13 - 20:31 over 1 year
5.22.2 MIT 2024-02-07 - 21:45 over 1 year
5.22.1 MIT 2024-02-07 - 02:21 over 1 year
5.22.0 MIT 2024-02-05 - 20:17 over 1 year
5.21.2 MIT 2024-01-18 - 07:53 over 1 year
5.21.1 MIT 2024-01-12 - 01:12 over 1 year
5.21.0 MIT 2024-01-11 - 23:14 over 1 year
5.20.0 MIT 2023-09-06 - 13:52 almost 2 years
5.19.0 MIT 2023-07-26 - 18:15 almost 2 years
5.18.1 MIT 2023-06-16 - 18:15 about 2 years
5.18.0 MIT 2023-03-04 - 22:40 over 2 years
5.17.0 MIT 2023-01-01 - 07:52 over 2 years
5.16.3 MIT 2022-08-17 - 09:37 almost 3 years
5.16.2 MIT 2022-07-03 - 21:45 about 3 years
5.16.1 MIT 2022-06-20 - 20:25 about 3 years
5.16.0 MIT 2022-06-15 - 03:01 about 3 years
5.15.0 MIT 2021-12-15 - 03:39 over 3 years
5.14.4 MIT 2021-02-24 - 05:15 over 4 years
5.14.3 MIT 2021-01-06 - 03:59 over 4 years
5.14.2 MIT 2020-09-01 - 00:01 almost 5 years
5.14.1 MIT 2020-05-16 - 04:15 about 5 years
5.14.0 MIT 2020-01-12 - 00:24 over 5 years
5.13.0 MIT 2019-10-30 - 04:16 over 5 years
5.12.2 MIT 2019-09-29 - 00:25 almost 6 years
5.12.1 MIT 2019-09-28 - 10:21 almost 6 years
5.12.0 MIT 2019-09-22 - 23:27 almost 6 years
5.11.3 MIT 2018-01-26 - 23:58 over 7 years
5.11.2 MIT 2018-01-25 - 20:48 over 7 years
5.11.1 MIT 2018-01-02 - 23:16 over 7 years
5.11.0 MIT 2018-01-01 - 22:27 over 7 years
5.11.0b1 MIT 2017-12-21 - 02:13 over 7 years
5.10.3 MIT 2017-07-21 - 09:28 almost 8 years
5.10.2 MIT 2017-05-09 - 22:01 about 8 years
5.10.1 MIT 2016-12-02 - 00:04 over 8 years
5.10.0 MIT 2016-12-01 - 01:23 over 8 years
5.9.1 MIT 2016-09-26 - 02:16 almost 9 years
5.9.0 MIT 2016-05-16 - 21:58 about 9 years
5.8.5 MIT 2016-09-26 - 02:04 almost 9 years
5.8.4 MIT 2016-01-21 - 23:45 over 9 years
5.8.3 MIT 2015-11-17 - 23:00 over 9 years