piko-max-mod 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. checksums.yaml +7 -0
  2. data/piko-max-mod.gemspec +12 -0
  3. data/test-unit-3.7.8/BSDL +24 -0
  4. data/test-unit-3.7.8/COPYING +64 -0
  5. data/test-unit-3.7.8/PSFL +271 -0
  6. data/test-unit-3.7.8/README.md +108 -0
  7. data/test-unit-3.7.8/Rakefile +74 -0
  8. data/test-unit-3.7.8/bin/test-unit +5 -0
  9. data/test-unit-3.7.8/doc/text/getting-started.md +120 -0
  10. data/test-unit-3.7.8/doc/text/how-to.md +90 -0
  11. data/test-unit-3.7.8/doc/text/news.md +2070 -0
  12. data/test-unit-3.7.8/lib/test/unit/assertion-failed-error.rb +60 -0
  13. data/test-unit-3.7.8/lib/test/unit/assertions.rb +2536 -0
  14. data/test-unit-3.7.8/lib/test/unit/attribute-matcher.rb +26 -0
  15. data/test-unit-3.7.8/lib/test/unit/attribute.rb +228 -0
  16. data/test-unit-3.7.8/lib/test/unit/auto-runner-loader.rb +17 -0
  17. data/test-unit-3.7.8/lib/test/unit/autorunner.rb +654 -0
  18. data/test-unit-3.7.8/lib/test/unit/code-snippet-fetcher.rb +58 -0
  19. data/test-unit-3.7.8/lib/test/unit/collector/descendant.rb +20 -0
  20. data/test-unit-3.7.8/lib/test/unit/collector/dir.rb +110 -0
  21. data/test-unit-3.7.8/lib/test/unit/collector/load.rb +201 -0
  22. data/test-unit-3.7.8/lib/test/unit/collector/objectspace.rb +35 -0
  23. data/test-unit-3.7.8/lib/test/unit/collector/xml.rb +249 -0
  24. data/test-unit-3.7.8/lib/test/unit/collector.rb +104 -0
  25. data/test-unit-3.7.8/lib/test/unit/color-scheme.rb +225 -0
  26. data/test-unit-3.7.8/lib/test/unit/color.rb +134 -0
  27. data/test-unit-3.7.8/lib/test/unit/data-sets.rb +127 -0
  28. data/test-unit-3.7.8/lib/test/unit/data.rb +371 -0
  29. data/test-unit-3.7.8/lib/test/unit/diff.rb +745 -0
  30. data/test-unit-3.7.8/lib/test/unit/error.rb +158 -0
  31. data/test-unit-3.7.8/lib/test/unit/exception-handler.rb +82 -0
  32. data/test-unit-3.7.8/lib/test/unit/failure.rb +169 -0
  33. data/test-unit-3.7.8/lib/test/unit/fault-location-detector.rb +104 -0
  34. data/test-unit-3.7.8/lib/test/unit/fixture.rb +304 -0
  35. data/test-unit-3.7.8/lib/test/unit/notification.rb +138 -0
  36. data/test-unit-3.7.8/lib/test/unit/omission.rb +198 -0
  37. data/test-unit-3.7.8/lib/test/unit/pending.rb +155 -0
  38. data/test-unit-3.7.8/lib/test/unit/priority.rb +194 -0
  39. data/test-unit-3.7.8/lib/test/unit/process-test-result.rb +55 -0
  40. data/test-unit-3.7.8/lib/test/unit/process-worker.rb +87 -0
  41. data/test-unit-3.7.8/lib/test/unit/runner/console.rb +86 -0
  42. data/test-unit-3.7.8/lib/test/unit/runner/emacs.rb +8 -0
  43. data/test-unit-3.7.8/lib/test/unit/runner/xml.rb +15 -0
  44. data/test-unit-3.7.8/lib/test/unit/sub-test-result.rb +59 -0
  45. data/test-unit-3.7.8/lib/test/unit/test-process-run-context.rb +21 -0
  46. data/test-unit-3.7.8/lib/test/unit/test-run-context.rb +16 -0
  47. data/test-unit-3.7.8/lib/test/unit/test-suite-creator.rb +103 -0
  48. data/test-unit-3.7.8/lib/test/unit/test-suite-process-runner.rb +205 -0
  49. data/test-unit-3.7.8/lib/test/unit/test-suite-runner.rb +132 -0
  50. data/test-unit-3.7.8/lib/test/unit/test-suite-thread-runner.rb +96 -0
  51. data/test-unit-3.7.8/lib/test/unit/test-thread-run-context.rb +23 -0
  52. data/test-unit-3.7.8/lib/test/unit/testcase.rb +1058 -0
  53. data/test-unit-3.7.8/lib/test/unit/testresult.rb +132 -0
  54. data/test-unit-3.7.8/lib/test/unit/testsuite.rb +133 -0
  55. data/test-unit-3.7.8/lib/test/unit/ui/console/outputlevel.rb +15 -0
  56. data/test-unit-3.7.8/lib/test/unit/ui/console/testrunner.rb +891 -0
  57. data/test-unit-3.7.8/lib/test/unit/ui/emacs/testrunner.rb +49 -0
  58. data/test-unit-3.7.8/lib/test/unit/ui/testrunner.rb +53 -0
  59. data/test-unit-3.7.8/lib/test/unit/ui/testrunnermediator.rb +131 -0
  60. data/test-unit-3.7.8/lib/test/unit/ui/testrunnerutilities.rb +41 -0
  61. data/test-unit-3.7.8/lib/test/unit/ui/xml/testrunner.rb +225 -0
  62. data/test-unit-3.7.8/lib/test/unit/util/backtracefilter.rb +65 -0
  63. data/test-unit-3.7.8/lib/test/unit/util/memory-usage.rb +47 -0
  64. data/test-unit-3.7.8/lib/test/unit/util/method-owner-finder.rb +28 -0
  65. data/test-unit-3.7.8/lib/test/unit/util/observable.rb +86 -0
  66. data/test-unit-3.7.8/lib/test/unit/util/output.rb +32 -0
  67. data/test-unit-3.7.8/lib/test/unit/util/procwrapper.rb +48 -0
  68. data/test-unit-3.7.8/lib/test/unit/version.rb +5 -0
  69. data/test-unit-3.7.8/lib/test/unit/warning.rb +3 -0
  70. data/test-unit-3.7.8/lib/test/unit/worker-context.rb +20 -0
  71. data/test-unit-3.7.8/lib/test/unit.rb +521 -0
  72. data/test-unit-3.7.8/lib/test-unit.rb +19 -0
  73. data/test-unit-3.7.8/sample/adder.rb +13 -0
  74. data/test-unit-3.7.8/sample/subtracter.rb +12 -0
  75. data/test-unit-3.7.8/sample/test_adder.rb +20 -0
  76. data/test-unit-3.7.8/sample/test_subtracter.rb +20 -0
  77. data/test-unit-3.7.8/sample/test_user.rb +23 -0
  78. metadata +117 -0
@@ -0,0 +1,2070 @@
1
+ # News
2
+
3
+ ## 3.7.8 - 2026-06-05 {#version-3-7-8}
4
+
5
+ ### Improvements
6
+
7
+ * parallel: process: Improved performance on Windows.
8
+ * GH-368
9
+
10
+ * Improved compatibility with Ruby::Box on `$!`.
11
+ * GH-370
12
+ * Patch by MATSUMOTO Katsuyoshi
13
+
14
+ * doc: Added a process option in parallel options.
15
+ * GH-373
16
+
17
+ * Improved the `-I` option. You can prepend load paths to prioritize
18
+ your development library over the system library.
19
+ * ruby/rubygems#9572
20
+ * GH-375
21
+
22
+ ### Thanks
23
+
24
+ * MATSUMOTO Katsuyoshi
25
+
26
+ ## 3.7.7 - 2026-01-01 {#version-3-7-7}
27
+
28
+ ### Fixes
29
+
30
+ * Fixed a bug that `NoMemoryError` occurred with RBS tests + MSVC Ruby.
31
+ * GH-358
32
+ * GH-363
33
+ * Reported by Nobuyoshi Nakada
34
+
35
+ ### Thanks
36
+
37
+ * Nobuyoshi Nakada
38
+
39
+ ## 3.7.6 - 2025-12-25 {#version-3-7-6}
40
+
41
+ ### Fixes
42
+
43
+ * Fixed a bug that `sub_test_case` may cause a runtime error. This
44
+ also covers a minor case.
45
+ * GH-359
46
+
47
+ ## 3.7.5 - 2025-12-24 {#version-3-7-5}
48
+
49
+ ### Fixes
50
+
51
+ * Fixed a bug that `sub_test_case` may cause a runtime error.
52
+ * GH-355
53
+
54
+ ## 3.7.4 - 2025-12-23 {#version-3-7-4}
55
+
56
+ ### Improvements
57
+
58
+ * Added support for process based parallel test running. You can use
59
+ it by the `--parallel=process` option. You need to specify load
60
+ path options (e.g. `-Ilib`). Tests that startup/shutdown (test case
61
+ level setup/teardown) are defined run in the same process.
62
+ * GH-235
63
+ * GH-339
64
+ * GH-340
65
+ * GH-341
66
+ * GH-342
67
+ * GH-344
68
+ * GH-346
69
+ * GH-348
70
+ * Co authored by Naoto Ono
71
+
72
+ * Added support for `worker_id` for the parallel runner. You can
73
+ use it in your test, setup/teardown and startup/shutdown (test case
74
+ level setup/teardown).
75
+ * GH-235
76
+ * GH-345
77
+ * Co authored by Naoto Ono
78
+
79
+ * parallel: thread: Improved shutdown (test case level teardown)
80
+ timing. As a result, tests that startup (test case level setup) or
81
+ teardown are defined now run in the same thread.
82
+ * GH-235
83
+ * GH-343
84
+ * Co authored by Naoto Ono
85
+
86
+ ### Fixes
87
+
88
+ * parallel: thread: Fixed a bug that running tests failed with the
89
+ `--verbose` option.
90
+ * GH-350
91
+ * GH-351
92
+
93
+ ### Thanks
94
+
95
+ * Naoto Ono
96
+
97
+ ## 3.7.3 - 2025-11-26 {#version-3-7-3}
98
+
99
+ ### Improvements
100
+
101
+ * Removed duplicated power_assert require code.
102
+ * GH-337
103
+ * Patch by Nobuyoshi Nakada
104
+
105
+ ### Thanks
106
+
107
+ * Nobuyoshi Nakada
108
+
109
+ ## 3.7.2 - 2025-11-25 {#version-3-7-2}
110
+
111
+ ### Improvements
112
+
113
+ * Suppressed warnings from power_assert.
114
+ * GH-335
115
+ * Patch by Nobuyoshi Nakada
116
+
117
+ ### Thanks
118
+
119
+ * Nobuyoshi Nakada
120
+
121
+ ## 3.7.1 - 2025-11-03 {#version-3-7-1}
122
+
123
+ ### Improvements
124
+
125
+ * Used absolute path instead of relative path for autoload.
126
+ * GH-311
127
+ * GH-325
128
+ * Suggested by nicholas a. evans
129
+
130
+ * Improved compatibility with power_assert 3.0 on older rubies.
131
+ * GH-329
132
+ * GH-330
133
+ * Patch by Jean Boussier
134
+
135
+ ### Thanks
136
+
137
+ * nicholas a. evans
138
+ * Jean Boussier
139
+
140
+ ## 3.7.0 - 2025-07-06 {#version-3-7-0}
141
+
142
+ ### Fixes
143
+
144
+ * Fixed a bug that `Test::Unit::TestCase` and `Test::Unit::AutoRunner`
145
+ aren't loaded when they are redefined by open class before referring
146
+ to these constants.
147
+ * GH-320
148
+ * GH-321
149
+ * Reported by Mamoru TASAKA
150
+
151
+ ### Thanks
152
+
153
+ * Mamoru TASAKA
154
+
155
+ ## 3.6.9 - 2025-06-29 {#version-3-6-9}
156
+
157
+ ### Improvements
158
+
159
+ * doc: test: Added one-line style to declare `Ractor` test.
160
+ * GH-261
161
+ * GH-309
162
+
163
+ * Used `require_relative` instead of `require` for internal library
164
+ files.
165
+ * GH-311
166
+ * GH-312
167
+ * GH-313
168
+ * GH-315
169
+
170
+ * Added the `--version` option.
171
+ * GH-314
172
+ * Patch by MSP-Greg
173
+
174
+ ### Thanks
175
+
176
+ * MSP-Greg
177
+
178
+ ## 3.6.8 - 2025-04-05 {#version-3-6-8}
179
+
180
+ ### Improvements
181
+
182
+ * `test-unit`: Added. You can use this instead of creating a custom
183
+ test run script.
184
+ * GH-288
185
+ * GH-289
186
+ * GH-291
187
+ * Suggested by gemmaro
188
+
189
+ * Updated the "how to" document.
190
+ * GH-292
191
+ * GH-293
192
+ * GH-294
193
+
194
+ * Updated the "getting started" document.
195
+ * GH-295
196
+ * GH-296
197
+
198
+ * Added support for `.test-unit` configuration file. It's useful for
199
+ specifying default options, and is handier than using `.test-unit.yml`.
200
+ * GH-300
201
+ * GH-302
202
+
203
+ ### Fixes
204
+
205
+ * parallel: thread: Fixed shutdown execution order.
206
+ * GH-282
207
+
208
+ * testcase: Fixed a bug that instance variables added during the test
209
+ runs are not garbage collected after each test run.
210
+ * GH-235
211
+ * GH-303
212
+ * Reported by akira yamada
213
+
214
+ ### Thanks
215
+
216
+ * gemmaro
217
+
218
+ * akira yamada
219
+
220
+ ## 3.6.7 - 2024-12-17 {#version-3-6-7}
221
+
222
+ ### Fixes
223
+
224
+ * Fixed a bug that test-unit doesn't work with Ruby < 2.5.
225
+
226
+ ## 3.6.6 - 2024-12-17 {#version-3-6-6}
227
+
228
+ ### Improvements
229
+
230
+ * Improved backward compatibility for the `Test::Unit::TestCase#run`
231
+ overriding case. In general, we don't recommend it but there are
232
+ old scripts that do it. (Mainly, I did it...)
233
+ * GH-276
234
+ * Reported by Mamoru TASAKA
235
+
236
+ ### Thanks
237
+
238
+ * Mamoru TASAKA
239
+
240
+ ## 3.6.5 - 2024-12-15 {#version-3-6-5}
241
+
242
+ ### Fixes
243
+
244
+ * parallel: thread: Fixed a bug that we can't use `pend` and `notify`.
245
+ * GH-271
246
+ * Reported by Takahiro Ueda
247
+ * Patch by Tsutomu Katsube
248
+
249
+ ### Thanks
250
+
251
+ * Takahiro Ueda
252
+
253
+ * Tsutomu Katsube
254
+
255
+ ## 3.6.4 - 2024-11-28 {#version-3-6-4}
256
+
257
+ ### Improvements
258
+
259
+ * Added support for Ruby 3.4.0.
260
+
261
+ ## 3.6.3 - 2024-11-24 {#version-3-6-3}
262
+
263
+ ### Improvements
264
+
265
+ * Added support for thread based parallel test running. You can use
266
+ it by the `--parallel=thread` option. You can disable parallel
267
+ test running per test case by defining `parallel_safe?` class
268
+ method that returns `false`.
269
+ * GH-235
270
+ * Patch by Tsutomu Katsube
271
+
272
+ * Added the `--n-workers` option.
273
+
274
+ * Added the `--[no-]report-slow-tests` option. You can show the top
275
+ 5 slow tests with this option.
276
+ * GH-253
277
+ * Patch by Tsutomu Katsube
278
+
279
+ * UI: console: Add support for outputting `Exception#cause`.
280
+
281
+ * Added support for inspecting `BasicObject`.
282
+ * GH-262.
283
+ * Patch by Yuta Saito
284
+
285
+ ### Thanks
286
+
287
+ * Tsutomu Katsube
288
+
289
+ * Yuta Saito
290
+
291
+ ## 3.6.2 - 2024-02-16 {#version-3-6-2}
292
+
293
+ ### Improvements
294
+
295
+ * UI: console: Add `--gc-stress` option that enables `GC.stress`
296
+ only whie each test is running.
297
+
298
+ * Added support for Ruby 3.4 style backtrace.
299
+ [GH-237][https://github.com/test-unit/test-unit/issues/237]
300
+ [Patch by Yusuke Endoh]
301
+
302
+ ### Thanks
303
+
304
+ * Yusuke Endoh
305
+
306
+ ## 3.6.1 - 2023-06-25 {#version-3-6-1}
307
+
308
+ ### Improvements
309
+
310
+ * collector: load: Improved performance when a large number of test
311
+ files exist.
312
+ [GH-232][https://github.com/test-unit/test-unit/issues/232]
313
+ [Patch by akira yamada]
314
+
315
+ ### Thanks
316
+
317
+ * akira yamada
318
+
319
+ ## 3.6.0 - 2023-05-25 {#version-3-6-0}
320
+
321
+ ### Improvements
322
+
323
+ * UI: console: Use `--progress-style=fault-only` with non-tty output
324
+ by default.
325
+
326
+ ## 3.5.9 - 2023-05-25 {#version-3-5-9}
327
+
328
+ ### Improvements
329
+
330
+ * UI: console: Use `--progress-style=mark` with `--verbose=verbose`
331
+ by default.
332
+
333
+ ## 3.5.8 - 2023-05-12 {#version-3-5-8}
334
+
335
+ ### Improvements
336
+
337
+ * doc: Improved document for multi Ractor mode.
338
+ [GH-226][https://github.com/test-unit/test-unit/issues/226]
339
+ [Patch by Luke Gruber]
340
+
341
+ * doc: Updated minitest's URL.
342
+ [GH-228][https://github.com/test-unit/test-unit/issues/228]
343
+ [Patch by Koichi ITO]
344
+
345
+ * UI: console: Added `--progress-style` option.
346
+
347
+ * UI: console: Compacted `--verbose=important-only` output..
348
+
349
+ * UI: console: Changed the default output level to `important-only`
350
+ on GitHub Actions.
351
+
352
+ ### Thanks
353
+
354
+ * Luke Gruber
355
+
356
+ * Koichi ITO
357
+
358
+ ## 3.5.7 - 2022-12-15 {#version-3-5-7}
359
+
360
+ ### Improvements
361
+
362
+ * [UI][console]: Changed to use color escape sequence for each line
363
+ instead of each output that may consist with multiple lines.
364
+
365
+ ## 3.5.6 - 2022-12-15 {#version-3-5-6}
366
+
367
+ ### Improvements
368
+
369
+ * [UI][console]: Enabled 256 colors output on GitHub Actions by default.
370
+
371
+ ## 3.5.5 - 2022-10-04 {#version-3-5-5}
372
+
373
+ ### Fixes
374
+
375
+ * Suppressed a warning.
376
+ [GitHub#219](https://github.com/test-unit/test-unit/issues/219)[Patch by Kenichi Kamiya]
377
+
378
+ ### Thanks
379
+
380
+ * Kenichi Kamiya
381
+
382
+ ## 3.5.4 - 2022-10-04 {#version-3-5-4}
383
+
384
+ ### Improvements
385
+
386
+ * Don't raise an error on `Test::Unit::TestCase.clone`.
387
+ [GitHub#210](https://github.com/test-unit/test-unit/issues/210)[Reported by David Marchaland]
388
+
389
+ * Added support for `BigDeciaml` in `assert_in_delta` family.
390
+ [GitHub#218](https://github.com/test-unit/test-unit/issues/218)[Patch by Kenta Murata]
391
+
392
+ ### Thanks
393
+
394
+ * David Marchaland
395
+
396
+ * Kenta Murata
397
+
398
+ ## 3.5.3 - 2021-12-20 {#version-3-5-3}
399
+
400
+ ### Improvements
401
+
402
+ * Made how to sub test case generation customizable.
403
+ [GitHub#207](https://github.com/test-unit/test-unit/issues/207)[Patch by Akira Matsuda]
404
+
405
+ ### Thanks
406
+
407
+ * Akira Matsuda
408
+
409
+ ## 3.5.2 - 2021-12-10 {#version-3-5-2}
410
+
411
+ ### Improvements
412
+
413
+ * Required `fileutils` lazy.
414
+ [GitHub#206](https://github.com/test-unit/test-unit/issues/206)[Patch by David Rodríguez]
415
+
416
+ ### Thanks
417
+
418
+ * David Rodríguez
419
+
420
+ ## 3.5.1 - 2021-11-08 {#version-3-5-1}
421
+
422
+ ### Fixes
423
+
424
+ * Fixed a bug that `keep: true` is ignored when data set is
425
+ generated by block. [Reported by Kenta Murata]
426
+
427
+ ### Thanks
428
+
429
+ * Kenta Murata
430
+
431
+ ## 3.5.0 - 2021-10-18 {#version-3-5-0}
432
+
433
+ ### Fixes
434
+
435
+ * Fixed a bug that `keep: true` is ignored when the last `data`
436
+ doesn't have `keep: true`.
437
+
438
+ ## 3.4.9 - 2021-10-18 {#version-3-4-9}
439
+
440
+ ### Improvements
441
+
442
+ * Added support for labeling each variable values by using `Hash`.
443
+
444
+ ## 3.4.8 - 2021-10-11 {#version-3-4-8}
445
+
446
+ ### Improvements
447
+
448
+ * Added support for omitting Ractor tests on Ruby 2.7 or earlier
449
+ automatically.
450
+
451
+ ## 3.4.7 - 2021-09-14 {#version-3-4-7}
452
+
453
+ ### Fixes
454
+
455
+ * Suppressed a warning on Ruby 2.
456
+ [GitHub#205](https://github.com/test-unit/test-unit/issues/205)[Patch by Kenichi Kamiya]
457
+
458
+ ### Thanks
459
+
460
+ * Kenichi Kamiya
461
+
462
+ ## 3.4.6 - 2021-09-11 {#version-3-4-6}
463
+
464
+ ### Improvements
465
+
466
+ * Added support for tests that use Ractor. Use
467
+ `Test::Unit::TestCase.ractor` to declare that these tests use
468
+ Ractor.
469
+
470
+ * Added `--debug-on-failure` option.
471
+
472
+ ## 3.4.5 - 2021-09-04 {#version-3-4-5}
473
+
474
+ ### Improvements
475
+
476
+ * Added more metadata to gemspec.
477
+ [GitHub#183](https://github.com/test-unit/test-unit/issues/183)[Patch by Kenichi Kamiya]
478
+
479
+ * Removed needless files from gem.
480
+ [GitHub#184](https://github.com/test-unit/test-unit/issues/184)[Patch by Kenichi Kamiya]
481
+
482
+ * Updated documents.
483
+ [GitHub#191](https://github.com/test-unit/test-unit/issues/191)[GitHub#192](https://github.com/test-unit/test-unit/issues/192)[GitHub#193](https://github.com/test-unit/test-unit/issues/193)[GitHub#199](https://github.com/test-unit/test-unit/issues/199)[GitHub#200](https://github.com/test-unit/test-unit/issues/200)
484
+ [GitHub#201](https://github.com/test-unit/test-unit/issues/201)[Patch by Kenichi Kamiya]
485
+
486
+ * Added `assert_nothing_leaked_memory`.
487
+
488
+ ### Fixes
489
+
490
+ * Fixed typos in documents.
491
+ [GitHub#189](https://github.com/test-unit/test-unit/issues/189)[GitHub#190](https://github.com/test-unit/test-unit/issues/190)[GitHub#195](https://github.com/test-unit/test-unit/issues/195)[GitHub#197](https://github.com/test-unit/test-unit/issues/197)[Patch by Kenichi Kamiya]
492
+
493
+ ### Thanks
494
+
495
+ * Kenichi Kamiya
496
+
497
+ ## 3.4.4 - 2021-06-04 {#version-3-4-4}
498
+
499
+ ### Improvements
500
+
501
+ * Renamed `assert_all?` to `assert_all`. `assert_all?` is deprecated
502
+ but is available.
503
+
504
+ ## 3.4.3 - 2021-06-04 {#version-3-4-3}
505
+
506
+ ### Improvements
507
+
508
+ * Stopped to change result value of `Test::Unit::TestCase#include`.
509
+
510
+ * Added `assert_all?`.
511
+
512
+ * Added support for `assert_raise_with_message`.
513
+
514
+ ## 3.4.2 - 2021-05-30 {#version-3-4-2}
515
+
516
+ ### Improvements
517
+
518
+ * [UI][console]: Improved diff readability for no color
519
+ case. Character based diff marks are always showed.
520
+
521
+ ## 3.4.1 - 2021-04-19 {#version-3-4-1}
522
+
523
+ ### Fixes
524
+
525
+ * Fixed a bug that `setup`/`cleanup`/`teardown` with block may be
526
+ overwritten by another `setup`/`cleanup`/`teardown` with
527
+ block. It's caused only with Ruby 2.6 or earlier.
528
+ [GitHub#179](https://github.com/test-unit/test-unit/issues/179)[Reported by akira yamada]
529
+
530
+ ### Thanks
531
+
532
+ * akira yamada
533
+
534
+ ## 3.4.0 - 2021-01-30 {#version-3-4-0}
535
+
536
+ ### Improvements
537
+
538
+ * Enable deprecated warnings by default.
539
+
540
+ ## 3.3.9 - 2020-12-29 {#version-3-3-9}
541
+
542
+ ### Improvements
543
+
544
+ * `assert_not_match`: Add support for `String` as pattern.
545
+ [GitHub#178](https://github.com/test-unit/test-unit/issues/178)[Patch by David Rodríguez]
546
+
547
+ ### Thanks
548
+
549
+ * David Rodríguez
550
+
551
+ ## 3.3.8 - 2020-12-25 {#version-3-3-8}
552
+
553
+ ### Improvements
554
+
555
+ * [UI][console]: Removed reverse mode because Ruby 3.0 reverts
556
+ reverse backtrace.
557
+
558
+ ## 3.3.7 - 2020-11-18 {#version-3-3-7}
559
+
560
+ ### Improvements
561
+
562
+ * Improved TruffleRuby support.
563
+ [GitHub#171](https://github.com/test-unit/test-unit/issues/171)[Reported by Benoit Daloze]
564
+
565
+ * Removed needless `to_sym`.
566
+ [GitHub#177](https://github.com/test-unit/test-unit/issues/177)[Patch by icm7216]
567
+
568
+ * `assert_raise`: Added backtrace for actual error.
569
+
570
+ * Improved terminal color availability detection.
571
+ [GitHub#175](https://github.com/test-unit/test-unit/issues/175)[Patch by nicholas a. evans]
572
+
573
+ * Changed license to the new Ruby's.
574
+ [GitHub#174](https://github.com/test-unit/test-unit/issues/174)
575
+
576
+ ### Fixes
577
+
578
+ * Fixed a typo in `--help` output:
579
+ [GitHub#176](https://github.com/test-unit/test-unit/issues/176)[Patch by icm7216]
580
+
581
+ ### Thanks
582
+
583
+ * Benoit Daloze
584
+
585
+ * icm7216
586
+
587
+ * nicholas a. evans
588
+
589
+ ## 3.3.6 - 2020-06-10 {#version-3-3-6}
590
+
591
+ ### Improvements
592
+
593
+ * `name`, `--ignore-name`:
594
+
595
+ * Added support for regular expression options.
596
+
597
+ * Added support for matching with class name in exact match mode.
598
+ [Reported by Jun Aruga]
599
+
600
+ * Updated ruby-talk mailing list information
601
+ [GitHub#168](https://github.com/test-unit/test-unit/issues/168)[Patch by Chris Kampmeier]
602
+
603
+ ### Thanks
604
+
605
+ * Chris Kampmeier
606
+
607
+ * Jun Aruga
608
+
609
+ ## 3.3.5 - 2020-01-10 {#version-3-3-5}
610
+
611
+ ### Improvements
612
+
613
+ * Improved code snippet showing with different default external encoding.
614
+ [GitHub#166](https://github.com/test-unit/test-unit/issues/166)[Patch by Yuta Iwama]
615
+
616
+ ### Thanks
617
+
618
+ * Yuta Iwama
619
+
620
+ ## 3.3.4 - 2019-09-30 {#version-3-3-4}
621
+
622
+ ### Improvements
623
+
624
+ * Converted markup format to Markdown from RDoc.
625
+ [GitHub#164](https://github.com/test-unit/test-unit/issues/164)[Patch by OGAWA KenIchi]
626
+
627
+ * test: Stopped to depend on `Time#inspect` format.
628
+ [GitHub#165](https://github.com/test-unit/test-unit/issues/165)[Reported by Benoit Daloze]
629
+
630
+ ### Thanks
631
+
632
+ * OGAWA KenIchi
633
+
634
+ * Benoit Daloze
635
+
636
+ ## 3.3.3 - 2019-05-10 {#version-3-3-3}
637
+
638
+ ### Fixed
639
+
640
+ * Fixed a bug that priority mode with test case name that uses
641
+ special characters such as `?` can't be used on Windows.
642
+
643
+ ## 3.3.2 - 2019-04-11 {#version-3-3-2}
644
+
645
+ ### Fixes
646
+
647
+ * Fixed a bug that `Test::Unit::Collector::Load` doesn't load test
648
+ files under sub directories when these files have the same base
649
+ name as test files in upper directories.
650
+ [Reported by Kenta Murata]
651
+
652
+ ### Thanks
653
+
654
+ * Kenta Murata
655
+
656
+ ## 3.3.1 - 2019-03-27 {#version-3-3-1}
657
+
658
+ ### Improvements
659
+
660
+ * Added support for `Test::Unit::AssertionFailedError#user_message`
661
+ for not only `assert_equal` and `assert_raise` but also all
662
+ assertions.
663
+ [GitHub#162](https://github.com/test-unit/test-unit/issues/162)[Reported by xgraffm]
664
+
665
+ ### Thanks
666
+
667
+ * xgraffm
668
+
669
+ ## 3.3.0 - 2019-01-23 {#version-3-3-0}
670
+
671
+ ### Improvements
672
+
673
+ * Added support for auto test run when all tests are defined in
674
+ modules.
675
+
676
+ * Added support for defining methods to test case class in multiple
677
+ threads.
678
+ [GitHub#159](https://github.com/test-unit/test-unit/issues/159)[Reported by Charles Oliver Nutter]
679
+
680
+ * Suppressed warnings on Ruby 2.5.
681
+ [GitHub#160](https://github.com/test-unit/test-unit/issues/160)[Reported by Daniel Berger]
682
+
683
+ * Suppressed warnings on Ruby 2.7.
684
+
685
+ ### Fixes
686
+
687
+ * Fixed a code snippet fetch failure when source code isn't UTF-8
688
+ and the default external encoding is set to not UTF-8.
689
+ [GitHub#161](https://github.com/test-unit/test-unit/issues/161)[Reported by masa kunikata]
690
+
691
+ ### Thanks
692
+
693
+ * Charles Oliver Nutter
694
+
695
+ * Daniel Berger
696
+
697
+ * masa kunikata
698
+
699
+ ## 3.2.9 - 2018-12-01 {#version-3-2-9}
700
+
701
+ ### Improvements
702
+
703
+ * Added support for data generation by method. `data_#{test_name}`
704
+ is called to generate data for `test_name` test.
705
+
706
+ * Added support for data matrix generation.
707
+
708
+ Example:
709
+
710
+ ```ruby
711
+ data(:a, [0, 1, 2])
712
+ data(:b, [:x, :y])
713
+ def test_data(data)
714
+ end
715
+ ```
716
+
717
+ This example generates the following data matrix:
718
+
719
+ * label: `"a: 0, b: :x"`, data: `{a: 0, b: :x}`
720
+ * label: `"a: 0, b: :y"`, data: `{a: 0, b: :y}`
721
+ * label: `"a: 1, b: :x"`, data: `{a: 1, b: :x}`
722
+ * label: `"a: 1, b: :y"`, data: `{a: 1, b: :y}`
723
+ * label: `"a: 2, b: :x"`, data: `{a: 2, b: :x}`
724
+ * label: `"a: 2, b: :y"`, data: `{a: 2, b: :y}`
725
+
726
+ * Added `Test::Unit::TestCase#data` that returns the current data.
727
+
728
+ * Added support for using test method that doesn't have no
729
+ parameters as data driven test.
730
+
731
+ Example:
732
+
733
+ ```ruby
734
+ data("label", :value)
735
+ def test_data # Available since this release
736
+ p data # :value
737
+ end
738
+ ```
739
+
740
+ * Added support for `:keep` option to `Test::Unit::TestCase.data`.
741
+
742
+ * Added support for `:group` option to
743
+ `Test::Unit::TestCase.data`. It's useful to generate multiple data
744
+ matrix groups.
745
+
746
+ ```ruby
747
+ # Group1
748
+ data(:a, [0, 1, 2], group: :g1)
749
+ data(:b, [:x, :y], group: :g1)
750
+ # Group2
751
+ data(:a, [:x, :y], group: :g2)
752
+ data(:c, [-1, -2], group: :g2)
753
+ def test_data(data)
754
+ end
755
+ ```
756
+
757
+ This example generates the following data matrix:
758
+
759
+ * label: `"group: :g1, a: 0, b: :x"`, data: `{a: 0, b: :x}`
760
+ * label: `"group: :g1, a: 0, b: :y"`, data: `{a: 0, b: :y}`
761
+ * label: `"group: :g1, a: 1, b: :x"`, data: `{a: 1, b: :x}`
762
+ * label: `"group: :g1, a: 1, b: :y"`, data: `{a: 1, b: :y}`
763
+ * label: `"group: :g1, a: 2, b: :x"`, data: `{a: 2, b: :x}`
764
+ * label: `"group: :g1, a: 2, b: :y"`, data: `{a: 2, b: :y}`
765
+ * label: `"group: :g2, a: :x, b: -1"`, data: `{a: :x, b: -1}`
766
+ * label: `"group: :g2, a: :x, b: -2"`, data: `{a: :x, b: -2}`
767
+ * label: `"group: :g2, a: :y, b: -1"`, data: `{a: :y, b: -1}`
768
+ * label: `"group: :g2, a: :y, b: -2"`, data: `{a: :y, b: -2}`
769
+
770
+ ## 3.2.8 - 2018-05-13 {#version-3-2-8}
771
+
772
+ ### Improvements
773
+
774
+ * [UI][console]: Changed to put code snippet before backtrace on
775
+ reverse mode.
776
+
777
+ ## 3.2.7 - 2017-12-12 {#version-3-2-7}
778
+
779
+ ### Improvements
780
+
781
+ * Added source code link to gemspec.
782
+ [GitHub#157](https://github.com/test-unit/test-unit/issues/157)[Patch by Grey Baker]
783
+
784
+ * Changed to use SVG image for badges in README.
785
+ [GitHub#158](https://github.com/test-unit/test-unit/issues/158)[Patch by Olle Jonsson]
786
+
787
+ * [UI][console]: Added `--reverse-output` option to output fault
788
+ details in reverse like Ruby 2.5. It's enabled by default only for
789
+ tty output.
790
+
791
+ ### Fixes
792
+
793
+ * Fixed a typo.
794
+ [GitHub#156](https://github.com/test-unit/test-unit/issues/156)[Patch by masa kunikata]
795
+
796
+ * [UI][console]: Fixed a bug that broken align in verbose mode.
797
+
798
+ ### Thanks
799
+
800
+ * masa kunikata
801
+
802
+ * Grey Baker
803
+
804
+ * Olle Jonsson
805
+
806
+ ## 3.2.6 - 2017-09-21 {#version-3-2-6}
807
+
808
+ ### Improvements
809
+
810
+ * Changed test file require failure to error from omission.
811
+ [GitHub#154](https://github.com/test-unit/test-unit/issues/154)[Patch by naofumi-fujii]
812
+
813
+ ### Thanks
814
+
815
+ * naofumi-fujii
816
+
817
+ ## 3.2.5 - 2017-06-24 {#version-3-2-5}
818
+
819
+ ### Improvements
820
+
821
+ * Supported `--enable-frozen-string-literal` `ruby` option.
822
+ [GitHub#149](https://github.com/test-unit/test-unit/issues/149)[Reported by Pat Allan]
823
+
824
+ ### Thanks
825
+
826
+ * Pat Allan
827
+
828
+ ## 3.2.4 - 2017-05-23 {#version-3-2-4}
829
+
830
+ ### Improvements
831
+
832
+ * Updated tests for Ruby 2.4. [GitHUb#136][Patch by Kazuki Tsujimoto]
833
+
834
+ * Supported power\_assert 1.0.0. [GitHub#137](https://github.com/test-unit/test-unit/issues/137)[Patch by Kazuki Tsujimoto]
835
+
836
+ * Added the getting started document.
837
+ [GitHub#139](https://github.com/test-unit/test-unit/issues/139)[GitHub#141](https://github.com/test-unit/test-unit/issues/141)[Patch by Hiroyuki Sato]
838
+
839
+ * Added the document for `attribute`.
840
+ [GitHub#143](https://github.com/test-unit/test-unit/issues/143)[Patch by Fumiaki MATSUSHIMA]
841
+
842
+ * Improved a link for GitHub. [GitHub#144](https://github.com/test-unit/test-unit/issues/144)[Patch by rochefort]
843
+
844
+ * Updated `.travis.yml`. [GitHub#145](https://github.com/test-unit/test-unit/issues/145)[Patch by Jun Aruga]
845
+
846
+ ### Fixes
847
+
848
+ * Fixed a contributor name. [GitHub#131](https://github.com/test-unit/test-unit/issues/131)[Patch by Akira Matsuda]
849
+
850
+ * Fixed typos in document. [GitHub#132](https://github.com/test-unit/test-unit/issues/132)[Patch by Akira Matsuda]
851
+
852
+ * Fixed typos in document. [GitHub#134](https://github.com/test-unit/test-unit/issues/134)[Patch by Yuji Yaginuma]
853
+
854
+ * Fixed a bug that data label with "(" isn't supported.
855
+ [GitHub#135](https://github.com/test-unit/test-unit/issues/135)[Reported by Kazuki Tsujimoto]
856
+
857
+ * Fixed assertion message in English.
858
+ [GitHub#133](https://github.com/test-unit/test-unit/issues/133)[Reported by Khalil Fazal]
859
+
860
+ * Fixed a typo in typo fix. [GitHub#138](https://github.com/test-unit/test-unit/issues/138)[Patch by kami]
861
+
862
+ * Fixed a bug that target location finder may return wrong
863
+ location. [GitHub#146](https://github.com/test-unit/test-unit/issues/146)[Patch by Yuki Ito]
864
+
865
+ * Fixed a bug that `--no-show-detail-immediately` raises an error.
866
+ [GitHub#147](https://github.com/test-unit/test-unit/issues/147)[Reported by MSP-Greg]
867
+
868
+ ### Thanks
869
+
870
+ * Akira Matsuda
871
+
872
+ * Yuji Yaginuma
873
+
874
+ * Kazuki Tsujimoto
875
+
876
+ * Khalil Fazal
877
+
878
+ * kami
879
+
880
+ * Hiroyuki Sato
881
+
882
+ * Fumiaki MATSUSHIMA
883
+
884
+ * rochefort
885
+
886
+ * Jun Aruga
887
+
888
+ * Yuki Ito
889
+
890
+ * MSP-Greg
891
+
892
+ ## 3.2.3 - 2016-11-25 {#version-3-2-3}
893
+
894
+ ### Fixes
895
+
896
+ * Fixed a bug that `--order` isn't applied.
897
+ [GitHub#129](https://github.com/test-unit/test-unit/issues/129)[Reported by Vít Ondruch]
898
+
899
+ ### Thanks
900
+
901
+ * Vít Ondruch
902
+
903
+ ## 3.2.2 - 2016-11-02 {#version-3-2-2}
904
+
905
+ ### Improvements
906
+
907
+ * Improved Travis CI configuration.
908
+ [GitHub#123](https://github.com/test-unit/test-unit/issues/123)[Patch by Ryunosuke Sato]
909
+
910
+ * Supported Java native exception.
911
+ [GitHub#126](https://github.com/test-unit/test-unit/issues/126)[Reported by Bob Saveland]
912
+
913
+ ### Fixes
914
+
915
+ * doc: Fixed markup. [GitHub#127](https://github.com/test-unit/test-unit/issues/127)[Patch by Tomohiro Hashidate]
916
+
917
+ * Fixed a bug that `--location=LINE` may not detect a test when
918
+ fixtures are defined before any tests:
919
+
920
+ 1 class MyTestCase < Test::Unit::TestCase
921
+ 2 setup do
922
+ 3 end
923
+ 4
924
+ 5 test "xxx" do
925
+ 6 end
926
+ 7 end
927
+
928
+ `--location=5` couldn't find the `xxx` test.
929
+
930
+ [Reported by Ryota Sasabe]
931
+
932
+ ### Thanks
933
+
934
+ * Ryunosuke Sato
935
+
936
+ * Tomohiro Hashidate
937
+
938
+ * Bob Saveland
939
+
940
+ * Ryota Sasabe
941
+
942
+ ## 3.2.1 - 2016-07-19 {#version-3-2-1}
943
+
944
+ ### Improvements
945
+
946
+ * Clarified lib/test/unit/diff.rb license. It's a triple license of
947
+ the Ruby license, PSF license and LGPLv2.1 or later.
948
+ [Reported by Luisa Pace]
949
+
950
+ * Reported norification when data driven test doesn't have
951
+ parameter.
952
+ [GitHub#122](https://github.com/test-unit/test-unit/issues/122)[Reported by Satoshi "Moris" Tagomori]
953
+
954
+ ### Thanks
955
+
956
+ * Luisa Pace
957
+
958
+ * Satoshi "Moris" Tagomori
959
+
960
+ ## 3.2.0 - 2016-06-12 {#version-3-2-0}
961
+
962
+ ### Improvements
963
+
964
+ * Supported rxvt family terminals as color available terminals.
965
+ [GitHub#121](https://github.com/test-unit/test-unit/issues/121)[Reported by Ippei Kishida]
966
+
967
+ ### Thanks
968
+
969
+ * Ippei Kishida
970
+
971
+ ## 3.1.9 - 2016-05-20 {#version-3-1-9}
972
+
973
+ ### Fixes
974
+
975
+ * Fixed conflict with test-unit-power_assert.
976
+ [GitHub#120](https://github.com/test-unit/test-unit/issues/120)[Patch by Kazuki Tsujimoto]
977
+
978
+ * Fixed a bug that path in `$LOAD_PATH` may be removed.
979
+
980
+ ### Thanks
981
+
982
+ * Kazuki Tsujimoto
983
+
984
+ ## 3.1.8 - 2016-03-19 {#version-3-1-8}
985
+
986
+ ### Improvements
987
+
988
+ * Added `--stop-on-failure` command line option. With this option,
989
+ running test suite is stopped immediately when one test is failed
990
+ or an error is raised in one test.
991
+
992
+ ## 3.1.7 - 2016-01-17 {#version-3-1-7}
993
+
994
+ ### Fixes
995
+
996
+ * Added a missing require.
997
+
998
+ ## 3.1.6 - 2016-01-17 {#version-3-1-6}
999
+
1000
+ It's a Ruby on Rails integration improvement release.
1001
+
1002
+ ### Improvements
1003
+
1004
+ * Filtered backtrace of power\_assert.
1005
+ [GitHub#114](https://github.com/test-unit/test-unit/issues/114)
1006
+ * Improved performance to retrieve test defined location.
1007
+ * Improved performance to run fixtures in a test.
1008
+ * Supported running a test by `yield` in `setup`:
1009
+
1010
+ Before:
1011
+
1012
+ def setup
1013
+ @file = File.open("x")
1014
+ end
1015
+
1016
+ def teardown
1017
+ @file.close
1018
+ end
1019
+
1020
+ After:
1021
+
1022
+ def setup
1023
+ File.open("x") do |file|
1024
+ @file = file
1025
+ yield
1026
+ end
1027
+ end
1028
+
1029
+ * Added `--default-test-path` option that specifies the default path
1030
+ that has tests.
1031
+ * Made auto runner registration more lazily. Auto runner isn't
1032
+ registered automatically until user defines a test. In the
1033
+ previous releases, auto runner is registered automatically when
1034
+ user defines a test case.
1035
+ * Supported specifying a test by location in command line. For
1036
+ example, the following command line runs a test that is defined in
1037
+ /tmp/test_a.rb at line 10:
1038
+
1039
+ % ruby -r test-unit -e run_test /tmp/test_a.rb:10
1040
+
1041
+ ### Fixes
1042
+
1043
+ * Fixed a bug that test isn't ran. The test has the same name as
1044
+ data driven test that is defined in parent test case.
1045
+ [GitHub#115](https://github.com/test-unit/test-unit/issues/115)
1046
+
1047
+ ## 3.1.5 - 2015-10-09 {#version-3-1-5}
1048
+
1049
+ It's a Rack integration improvement release.
1050
+
1051
+ ### Improvements
1052
+
1053
+ * Renamed experimental top-level `run` method to `run_test` method
1054
+ because `run` is conflicted with Rack.
1055
+ [GitHub#32](https://github.com/test-unit/test-unit/issues/32)[GitHub:basecamp/pow#303] [Reported by Yevhen Viktorov]
1056
+
1057
+ ### Thanks
1058
+
1059
+ * Yevhen Viktorov
1060
+
1061
+ ## 3.1.4 - 2015-09-26 {#version-3-1-4}
1062
+
1063
+ It's a minor improvement release.
1064
+
1065
+ ### Improvements
1066
+
1067
+ * Updated sample code. [GitHub#109](https://github.com/test-unit/test-unit/issues/109)[Patch by takiy33]
1068
+ * Updated .travis.yml. [GitHub#110](https://github.com/test-unit/test-unit/issues/110)[Patch by takiy33]
1069
+ * document: Added table header in how to document.
1070
+ [GitHub#111](https://github.com/test-unit/test-unit/issues/111)[Patch by takiy33]
1071
+ * Removed duplicated code.
1072
+ [GitHub#112](https://github.com/test-unit/test-unit/issues/112)[Patch by takiy33]
1073
+ * Removed needless encoding conversion in fetching code snippet.
1074
+ [GitHub#113](https://github.com/test-unit/test-unit/issues/113)[Patch by NARUSE, Yui]
1075
+
1076
+ ### Thanks
1077
+
1078
+ * takiy33
1079
+ * NARUSE, Yui
1080
+
1081
+ ## 3.1.3 - 2015-07-26 {#version-3-1-3}
1082
+
1083
+ It's a bug fix release.
1084
+
1085
+ ### Improvements
1086
+
1087
+ * Removed unused `TODO` file. [GitHub#108](https://github.com/test-unit/test-unit/issues/108)[Patch by takiy33]
1088
+
1089
+ ### Fixes
1090
+
1091
+ * `--location`: Fixed a bug that `--location LINE` doesn't work when
1092
+ test script is specified as relative path. [Reported by TOMITA Masahiro]
1093
+
1094
+ The following doesn't work:
1095
+
1096
+ % ruby ./test.rb --location 10
1097
+
1098
+ The following works:
1099
+
1100
+ % ruby test.rb --location 10
1101
+
1102
+ ### Thanks
1103
+
1104
+ * takiy33
1105
+ * TOMITA Masahiro
1106
+
1107
+ ## 3.1.2 - 2015-06-09 {#version-3-1-2}
1108
+
1109
+ It's command line option improvements fix release.
1110
+
1111
+ ### Improvements
1112
+
1113
+ * `--location`: Made path match rule more strict.
1114
+ [Suggested by kimura wataru]
1115
+ * Before:
1116
+ * If test defined path ends with the specified path, the test is
1117
+ matched.
1118
+ * After:
1119
+ * If base name of test defined path equals to the specified
1120
+ path, the test is matched.
1121
+ * If relative path of test defined path equals to the specified
1122
+ path, the test is matched.
1123
+ * If the specified path is absolute path and test defined path
1124
+ equals to the specified path, the test is matched.
1125
+ * `--pattern`: If the option is specified, the default patterns
1126
+ aren't used. In the earlier versions, both the default patterns
1127
+ and the specified patterns are used.
1128
+ [Suggested by kimura wataru]
1129
+
1130
+ ### Thanks
1131
+
1132
+ * kimura wataru
1133
+
1134
+ ## 3.1.1 - 2015-05-29 {#version-3-1-1}
1135
+
1136
+ It's a bug fix release.
1137
+
1138
+ ### Fixes
1139
+
1140
+ * Fixed a bug that `--location` detects tests not only in sub test
1141
+ case but also parent test case.
1142
+ [GitHub#105](https://github.com/test-unit/test-unit/issues/105)[Reported by wanabe]
1143
+
1144
+ ### Thanks
1145
+
1146
+ * wanabe
1147
+
1148
+ ## 3.1.0 - 2015-05-28 {#version-3-1-0}
1149
+
1150
+ It's a bug fix release.
1151
+
1152
+ ### Improvements
1153
+
1154
+ * [ui][console] Removed needless new line.
1155
+
1156
+ ### Fixes
1157
+
1158
+ * Fixed a bug that priority mode can't be used on Windows.
1159
+ [GitHub#95](https://github.com/test-unit/test-unit/issues/95)[Reported by Daniel Berger]
1160
+ * Fixed a homepage URL RubyGems spec.
1161
+ [GitHub#96](https://github.com/test-unit/test-unit/issues/96)[Patch by Masayoshi Takahashi]
1162
+ supported.) [GitHub#89](https://github.com/test-unit/test-unit/issues/89)[Patch by Aaron Stone]
1163
+ * Fixed a bug that shutdown hook isn't called when pass throw
1164
+ exception such as `Interrupt` is raised.
1165
+ [GitHub#98](https://github.com/test-unit/test-unit/issues/98)[Reported by jeremiahishere.]
1166
+ * Fixed typos in documents.
1167
+ [GitHub#100](https://github.com/test-unit/test-unit/issues/100)[Reported by scivola]
1168
+ [GitHub#102](https://github.com/test-unit/test-unit/issues/102)[GitHub#103](https://github.com/test-unit/test-unit/issues/103)[Patch by Masafumi Yokoyama]
1169
+ * Fixed a bug that the same name test isn't executed in sub test case.
1170
+ [GitHub#104](https://github.com/test-unit/test-unit/issues/104)[Reported by wanabe]
1171
+
1172
+ ### Thanks
1173
+
1174
+ * Daniel Berger
1175
+ * Masayoshi Takahashi
1176
+ * jeremiahishere
1177
+ * scivola
1178
+ * Masafumi Yokoyama
1179
+ * wanabe
1180
+
1181
+ ## 3.0.9 - 2014-12-31 {#version-3-0-9}
1182
+
1183
+ It's a release that improves colors.
1184
+
1185
+ ### Improvements
1186
+
1187
+ * Added a work around for Ruby 1.8. (Note: Ruby 1.8 isn't
1188
+ supported.) [GitHub#89](https://github.com/test-unit/test-unit/issues/89)[Patch by Aaron Stone]
1189
+ * Supported colorized output on Windows.
1190
+ [GitHub#90](https://github.com/test-unit/test-unit/issues/90)[Patch by usa]
1191
+ * Improved colorized output.
1192
+ http://www.a-k-r.org/d/2014-12.html#a2014_12_27_1
1193
+ [Suggested by Tanaka Akira]
1194
+
1195
+ ### Thanks
1196
+
1197
+ * Aaron Stone
1198
+ * usa
1199
+ * Tanaka Akira
1200
+
1201
+ ## 3.0.8 - 2014-12-12 {#version-3-0-8}
1202
+
1203
+ It's a release that supports Ruby 2.2.0 preview2.
1204
+
1205
+ ### Improvements
1206
+
1207
+ * Added a link for YARD in README.
1208
+ [GitHub:test-unit.github.io#2][Reported by sunnyone]
1209
+ * Added description about "/PATTERN/" style value in auto runner usage.
1210
+ [GitHub#86](https://github.com/test-unit/test-unit/issues/86)[Suggested by sunnyone]
1211
+ * Supported Ruby 2.2.0 preview2 in `assert_throw` and
1212
+ `assert_nothing_thrown`.
1213
+
1214
+ ### Fixes
1215
+
1216
+ * Fixed a bug that error report is failed when source encoding and
1217
+ locale encoding are different.
1218
+ [GitHub#87](https://github.com/test-unit/test-unit/issues/87)[Reported by scivola]
1219
+
1220
+ ### Thanks
1221
+
1222
+ * sunnyone
1223
+ * scivola
1224
+
1225
+ ## 3.0.7 - 2014-11-14 {#version-3-0-7}
1226
+
1227
+ It's a minor update release.
1228
+
1229
+ ### Fixes
1230
+
1231
+ * Fixed a bug that teardown blocks aren't called with sub class to
1232
+ parent class order.
1233
+ [GitHub#85](https://github.com/test-unit/test-unit/issues/85)[Reported by TOMITA Masahiro]
1234
+
1235
+ ### Thanks
1236
+
1237
+ * TOMITA Masahiro
1238
+
1239
+ ## 3.0.6 - 2014-11-09 {#version-3-0-6}
1240
+
1241
+ It's a minor update release.
1242
+
1243
+ ### Improvements
1244
+
1245
+ * Improved code snippet location.
1246
+ [GitHub#84](https://github.com/test-unit/test-unit/issues/84)[Patch by Yuki Kurihara]
1247
+
1248
+ ### Thanks
1249
+
1250
+ * Yuki Kurihara
1251
+
1252
+ ## 3.0.5 - 2014-11-08 {#version-3-0-5}
1253
+
1254
+ It's a minor update release.
1255
+
1256
+ ### Fixes
1257
+
1258
+ * Fixed a bug that startup/shutdown of parent test case isn't called
1259
+ when the test case includes one or more modules.
1260
+ [GitHub#83](https://github.com/test-unit/test-unit/issues/83)[Reported by Chadderton Odwazny]
1261
+
1262
+ ### Thanks
1263
+
1264
+ * Chadderton Odwazny
1265
+
1266
+ ## 3.0.4 - 2014-11-01 {#version-3-0-4}
1267
+
1268
+ It's a minor update release.
1269
+
1270
+ ### Improvements
1271
+
1272
+ * Stopped to remove JRuby and Rubinius internal backtrace entries from
1273
+ backtrace on failure/error.
1274
+ [GitHub#82](https://github.com/test-unit/test-unit/issues/82)[Patch by Charles Oliver Nutter]
1275
+
1276
+ ### Thanks
1277
+
1278
+ * Charles Oliver Nutter
1279
+
1280
+ ## 3.0.3 - 2014-10-29 {#version-3-0-3}
1281
+
1282
+ It's a minor update release.
1283
+
1284
+ ### Improvements
1285
+
1286
+ * Improved `Test::Unit::TestCase.test` performance.
1287
+ 100 times faster.
1288
+ * Supported `Proc` for user message.
1289
+ [Sugested by Nobuyoshi Nakada]
1290
+
1291
+ ### Fixes
1292
+
1293
+ * Fixed markup in document.
1294
+ [GitHub#81](https://github.com/test-unit/test-unit/issues/81)[Patch by Masafumi Yokoyama]
1295
+
1296
+ ### Thanks
1297
+
1298
+ * Masafumi Yokoyama
1299
+ * Nobuyoshi Nakada
1300
+
1301
+ ## 3.0.2 - 2014-10-15 {#version-3-0-2}
1302
+
1303
+ It's a minor update release.
1304
+
1305
+ ### Improvements
1306
+
1307
+ * Supported broken `==` implementation.
1308
+ `==` implementation should be fixed but it's not work of test-unit. :<
1309
+ [GitHub#71](https://github.com/test-unit/test-unit/issues/71)[Reported by Emily]
1310
+ * [UI][console]: Accepted no message failure.
1311
+ [GitHub#66](https://github.com/test-unit/test-unit/issues/66)[Reported by Brian Tatnall]
1312
+ * Updated gem description.
1313
+ [GitHub#74](https://github.com/test-unit/test-unit/issues/74)[Patch by Vít Ondruch]
1314
+ * Updated GPL text.
1315
+ [GitHub#78](https://github.com/test-unit/test-unit/issues/78)[Patch by Vít Ondruch]
1316
+
1317
+ ### Fixes
1318
+
1319
+ * Removed needless executable bit from README file.
1320
+ [GitHub#79](https://github.com/test-unit/test-unit/issues/79)[Patch by Vít Ondruch]
1321
+
1322
+ ### Thanks
1323
+
1324
+ * Emily
1325
+ * Brian Tatnall
1326
+ * Vít Ondruch
1327
+
1328
+ ## 3.0.1 - 2014-08-05 {#version-3-0-1}
1329
+
1330
+ It's a minor update release.
1331
+
1332
+ ### Improvements
1333
+
1334
+ * Improved Ruby 1.8.7 support. Note that we don't support Ruby 1.8.7
1335
+ actively. We just support if its support is painless.
1336
+ [GitHub#71](https://github.com/test-unit/test-unit/issues/71)[Patch by estolfo]
1337
+
1338
+ ### Thanks
1339
+
1340
+ * estolfo
1341
+
1342
+ ## 3.0.0 - 2014-08-03 {#version-3-0-0}
1343
+
1344
+ It's Power Assert supported release!
1345
+
1346
+ ### Improvements
1347
+
1348
+ * Improved Rubinius support. [Ryo Onodera]
1349
+ * Updated RR repository link. [GitHub#56](https://github.com/test-unit/test-unit/issues/56)[Patch by Kenichi Kamiya]
1350
+ * Added some minitest compatible assertions. We don't recommend
1351
+ using these assertions. They are just for migrating from minitest.
1352
+ [GitHub#57](https://github.com/test-unit/test-unit/issues/57)[Patch by Karol Bucek]
1353
+ * {Test::Unit::Assertions#refute}
1354
+ * {Test::Unit::Assertions#refute_predicate}
1355
+ * {Test::Unit::Assertions#refute_empty}
1356
+ * {Test::Unit::Assertions#assert_not_includes}
1357
+ * {Test::Unit::Assertions#refute_includes}
1358
+ * {Test::Unit::Assertions#assert_not_instance_of}
1359
+ * {Test::Unit::Assertions#refute_instance_of}
1360
+ * {Test::Unit::Assertions#assert_not_kind_of}
1361
+ * {Test::Unit::Assertions#refute_kind_of}
1362
+ * {Test::Unit::Assertions#assert_not_operator}
1363
+ * {Test::Unit::Assertions#refute_operator}
1364
+ * Improved code readability. [Suggested by Kenichi Kamiya]
1365
+ * Made license field in RubyGems parseable.
1366
+ [GitHub#60](https://github.com/test-unit/test-unit/issues/60)[Patch by Michael Grosser]
1367
+ * Improved test case match feature by `--testcase` and `--ignore-testcase`
1368
+ options. They also checks parent class names.
1369
+ * Made inspected representation of Numeric objects especially
1370
+ BigDecimal more readable. [GitHub#64](https://github.com/test-unit/test-unit/issues/64)[Reported by Byron Appelt]
1371
+ * Added badges for Traivs CI and RubyGems.
1372
+ [GitHub#65](https://github.com/test-unit/test-unit/issues/65)[Patch by Byron Appelt]
1373
+ * Supported Power Assert. You can use Power Assert with
1374
+ {Test::Unit::Assertions#assert} with block. See method document
1375
+ for details. We recommend using Power Assert for predicate method
1376
+ checks. For example, we recommend Power Assert rather than
1377
+ {Test::Unit::Assertions#assert_true},
1378
+ {Test::Unit::Assertions#assert_predicate} and so on. We don't
1379
+ recommend using Power Assert for equality check assertion.
1380
+ {Test::Unit::Assertions#assert_equal} should be used for the case.
1381
+ [Kazuki Tsujimoto]
1382
+
1383
+ ### Fixes
1384
+
1385
+ * Fixed a bug that test case defined by block has wrong location.
1386
+ [GitHub#58](https://github.com/test-unit/test-unit/issues/58)[Patch by Narihiro Nakamura]
1387
+ * Fixed a bug that test methods defined in included modules in
1388
+ super-class are also collected.
1389
+ [GitHub#62](https://github.com/test-unit/test-unit/issues/62)[GitHub#63](https://github.com/test-unit/test-unit/issues/63)[Patch by Karol Bucek]
1390
+
1391
+ ### Thanks
1392
+
1393
+ * Ryo Onodera
1394
+ * Kenichi Kamiya
1395
+ * Karol Bucek
1396
+ * Narihiro Nakamura
1397
+ * Michael Grosser
1398
+ * Byron Appelt
1399
+ * Kazuki Tsujimoto
1400
+
1401
+ ## 2.5.5 - 2013-05-18 {#version-2-5-5}
1402
+
1403
+ It's Ruby 2.0.0 supported release!
1404
+
1405
+ ### Improvements
1406
+
1407
+ * Supported Ruby 2.0.0. [GitHub#54](https://github.com/test-unit/test-unit/issues/54) [Reported by mtasaka]
1408
+ * Accepted screen-256color TERM as 256 colors available environment.
1409
+ [GitHub#55](https://github.com/test-unit/test-unit/issues/55) [Reported by Tom Miller]
1410
+
1411
+ ### Fixes
1412
+
1413
+ * Fixed a typo in document.
1414
+ [GitHub#53](https://github.com/test-unit/test-unit/issues/53) [Patch by Baptiste Fontaine]
1415
+ * Fixed a bug in {Test::Unit::Assertions#assert_in_epsilon}. It doesn't work
1416
+ as expected if expected value is negative value.
1417
+ [Ruby Bug #8317] [Reported by Nobuhiro IMAI]
1418
+
1419
+ ### Thanks
1420
+
1421
+ * Baptiste Fontaine
1422
+ * mtasaka
1423
+ * Tom Miller
1424
+ * Nobuhiro IMAI
1425
+
1426
+ ## 2.5.4 - 2013-01-23 {#version-2-5-4}
1427
+
1428
+ It's a bug fix release.
1429
+
1430
+ ### Improvements
1431
+
1432
+ * Added documents for data driven test functionality.
1433
+ * Added TSV support for data driven test functionality.
1434
+ * Support tag inspection on JRuby.
1435
+
1436
+ ### Fixes
1437
+
1438
+ * Fixed a bug. It is too slow to filter tests when there are many
1439
+ tests. [GitHub#46](https://github.com/test-unit/test-unit/issues/46)
1440
+ * Accept anonymous test suite.
1441
+ [GitHub:#49] [Reported by Matthew Rudy Jacobs]
1442
+
1443
+ ### Thanks
1444
+
1445
+ * Matthew Rudy Jacobs
1446
+
1447
+ ## 2.5.3 - 2012-11-28 {#version-2-5-3}
1448
+
1449
+ It's a release for minitest compatibility and bug fix.
1450
+
1451
+ ### Improvements
1452
+
1453
+ * Supported diff in invalid encoding.
1454
+ * Added some assersion methods just for minitest compatibility.
1455
+ Added methods are assert_includes(), refute_*() and refute().
1456
+ If you are test-unit user, please don't use them.
1457
+ [GitHub#40](https://github.com/test-unit/test-unit/issues/40) [Suggested by Michael Grosser]
1458
+ * Added --attribute option to select target tests by attribute.
1459
+ [test-unit-users-en:00098] [Suggested by Piotr Nestorow]
1460
+
1461
+ ### Fixes
1462
+
1463
+ * Allowed use of test for inheritance in ActionController::TestCase.
1464
+ [GitHub#42](https://github.com/test-unit/test-unit/issues/42) [Patch by David Rasch]
1465
+ * Ensured evaluating at_exit block in top level.
1466
+ In IRB context, exit() specifies irb_exit().
1467
+ [test-unit-users-en:00089] [Reported by Daniel Berger]
1468
+ * Fixed a bug that decoration style description is ignored.
1469
+ "decoration style description" are using description method
1470
+ above "def test_name" or with Symbol specifying test_name.
1471
+ [GitHub#45](https://github.com/test-unit/test-unit/issues/45) [Reported by Piotr Nestorow]
1472
+
1473
+ ### Thanks
1474
+
1475
+ * Michael Grosser
1476
+ * David Rasch
1477
+ * Daniel Berger
1478
+ * Piotr Nestorow
1479
+
1480
+ ## 2.5.2 - 2012-08-29 {#version-2-5-2}
1481
+
1482
+ It's an improvement release for tmtms. `--location` is a similar
1483
+ feature to `--line_number` in RSpec. `sub_test_case` is a similar
1484
+ feature to `context` in shoulda-context and RSpec.
1485
+
1486
+ ### Improvements
1487
+
1488
+ * Cleaned up tests.
1489
+ [GitHub#34](https://github.com/test-unit/test-unit/issues/34) [Patch by Michael Grosser]
1490
+ * Added missing background color for 8 color environment.
1491
+ * Added workaround for NetBeans.
1492
+ [GitHub#38](https://github.com/test-unit/test-unit/issues/38) [Reported by Marc Cooper]
1493
+ * Added `--location` command line option that selects target tests
1494
+ by test defined location.
1495
+ * Created sub test suite for each subclassed test case.
1496
+ * [ui][console] Supported nested test suites.
1497
+ * Added {Test::Unit.at_start} and {Test::Unit.at_exit} hooks that
1498
+ are run before/after all tests are run.
1499
+ [Good hook name is suggested by kdmsnr]
1500
+ * Improved code snippet target on failure. Test method is always used
1501
+ for code snippet target.
1502
+ [GitHub#39](https://github.com/test-unit/test-unit/issues/39) [Suggested by Michael Grosser]
1503
+ * Added {Test::Unit::TestCase.sub_test_case} that creates sub test case.
1504
+ The sub test case name isn't limited Ruby's constant name rule. You can
1505
+ specify the sub test case name in free form.
1506
+
1507
+ ### Thanks
1508
+
1509
+ * Michael Grosser
1510
+ * Marc Cooper
1511
+ * kdmsnr
1512
+
1513
+ ## 2.5.1 - 2012-07-05 {#version-2-5-1}
1514
+
1515
+ It's a bug fix release.
1516
+
1517
+ ### Improvements
1518
+
1519
+ * Supported installing from GitHub.
1520
+ [GitHub#29](https://github.com/test-unit/test-unit/issues/29) [Suggested by Michael Grosser]
1521
+ * Supported ActiveSupport::TestCase.
1522
+ [GitHub#30](https://github.com/test-unit/test-unit/issues/30) [Reported by Michael Grosser]
1523
+ * [ui][console] Improved multiline falut message display.
1524
+
1525
+ ### Fixes
1526
+
1527
+ * [ui][console] Fixed a bug that expected and actual values are
1528
+ empty.
1529
+ [GitHub#31](https://github.com/test-unit/test-unit/issues/31)[GitHub#33](https://github.com/test-unit/test-unit/issues/33)
1530
+ [Reported by Kendall Buchanan][Reported by Mathieu Martin]
1531
+ [Hinted by Michael Grosser]
1532
+ * Fixed a bug that .gemspec can't be loaded on LANG=C.
1533
+ [RubyForge#29595] [Reported by Jean-Denis Koeck]
1534
+
1535
+ ### Thanks
1536
+
1537
+ * Michael Grosser
1538
+ * Kendall Buchanan
1539
+ * Mathieu Martin
1540
+ * Jean-Denis Koeck
1541
+
1542
+ ## 2.5.0 - 2012-06-06 {#version-2-5-0}
1543
+
1544
+ It's a bug fix release.
1545
+
1546
+ ### Fixes
1547
+
1548
+ * Fixed a backward incompatibility of `TestUnitMediator#run_suite`
1549
+ introduced in 2.4.9.
1550
+ [GitHub#28](https://github.com/test-unit/test-unit/issues/28) [Reported by Vladislav Rassokhin]
1551
+
1552
+ ### Thanks
1553
+
1554
+ * Vladislav Rassokhin
1555
+
1556
+ ## 2.4.9 - 2012-06-03 {#version-2-4-9}
1557
+
1558
+ It's a bug fix release.
1559
+
1560
+ ### Improvements
1561
+
1562
+ * `Test::Unit.run?` ->
1563
+ `Test::Unit::AutoRunner.need_auto_run?`. `Test::Unit.run?` is marked
1564
+ as deprecated but it is still available.
1565
+ * [experimental] Added top level "run" method for `"ruby -rtest-unit -e
1566
+ run test/test_*.rb"`. Is this API OK or dirty?
1567
+ * Made failure output more readable on no color mode.
1568
+ * Supported showing ASCII-8BIT diff in failure message.
1569
+ * [ui][console] Supported `ENV["TERM"] == "xterm-256color"` as color
1570
+ available terminal.
1571
+ [GitHub#26](https://github.com/test-unit/test-unit/issues/26) [Reported by Michael Grosser]
1572
+ * [ui][console] Supported "-256color" suffix `ENV["TERM"]` terminal
1573
+ as 256 color supported terminal.
1574
+
1575
+ ### Fixes
1576
+
1577
+ * Fixed a bug that `--workdir` doesn't work.
1578
+ * Consumed processed command line parameters in `ARGV` as `--help`
1579
+ says.
1580
+ [RubyForge#29554] [Reported by Bob Saveland]
1581
+ * Added missing `require "test/unit/diff"`.
1582
+ [GitHub#25](https://github.com/test-unit/test-unit/issues/25) [Reported by Stephan Kulow]
1583
+
1584
+ ### Thanks
1585
+
1586
+ * Bob Saveland
1587
+ * Stephan Kulow
1588
+ * Michael Grosser
1589
+
1590
+ ## 2.4.8 - 2012-3-6 {#version-2-4-8}
1591
+
1592
+ It's a bug fix release.
1593
+
1594
+ ### Improvements
1595
+
1596
+ * Delayed at_exit registration until Test::Unit is used.
1597
+ [GitHub:#21] [Reported by Jason Lunn]
1598
+ * Added workaround for test-spec.
1599
+ [GitHub:#22] [Reported by Cédric Boutillier]
1600
+
1601
+ ### Fixes
1602
+
1603
+ * Fixed an error on code snippet display on JRuby.
1604
+ [GitHub:#19][GitHub:#20]
1605
+ [Reported by Jørgen P. Tjernø][Patch by Junegunn Choi]
1606
+
1607
+ ### Thanks
1608
+
1609
+ * Jørgen P. Tjernø
1610
+ * Junegunn Choi
1611
+ * Jason Lunn
1612
+
1613
+ ## 2.4.7 - 2012-2-10 {#version-2-4-7}
1614
+
1615
+ It's a code snippet improvement release.
1616
+
1617
+ ### Improvements
1618
+
1619
+ * Supported code snippet display on all faults.
1620
+
1621
+ ## 2.4.6 - 2012-2-9 {#version-2-4-6}
1622
+
1623
+ It's a TAP runner separated release.
1624
+
1625
+ ### Improvements
1626
+
1627
+ * Moved TAP runner to test-unit-runner-tap gem from test-unit gem.
1628
+ * Supported code snippet display on failure.
1629
+
1630
+ ## 2.4.5 - 2012-1-16 {#version-2-4-5}
1631
+
1632
+ It's a failure message readability improvement release.
1633
+
1634
+ ### Improvements
1635
+
1636
+ * Removed needless information from exception inspected
1637
+ text on failure. It's for easy to read.
1638
+ * Supported custom inspector.
1639
+
1640
+ ## 2.4.4 - 2012-1-2 {#version-2-4-4}
1641
+
1642
+ It's a Rails integration improved release.
1643
+
1644
+ ### Improvements
1645
+
1646
+ * [ui][console] Don't break progress display when a test is failed.
1647
+ * [ui][console] Added markers betwen a failure detail
1648
+ message in progress to improve visibility.
1649
+ * [travis] Dropped Ruby 1.8.6 as a test target. [GitHub:#13]
1650
+ [Patch by Josh Kalderimis]
1651
+ * Supported expected value == 0 case in assert_in_epsilon. [RubyForge#29485]
1652
+ [Reported by Syver Enstad]
1653
+ * Supported a block style setup/teardown/cleanup.
1654
+
1655
+ ### Thanks
1656
+
1657
+ * Josh Kalderimis
1658
+ * Syver Enstad
1659
+
1660
+ ## 2.4.3 - 2011-12-11 {#version-2-4-3}
1661
+
1662
+ ### Improvements
1663
+
1664
+ * Improved SimpleCov integration by stopping to modify
1665
+ `ARGV` in auto runner. [GitHub:#12]
1666
+ [Reported by Nikos Dimitrakopoulos]
1667
+ * Improved JRuby integration by removing JRuby internal backtrace.
1668
+
1669
+ ### Thanks
1670
+
1671
+ * Nikos Dimitrakopoulos
1672
+
1673
+ ## 2.4.2 - 2011-11-26 {#version-2-4-2}
1674
+
1675
+ ### Improvements
1676
+
1677
+ * `--name` supported data label.
1678
+
1679
+ ## 2.4.1 - 2011-11-09
1680
+
1681
+ ### Improvements
1682
+
1683
+ * Accepted AssertionMessage as assertion's user message.
1684
+ It is used in assert_select in actionpack.
1685
+ [Reported by David Heath]
1686
+
1687
+ ### Fixes
1688
+
1689
+ * Fixed test failure on LANG=C. #11 [Reported by boutil]
1690
+ * Suppress warnings on Ruby 1.9.2.
1691
+
1692
+ ### Thanks
1693
+
1694
+ * boutil
1695
+ * David Heath
1696
+
1697
+ ## 2.4.0 - 2011-09-18
1698
+
1699
+ ### Improvements
1700
+
1701
+ * Supported Travis CI. #5 [Suggested by James Mead]
1702
+ * Added Gemfile. #6 [Suggested by James Mead]
1703
+ * [ui][console] Supported notification in show-detail-immediately.
1704
+ * [ui][console] enable --show-detail-immediately by default.
1705
+ * [ui] Added --max-diff-target-string-size option.
1706
+ * [ui][console] Supported 256 colors.
1707
+
1708
+ ### Fixes
1709
+
1710
+ * Added missing fixture file. #7 [Reported by grafi-tt]
1711
+ * [ui][console] Added missing the last newline for progress level.
1712
+ * Supported correct backtrace for redefined notification.
1713
+ * Don't handle Timeout::Error as pass through exception on Ruby 1.8. #8
1714
+ [Reported by Marc Seeger (Acquia)]
1715
+
1716
+ ### Thanks
1717
+
1718
+ * James Mead
1719
+ * grafi-tt
1720
+ * Marc Seeger (Acquia)
1721
+
1722
+ ## 2.3.2 - 2011-08-15
1723
+
1724
+ A bug fix release.
1725
+
1726
+ ### Improvements
1727
+
1728
+ * [ui][console] Added some newlines to improve readability.
1729
+
1730
+ ### Fixes
1731
+
1732
+ * [ui][console] Worked --verbose again.
1733
+ * Re-supported Ruby 1.8.6. [Reported by James Mead]
1734
+
1735
+ ### Thanks
1736
+
1737
+ * James Mead
1738
+
1739
+ ## 2.3.1 - 2011-08-06 {#version-2-3-1}
1740
+
1741
+ Output improvement release!
1742
+
1743
+ ### Improvements
1744
+
1745
+ * [ui][console] Outputs omissions and notifications in short.
1746
+ * [ui][console] Added "important-only" verbose level.
1747
+ * Intelligence diff supports recursive references.
1748
+ * [rubyforge #29325] Supported Ruby Enterprise Edition.
1749
+ [Reported by Hans de Graaff]
1750
+ * [rubyforge #29326] Supported JRuby.
1751
+ [Reported by Hans de Graaff]
1752
+ * Added --show-detail-immediately option that shows
1753
+ fault details when a fault is occurred.
1754
+
1755
+ ### Fixes
1756
+
1757
+ * [pull request #1] Fixed a problem that load collector
1758
+ can't load a test file on Ruby 1.9. [Patch by grafi-tt]
1759
+ * [issue #3] Fixed a problem that implicit method name
1760
+ override by declarative style test definition.
1761
+ [Reported by Jeremy Stephens]
1762
+
1763
+ ### Thanks
1764
+
1765
+ * grafi-tt
1766
+ * Jeremy Stephens
1767
+ * Hans de Graaff
1768
+
1769
+ ## 2.3.0 / 2011-04-17
1770
+
1771
+ * 13 enhancements
1772
+ * improve Hash key sorting for diff.
1773
+ * [#28928] support any characters in declarative style description.
1774
+ [Daniel Berger]
1775
+ * add Error#location and make #backtrace deprecated.
1776
+ * make TestCase#passed? public.
1777
+ * add result finished and pass assertion notifications.
1778
+ * add TestSuite#passed? public.
1779
+ * add XML test runner.
1780
+ * add --output-file-descriptor option.
1781
+ * measure elapsed time for each test.
1782
+ * add --collector option.
1783
+ * support test driven test.
1784
+ [Haruka Yoshihara]
1785
+ * add cleanup hook it runs between after test and before teardown.
1786
+ * support recursive collection sort for diff.
1787
+
1788
+ * Thanks
1789
+ * Daniel Berger
1790
+ * Haruka Yoshihara
1791
+
1792
+ ## 2.2.0 / 2011-02-14
1793
+
1794
+ * 22 enhancements
1795
+ * [#28808] accept String as delta for assert_in_delta.
1796
+ [Daniel Berger]
1797
+ * [test-unit-users-en:00035] make GC-able finished tests.
1798
+ [Daniel Berger]
1799
+ * use also COLUMNS environment variable to guess terminal width.
1800
+ * make delta for assert_in_delta optional.
1801
+ [Nobuyoshi Nakada]
1802
+ * add assert_not_respond_to.
1803
+ [Nobuyoshi Nakada]
1804
+ * add assert_not_match. assert_no_match is deprecated.
1805
+ [Nobuyoshi Nakada]
1806
+ * add assert_not_in_delta.
1807
+ [Nobuyoshi Nakada]
1808
+ * add assert_in_epsilon.
1809
+ [Nobuyoshi Nakada]
1810
+ * add assert_not_in_epsilon.
1811
+ [Nobuyoshi Nakada]
1812
+ * add assert_include.
1813
+ [Nobuyoshi Nakada]
1814
+ * add assert_not_include.
1815
+ [Nobuyoshi Nakada]
1816
+ * add assert_empty.
1817
+ [Nobuyoshi Nakada]
1818
+ * add assert_not_empty.
1819
+ [Nobuyoshi Nakada]
1820
+ * notify require failed paths.
1821
+ * validate message value for assert.
1822
+ * show throughputs at the last.
1823
+ * support not ASCII compatible string diff.
1824
+ * support colorized diff on encoding different string.
1825
+ * normalize entry order of Hash for readable diff.
1826
+ * add --ignore-name option.
1827
+ * add --ignore-testcase option.
1828
+ * add assert_not_send.
1829
+
1830
+ * Thanks
1831
+ * Daniel Berger
1832
+ * Nobuyoshi Nakada
1833
+
1834
+ ## 2.1.2 / 2010-11-25
1835
+
1836
+ * 1 enhancement
1837
+ * support auto runner prepare hook.
1838
+
1839
+ ## 2.1.1 / 2010-07-29
1840
+
1841
+ * 1 bug fix
1842
+ * [test-unit-users-en:00026] re-work tap runner.
1843
+ [Daniel Berger]
1844
+
1845
+ * Thanks
1846
+ * Daniel Berger
1847
+
1848
+ === 2.1.0 / 2010-07-17
1849
+
1850
+ * 1 bug fix
1851
+ * [#28267] global config file ignored
1852
+ [Daniel Berger]
1853
+
1854
+ * Thanks
1855
+ * Daniel Berger
1856
+
1857
+ ## 2.0.8 / 2010-06-02
1858
+
1859
+ * 5 major enchancements
1860
+ * collect *_test.rb and *-test.rb files as test files.
1861
+ * [#28181] improve assert_in_delta message.
1862
+ [Suggested by David MARCHALAND]
1863
+ * show string encoding in assert_equal failure message if
1864
+ they are different.
1865
+ * change default color scheme:
1866
+ * success: green back + white
1867
+ * failure: red back + white
1868
+ * add capture_output.
1869
+
1870
+ * 2 bug fixes
1871
+ * fix a bug that console runner on verbose mode causes an
1872
+ error for long test name (>= 61).
1873
+ * [#28093] Autorunner ignores all files in a directory named test by default
1874
+ [Reported by Florian Frank]
1875
+
1876
+ * Thanks
1877
+ * Florian Frank
1878
+ * David MARCHALAND
1879
+
1880
+ ## 2.0.7 / 2010-03-09
1881
+
1882
+ * 4 major enhancements
1883
+ * detect redefined test methods.
1884
+ * [INTERFACE IMCOMPATIBLE] multiple --name and --testcase
1885
+ options narrow down targets instead of adding targets.
1886
+ * [#27764] accept custom test_order for each test case.
1887
+ [Suggested by David MARCHALAND]
1888
+ * [#27790] ignore omitted tests from 'n% passed' report.
1889
+ [Suggested by Daniel Berger]
1890
+
1891
+ * 2 minor enchancements
1892
+ * [#27832] ignore .git directory. [Suggested by Daniel Berger]
1893
+ * [#27792] require 'fileutils' and 'tmpdir' lazily for non-priority
1894
+ mode users. [Suggested by David MARCHALAND]
1895
+
1896
+ * 2 bug fixes
1897
+ * [#27892] modify processed arguments array destructively.
1898
+ [Reported by Bob Saveland]
1899
+ * work without HOME environment variable.
1900
+ [Reported by Champak Ch]
1901
+
1902
+ * Thanks
1903
+ * David MARCHALAND
1904
+ * Daniel Berger
1905
+ * Bob Saveland
1906
+ * Champak Ch
1907
+
1908
+ ## 2.0.6 / 2010-01-09
1909
+
1910
+ * 3 major enhancements
1911
+ * [#27380] Declarative syntax? [Daniel Berger]
1912
+ support declarative syntax:
1913
+
1914
+ test "test description in natural language" do
1915
+ ...
1916
+ end
1917
+ * support test description:
1918
+ description "test description in natural language"
1919
+ def test_my_test
1920
+ ...
1921
+ end
1922
+ * make max diff target string size customizable by
1923
+ TEST_UNIT_MAX_DIFF_TARGET_STRING_SIZE environment variable.
1924
+
1925
+ * 2 bug fixes
1926
+ * [#27374] omit_if unexpected behavior [David MARCHALAND]
1927
+ * fix a bug that tests in sub directories aren't load with --basedir.
1928
+ [Daniel Berger]
1929
+
1930
+ * Thanks
1931
+ * David MARCHALAND
1932
+ * Daniel Berger
1933
+
1934
+ ## 2.0.5 / 2009-10-18
1935
+
1936
+ * 1 bug fixes
1937
+ * [#27314] fix diff may raise an exception. [Erik Hollensbe]
1938
+
1939
+ * Thanks
1940
+ * Erik Hollensbe
1941
+
1942
+ ## 2.0.4 / 2009-10-17
1943
+
1944
+ * 4 major enhancements
1945
+ * use ~/.test-unit.yml as global configuration file.
1946
+ * add TAP runner. (--runner tap)
1947
+ * support colorized diff:
1948
+ https://test-unit.github.io/color-diff.png
1949
+ * add Test::Unit::AutoRunner.default_runner= to specify default test runner.
1950
+
1951
+ * 4 minor enhancements
1952
+ * improve verbose mode output format. (use indent)
1953
+ * support `NOT_PASS_THROUGH_EXCEPTIONS`.
1954
+ * support arguments option in `#{runner}_options`.
1955
+ * TC_ -> Test in sample test case name.
1956
+
1957
+ * 1 bug fixes
1958
+ * [#27195] test-unit-2.0.3 + ruby-1.9.1 cannot properly test
1959
+ DelegateClass subclasses [Mike Pomraning]
1960
+
1961
+ * Thanks
1962
+ * Mike Pomraning
1963
+
1964
+ ## 2.0.3 / 2009-07-19
1965
+
1966
+ * 6 major enhancements
1967
+ * add assert_predicate.
1968
+ * add assert_not_predicate.
1969
+ * [#24210] assert_kind_of supports an array of classes or modules.
1970
+ [Daniel Berger]
1971
+ * assert_instance_of supports an array of classes or modules.
1972
+ * add --default-priority option.
1973
+ * [#26627] add --order option. [Daniel Berger]
1974
+
1975
+ * 4 minor enhancements
1976
+ * use yellow foreground + black background for error.
1977
+ * don't show diff for long string.
1978
+ * accept "*term-color" TERM environment as colorizable terminal.
1979
+ (e.g. Apple's Terminal)
1980
+ * [#26268] add a workaround for test-spec's after_all. [Angelo Lakra]
1981
+
1982
+ * 1 bug fix
1983
+ * [#23586] re-support ruby 1.9.1. [Diego Pettenò]
1984
+
1985
+ * Thanks
1986
+ * Diego Pettenò
1987
+ * Daniel Berger
1988
+ * Angelo Lakra
1989
+
1990
+ ## 2.0.2 / 2008-12-21
1991
+
1992
+ * 2 major enhancements
1993
+
1994
+ * re-support ruby 1.8.5.
1995
+ * improve exception object comparison.
1996
+
1997
+ * 3 bug fixes
1998
+
1999
+ * [#22723]: collector fails on anonymous classes
2000
+ * [#22986]: Test names with '?' blow up on Windows
2001
+ * [#22988]: don't create .test-result on non-priority mode.
2002
+
2003
+ * Thanks
2004
+
2005
+ * Erik Hollensbe
2006
+ * Daniel Berger
2007
+ * Bill Lear
2008
+
2009
+ ## 2.0.1 / 2008-11-09
2010
+
2011
+ * 19 major enhancements
2012
+
2013
+ * support ruby 1.9.1.
2014
+ * add run_test method to be extensible.
2015
+ * improve priority-mode auto off.
2016
+ * improve startup/shutdown RDoc. [Daniel Berger]
2017
+ * add assert_compare. [#20851] [Designing Patterns]
2018
+ * add assert_fail_assertion. [#20851] [Designing Patterns]
2019
+ * add assert_raise_message. [#20851] [Designing Patterns]
2020
+ * support folded diff.
2021
+ * add assert_raise_kind_of. [Daniel Berger]
2022
+ * ingore inherited test for nested test case.
2023
+ * add assert_const_defined.
2024
+ * add assert_not_const_defined.
2025
+ * support assert_raise with an exception object.
2026
+ * support assert_raise with no arguments that asserts any
2027
+ exception is raised. [#22602] [Daniel Berger]
2028
+ * support folded dot progress.
2029
+ * add --progress-row-max option.
2030
+ * support color scheme customize.
2031
+ * support configuration file. (YAML)
2032
+ * recognize test-XXX.rb files as test files not only test_XXX.rb
2033
+
2034
+ * Thanks
2035
+
2036
+ * Daniel Berger
2037
+ * Designing Patterns
2038
+
2039
+ ## 2.0.0 / 2008-06-18
2040
+
2041
+ * 15 major enhancements
2042
+
2043
+ * support startup/shutdown. (test case level setup/teardown)
2044
+ * support multiple setup/teardown.
2045
+ * support pending.
2046
+ * support omission.
2047
+ * support notification.
2048
+ * support colorize.
2049
+ * support diff.
2050
+ * support test attribute.
2051
+ * add assert_boolean.
2052
+ * add assert_true.
2053
+ * add assert_false.
2054
+ * add --priority-mode option.
2055
+ * don't use ObjectSpace to collect test cases.
2056
+ * make more customizable. (additional options, exception handling and so on)
2057
+ * improve Emacs integration.
2058
+
2059
+ * 4 major changes
2060
+
2061
+ * remove GTK+1 support.
2062
+ * split GTK+ runner as another gem.
2063
+ * split FOX runner as another gem.
2064
+ * split Tk runner as another gem.
2065
+
2066
+ ## 1.2.3 / 2008-02-25
2067
+
2068
+ * 1 major enhancement
2069
+
2070
+ * Birthday (as a gem)!