minitest 5.11.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 2c82c1408c60d4743cf06566256146090f22ab11bc5f024cbf4026fd967d7eb6
4
+ data.tar.gz: 93e140e22554c00911e381fa0584c52add681e5adb34bc3e575ee79459d7df6e
5
+ SHA512:
6
+ metadata.gz: 3621855d2763f225b2b99061c9eed994040debd9b1b032ebb3318adc42413493458b5c47569b7305954fc7575e870ad97441ce8bec7ddadb92afdd126f1f4bda
7
+ data.tar.gz: 19e04c6feff4f3d0cda89fadf4bd3f28415301d8adb2e5650a064cb74df57d8ee9885175738ac967d7a839496ac1c0f1c690627e8a2ca83f71edd6b0edb5b811
Binary file
Binary file
@@ -0,0 +1,34 @@
1
+ # -*- ruby -*-
2
+
3
+ require 'autotest/restart'
4
+ require 'autotest/rcov' if ENV['RCOV']
5
+
6
+ Autotest.add_hook :initialize do |at|
7
+ at.testlib = 'minitest/autorun'
8
+
9
+ bench_tests = %w(TestMinitestBenchmark)
10
+ mock_tests = %w(TestMinitestMock TestMinitestStub)
11
+ spec_tests = %w(TestMinitestReporter TestMetaStatic TestMeta
12
+ TestSpecInTestCase)
13
+ unit_tests = %w(TestMinitestGuard TestMinitestRunnable
14
+ TestMinitestRunner TestMinitestTest TestMinitestUnit
15
+ TestMinitestUnitInherited TestMinitestUnitOrder
16
+ TestMinitestUnitRecording TestMinitestUnitTestCase)
17
+
18
+ {
19
+ bench_tests => "test/minitest/test_minitest_benchmark.rb",
20
+ mock_tests => "test/minitest/test_minitest_mock.rb",
21
+ spec_tests => "test/minitest/test_minitest_reporter.rb",
22
+ unit_tests => "test/minitest/test_minitest_unit.rb",
23
+ }.each do |klasses, file|
24
+ klasses.each do |klass|
25
+ at.extra_class_map[klass] = file
26
+ end
27
+ end
28
+
29
+ at.add_exception 'coverage.info'
30
+ at.add_exception 'coverage'
31
+ end
32
+
33
+ # require 'autotest/rcov'
34
+ # Autotest::RCov.command = 'rcov_info'
@@ -0,0 +1,1310 @@
1
+ === 5.11.3 / 2018-01-26
2
+
3
+ * 1 bug fix:
4
+
5
+ * Pushed #error? up to Reportable module. (composerinteralia)
6
+
7
+ === 5.11.2 / 2018-01-25
8
+
9
+ * 1 minor enhancement:
10
+
11
+ * Reversed Test < Result. Back to < Runnable and using Reportable for shared code.
12
+
13
+ * 2 bug fixes:
14
+
15
+ * Fixed Result#location for instances of Test. (alexisbernard)
16
+ * Fixed deprecation message for Runnable#marshal_dump. (y-yagi)
17
+
18
+ === 5.11.1 / 2018-01-02
19
+
20
+ * 1 bug fix:
21
+
22
+ * Fixed Result (a superclass of Test) overriding Runnable's name accessors. (y-yagi, MSP-Greg)
23
+
24
+ === 5.11.0 / 2018-01-01
25
+
26
+ * 2 major enhancements:
27
+
28
+ * Added Minitest::Result and Minitest::Result.from(runnable).
29
+ * Changed Minitest::Test to subclass Result and refactored methods up.
30
+
31
+ * 7 minor enhancements:
32
+
33
+ * Added --no-plugins and MT_NO_PLUGINS to bypass MT plugin autoloading. Helps with bad actors installed globally.
34
+ * Added bench_performance_{logarithmic,power} for spec-style benchmarks. (rickhull)
35
+ * Added deprecation warning for Runnable#marshal_dump.
36
+ * Minitest.run_one_method now checks for instance of Result, not exact same class.
37
+ * Minitest::Test.run returns a Result version of self, not self.
38
+ * ProgressReporter#prerecord now explicitly prints klass.name. Allows for fakers.
39
+
40
+ * 4 bug fixes:
41
+
42
+ * Object.stub no longer calls the passed block if stubbed with a callable.
43
+ * Object.stub now passes blocks down to the callable result.
44
+ * Pushed Minitest::Test#time & #time_it up to Runnable.
45
+ * Test nil equality directly in assert_equal. Fixes #679. (voxik)
46
+
47
+ === 5.11.0b1 / 2017-12-20
48
+
49
+ * 2 major enhancements:
50
+
51
+ * Added Minitest::Result and Minitest::Result.from(runnable).
52
+ * Changed Minitest::Test to subclass Result and refactored methods up.
53
+
54
+ * 6 minor enhancements:
55
+
56
+ * Added --no-plugins and MT_NO_PLUGINS to bypass MT plugin autoloading. Helps with bad actors installed globally.
57
+ * Added bench_performance_{logarithmic,power} for spec-style benchmarks. (rickhull)
58
+ * Minitest.run_one_method now checks for instance of Result, not exact same class.
59
+ * Minitest::Test.run returns a Result version of self, not self.
60
+ * ProgressReporter#prerecord now explicitly prints klass.name. Allows for fakers.
61
+ * Removed Runnable.marshal_dump/load.
62
+
63
+ * 4 bug fixes:
64
+
65
+ * Object.stub no longer calls the passed block if stubbed with a callable.
66
+ * Object.stub now passes blocks down to the callable result.
67
+ * Pushed Minitest::Test#time & #time_it up to Runnable.
68
+ * Test nil equality directly in assert_equal. Fixes #679. (voxik)
69
+
70
+ === 5.10.3 / 2017-07-21
71
+
72
+ * 1 minor enhancement:
73
+
74
+ * Extended documentation for Mock#expect for multiple calls to mock object. (insti)
75
+
76
+ * 2 bug fixes:
77
+
78
+ * Finished off missing doco.
79
+ * Fixed verbose output on parallelize_me! classes. (chanks)
80
+
81
+ === 5.10.2 / 2017-05-09
82
+
83
+ * 1 minor enhancement:
84
+
85
+ * Added suggestion in minitest/hell to install minitest/proveit.
86
+
87
+ * 7 bug fixes:
88
+
89
+ * Expand MT6 to Minitest 6. (xaviershay)
90
+ * Fixed location of assert_send deprecation. (rab)
91
+ * Fixed location of nil assert_equal deprecation to work with expectations. (jeremyevans)
92
+ * Fixed minitest/hell to use parallelize_me! (azul)
93
+ * Made deprecation use warn so -W0 will silence it.
94
+ * Workaround for rdoc nodoc generation bug that totally f'd up minitest doco. (Paxa)
95
+ * Write aggregated_results directly to the IO object to avoid mixed encoding errors. (tenderlove)
96
+
97
+ === 5.10.1 / 2016-12-01
98
+
99
+ * 1 bug fix:
100
+
101
+ * Added a hack/kludge to deal with missing #prerecord on reporters that aren't properly subclassing AbstractReporter (I'm looking at you minitest-reporters)
102
+
103
+ === 5.10.0 / 2016-11-30
104
+
105
+ * 1 major enhancement:
106
+
107
+ * Deprecated ruby 1.8, 1.9, possibly 2.0, assert_send, & old MiniTest namespace.
108
+
109
+ * 3 minor enhancements:
110
+
111
+ * Warn if assert_equal expects a nil. This will fail in minitest 6+. (tenderlove)
112
+ * Added AbstractReporter#prerecord and extended ProgressReporter and CompositeReporter to use it.
113
+ * Minor optimization: remove runnables with no runnable methods before run.
114
+
115
+ * 3 bug fixes:
116
+
117
+ * Fix assert_throw rescuing any NameError and ArgumentError. (waldyr)
118
+ * Clean up (most of the) last remaining vestiges of minitest/unit.
119
+ * 2.4: removed deprecation warnings when referring to Fixnum.
120
+
121
+ === 5.9.1 / 2016-09-25
122
+
123
+ * 2 bug fixes:
124
+
125
+ * Re-release to refresh gem certificate signing. ugh.
126
+ * Fixed hoe/minitest to not augment load path if we're actually testing minitest.
127
+
128
+ === 5.9.0 / 2016-05-16
129
+
130
+ * 8 minor enhancements:
131
+
132
+ * Added Minitest.info_signal accessors to customize signal for test run info. (nate)
133
+ * Added assert_mock to make it more clear that you're testing w/ them.
134
+ * Added negative filter by test name. (utilum)
135
+ * Added warning to README that 1.8 and 1.9 support will be dropped in minitest 6.
136
+ * Automatically activate minitest/hell if $MT_HELL is defined.
137
+ * Improved default error messages for assert and refute. (bhenderson)
138
+ * minitest/hell now tries to require minitest/proveit
139
+ * mu_pp for strings prints out non-standard encodings to improve assert_equal diffs.
140
+
141
+ * 1 bug fix:
142
+
143
+ * Removed Interrupt from PASSTHROUGH_EXCEPTIONS (already handled). (waldyr)
144
+
145
+ === 5.8.5 / 2016-09-25
146
+
147
+ * 2 bug fixes:
148
+
149
+ * Re-release to refresh gem certificate signing. ugh.
150
+ * Fixed hoe/minitest to not augment load path if we're actually testing minitest.
151
+
152
+ === 5.8.4 / 2016-01-21
153
+
154
+ * 1 bug fix:
155
+
156
+ * Allow Minitest::Assertion to pass through assert_raises so inner failures are dealt with first.
157
+
158
+ === 5.8.3 / 2015-11-17
159
+
160
+ * 1 minor enhancement:
161
+
162
+ * Added extra note about mocks and threads to readme. (zamith)
163
+
164
+ * 1 bug fix:
165
+
166
+ * Fixed bug in Mock#verify. (pithub/zamith)
167
+
168
+ === 5.8.2 / 2015-10-26
169
+
170
+ * 1 bug fix:
171
+
172
+ * Fixed using parallelize_me! and capture_io (or any locking io). (arlt/tenderlove)
173
+
174
+ === 5.8.1 / 2015-09-23
175
+
176
+ * 1 minor enhancement:
177
+
178
+ * Refactor assert_raises to be cleaner and to pass SystemExit and SignalException. (bhenderson)
179
+
180
+ === 5.8.0 / 2015-08-06
181
+
182
+ * 2 minor enhancements:
183
+
184
+ * Add optional delegation mechanism to extend object with a mock. (zamith)
185
+ * Return early if there are no filtered methods. (jeremyevans)
186
+
187
+ * 1 bug fix:
188
+
189
+ * Don't extend io with pride if io is not a tty. (toy)
190
+
191
+ === 5.7.0 / 2015-05-27
192
+
193
+ * 1 major enhancement:
194
+
195
+ * assert_raises now matches subclasses of the expected exception types. (jeremyevans)
196
+
197
+ * 3 minor enhancements:
198
+
199
+ * Added :block type for minitest/spec's #infect_an_assertion. (jeremyevans)
200
+ * Inline verification error messages in minitest/mock for GC performance. (zamith)
201
+ * assert_raises defaults to RuntimeError if not specified. (jeremyevans)
202
+
203
+ * 4 bug fixes:
204
+
205
+ * Added 'class' to minitest/mock's overridden_methods list. (zamith)
206
+ * Added file/line to infect_an_assertion's class_eval call. (jeremyevans)
207
+ * Cleared UnexpectedError's mesg w/ generic string.
208
+ * Fixed non-proc-oriented expectations when used on proc target. (jeremyevans)
209
+
210
+ === 5.6.1 / 2015-04-27
211
+
212
+ * 2 bug fixes:
213
+
214
+ * Added Minitest.clock_time and switched all Time.now to it. (tenderlove)
215
+ * Moved Minitest::Expectations#_ into Minitest::Spec::DSL.
216
+
217
+ === 5.6.0 / 2015-04-13
218
+
219
+ * 4 major enhancements:
220
+
221
+ * Added Minitest::Expectation value monad.
222
+ * Added Minitest::Expectations#_ that returns an Expectation. Aliased to value.
223
+ * All expectations are added to Minitest::Expectation.
224
+ * At some point, the methods on Object will be deprecated and then removed.
225
+
226
+ * 4 minor enhancements:
227
+
228
+ * Added a note about bundle exec pitfall in ruby 2.2+. (searls)
229
+ * Lazily start the parallel executor. (tenderlove)
230
+ * Make mocks more debugger-friendly (edward)
231
+ * Print out the current test run on interrupt. (riffraff)
232
+
233
+ * 3 bug fixes:
234
+
235
+ * Fix failing test under Windows. (kimhmadsen)
236
+ * Record mocked calls before they happen so mocks can raise exceptions easier (tho I'm not a fan). (corecode)
237
+ * Tried to clarify mocks vs stubs terminology better. (kkirsche)
238
+
239
+ === 5.5.1 / 2015-01-09
240
+
241
+ * 1 bug fix:
242
+
243
+ * Fixed doco problems. (zzak)
244
+
245
+ === 5.5.0 / 2014-12-12 // mri 2.2.0 (as a real gem)
246
+
247
+ * 1 minor enhancement:
248
+
249
+ * Allow seed to be given via ENV for rake test loader sadness: eg rake SEED=42.
250
+
251
+ === 5.4.3 / 2014-11-11
252
+
253
+ * 2 bug fixes:
254
+
255
+ * Clarified requirements for ruby are now 1.8.7 or better.
256
+ * Force encode error output in case mal-encoded exception is raised. (jasonrclark)
257
+
258
+ === 5.4.2 / 2014-09-26
259
+
260
+ * 2 minor enhancements:
261
+
262
+ * Extract teardown method list.
263
+ * Thanks to minitest-gcstats got a 5-10% speedup via reduced GC!
264
+
265
+ === 5.4.1 / 2014-08-28
266
+
267
+ * 1 bug fix:
268
+
269
+ * Fixed specs hidden by nesting/ordering bug (blowmage/apotonick)
270
+
271
+ === 5.4.0 / 2014-07-07
272
+
273
+ * 2 minor enhancements:
274
+
275
+ * Kernel#describe extended to splat additional_desc.
276
+ * Spec#spec_type extended to take a splat of additional items, passed to matcher procs.
277
+
278
+ * 1 bug fix:
279
+
280
+ * minitest/spec should require minitest/test, not minitest/unit. (doudou)
281
+
282
+ === 5.3.5 / 2014-06-17
283
+
284
+ * 1 minor enhancement:
285
+
286
+ * Spit and polish (mostly spit).
287
+
288
+ === 5.3.4 / 2014-05-15
289
+
290
+ * 1 minor enhancement:
291
+
292
+ * Test classes are randomized before running. (judofyr)
293
+
294
+ === 5.3.3 / 2014-04-14
295
+
296
+ * 1 bug fix:
297
+
298
+ * Fixed using expectations w/ DSL in Test class w/o describe. (blowmage+others)
299
+
300
+ === 5.3.2 / 2014-04-02
301
+
302
+ * 1 bug fix:
303
+
304
+ * Fixed doco on Assertions.assertions. (xaviershay)
305
+
306
+ === 5.3.1 / 2014-03-14
307
+
308
+ * 1 minor enhancement:
309
+
310
+ * Modified verbage on bad 'let' names to be more helpful. (Archytaus)
311
+
312
+ * 1 bug fix:
313
+
314
+ * Fixed 2 cases still using MiniTest. (mikesea)
315
+
316
+ === 5.3.0 / 2014-02-25
317
+
318
+ * 1 minor enhancement:
319
+
320
+ * Mocked methods can take a block to verify state. Seattle.rb 12 bday present from ernie! Thanks!!
321
+
322
+ === 5.2.3 / 2014-02-10
323
+
324
+ * 1 bug fix:
325
+
326
+ * Fixed Spec#let check to allow overriding of other lets. (mvz)
327
+
328
+ === 5.2.2 / 2014-01-22
329
+
330
+ * 1 minor enhancement:
331
+
332
+ * Spec#let raises ArgumentError if you override _any_ instance method (except subject). (rynr)
333
+
334
+ * 1 bug fix:
335
+
336
+ * Fixed up benchmark spec doco and added a test to demonstrate. (bhenderson)
337
+
338
+ === 5.2.1 / 2014-01-07
339
+
340
+ * 1 bug fix:
341
+
342
+ * Properly deal with horrible mix of runtime load errors + other at_exit handlers. (dougo/chqr)
343
+
344
+ === 5.2.0 / 2013-12-13
345
+
346
+ * 1 minor enhancement:
347
+
348
+ * Change expectations to allow calling most on procs (but not calling the proc). (bhenderson+others)
349
+
350
+ === 5.1.0 / 2013-12-05
351
+
352
+ * 1 minor enhancement:
353
+
354
+ * Use a Queue for scheduling parallel tests. (tenderlove)
355
+
356
+ * 1 bug fix:
357
+
358
+ * Fixed misspelling in doco. (amatsuda)
359
+
360
+ === 5.0.8 / 2013-09-20
361
+
362
+ * 1 bug fix:
363
+
364
+ * Fixed siginfo handler by rearranging reporters and fixing to_s. (tenderlove)
365
+
366
+ === 5.0.7 / 2013-09-05
367
+
368
+ * 2 minor enhancements:
369
+
370
+ * Added clarification about the use of thread local variables in expectations. (jemc)
371
+ * Added extra message about skipped tests, if any. Disable globally with $MT_NO_SKIP_MSG.
372
+
373
+ * 2 bug fixes:
374
+
375
+ * Only require minitest, not minitest/autorun in pride_plugin. (judofyr)
376
+ * Require rubygems in load_plugins in case you're not using minitest/autorun.
377
+
378
+ === 5.0.6 / 2013-06-28
379
+
380
+ * 3 minor enhancements:
381
+
382
+ * Allow stub to pass args to blocks. (swindsor)
383
+ * Improved warning message about minitest/autorun to address 1.9's minitest/autorun.
384
+ * Made minitest/test require minitest as needed. For lib writers. (erikh)
385
+
386
+ * 1 bug fix:
387
+
388
+ * Fixed missing require in minitest/test. (erikh)
389
+
390
+ === 4.7.5 / 2013-06-21 // mri 2.1.1
391
+
392
+ * 2 bug fixes:
393
+
394
+ * Fix Spec#describe_stack to be thread local.
395
+ * Fix multithreaded test failures by defining Time local to mock test namespace
396
+
397
+ === 5.0.5 / 2013-06-20
398
+
399
+ * 6 bug fixes:
400
+
401
+ * DOH! Fixed the rest of the new casing on Minitest. (splattael)
402
+ * Fixed typo on minitest/mock rdoc. (mrgilman/guiceolin)
403
+ * Make Spec::DSL.describe_stack thread local to avoid failing on my own tests.
404
+ * Make a fake Time.now local to the tests so they won't interfere with real reporter timings.
405
+ * Make everything mockable by wrapping all 'special' methods in a smarter wrapper. (bestie)
406
+ * Raise ArgumentError if let name starts with 'test'. (johnmaxwell)
407
+
408
+ === 5.0.4 / 2013-06-07
409
+
410
+ * 5 minor enhancements:
411
+
412
+ * Added AbstractReporter, defining required Reporter API to quack properly.
413
+ * Added doco for writing reporters.
414
+ * Refactored Reporter into ProgressReporter and SummaryReporter. (idea: phiggins, code:me+scotch)
415
+ * Refactored SummaryReporter pushing up to StatisticsReporter. (phiggins)
416
+ * Removed Reporter#run_and_report... cleaner, but doesn't "fit" in the API.
417
+
418
+ === 5.0.3 / 2013-05-29
419
+
420
+ * 4 minor enhancements:
421
+
422
+ * Added Runnable.with_info_handler and Runnable.on_signal.
423
+ * Moved io.sync restore to Reporter#run_and_report.
424
+ * Refactored inner loop of Reporter#report to #to_s. Callable for status updates.
425
+ * Restored MT4's mid-run report (^t). (tenderlove).
426
+
427
+ === 5.0.2 / 2013-05-20
428
+
429
+ * 3 bug fixes:
430
+
431
+ * Gem.find_files is smarter than I remember... cause I wrote it that way. *sigh* I'm getting old.
432
+ * Pride wasn't doing puts through its #io. (tmiller/tenderlove)
433
+ * Replaced Runnable#dup and Test#dup with marshal_dump/load. Too many problems cropping up on untested rails code. (tenderlove/rubys)
434
+
435
+ === 5.0.1 / 2013-05-14
436
+
437
+ * 2 bug fixes:
438
+
439
+ * Documented Assertions' need for @assertions to be defined by the includer.
440
+ * Only load one plugin version per name. Tries for latest.
441
+
442
+ === 5.0.0 / 2013-05-10
443
+
444
+ Oh god... here we go...
445
+
446
+ Minitest 5:
447
+
448
+ * 4 deaths in the family:
449
+
450
+ * MiniTest.runner is dead. No more manager objects.
451
+ * MiniTest::Unit#record is dead. Use a Reporter instance instead.
452
+ * MiniTest::Unit._run_* is dead. Runnable things are responsible for their own runs.
453
+ * MiniTest::Unit.output is dead. No more centralized IO.
454
+
455
+ * 12 major (oft incompatible) changes:
456
+
457
+ * Renamed MiniTest to Minitest. Your pinkies will thank me. (aliased to MiniTest)
458
+ * Removed MiniTest::Unit entirely. No more manager objects.
459
+ * Added Minitest::Runnable. Everything minitest can run subclasses this.
460
+ * Renamed MiniTest::Unit::TestCase to Minitest::Test (subclassing Runnable).
461
+ * Added Minitest::Benchmark.
462
+ * Your benchmarks need to move to their own subclass.
463
+ * Benchmarks using the spec DSL have to have "Bench" somewhere in their describe.
464
+ * MiniTest::Unit.after_tests moved to Minitest.after_tests
465
+ * MiniTest::Unit.autorun is now Minitest.autorun. Just require minitest/autorun pls.
466
+ * Removed ParallelEach#grep since it isn't used anywhere.
467
+ * Renamed Runnable#__name__ to Runnable#name (but uses @NAME internally).
468
+ * Runnable#run needs to return self. Allows for swapping of results as needed.
469
+
470
+ * 8 minor moves:
471
+
472
+ * Moved Assertions module to minitest/assertions.rb
473
+ * Moved Expectations module to minitest/expectations.rb
474
+ * Moved Test to minitest/test.rb
475
+ * Moved everything else in minitest/unit.rb to minitest.rb
476
+ * minitest/unit.rb is now just a small (user-test only) compatibility layer.
477
+ * Moved most of minitest/pride into minitest/pride_plugin.
478
+ * minitest/pride now just activates pride.
479
+ * Moved ParallelEach under Minitest.
480
+
481
+ * 9 additions:
482
+
483
+ * Added a plugin system that can extend command-line options.
484
+ * Added Minitest.extensions.
485
+ * Added Minitest.reporter (only available during startup).
486
+ * Added Minitest.run(args). This is the very top of any Minitest run.
487
+ * Added Minitest::Reporter. Everything minitest can report goes through here.
488
+ * Minitest.reporter is a composite so you can add your own.
489
+ * Added Minitest::CompositeReporter. Much easier to extend with your own reporters.
490
+ * Added UnexpectedError, an Assertion subclass, to wrap up errors.
491
+ * Minitest::Test#run is now freakin' beautiful. 47 -> 17 loc
492
+
493
+ * 11 other:
494
+
495
+ * Removed Object.infect_with_assertions (it was already dead code).
496
+ * Runnables are responsible for knowing their result_code (eg "." or "F").
497
+ * Minitest.autorun now returns boolean, not exit code.
498
+ * Added FAQ entry for extending via modules. (phiggins)
499
+ * Implement Runnable#dup to cleanse state back to test results. Helps with serialization. pair:tenderlove
500
+ * Moved ParallelEach under Minitest.
501
+ * Runnable#run needs to return self. Allows for swapping of results as needed.
502
+ * Minitest.init_plugins passes down options.
503
+ * Minitest.load_plugins only loads once.
504
+ * Fixed minitest/pride to work with rake test loader again. (tmiller)
505
+ * Added count/size to ParallelEach to fix use w/in stdlib's test/unit. :( (btaitelb)
506
+
507
+ * 5 voodoo:
508
+
509
+ * Removed mutex from minitest.rb (phiggins)
510
+ * Removed mutex from test.rb (phiggins)
511
+ * Removed Minitest::Reporter.synchronize (phiggins)
512
+ * Removed Minitest::Test.synchronize (phiggins)
513
+ * Upon loading minitest/parallel_each, record, capture_io and capture_subprocess_io are doped with synchronization code. (phiggins)
514
+
515
+ === 4.7.4 / 2013-05-01
516
+
517
+ This is probably the last release of the 4.x series. It will be merged
518
+ to ruby and will be put into maintenance mode there.
519
+
520
+ I'm not set in stone on this, but at this point further development of
521
+ minitest (5+) will be gem-only. It is just too hard to work w/in
522
+ ruby-core w/ test-unit compatibility holding minitest development
523
+ back.
524
+
525
+ * 2 minor enhancements:
526
+
527
+ * Added count/size to ParallelEach to fix use w/in stdlib's test/unit. :( (btaitelb)
528
+ * Allow disabling of info_signal handler in runner. (erikh)
529
+
530
+ === 4.7.3 / 2013-04-20
531
+
532
+ * 1 bug fix:
533
+
534
+ * Reverted stubbing of module methods change. Stub the user, not the impl. (ab9/tyabe)
535
+
536
+ === 4.7.2 / 2013-04-18
537
+
538
+ * 2 bug fixes:
539
+
540
+ * Fixed inconsistency in refute_in_delta/epsilon. I double negatived my logic. (nettsundere)
541
+ * Fixed stubbing of module methods (eg Kernel#sleep). (steveklabnik)
542
+
543
+ === 4.7.1 / 2013-04-09
544
+
545
+ * 1 minor enhancement:
546
+
547
+ * Added FAQ section to README
548
+
549
+ * 1 bug fix:
550
+
551
+ * Fixed bug where guard runs tests bypassing minitest/autorun and an ivar isn't set right. (darrencauthon)
552
+
553
+ === 4.7.0 / 2013-03-18
554
+
555
+ * 1 major enhancement:
556
+
557
+ * Refactored MiniTest::Spec into MiniTest::Spec::DSL.
558
+
559
+ * 1 bug fix:
560
+
561
+ * Removed $DEBUG handler that detected when test/unit and minitest were both loaded. (tenderlove)
562
+
563
+ === 4.6.2 / 2013-02-27
564
+
565
+ * 1 minor enhancement:
566
+
567
+ * Change error output to match Class#method, making it easier to use -n filter.
568
+
569
+ === 4.6.1 / 2013-02-14
570
+
571
+ * 1 bug fix:
572
+
573
+ * Fixed an option processing bug caused by test/unit's irresponsibly convoluted code. (floehopper)
574
+
575
+ === 4.6.0 / 2013-02-07
576
+
577
+ * 3 major enhancements:
578
+
579
+ * Removed ::reset_setup_teardown_hooks
580
+ * Removed the long deprecated assert_block
581
+ * Removed the long deprecated lifecycle hooks: add_(setup|teardown)_hook
582
+
583
+ * 1 minor enhancement:
584
+
585
+ * Allow filtering tests by suite name as well as test name. (lazyatom)
586
+
587
+ * 2 bug fixes:
588
+
589
+ * Made hex handling (eg object_ids) in mu_pp_for_diff more specific. (maxim)
590
+ * nodoc top-level module. (zzak)
591
+
592
+ === 4.5.0 / 2013-01-22
593
+
594
+ * 1 major enhancement:
595
+
596
+ * Rearranged minitest/unit.rb so NO parallelization code is loaded/used until you opt-in.
597
+
598
+ * 4 minor enhancements:
599
+
600
+ * Added TestCase#skipped? for teardown guards
601
+ * Added maglev? guard
602
+ * Document that record can be sent twice if teardown fails or errors (randycoulman)
603
+ * Errors in teardown are now recorded. (randycoulman)
604
+
605
+ * 3 bug fixes:
606
+
607
+ * Added hacks and skips to get clean test runs on maglev
608
+ * Modified float tests for maglev float output differences. Not sure this is right. Not sure I care.
609
+ * Test for existance of diff.exe instead of assuming they have devkit. (blowmage/Cumbayah)
610
+
611
+ === 4.4.0 / 2013-01-07
612
+
613
+ * 3 minor enhancements:
614
+
615
+ * Added fit_logarithic and assert_performance_logarithmic. (ktheory)
616
+ * Merge processed options so others can mess with defaults. (tenderlove)
617
+ * TestCase#message can now take another proc to defer custom message cost. (ordinaryzelig/bhenderson)
618
+
619
+ * 1 bug fix:
620
+
621
+ * TestCase#passed? now true if test is skipped. (qanhd)
622
+
623
+ === 4.3.3 / 2012-12-06
624
+
625
+ * 1 bug fix:
626
+
627
+ * Updated information about stubbing. (daviddavis)
628
+
629
+ === 4.3.2 / 2012-11-27 // mri 2.0.0
630
+
631
+ * 1 minor enhancement:
632
+
633
+ * Improved assert_equals error message to point you at #== of member objects. (kcurtin)
634
+
635
+ === 4.3.1 / 2012-11-23
636
+
637
+ * 1 bug fix:
638
+
639
+ * Moved test_children to serial testcase to prevent random failures.
640
+
641
+ === 4.3.0 / 2012-11-17
642
+
643
+ * 4 minor enhancements:
644
+
645
+ * Allow #autorun to run even if loaded with other test libs that call exit. (sunaku)
646
+ * Do not include Expectations in Object if $MT_NO_EXPECTATIONS is set (experimental?)
647
+ * Gave some much needed love to assert_raises.
648
+ * Mock#expect can take a block to custom-validate args. (gmoothart)
649
+
650
+ === 4.2.0 / 2012-11-02
651
+
652
+ * 4 major enhancements:
653
+
654
+ * Added minitest/hell - run all your tests through the ringer!
655
+ * Added support for :parallel test_order to run test cases in parallel.
656
+ * Removed last_error and refactored runner code to be threadsafe.
657
+ * _run_suites now runs suites in parallel if they opt-in.
658
+
659
+ * 4 minor enhancements:
660
+
661
+ * Added TestCase#synchronize
662
+ * Added TestCase.make_my_diffs_pretty!
663
+ * Added TestCase.parallelize_me!
664
+ * Lock on capture_io for thread safety (tenderlove)
665
+
666
+ === 4.1.0 / 2012-10-05
667
+
668
+ * 2 minor enhancements:
669
+
670
+ * Added skip example to readme. (dissolved)
671
+ * Extracted backtrace filter to object. (tenderlove)
672
+
673
+ * 1 bug fix:
674
+
675
+ * OMG I'm so dumb. Fixed access to deprecated hook class methods. I hate ruby modules. (route)
676
+
677
+ === 4.0.0 / 2012-09-28
678
+
679
+ * 1 major enhancement:
680
+
681
+ * The names of a privately-used undocumented constants are Super Important™.
682
+
683
+ * 1 minor enhancement:
684
+
685
+ * Support stubbing methods that would be handled via method_missing. (jhsu)
686
+
687
+ * 3 bug fixes:
688
+
689
+ * Add include_private param to MiniTest::Mock#respond_to? (rf-)
690
+ * Fixed use of minitest/pride with --help. (zw963)
691
+ * Made 'No visible difference.' message more clear. (ckrailo)
692
+
693
+ === 3.5.0 / 2012-09-21
694
+
695
+ * 1 minor enhancement:
696
+
697
+ * Added #capture_subprocess_io. (route)
698
+
699
+ === 3.4.0 / 2012-09-05
700
+
701
+ * 2 minor enhancements:
702
+
703
+ * assert_output can now take regexps for expected values. (suggested by stomar)
704
+ * Clarified that ruby 1.9/2.0's phony gems cause serious confusion for rubygems.
705
+
706
+ === 3.3.0 / 2012-07-26
707
+
708
+ * 1 major enhancement:
709
+
710
+ * Deprecated add_(setup|teardown)_hook in favor of (before|after)_(setup|teardown) [2013-01-01]
711
+
712
+ * 4 minor enhancements:
713
+
714
+ * Refactored deprecated hook system into a module.
715
+ * Refactored lifecycle hooks into a module.
716
+ * Removed after_setup/before_teardown + run_X_hooks from Spec.
717
+ * Spec#before/after now do a simple define_method and call super. DUR.
718
+
719
+ * 2 bug fixes:
720
+
721
+ * Fixed #passed? when used against a test that called flunk. (floehopper)
722
+ * Fixed rdoc bug preventing doco for some expectations. (stomar).
723
+
724
+ === 3.2.0 / 2012-06-26
725
+
726
+ * 1 minor enhancement:
727
+
728
+ * Stubs now yield self. (peterhellberg)
729
+
730
+ * 1 bug fix:
731
+
732
+ * Fixed verbose test that only fails when run in verbose mode. mmmm irony.
733
+
734
+ === 3.1.0 / 2012-06-13
735
+
736
+ * 2 minor enhancements:
737
+
738
+ * Removed LONG deprecated Unit.out accessor
739
+ * Removed generated method name munging from minitest/spec. (ordinaryzelig/tenderlove)
740
+
741
+ === 3.0.1 / 2012-05-24
742
+
743
+ * 1 bug fix:
744
+
745
+ * I'm a dumbass and refactored into Mock#call. Renamed to #__call so you can mock #call. (mschuerig)
746
+
747
+ === 3.0.0 / 2012-05-08
748
+
749
+ * 3 major enhancements:
750
+
751
+ * Added Object#stub (in minitest/mock.rb).
752
+ * Mock#expect mocks are used in the order they're given.
753
+ * Mock#verify now strictly compares against expect calls.
754
+
755
+ * 3 minor enhancements:
756
+
757
+ * Added caller to deprecation message.
758
+ * Mock error messages are much prettier.
759
+ * Removed String check for RHS of assert/refute_match. This lets #to_str work properly.
760
+
761
+ * 1 bug fix:
762
+
763
+ * Support drive letter on Windows. Patch provided from MRI by Usaku NAKAMURA. (ayumin)
764
+
765
+ === 2.12.1 / 2012-04-10
766
+
767
+ * 1 minor enhancement:
768
+
769
+ * Added ruby releases to History.txt to make it easier to see what you're missing
770
+
771
+ * 1 bug fix:
772
+
773
+ * Rolled my own deprecate msg to allow MT to work with rubygems < 1.7
774
+
775
+ === 2.12.0 / 2012-04-03
776
+
777
+ * 4 minor enhancements:
778
+
779
+ * ::it returns test method name (wojtekmach)
780
+ * Added #record method to runner so runner subclasses can cleanly gather data.
781
+ * Added Minitest alias for MiniTest because even I forget.
782
+ * Deprecated assert_block!! Yay!!!
783
+
784
+ * 1 bug fix:
785
+
786
+ * Fixed warning in i_suck_and_my_tests_are_order_dependent! (phiggins)
787
+
788
+ === 2.11.4 / 2012-03-20
789
+
790
+ * 2 minor enhancements:
791
+
792
+ * Updated known extensions
793
+ * You got your unicode in my tests! You got your tests in my unicode! (fl00r)
794
+
795
+ * 1 bug fix:
796
+
797
+ * Fixed MiniTest::Mock example in the readme. (conradwt)
798
+
799
+ === 2.11.3 / 2012-02-29
800
+
801
+ * 2 bug fixes:
802
+
803
+ * Clarified that assert_raises returns the exception for further testing
804
+ * Fixed assert_in_epsilon when both args are negative. (tamc)
805
+
806
+ === 2.11.2 / 2012-02-14
807
+
808
+ * 1 minor enhancement:
809
+
810
+ * Display failures/errors on SIGINFO. (tenderlove)
811
+
812
+ * 1 bug fix:
813
+
814
+ * Fixed MiniTest::Unit.after_tests for Ruby 1.9.3. (ysbaddaden)
815
+
816
+ === 2.11.1 / 2012-02-01
817
+
818
+ * 3 bug fixes:
819
+
820
+ * Improved description for --name argument. (drd)
821
+ * Ensure Mock#expect's expected args is an Array. (mperham)
822
+ * Ensure Mock#verify verifies multiple expects of the same method. (chastell)
823
+
824
+ === 2.11.0 / 2012-01-25
825
+
826
+ * 2 minor enhancements:
827
+
828
+ * Added before / after hooks for setup and teardown. (tenderlove)
829
+ * Pushed run_setup_hooks down to Spec. (tenderlove)
830
+
831
+ === 2.10.1 / 2012-01-17
832
+
833
+ * 1 bug fix:
834
+
835
+ * Fixed stupid 1.9 path handling grumble grumble. (graaff)
836
+
837
+ === 2.10.0 / 2011-12-20
838
+
839
+ * 3 minor enhancements:
840
+
841
+ * Added specs for must/wont be_empty/respond_to/be_kind_of and others.
842
+ * Added tests for assert/refute predicate.
843
+ * Split minitest/excludes.rb out to its own gem.
844
+
845
+ * 1 bug fix:
846
+
847
+ * Fixed must_be_empty and wont_be_empty argument handling. (mrsimo)
848
+
849
+ === 2.9.1 / 2011-12-13
850
+
851
+ * 4 minor enhancements:
852
+
853
+ * Added a ton of tests on spec error message output.
854
+ * Cleaned up consistency of msg handling on unary expectations.
855
+ * Improved error messages on assert/refute_in_delta.
856
+ * infect_an_assertion no longer checks arity and better handles args.
857
+
858
+ * 1 bug fix:
859
+
860
+ * Fixed error message on specs when 2+ args and custom message provided. (chastell)
861
+
862
+ === 2.9.0 / 2011-12-07
863
+
864
+ * 4 minor enhancements:
865
+
866
+ * Added TestCase.exclude and load_excludes for programmatic filtering of tests.
867
+ * Added guard methods so you can cleanly skip based on platform/impl
868
+ * Holy crap! 100% doco! `rdoc -C` ftw
869
+ * Switch assert_output to test stderr before stdout to possibly improve debugging
870
+
871
+ === 2.8.1 / 2011-11-17
872
+
873
+ * 1 bug fix:
874
+
875
+ * Ugh. 1.9's test/unit violates my internals. Added const_missing.
876
+
877
+ === 2.8.0 / 2011-11-08
878
+
879
+ * 2 minor enhancements:
880
+
881
+ * Add a method so that code can be run around a particular test case (tenderlove)
882
+ * Turn off backtrace filtering if we're running inside a ruby checkout. (drbrain)
883
+
884
+ * 2 bug fixes:
885
+
886
+ * Fixed 2 typos and 2 doc glitches. (splattael)
887
+ * Remove unused block arguments to avoid creating Proc objects. (k-tsj)
888
+
889
+ === 2.7.0 / 2011-10-25
890
+
891
+ * 2 minor enhancements:
892
+
893
+ * Include failed values in the expected arg output in MockExpectationError. (nono)
894
+ * Make minitest/pride work with other 256 color capable terms. (sunaku)
895
+
896
+ * 2 bug fixes:
897
+
898
+ * Clarified the documentation of minitest/benchmark (eregon)
899
+ * Fixed using expectations in regular unit tests. (sunaku)
900
+
901
+ === 2.6.2 / 2011-10-19
902
+
903
+ * 1 minor enhancement:
904
+
905
+ * Added link to vim bundle. (sunaku)
906
+
907
+ * 2 bug fixes:
908
+
909
+ * Force gem activation in hoe minitest plugin
910
+ * Support RUBY_VERSION='2.0.0' (nagachika)
911
+
912
+ === 2.6.1 / 2011-09-27
913
+
914
+ * 2 bug fixes:
915
+
916
+ * Alias Spec.name from Spec.to_s so it works when @name is nil (nathany)
917
+ * Fixed assert and refute_operator where second object has a bad == method.
918
+
919
+ === 2.6.0 / 2011-09-13
920
+
921
+ * 2 minor enhancements:
922
+
923
+ * Added specify alias for it and made desc optional.
924
+ * Spec#must_be and #wont_be can be used with predicates (metaskills)
925
+
926
+ * 1 bug fix:
927
+
928
+ * Fixed Mock.respond_to?(var) to work with strings. (holli)
929
+
930
+ === 2.5.1 / 2011-08-27 // ruby 1.9.3: p0, p125, p34579
931
+
932
+ * 2 minor enhancements:
933
+
934
+ * Added gem activation for minitest in minitest/autoload to help out 1.9 users
935
+ * Extended Spec.register_spec_type to allow for procs instead of just regexps.
936
+
937
+ === 2.5.0 / 2011-08-18
938
+
939
+ * 4 minor enhancements:
940
+
941
+ * Added 2 more arguments against rspec: let & subject in 9 loc! (emmanuel/luis)
942
+ * Added TestCase.i_suck_and_my_tests_are_order_dependent!
943
+ * Extended describe to take an optional method name (2 line change!). (emmanuel)
944
+ * Refactored and extended minitest/pride to do full 256 color support. (lolcat)
945
+
946
+ * 1 bug fix:
947
+
948
+ * Doc fixes. (chastell)
949
+
950
+ === 2.4.0 / 2011-08-09
951
+
952
+ * 4 minor enhancements:
953
+
954
+ * Added simple examples for all expectations.
955
+ * Improved Mock error output when args mismatch.
956
+ * Moved all expectations from Object to MiniTest::Expectations.
957
+ * infect_with_assertions has been removed due to excessive clever
958
+
959
+ * 4 bug fixes:
960
+
961
+ * Fix Assertions#mu_pp to deal with immutable encoded strings. (ferrous26)
962
+ * Fix minitest/pride for MacRuby (ferrous26)
963
+ * Made error output less fancy so it is more readable
964
+ * Mock shouldn't undef === and inspect. (dgraham)
965
+
966
+ === 2.3.1 / 2011-06-22
967
+
968
+ * 1 bug fix:
969
+
970
+ * Fixed minitest hoe plugin to be a spermy dep and not depend on itself.
971
+
972
+ === 2.3.0 / 2011-06-15
973
+
974
+ * 5 minor enhancements:
975
+
976
+ * Add setup and teardown hooks to MiniTest::TestCase. (phiggins)
977
+ * Added nicer error messages for MiniTest::Mock. (phiggins)
978
+ * Allow for less specific expected arguments in Mock. (bhenderson/phiggins)
979
+ * Made MiniTest::Mock a blank slate. (phiggins)
980
+ * Refactored minitest/spec to use the hooks instead of define_inheritable_method. (phiggins)
981
+
982
+ * 2 bug fixes:
983
+
984
+ * Fixed TestCase's inherited hook. (dchelimsky/phiggins/jamis, the 'good' neighbor)
985
+ * MiniTest::Assertions#refute_empty should use mu_pp in the default message. (whatthejeff)
986
+
987
+ === 2.2.2 / 2011-06-01
988
+
989
+ * 2 bug fixes:
990
+
991
+ * Got rid of the trailing period in message for assert_equal. (tenderlove)
992
+ * Windows needs more flushing. (Akio Tajima)
993
+
994
+ === 2.2.1 / 2011-05-31
995
+
996
+ * 1 bug fix:
997
+
998
+ * My _ONE_ non-rubygems-using minitest user goes to Seattle.rb!
999
+
1000
+ === 2.2.0 / 2011-05-29
1001
+
1002
+ * 6 minor enhancements:
1003
+
1004
+ * assert_equal (and must_equal) now tries to diff output where it makes sense.
1005
+ * Added Assertions#diff(exp, act) to be used by assert_equal.
1006
+ * Added Assertions#mu_pp_for_diff
1007
+ * Added Assertions.diff and diff=
1008
+ * Moved minitest hoe-plugin from hoe-seattlerb. (erikh)
1009
+ * Skipped tests only output details in verbose mode. (tenderlove+zenspider=xoxo)
1010
+
1011
+ === 2.1.0 / 2011-04-11
1012
+
1013
+ * 5 minor enhancements:
1014
+
1015
+ * Added MiniTest::Spec.register_spec_type(matcher, klass) and spec_type(desc)
1016
+ * Added ability for specs to share code via subclassing of Spec. (metaskills)
1017
+ * Clarified (or tried to) bench_performance_linear's use of threshold.
1018
+ * MiniTest::Unit.runner=(runner) provides an easy way of creating custom test runners for specialized needs. (justinweiss)
1019
+ * Reverse order of inheritance in teardowns of specs. (deepfryed)
1020
+
1021
+ * 3 bug fixes:
1022
+
1023
+ * FINALLY fixed problems of inheriting specs in describe/it/describe scenario. (MGPalmer)
1024
+ * Fixed a new warning in 1.9.3.
1025
+ * Fixed assert_block's message handling. (nobu)
1026
+
1027
+ === 2.0.2 / 2010-12-24
1028
+
1029
+ * 1 minor enhancement:
1030
+
1031
+ * Completed doco on minitest/benchmark for specs.
1032
+
1033
+ * 1 bug fix:
1034
+
1035
+ * Benchmarks in specs that didn't call bench_range would die. (zzak).
1036
+
1037
+ === 2.0.1 / 2010-12-15
1038
+
1039
+ * 4 minor enhancements:
1040
+
1041
+ * Do not filter backtrace if $DEBUG
1042
+ * Exit autorun via nested at_exit handler, in case other libs call exit
1043
+ * Make options accesor lazy.
1044
+ * Split printing of test name and its time. (nurse)
1045
+
1046
+ * 1 bug fix:
1047
+
1048
+ * Fix bug when ^T is hit before runner start
1049
+
1050
+ === 2.0.0 / 2010-11-11
1051
+
1052
+ * 3 major enhancements:
1053
+
1054
+ * Added minitest/benchmark! Assert your performance! YAY!
1055
+ * Refactored runner to allow for more extensibility. See minitest/benchmark.
1056
+ * This makes the runner backwards incompatible in some ways!
1057
+
1058
+ * 9 minor enhancements:
1059
+
1060
+ * Added MiniTest::Unit.after_tests { ... }
1061
+ * Improved output by adding test rates and a more sortable verbose format
1062
+ * Improved readme based on feedback from others
1063
+ * Added io method to TestCase. If used, it'll supplant '.EF' output.
1064
+ * Refactored IO in MiniTest::Unit.
1065
+ * Refactored _run_anything to _run_suite to make it easier to wrap (ngauthier)
1066
+ * Spec class names are now the unmunged descriptions (btakita)
1067
+ * YAY for not having redundant rdoc/readmes!
1068
+ * Help output is now generated from the flags you passed straight up.
1069
+
1070
+ * 4 bug fixes:
1071
+
1072
+ * Fixed scoping issue on minitest/mock (srbaker/prosperity)
1073
+ * Fixed some of the assertion default messages
1074
+ * Fixes autorun when on windows with ruby install on different drive (larsch)
1075
+ * Fixed rdoc output bug in spec.rb
1076
+
1077
+ === 1.7.2 / 2010-09-23
1078
+
1079
+ * 3 bug fixes:
1080
+
1081
+ * Fixed doco for expectations and Spec.
1082
+ * Fixed test_capture_io on 1.9.3+ (sora_h)
1083
+ * assert_raises now lets MiniTest::Skip through. (shyouhei)
1084
+
1085
+ === 1.7.1 / 2010-09-01
1086
+
1087
+ * 1 bug fix:
1088
+
1089
+ * 1.9.2 fixes for spec tests
1090
+
1091
+ === 1.7.0 / 2010-07-15
1092
+
1093
+ * 5 minor enhancements:
1094
+
1095
+ * Added assert_output (mapped to must_output).
1096
+ * Added assert_silent (mapped to must_be_silent).
1097
+ * Added examples to readme (Mike Dalessio)
1098
+ * Added options output at the top of the run, for fatal run debugging (tenderlove)
1099
+ * Spec's describe method returns created class
1100
+
1101
+ === 1.6.0 / 2010-03-27 // ruby 1.9.2-p290
1102
+
1103
+ * 10 minor enhancements:
1104
+
1105
+ * Added --seed argument so you can reproduce a random order for debugging.
1106
+ * Added documentation for assertions
1107
+ * Added more rdoc and tons of :nodoc:
1108
+ * Added output to give you all the options you need to reproduce that run.
1109
+ * Added proper argument parsing to minitest.
1110
+ * Added unique serial # to spec names so order can be preserved (needs tests). (phrogz)
1111
+ * Empty 'it' fails with default msg. (phrogz)
1112
+ * Remove previous method on expect to remove 1.9 warnings
1113
+ * Spec#it is now order-proof wrt subclasses/nested describes.
1114
+ * assert_same error message now reports in decimal, eg: oid=123. (mattkent)
1115
+
1116
+ * 2 bug fixes:
1117
+
1118
+ * Fixed message on refute_same to be consistent with assert_same.
1119
+ * Fixed method randomization to be stable for testing.
1120
+
1121
+ === 1.5.0 / 2010-01-06
1122
+
1123
+ * 4 minor enhancements:
1124
+
1125
+ * Added ability to specify what assertions should have their args flipped.
1126
+ * Don't flip arguments on *include and *respond_to assertions.
1127
+ * Refactored Module.infect_an_assertion from Module.infect_with_assertions.
1128
+ * before/after :all now bitches and acts like :each
1129
+
1130
+ * 3 bug fixes:
1131
+
1132
+ * Nested describes now map to nested test classes to avoid namespace collision.
1133
+ * Using undef_method instead of remove_method to clean out inherited specs.
1134
+ * assert_raises was ignoring passed in message.
1135
+
1136
+ === 1.4.2 / 2009-06-25
1137
+
1138
+ * 1 bug fix:
1139
+
1140
+ * Fixed info handler for systems that don't have siginfo.
1141
+
1142
+ === 1.4.1 / 2009-06-23
1143
+
1144
+ * 1 major enhancement:
1145
+
1146
+ * Handle ^C and other fatal exceptions by failing
1147
+
1148
+ * 1 minor enhancement:
1149
+
1150
+ * Added something to catch mixed use of test/unit and minitest if $DEBUG
1151
+
1152
+ * 1 bug fix:
1153
+
1154
+ * Added SIGINFO handler for finding slow tests without verbose
1155
+
1156
+ === 1.4.0 / 2009-06-18
1157
+
1158
+ * 5 minor enhancement:
1159
+
1160
+ * Added clarification doco.
1161
+ * Added specs and mocks to autorun.
1162
+ * Changed spec test class creation to be non-destructive.
1163
+ * Updated rakefile for new hoe capabilities.
1164
+ * describes are nestable (via subclass). before/after/def inherits, specs don't.
1165
+
1166
+ * 3 bug fixes:
1167
+
1168
+ * Fixed location on must/wont.
1169
+ * Switched to __name__ to avoid common ivar name.
1170
+ * Fixed indentation in test file (1.9).
1171
+
1172
+ === 1.3.1 / 2009-01-20 // ruby 1.9.1-p431
1173
+
1174
+ * 1 minor enhancement:
1175
+
1176
+ * Added miniunit/autorun.rb as replacement for test/unit.rb's autorun.
1177
+
1178
+ * 16 bug fixes:
1179
+
1180
+ * 1.9 test fixes.
1181
+ * Bug fixes from nobu and akira for really odd scenarios. They run ruby funny.
1182
+ * Fixed (assert|refute)_match's argument order.
1183
+ * Fixed LocalJumpError in autorun if exception thrown before at_exit.
1184
+ * Fixed assert_in_delta (should be >=, not >).
1185
+ * Fixed assert_raises to match Modules.
1186
+ * Fixed capture_io to not dup IOs.
1187
+ * Fixed indentation of capture_io for ruby 1.9 warning.
1188
+ * Fixed location to deal better with custom assertions and load paths. (Yuki)
1189
+ * Fixed order of (must|wont)_include in MiniTest::Spec.
1190
+ * Fixed skip's backtrace.
1191
+ * Got arg order wrong in *_match in tests, message wrong as a result.
1192
+ * Made describe private. For some reason I thought that an attribute of Kernel.
1193
+ * Removed disable_autorun method, added autorun.rb instead.
1194
+ * assert_match escapes if passed string for pattern.
1195
+ * instance_of? is different from ===, use instance_of.
1196
+
1197
+ === 1.3.0 / 2008-10-09
1198
+
1199
+ * 2 major enhancements:
1200
+
1201
+ * renamed to minitest and pulled out test/unit compatibility.
1202
+ * mini/test.rb is now minitest/unit.rb, everything else maps directly.
1203
+
1204
+ * 12 minor enhancements:
1205
+
1206
+ * assert_match now checks that act can call =~ and converts exp to a
1207
+ regexp only if needed.
1208
+ * Added assert_send... seems useless to me tho.
1209
+ * message now forces to string... ruby-core likes to pass classes and arrays :(
1210
+ * Added -v handling and switched to @verbose from $DEBUG.
1211
+ * Verbose output now includes test class name and adds a sortable running time!
1212
+ * Switched message generation into procs for message deferment.
1213
+ * Added skip and renamed fail to flunk.
1214
+ * Improved output failure messages for assert_instance_of, assert_kind_of
1215
+ * Improved output for assert_respond_to, assert_same.
1216
+ * at_exit now exits false instead of errors+failures.
1217
+ * Made the tests happier and more readable imhfo.
1218
+ * Switched index(s) == 0 to rindex(s, 0) on nobu's suggestion. Faster.
1219
+
1220
+ * 5 bug fixes:
1221
+
1222
+ * 1.9: Added encoding normalization in mu_pp.
1223
+ * 1.9: Fixed backtrace filtering (BTs are expanded now)
1224
+ * Added back exception_details to assert_raises. DOH.
1225
+ * Fixed shadowed variable in mock.rb
1226
+ * Fixed stupid muscle memory message bug in assert_send.
1227
+
1228
+ === 1.2.1 / 2008-06-10
1229
+
1230
+ * 7 minor enhancements:
1231
+
1232
+ * Added deprecations everywhere in test/unit.
1233
+ * Added test_order to TestCase. :random on mini, :sorted on test/unit (for now).
1234
+ * Big cleanup in test/unit for rails. Thanks Jeremy Kemper!
1235
+ * Minor readability cleanup.
1236
+ * Pushed setup/run/teardown down to testcase allowing specialized testcases.
1237
+ * Removed pp. Tests run 2x faster. :/
1238
+ * Renamed deprecation methods and moved to test/unit/deprecate.rb.
1239
+
1240
+ === 1.2.0 / 2008-06-09
1241
+
1242
+ * 2 major enhancements:
1243
+
1244
+ * Added Mini::Spec.
1245
+ * Added Mini::Mock. Thanks Steven Baker!!
1246
+
1247
+ * 23 minor enhancements:
1248
+
1249
+ * Added bin/use_miniunit to make it easy to test out miniunit.
1250
+ * Added -n filtering, thanks to Phil Hagelberg!
1251
+ * Added args argument to #run, takes ARGV from at_exit.
1252
+ * Added test name output if $DEBUG.
1253
+ * Added a refute (was deny) for every assert.
1254
+ * Added capture_io and a bunch of nice assertions from zentest.
1255
+ * Added deprecation mechanism for assert_no/not methods to test/unit/assertions.
1256
+ * Added pp output when available.
1257
+ * Added tests for all assertions. Pretty much maxed out coverage.
1258
+ * Added tests to verify consistency and good naming.
1259
+ * Aliased and deprecated all ugly assertions.
1260
+ * Cleaned out test/unit. Moved autorun there.
1261
+ * Code cleanup to make extensions easier. Thanks Chad!
1262
+ * Got spec args reversed in all but a couple assertions. Much more readable.
1263
+ * Improved error messages across the board. Adds your message to the default.
1264
+ * Moved into Mini namespace, renamed to Mini::Test and Mini::Spec.
1265
+ * Pulled the assertions into their own module...
1266
+ * Removed as much code as I could while still maintaining full functionality.
1267
+ * Moved filter_backtrace into MiniTest.
1268
+ * Removed MiniTest::Unit::run. Unnecessary.
1269
+ * Removed location_of_failure. Unnecessary.
1270
+ * Rewrote test/unit's filter_backtrace. Flog from 37.0 to 18.1
1271
+ * Removed assert_send. Google says it is never used.
1272
+ * Renamed MiniTest::Unit.autotest to #run.
1273
+ * Renamed deny to refute.
1274
+ * Rewrote some ugly/confusing default assertion messages.
1275
+ * assert_in_delta now defaults to 0.001 precision. Makes specs prettier.
1276
+
1277
+ * 9 bug fixes:
1278
+
1279
+ * Fixed assert_raises to raise outside of the inner-begin/rescue.
1280
+ * Fixed for ruby 1.9 and rubinius.
1281
+ * No longer exits 0 if exception in code PRE-test run causes early exit.
1282
+ * Removed implementors method list from mini/test.rb - too stale.
1283
+ * assert_nothing_raised takes a class as an arg. wtf? STUPID
1284
+ * ".EF" output is now unbuffered.
1285
+ * Bunch of changes to get working with rails... UGH.
1286
+ * Added stupid hacks to deal with rails not requiring their dependencies.
1287
+ * Now bitch loudly if someone defines one of my classes instead of requiring.
1288
+ * Fixed infect method to work better on 1.9.
1289
+ * Fixed all shadowed variable warnings in 1.9.
1290
+
1291
+ === 1.1.0 / 2007-11-08
1292
+
1293
+ * 4 major enhancements:
1294
+
1295
+ * Finished writing all missing assertions.
1296
+ * Output matches original test/unit.
1297
+ * Documented every method needed by language implementor.
1298
+ * Fully switched over to self-testing setup.
1299
+
1300
+ * 2 minor enhancements:
1301
+
1302
+ * Added deny (assert ! test), our favorite extension to test/unit.
1303
+ * Added .autotest and fairly complete unit tests. (thanks Chad for help here)
1304
+
1305
+ === 1.0.0 / 2006-10-30
1306
+
1307
+ * 1 major enhancement
1308
+
1309
+ * Birthday!
1310
+