Ruby/minitest/5.22.3


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

136 Other Versions

Version License Security Released
5.22.3 MIT 2024-03-13 - 20:31 about 1 month
5.22.2 MIT 2024-02-07 - 21:45 2 months
5.22.1 MIT 2024-02-07 - 02:21 2 months
5.22.0 MIT 2024-02-05 - 20:17 2 months
5.21.2 MIT 2024-01-18 - 07:53 3 months
5.21.1 MIT 2024-01-12 - 01:12 3 months
5.21.0 MIT 2024-01-11 - 23:14 3 months
5.20.0 MIT 2023-09-06 - 13:52 8 months
5.19.0 MIT 2023-07-26 - 18:15 9 months
5.18.1 MIT 2023-06-16 - 18:15 10 months
5.18.0 MIT 2023-03-04 - 22:40 about 1 year
5.17.0 MIT 2023-01-01 - 07:52 over 1 year
5.16.3 MIT 2022-08-17 - 09:37 over 1 year
5.16.2 MIT 2022-07-03 - 21:45 almost 2 years
5.16.1 MIT 2022-06-20 - 20:25 almost 2 years
5.16.0 MIT 2022-06-15 - 03:01 almost 2 years
5.15.0 MIT 2021-12-15 - 03:39 over 2 years
5.14.4 MIT 2021-02-24 - 05:15 about 3 years
5.14.3 MIT 2021-01-06 - 03:59 over 3 years
5.14.2 MIT 2020-09-01 - 00:01 over 3 years
5.14.1 MIT 2020-05-16 - 04:15 almost 4 years
5.14.0 MIT 2020-01-12 - 00:24 over 4 years
5.13.0 MIT 2019-10-30 - 04:16 over 4 years
5.12.2 MIT 2019-09-29 - 00:25 over 4 years
5.12.1 MIT 2019-09-28 - 10:21 over 4 years
5.12.0 MIT 2019-09-22 - 23:27 over 4 years
5.11.3 MIT 2018-01-26 - 23:58 about 6 years
5.11.2 MIT 2018-01-25 - 20:48 about 6 years
5.11.1 MIT 2018-01-02 - 23:16 over 6 years
5.11.0 MIT 2018-01-01 - 22:27 over 6 years
5.11.0b1 MIT 2017-12-21 - 02:13 over 6 years
5.10.3 MIT 2017-07-21 - 09:28 over 6 years
5.10.2 MIT 2017-05-09 - 22:01 almost 7 years
5.10.1 MIT 2016-12-02 - 00:04 over 7 years
5.10.0 MIT 2016-12-01 - 01:23 over 7 years
5.9.1 MIT 2016-09-26 - 02:16 over 7 years
5.9.0 MIT 2016-05-16 - 21:58 almost 8 years
5.8.5 MIT 2016-09-26 - 02:04 over 7 years
5.8.4 MIT 2016-01-21 - 23:45 about 8 years
5.8.3 MIT 2015-11-17 - 23:00 over 8 years
5.8.2 MIT 2015-10-26 - 22:54 over 8 years
5.8.1 MIT 2015-09-23 - 21:56 over 8 years
5.8.0 MIT 2015-08-06 - 21:51 over 8 years
5.7.0 MIT 2015-05-27 - 21:42 almost 9 years
5.6.1 MIT 2015-04-27 - 21:30 almost 9 years
5.6.0 MIT 2015-04-13 - 22:08 about 9 years
5.5.1 MIT 2015-01-10 - 00:35 over 9 years
5.5.0 MIT 2014-12-12 - 23:19 over 9 years
5.4.3 MIT 2014-11-11 - 23:44 over 9 years
5.4.2 MIT 2014-09-26 - 23:49 over 9 years
5.4.1 MIT 2014-08-28 - 22:33 over 9 years
5.4.0 MIT 2014-07-07 - 21:37 almost 10 years
5.3.5 MIT 2014-06-18 - 00:06 almost 10 years
5.3.4 MIT 2014-05-15 - 23:34 almost 10 years
5.3.3 MIT 2014-04-14 - 21:42 about 10 years
5.3.2 MIT 2014-04-02 - 22:54 about 10 years
5.3.1 MIT 2014-03-14 - 23:21 about 10 years
5.3.0 MIT 2014-02-26 - 00:47 about 10 years
5.2.3 MIT 2014-02-11 - 00:14 about 10 years
5.2.2 MIT 2014-01-22 - 22:57 about 10 years
5.2.1 MIT 2014-01-08 - 00:18 over 10 years
5.2.0 MIT 2013-12-14 - 01:05 over 10 years
5.1.0 MIT 2013-12-06 - 00:15 over 10 years
5.0.8 MIT 2013-09-21 - 00:36 over 10 years
5.0.7 MIT 2013-09-05 - 21:27 over 10 years
5.0.6 UNKNOWN 2013-06-28 - 23:44 almost 11 years
5.0.5 UNKNOWN 2013-06-21 - 00:36 almost 11 years
5.0.4 UNKNOWN 2013-06-07 - 22:27 almost 11 years
5.0.3 UNKNOWN 2013-05-30 - 00:46 almost 11 years
5.0.2 UNKNOWN 2013-05-20 - 22:46 almost 11 years
5.0.1 UNKNOWN 2013-05-15 - 00:15 almost 11 years
5.0.0 UNKNOWN 2013-05-10 - 23:02 almost 11 years
4.7.5 UNKNOWN 2013-06-22 - 00:17 almost 11 years
4.7.4 UNKNOWN 2013-05-01 - 22:42 almost 11 years
4.7.3 UNKNOWN 2013-04-21 - 00:59 almost 11 years
4.7.2 UNKNOWN 2013-04-18 - 23:16 about 11 years
4.7.1 UNKNOWN 2013-04-10 - 03:10 about 11 years
4.7.0 UNKNOWN 2013-03-18 - 22:31 about 11 years
4.6.2 UNKNOWN 2013-02-28 - 01:19 about 11 years
4.6.1 UNKNOWN 2013-02-15 - 00:29 about 11 years
4.6.0 UNKNOWN 2013-02-07 - 23:43 about 11 years
4.5.0 UNKNOWN 2013-01-23 - 03:30 about 11 years
4.4.0 UNKNOWN 2013-01-08 - 01:37 over 11 years
4.3.3 UNKNOWN 2012-12-07 - 01:07 over 11 years
4.3.2 UNKNOWN 2012-11-28 - 04:21 over 11 years
4.3.1 UNKNOWN 2012-11-23 - 22:51 over 11 years
4.3.0 UNKNOWN 2012-11-17 - 23:37 over 11 years
4.2.0 UNKNOWN 2012-11-02 - 23:06 over 11 years
4.1.0 UNKNOWN 2012-10-05 - 22:46 over 11 years
4.0.0 UNKNOWN 2012-09-29 - 00:50 over 11 years
3.5.0 UNKNOWN 2012-09-21 - 23:42 over 11 years
3.4.0 UNKNOWN 2012-09-05 - 22:13 over 11 years
3.3.0 UNKNOWN 2012-07-27 - 00:10 over 11 years
3.2.0 UNKNOWN 2012-06-26 - 22:35 almost 12 years
3.1.0 UNKNOWN 2012-06-13 - 23:28 almost 12 years
3.0.1 UNKNOWN 2012-05-24 - 21:14 almost 12 years
3.0.0 UNKNOWN 2012-05-09 - 03:36 almost 12 years
2.12.1 UNKNOWN 2012-04-11 - 03:35 about 12 years
2.12.0 UNKNOWN 2012-04-04 - 03:00 about 12 years
2.11.4 UNKNOWN 2012-03-21 - 00:23 about 12 years