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