test-unit 3.1.4 → 3.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +5 -5
  2. data/BSDL +24 -0
  3. data/COPYING +41 -41
  4. data/README.md +24 -17
  5. data/Rakefile +21 -24
  6. data/doc/text/getting-started.md +246 -0
  7. data/doc/text/news.md +824 -54
  8. data/lib/test/unit/assertion-failed-error.rb +35 -0
  9. data/lib/test/unit/assertions.rb +542 -220
  10. data/lib/test/unit/attribute.rb +78 -4
  11. data/lib/test/unit/auto-runner-loader.rb +17 -0
  12. data/lib/test/unit/autorunner.rb +200 -78
  13. data/lib/test/unit/code-snippet-fetcher.rb +7 -7
  14. data/lib/test/unit/collector/descendant.rb +1 -0
  15. data/lib/test/unit/collector/dir.rb +4 -2
  16. data/lib/test/unit/collector/load.rb +25 -15
  17. data/lib/test/unit/collector/objectspace.rb +1 -0
  18. data/lib/test/unit/collector.rb +31 -0
  19. data/lib/test/unit/color-scheme.rb +29 -2
  20. data/lib/test/unit/data-sets.rb +127 -0
  21. data/lib/test/unit/data.rb +121 -12
  22. data/lib/test/unit/diff.rb +10 -11
  23. data/lib/test/unit/fault-location-detector.rb +1 -1
  24. data/lib/test/unit/fixture.rb +77 -27
  25. data/lib/test/unit/notification.rb +9 -7
  26. data/lib/test/unit/omission.rb +34 -31
  27. data/lib/test/unit/pending.rb +12 -11
  28. data/lib/test/unit/priority.rb +7 -5
  29. data/lib/test/unit/runner/console.rb +20 -1
  30. data/lib/test/unit/test-suite-creator.rb +30 -9
  31. data/lib/test/unit/testcase.rb +349 -196
  32. data/lib/test/unit/testresult.rb +7 -0
  33. data/lib/test/unit/testsuite.rb +1 -1
  34. data/lib/test/unit/ui/console/testrunner.rb +171 -60
  35. data/lib/test/unit/ui/emacs/testrunner.rb +5 -5
  36. data/lib/test/unit/ui/testrunnermediator.rb +9 -7
  37. data/lib/test/unit/util/backtracefilter.rb +17 -5
  38. data/lib/test/unit/util/memory-usage.rb +47 -0
  39. data/lib/test/unit/util/observable.rb +2 -2
  40. data/lib/test/unit/util/output.rb +5 -4
  41. data/lib/test/unit/util/procwrapper.rb +4 -4
  42. data/lib/test/unit/version.rb +1 -1
  43. data/lib/test/unit/warning.rb +3 -0
  44. data/lib/test/unit.rb +177 -161
  45. data/lib/test-unit.rb +10 -23
  46. metadata +21 -95
  47. data/GPL +0 -339
  48. data/LGPL +0 -502
  49. data/test/collector/test-descendant.rb +0 -178
  50. data/test/collector/test-load.rb +0 -442
  51. data/test/collector/test_dir.rb +0 -406
  52. data/test/collector/test_objectspace.rb +0 -100
  53. data/test/fixtures/header-label.csv +0 -3
  54. data/test/fixtures/header-label.tsv +0 -3
  55. data/test/fixtures/header.csv +0 -3
  56. data/test/fixtures/header.tsv +0 -3
  57. data/test/fixtures/no-header.csv +0 -2
  58. data/test/fixtures/no-header.tsv +0 -2
  59. data/test/fixtures/plus.csv +0 -3
  60. data/test/run-test.rb +0 -22
  61. data/test/test-assertions.rb +0 -2157
  62. data/test/test-attribute-matcher.rb +0 -38
  63. data/test/test-attribute.rb +0 -123
  64. data/test/test-code-snippet.rb +0 -37
  65. data/test/test-color-scheme.rb +0 -82
  66. data/test/test-color.rb +0 -47
  67. data/test/test-data.rb +0 -281
  68. data/test/test-diff.rb +0 -518
  69. data/test/test-emacs-runner.rb +0 -60
  70. data/test/test-error.rb +0 -26
  71. data/test/test-failure.rb +0 -33
  72. data/test/test-fault-location-detector.rb +0 -163
  73. data/test/test-fixture.rb +0 -659
  74. data/test/test-notification.rb +0 -33
  75. data/test/test-omission.rb +0 -81
  76. data/test/test-pending.rb +0 -70
  77. data/test/test-priority.rb +0 -173
  78. data/test/test-test-case.rb +0 -1171
  79. data/test/test-test-result.rb +0 -113
  80. data/test/test-test-suite-creator.rb +0 -97
  81. data/test/test-test-suite.rb +0 -150
  82. data/test/testunit-test-util.rb +0 -31
  83. data/test/ui/test_testrunmediator.rb +0 -20
  84. data/test/util/test-method-owner-finder.rb +0 -38
  85. data/test/util/test-output.rb +0 -11
  86. data/test/util/test_backtracefilter.rb +0 -41
  87. data/test/util/test_observable.rb +0 -102
  88. data/test/util/test_procwrapper.rb +0 -36
data/doc/text/news.md CHANGED
@@ -1,19 +1,789 @@
1
1
  # News
2
2
 
3
+ ## 3.6.2 - 2024-02-16 {#version-3-6-2}
4
+
5
+ ### Improvements
6
+
7
+ * UI: console: Add `--gc-stress` option that enables `GC.stress`
8
+ only whie each test is running.
9
+
10
+ * Added support for Ruby 3.4 style backtrace.
11
+ [GH-237][https://github.com/test-unit/test-unit/issues/237]
12
+ [Patch by Yusuke Endoh]
13
+
14
+ ### Thanks
15
+
16
+ * Yusuke Endoh
17
+
18
+ ## 3.6.1 - 2023-06-25 {#version-3-6-1}
19
+
20
+ ### Improvements
21
+
22
+ * collector: load: Improved performance when a large number of test
23
+ files exist.
24
+ [GH-232][https://github.com/test-unit/test-unit/issues/232]
25
+ [Patch by akira yamada]
26
+
27
+ ### Thanks
28
+
29
+ * akira yamada
30
+
31
+ ## 3.6.0 - 2023-05-25 {#version-3-6-0}
32
+
33
+ ### Improvements
34
+
35
+ * UI: console: Use `--progress-style=fault-only` with non-tty output
36
+ by default.
37
+
38
+ ## 3.5.9 - 2023-05-25 {#version-3-5-9}
39
+
40
+ ### Improvements
41
+
42
+ * UI: console: Use `--progress-style=mark` with `--verbose=verbose`
43
+ by default.
44
+
45
+ ## 3.5.8 - 2023-05-12 {#version-3-5-8}
46
+
47
+ ### Improvements
48
+
49
+ * doc: Improved document for multi Ractor mode.
50
+ [GH-226][https://github.com/test-unit/test-unit/issues/226]
51
+ [Patch by Luke Gruber]
52
+
53
+ * doc: Updated minitest's URL.
54
+ [GH-228][https://github.com/test-unit/test-unit/issues/228]
55
+ [Patch by Koichi ITO]
56
+
57
+ * UI: console: Added `--progress-style` option.
58
+
59
+ * UI: console: Compacted `--verbose=important-only` output..
60
+
61
+ * UI: console: Changed the default output level to `important-only`
62
+ on GitHub Actions.
63
+
64
+ ### Thanks
65
+
66
+ * Luke Gruber
67
+
68
+ * Koichi ITO
69
+
70
+ ## 3.5.7 - 2022-12-15 {#version-3-5-7}
71
+
72
+ ### Improvements
73
+
74
+ * [UI][console]: Changed to use color escape sequence for each line
75
+ instead of each output that may consist with multiple lines.
76
+
77
+ ## 3.5.6 - 2022-12-15 {#version-3-5-6}
78
+
79
+ ### Improvements
80
+
81
+ * [UI][console]: Enabled 256 colors output on GitHub Actions by default.
82
+
83
+ ## 3.5.5 - 2022-10-04 {#version-3-5-5}
84
+
85
+ ### Fixes
86
+
87
+ * Suppressed a warning.
88
+ [GitHub#219](https://github.com/test-unit/test-unit/issues/219)[Patch by Kenichi Kamiya]
89
+
90
+ ### Thanks
91
+
92
+ * Kenichi Kamiya
93
+
94
+ ## 3.5.4 - 2022-10-04 {#version-3-5-4}
95
+
96
+ ### Improvements
97
+
98
+ * Don't raise an error on `Test::Unit::TestCase.clone`.
99
+ [GitHub#210](https://github.com/test-unit/test-unit/issues/210)[Reported by David Marchaland]
100
+
101
+ * Added support for `BigDeciaml` in `assert_in_delta` family.
102
+ [GitHub#218](https://github.com/test-unit/test-unit/issues/218)[Patch by Kenta Murata]
103
+
104
+ ### Thanks
105
+
106
+ * David Marchaland
107
+
108
+ * Kenta Murata
109
+
110
+ ## 3.5.3 - 2021-12-20 {#version-3-5-3}
111
+
112
+ ### Improvements
113
+
114
+ * Made how to sub test case generation customizable.
115
+ [GitHub#207](https://github.com/test-unit/test-unit/issues/207)[Patch by Akira Matsuda]
116
+
117
+ ### Thanks
118
+
119
+ * Akira Matsuda
120
+
121
+ ## 3.5.2 - 2021-12-10 {#version-3-5-2}
122
+
123
+ ### Improvements
124
+
125
+ * Required `fileutils` lazy.
126
+ [GitHub#206](https://github.com/test-unit/test-unit/issues/206)[Patch by David Rodríguez]
127
+
128
+ ### Thanks
129
+
130
+ * David Rodríguez
131
+
132
+ ## 3.5.1 - 2021-11-08 {#version-3-5-1}
133
+
134
+ ### Fixes
135
+
136
+ * Fixed a bug that `keep: true` is ignored when data set is
137
+ generated by block. [Reported by Kenta Murata]
138
+
139
+ ### Thanks
140
+
141
+ * Kenta Murata
142
+
143
+ ## 3.5.0 - 2021-10-18 {#version-3-5-0}
144
+
145
+ ### Fixes
146
+
147
+ * Fixed a bug that `keep: true` is ignored when the last `data`
148
+ doesn't have `keep: true`.
149
+
150
+ ## 3.4.9 - 2021-10-18 {#version-3-4-9}
151
+
152
+ ### Improvements
153
+
154
+ * Added support for labeling each variable values by using `Hash`.
155
+
156
+ ## 3.4.8 - 2021-10-11 {#version-3-4-8}
157
+
158
+ ### Improvements
159
+
160
+ * Added support for omitting Ractor tests on Ruby 2.7 or earlier
161
+ automatically.
162
+
163
+ ## 3.4.7 - 2021-09-14 {#version-3-4-7}
164
+
165
+ ### Fixes
166
+
167
+ * Suppressed a warning on Ruby 2.
168
+ [GitHub#205](https://github.com/test-unit/test-unit/issues/205)[Patch by Kenichi Kamiya]
169
+
170
+ ### Thanks
171
+
172
+ * Kenichi Kamiya
173
+
174
+ ## 3.4.6 - 2021-09-11 {#version-3-4-6}
175
+
176
+ ### Improvements
177
+
178
+ * Added support for tests that use Ractor. Use
179
+ `Test::Unit::TestCase.ractor` to declare that these tests use
180
+ Ractor.
181
+
182
+ * Added `--debug-on-failure` option.
183
+
184
+ ## 3.4.5 - 2021-09-04 {#version-3-4-5}
185
+
186
+ ### Improvements
187
+
188
+ * Added more metadata to gemspec.
189
+ [GitHub#183](https://github.com/test-unit/test-unit/issues/183)[Patch by Kenichi Kamiya]
190
+
191
+ * Removed needless files from gem.
192
+ [GitHub#184](https://github.com/test-unit/test-unit/issues/184)[Patch by Kenichi Kamiya]
193
+
194
+ * Updated documents.
195
+ [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)
196
+ [GitHub#201](https://github.com/test-unit/test-unit/issues/201)[Patch by Kenichi Kamiya]
197
+
198
+ * Added `assert_nothing_leaked_memory`.
199
+
200
+ ### Fixes
201
+
202
+ * Fixed typos in documents.
203
+ [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]
204
+
205
+ ### Thanks
206
+
207
+ * Kenichi Kamiya
208
+
209
+ ## 3.4.4 - 2021-06-04 {#version-3-4-4}
210
+
211
+ ### Improvements
212
+
213
+ * Renamed `assert_all?` to `assert_all`. `assert_all?` is deprecated
214
+ but is available.
215
+
216
+ ## 3.4.3 - 2021-06-04 {#version-3-4-3}
217
+
218
+ ### Improvements
219
+
220
+ * Stopped to change result value of `Test::Unit::TestCase#include`.
221
+
222
+ * Added `assert_all?`.
223
+
224
+ * Added support for `assert_raise_with_message`.
225
+
226
+ ## 3.4.2 - 2021-05-30 {#version-3-4-2}
227
+
228
+ ### Improvements
229
+
230
+ * [UI][console]: Improved diff readability for no color
231
+ case. Character based diff marks are always showed.
232
+
233
+ ## 3.4.1 - 2021-04-19 {#version-3-4-1}
234
+
235
+ ### Fixes
236
+
237
+ * Fixed a bug that `setup`/`cleanup`/`teardown` with block may be
238
+ overwritten by another `setup`/`cleanup`/`teardown` with
239
+ block. It's caused only with Ruby 2.6 or earlier.
240
+ [GitHub#179](https://github.com/test-unit/test-unit/issues/179)[Reported by akira yamada]
241
+
242
+ ### Thanks
243
+
244
+ * akira yamada
245
+
246
+ ## 3.4.0 - 2021-01-30 {#version-3-4-0}
247
+
248
+ ### Improvements
249
+
250
+ * Enable deprecated warnings by default.
251
+
252
+ ## 3.3.9 - 2020-12-29 {#version-3-3-9}
253
+
254
+ ### Improvements
255
+
256
+ * `assert_not_match`: Add support for `String` as pattern.
257
+ [GitHub#178](https://github.com/test-unit/test-unit/issues/178)[Patch by David Rodríguez]
258
+
259
+ ### Thanks
260
+
261
+ * David Rodríguez
262
+
263
+ ## 3.3.8 - 2020-12-25 {#version-3-3-8}
264
+
265
+ ### Improvements
266
+
267
+ * [UI][console]: Removed reverse mode because Ruby 3.0 reverts
268
+ reverse backtrace.
269
+
270
+ ## 3.3.7 - 2020-11-18 {#version-3-3-7}
271
+
272
+ ### Improvements
273
+
274
+ * Improved TruffleRuby support.
275
+ [GitHub#171](https://github.com/test-unit/test-unit/issues/171)[Reported by Benoit Daloze]
276
+
277
+ * Removed needless `to_sym`.
278
+ [GitHub#177](https://github.com/test-unit/test-unit/issues/177)[Patch by icm7216]
279
+
280
+ * `assert_raise`: Added backtrace for actual error.
281
+
282
+ * Improved terminal color availability detection.
283
+ [GitHub#175](https://github.com/test-unit/test-unit/issues/175)[Patch by nicholas a. evans]
284
+
285
+ * Changed license to the new Ruby's.
286
+ [GitHub#174](https://github.com/test-unit/test-unit/issues/174)
287
+
288
+ ### Fixes
289
+
290
+ * Fixed a typo in `--help` output:
291
+ [GitHub#176](https://github.com/test-unit/test-unit/issues/176)[Patch by icm7216]
292
+
293
+ ### Thanks
294
+
295
+ * Benoit Daloze
296
+
297
+ * icm7216
298
+
299
+ * nicholas a. evans
300
+
301
+ ## 3.3.6 - 2020-06-10 {#version-3-3-6}
302
+
303
+ ### Improvements
304
+
305
+ * `name`, `--ignore-name`:
306
+
307
+ * Added support for regular expression options.
308
+
309
+ * Added support for matching with class name in exact match mode.
310
+ [Reported by Jun Aruga]
311
+
312
+ * Updated ruby-talk mailing list information
313
+ [GitHub#168](https://github.com/test-unit/test-unit/issues/168)[Patch by Chris Kampmeier]
314
+
315
+ ### Thanks
316
+
317
+ * Chris Kampmeier
318
+
319
+ * Jun Aruga
320
+
321
+ ## 3.3.5 - 2020-01-10 {#version-3-3-5}
322
+
323
+ ### Improvements
324
+
325
+ * Improved code snippet showing with different default external encoding.
326
+ [GitHub#166](https://github.com/test-unit/test-unit/issues/166)[Patch by Yuta Iwama]
327
+
328
+ ### Thanks
329
+
330
+ * Yuta Iwama
331
+
332
+ ## 3.3.4 - 2019-09-30 {#version-3-3-4}
333
+
334
+ ### Improvements
335
+
336
+ * Converted markup format to Markdown from RDoc.
337
+ [GitHub#164](https://github.com/test-unit/test-unit/issues/164)[Patch by OGAWA KenIchi]
338
+
339
+ * test: Stopped to depend on `Time#inspect` format.
340
+ [GitHub#165](https://github.com/test-unit/test-unit/issues/165)[Reported by Benoit Daloze]
341
+
342
+ ### Thanks
343
+
344
+ * OGAWA KenIchi
345
+
346
+ * Benoit Daloze
347
+
348
+ ## 3.3.3 - 2019-05-10 {#version-3-3-3}
349
+
350
+ ### Fixed
351
+
352
+ * Fixed a bug that priority mode with test case name that uses
353
+ special characters such as `?` can't be used on Windows.
354
+
355
+ ## 3.3.2 - 2019-04-11 {#version-3-3-2}
356
+
357
+ ### Fixes
358
+
359
+ * Fixed a bug that `Test::Unit::Collector::Load` doesn't load test
360
+ files under sub directories when these files have the same base
361
+ name as test files in upper directories.
362
+ [Reported by Kenta Murata]
363
+
364
+ ### Thanks
365
+
366
+ * Kenta Murata
367
+
368
+ ## 3.3.1 - 2019-03-27 {#version-3-3-1}
369
+
370
+ ### Improvements
371
+
372
+ * Added support for `Test::Unit::AssertionFailedError#user_message`
373
+ for not only `assert_equal` and `assert_raise` but also all
374
+ assertions.
375
+ [GitHub#162](https://github.com/test-unit/test-unit/issues/162)[Reported by xgraffm]
376
+
377
+ ### Thanks
378
+
379
+ * xgraffm
380
+
381
+ ## 3.3.0 - 2019-01-23 {#version-3-3-0}
382
+
383
+ ### Improvements
384
+
385
+ * Added support for auto test run when all tests are defined in
386
+ modules.
387
+
388
+ * Added support for defining methods to test case class in multiple
389
+ threads.
390
+ [GitHub#159](https://github.com/test-unit/test-unit/issues/159)[Reported by Charles Oliver Nutter]
391
+
392
+ * Suppressed warnings on Ruby 2.5.
393
+ [GitHub#160](https://github.com/test-unit/test-unit/issues/160)[Reported by Daniel Berger]
394
+
395
+ * Suppressed warnings on Ruby 2.7.
396
+
397
+ ### Fixes
398
+
399
+ * Fixed a code snippet fetch failure when source code isn't UTF-8
400
+ and the default external encoding is set to not UTF-8.
401
+ [GitHub#161](https://github.com/test-unit/test-unit/issues/161)[Reported by masa kunikata]
402
+
403
+ ### Thanks
404
+
405
+ * Charles Oliver Nutter
406
+
407
+ * Daniel Berger
408
+
409
+ * masa kunikata
410
+
411
+ ## 3.2.9 - 2018-12-01 {#version-3-2-9}
412
+
413
+ ### Improvements
414
+
415
+ * Added support for data generation by method. `data_#{test_name}`
416
+ is called to generate data for `test_name` test.
417
+
418
+ * Added support for data matrix generation.
419
+
420
+ Example:
421
+
422
+ ```ruby
423
+ data(:a, [0, 1, 2])
424
+ data(:b, [:x, :y])
425
+ def test_data(data)
426
+ end
427
+ ```
428
+
429
+ This example generates the following data matrix:
430
+
431
+ * label: `"a: 0, b: :x"`, data: `{a: 0, b: :x}`
432
+ * label: `"a: 0, b: :y"`, data: `{a: 0, b: :y}`
433
+ * label: `"a: 1, b: :x"`, data: `{a: 1, b: :x}`
434
+ * label: `"a: 1, b: :y"`, data: `{a: 1, b: :y}`
435
+ * label: `"a: 2, b: :x"`, data: `{a: 2, b: :x}`
436
+ * label: `"a: 2, b: :y"`, data: `{a: 2, b: :y}`
437
+
438
+ * Added `Test::Unit::TestCase#data` that returns the current data.
439
+
440
+ * Added support for using test method that doesn't have no
441
+ parameters as data driven test.
442
+
443
+ Example:
444
+
445
+ ```ruby
446
+ data("label", :value)
447
+ def test_data # Available since this release
448
+ p data # :value
449
+ end
450
+ ```
451
+
452
+ * Added support for `:keep` option to `Test::Unit::TestCase.data`.
453
+
454
+ * Added support for `:group` option to
455
+ `Test::Unit::TestCase.data`. It's useful to generate multiple data
456
+ matrix groups.
457
+
458
+ ```ruby
459
+ # Group1
460
+ data(:a, [0, 1, 2], group: :g1)
461
+ data(:b, [:x, :y], group: :g1)
462
+ # Group2
463
+ data(:a, [:x, :y], group: :g2)
464
+ data(:c, [-1, -2], group: :g2)
465
+ def test_data(data)
466
+ end
467
+ ```
468
+
469
+ This example generates the following data matrix:
470
+
471
+ * label: `"group: :g1, a: 0, b: :x"`, data: `{a: 0, b: :x}`
472
+ * label: `"group: :g1, a: 0, b: :y"`, data: `{a: 0, b: :y}`
473
+ * label: `"group: :g1, a: 1, b: :x"`, data: `{a: 1, b: :x}`
474
+ * label: `"group: :g1, a: 1, b: :y"`, data: `{a: 1, b: :y}`
475
+ * label: `"group: :g1, a: 2, b: :x"`, data: `{a: 2, b: :x}`
476
+ * label: `"group: :g1, a: 2, b: :y"`, data: `{a: 2, b: :y}`
477
+ * label: `"group: :g2, a: :x, b: -1"`, data: `{a: :x, b: -1}`
478
+ * label: `"group: :g2, a: :x, b: -2"`, data: `{a: :x, b: -2}`
479
+ * label: `"group: :g2, a: :y, b: -1"`, data: `{a: :y, b: -1}`
480
+ * label: `"group: :g2, a: :y, b: -2"`, data: `{a: :y, b: -2}`
481
+
482
+ ## 3.2.8 - 2018-05-13 {#version-3-2-8}
483
+
484
+ ### Improvements
485
+
486
+ * [UI][console]: Changed to put code snippet before backtrace on
487
+ reverse mode.
488
+
489
+ ## 3.2.7 - 2017-12-12 {#version-3-2-7}
490
+
491
+ ### Improvements
492
+
493
+ * Added source code link to gemspec.
494
+ [GitHub#157](https://github.com/test-unit/test-unit/issues/157)[Patch by Grey Baker]
495
+
496
+ * Changed to use SVG image for badges in README.
497
+ [GitHub#158](https://github.com/test-unit/test-unit/issues/158)[Patch by Olle Jonsson]
498
+
499
+ * [UI][console]: Added `--reverse-output` option to output fault
500
+ details in reverse like Ruby 2.5. It's enabled by default only for
501
+ tty output.
502
+
503
+ ### Fixes
504
+
505
+ * Fixed a typo.
506
+ [GitHub#156](https://github.com/test-unit/test-unit/issues/156)[Patch by masa kunikata]
507
+
508
+ * [UI][console]: Fixed a bug that broken align in verbose mode.
509
+
510
+ ### Thanks
511
+
512
+ * masa kunikata
513
+
514
+ * Grey Baker
515
+
516
+ * Olle Jonsson
517
+
518
+ ## 3.2.6 - 2017-09-21 {#version-3-2-6}
519
+
520
+ ### Improvements
521
+
522
+ * Changed test file require failure to error from omission.
523
+ [GitHub#154](https://github.com/test-unit/test-unit/issues/154)[Patch by naofumi-fujii]
524
+
525
+ ### Thanks
526
+
527
+ * naofumi-fujii
528
+
529
+ ## 3.2.5 - 2017-06-24 {#version-3-2-5}
530
+
531
+ ### Improvements
532
+
533
+ * Supported `--enable-frozen-string-literal` `ruby` option.
534
+ [GitHub#149](https://github.com/test-unit/test-unit/issues/149)[Reported by Pat Allan]
535
+
536
+ ### Thanks
537
+
538
+ * Pat Allan
539
+
540
+ ## 3.2.4 - 2017-05-23 {#version-3-2-4}
541
+
542
+ ### Improvements
543
+
544
+ * Updated tests for Ruby 2.4. [GitHUb#136][Patch by Kazuki Tsujimoto]
545
+
546
+ * Supported power\_assert 1.0.0. [GitHub#137](https://github.com/test-unit/test-unit/issues/137)[Patch by Kazuki Tsujimoto]
547
+
548
+ * Added the getting started document.
549
+ [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]
550
+
551
+ * Added the document for `attribute`.
552
+ [GitHub#143](https://github.com/test-unit/test-unit/issues/143)[Patch by Fumiaki MATSUSHIMA]
553
+
554
+ * Improved a link for GitHub. [GitHub#144](https://github.com/test-unit/test-unit/issues/144)[Patch by rochefort]
555
+
556
+ * Updated `.travis.yml`. [GitHub#145](https://github.com/test-unit/test-unit/issues/145)[Patch by Jun Aruga]
557
+
558
+ ### Fixes
559
+
560
+ * Fixed a contributor name. [GitHub#131](https://github.com/test-unit/test-unit/issues/131)[Patch by Akira Matsuda]
561
+
562
+ * Fixed typos in document. [GitHub#132](https://github.com/test-unit/test-unit/issues/132)[Patch by Akira Matsuda]
563
+
564
+ * Fixed typos in document. [GitHub#134](https://github.com/test-unit/test-unit/issues/134)[Patch by Yuji Yaginuma]
565
+
566
+ * Fixed a bug that data label with "(" isn't supported.
567
+ [GitHub#135](https://github.com/test-unit/test-unit/issues/135)[Reported by Kazuki Tsujimoto]
568
+
569
+ * Fixed assertion message in English.
570
+ [GitHub#133](https://github.com/test-unit/test-unit/issues/133)[Reported by Khalil Fazal]
571
+
572
+ * Fixed a typo in typo fix. [GitHub#138](https://github.com/test-unit/test-unit/issues/138)[Patch by kami]
573
+
574
+ * Fixed a bug that target location finder may return wrong
575
+ location. [GitHub#146](https://github.com/test-unit/test-unit/issues/146)[Patch by Yuki Ito]
576
+
577
+ * Fixed a bug that `--no-show-detail-immediately` raises an error.
578
+ [GitHub#147](https://github.com/test-unit/test-unit/issues/147)[Reported by MSP-Greg]
579
+
580
+ ### Thanks
581
+
582
+ * Akira Matsuda
583
+
584
+ * Yuji Yaginuma
585
+
586
+ * Kazuki Tsujimoto
587
+
588
+ * Khalil Fazal
589
+
590
+ * kami
591
+
592
+ * Hiroyuki Sato
593
+
594
+ * Fumiaki MATSUSHIMA
595
+
596
+ * rochefort
597
+
598
+ * Jun Aruga
599
+
600
+ * Yuki Ito
601
+
602
+ * MSP-Greg
603
+
604
+ ## 3.2.3 - 2016-11-25 {#version-3-2-3}
605
+
606
+ ### Fixes
607
+
608
+ * Fixed a bug that `--order` isn't applied.
609
+ [GitHub#129](https://github.com/test-unit/test-unit/issues/129)[Reported by Vít Ondruch]
610
+
611
+ ### Thanks
612
+
613
+ * Vít Ondruch
614
+
615
+ ## 3.2.2 - 2016-11-02 {#version-3-2-2}
616
+
617
+ ### Improvements
618
+
619
+ * Improved Travis CI configuration.
620
+ [GitHub#123](https://github.com/test-unit/test-unit/issues/123)[Patch by Ryunosuke Sato]
621
+
622
+ * Supported Java native exception.
623
+ [GitHub#126](https://github.com/test-unit/test-unit/issues/126)[Reported by Bob Saveland]
624
+
625
+ ### Fixes
626
+
627
+ * doc: Fixed markup. [GitHub#127](https://github.com/test-unit/test-unit/issues/127)[Patch by Tomohiro Hashidate]
628
+
629
+ * Fixed a bug that `--location=LINE` may not detect a test when
630
+ fixtures are defined before any tests:
631
+
632
+ 1 class MyTestCase < Test::Unit::TestCase
633
+ 2 setup do
634
+ 3 end
635
+ 4
636
+ 5 test "xxx" do
637
+ 6 end
638
+ 7 end
639
+
640
+ `--location=5` couldn't find the `xxx` test.
641
+
642
+ [Reported by Ryota Sasabe]
643
+
644
+ ### Thanks
645
+
646
+ * Ryunosuke Sato
647
+
648
+ * Tomohiro Hashidate
649
+
650
+ * Bob Saveland
651
+
652
+ * Ryota Sasabe
653
+
654
+ ## 3.2.1 - 2016-07-19 {#version-3-2-1}
655
+
656
+ ### Improvements
657
+
658
+ * Clarified lib/test/unit/diff.rb license. It's a triple license of
659
+ the Ruby license, PSF license and LGPLv2.1 or later.
660
+ [Reported by Luisa Pace]
661
+
662
+ * Reported norification when data driven test doesn't have
663
+ parameter.
664
+ [GitHub#122](https://github.com/test-unit/test-unit/issues/122)[Reported by Satoshi "Moris" Tagomori]
665
+
666
+ ### Thanks
667
+
668
+ * Luisa Pace
669
+
670
+ * Satoshi "Moris" Tagomori
671
+
672
+ ## 3.2.0 - 2016-06-12 {#version-3-2-0}
673
+
674
+ ### Improvements
675
+
676
+ * Supported rxvt family terminals as color available terminals.
677
+ [GitHub#121](https://github.com/test-unit/test-unit/issues/121)[Reported by Ippei Kishida]
678
+
679
+ ### Thanks
680
+
681
+ * Ippei Kishida
682
+
683
+ ## 3.1.9 - 2016-05-20 {#version-3-1-9}
684
+
685
+ ### Fixes
686
+
687
+ * Fixed conflict with test-unit-power_assert.
688
+ [GitHub#120](https://github.com/test-unit/test-unit/issues/120)[Patch by Kazuki Tsujimoto]
689
+
690
+ * Fixed a bug that path in `$LOAD_PATH` may be removed.
691
+
692
+ ### Thanks
693
+
694
+ * Kazuki Tsujimoto
695
+
696
+ ## 3.1.8 - 2016-03-19 {#version-3-1-8}
697
+
698
+ ### Improvements
699
+
700
+ * Added `--stop-on-failure` command line option. With this option,
701
+ running test suite is stopped immediately when one test is failed
702
+ or an error is raised in one test.
703
+
704
+ ## 3.1.7 - 2016-01-17 {#version-3-1-7}
705
+
706
+ ### Fixes
707
+
708
+ * Added a missing require.
709
+
710
+ ## 3.1.6 - 2016-01-17 {#version-3-1-6}
711
+
712
+ It's a Ruby on Rails integration improvement release.
713
+
714
+ ### Improvements
715
+
716
+ * Filtered backtrace of power\_assert.
717
+ [GitHub#114](https://github.com/test-unit/test-unit/issues/114)
718
+ * Improved performance to retrieve test defined location.
719
+ * Improved performance to run fixtures in a test.
720
+ * Supported running a test by `yield` in `setup`:
721
+
722
+ Before:
723
+
724
+ def setup
725
+ @file = File.open("x")
726
+ end
727
+
728
+ def teardown
729
+ @file.close
730
+ end
731
+
732
+ After:
733
+
734
+ def setup
735
+ File.open("x") do |file|
736
+ @file = file
737
+ yield
738
+ end
739
+ end
740
+
741
+ * Added `--default-test-path` option that specifies the default path
742
+ that has tests.
743
+ * Made auto runner registration more lazily. Auto runner isn't
744
+ registered automatically until user defines a test. In the
745
+ previous releases, auto runner is registered automatically when
746
+ user defines a test case.
747
+ * Supported specifying a test by location in command line. For
748
+ example, the following command line runs a test that is defined in
749
+ /tmp/test_a.rb at line 10:
750
+
751
+ % ruby -r test-unit -e run_test /tmp/test_a.rb:10
752
+
753
+ ### Fixes
754
+
755
+ * Fixed a bug that test isn't ran. The test has the same name as
756
+ data driven test that is defined in parent test case.
757
+ [GitHub#115](https://github.com/test-unit/test-unit/issues/115)
758
+
759
+ ## 3.1.5 - 2015-10-09 {#version-3-1-5}
760
+
761
+ It's a Rack integration improvement release.
762
+
763
+ ### Improvements
764
+
765
+ * Renamed experimental top-level `run` method to `run_test` method
766
+ because `run` is conflicted with Rack.
767
+ [GitHub#32](https://github.com/test-unit/test-unit/issues/32)[GitHub:basecamp/pow#303] [Reported by Yevhen Viktorov]
768
+
769
+ ### Thanks
770
+
771
+ * Yevhen Viktorov
772
+
3
773
  ## 3.1.4 - 2015-09-26 {#version-3-1-4}
4
774
 
5
775
  It's a minor improvement release.
6
776
 
7
777
  ### Improvements
8
778
 
9
- * Updated sample code. [GitHub#109][Patch by takiy33]
10
- * Updated .travis.yml. [GitHub#110][Patch by takiy33]
779
+ * Updated sample code. [GitHub#109](https://github.com/test-unit/test-unit/issues/109)[Patch by takiy33]
780
+ * Updated .travis.yml. [GitHub#110](https://github.com/test-unit/test-unit/issues/110)[Patch by takiy33]
11
781
  * document: Added table header in how to document.
12
- [GitHub#111][Patch by takiy33]
782
+ [GitHub#111](https://github.com/test-unit/test-unit/issues/111)[Patch by takiy33]
13
783
  * Removed duplicated code.
14
- [GitHub#112][Patch by takiy33]
784
+ [GitHub#112](https://github.com/test-unit/test-unit/issues/112)[Patch by takiy33]
15
785
  * Removed needless encoding conversion in fetching code snippet.
16
- [GitHub#113][Patch by NARUSE, Yui]
786
+ [GitHub#113](https://github.com/test-unit/test-unit/issues/113)[Patch by NARUSE, Yui]
17
787
 
18
788
  ### Thanks
19
789
 
@@ -26,7 +796,7 @@ It's a bug fix release.
26
796
 
27
797
  ### Improvements
28
798
 
29
- * Removed unused `TODO` file. [GitHub#108][Patch by takiy33]
799
+ * Removed unused `TODO` file. [GitHub#108](https://github.com/test-unit/test-unit/issues/108)[Patch by takiy33]
30
800
 
31
801
  ### Fixes
32
802
 
@@ -81,7 +851,7 @@ It's a bug fix release.
81
851
 
82
852
  * Fixed a bug that `--location` detects tests not only in sub test
83
853
  case but also parent test case.
84
- [GitHub#105][Reported by wanabe]
854
+ [GitHub#105](https://github.com/test-unit/test-unit/issues/105)[Reported by wanabe]
85
855
 
86
856
  ### Thanks
87
857
 
@@ -98,18 +868,18 @@ It's a bug fix release.
98
868
  ### Fixes
99
869
 
100
870
  * Fixed a bug that priority mode can't be used on Windows.
101
- [GitHub#95][Reported by Daniel Berger]
871
+ [GitHub#95](https://github.com/test-unit/test-unit/issues/95)[Reported by Daniel Berger]
102
872
  * Fixed a homepage URL RubyGems spec.
103
- [GitHub#96][Patch by Masayoshi Takahashi]
104
- supported.) [GitHub#89][Patch by Aaron Stone]
873
+ [GitHub#96](https://github.com/test-unit/test-unit/issues/96)[Patch by Masayoshi Takahashi]
874
+ supported.) [GitHub#89](https://github.com/test-unit/test-unit/issues/89)[Patch by Aaron Stone]
105
875
  * Fixed a bug that shutdown hook isn't called when pass throw
106
876
  exception such as `Interrupt` is raised.
107
- [GitHub#98][Reported by jeremiahishere.]
877
+ [GitHub#98](https://github.com/test-unit/test-unit/issues/98)[Reported by jeremiahishere.]
108
878
  * Fixed typos in documents.
109
- [GitHub#100][Reported by scivola]
110
- [GitHub#102][GitHub#103][Patch by Masafumi Yokoyama]
879
+ [GitHub#100](https://github.com/test-unit/test-unit/issues/100)[Reported by scivola]
880
+ [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]
111
881
  * Fixed a bug that the same name test isn't executed in sub test case.
112
- [GitHub#104][Reported by wanabe]
882
+ [GitHub#104](https://github.com/test-unit/test-unit/issues/104)[Reported by wanabe]
113
883
 
114
884
  ### Thanks
115
885
 
@@ -127,9 +897,9 @@ It's a release that improves colors.
127
897
  ### Improvements
128
898
 
129
899
  * Added a work around for Ruby 1.8. (Note: Ruby 1.8 isn't
130
- supported.) [GitHub#89][Patch by Aaron Stone]
900
+ supported.) [GitHub#89](https://github.com/test-unit/test-unit/issues/89)[Patch by Aaron Stone]
131
901
  * Supported colorized output on Windows.
132
- [GitHub#90][Patch by usa]
902
+ [GitHub#90](https://github.com/test-unit/test-unit/issues/90)[Patch by usa]
133
903
  * Improved colorized output.
134
904
  http://www.a-k-r.org/d/2014-12.html#a2014_12_27_1
135
905
  [Suggested by Tanaka Akira]
@@ -149,7 +919,7 @@ It's a release that supports Ruby 2.2.0 preview2.
149
919
  * Added a link for YARD in README.
150
920
  [GitHub:test-unit.github.io#2][Reported by sunnyone]
151
921
  * Added description about "/PATTERN/" style value in auto runner usage.
152
- [GitHub#86][Suggested by sunnyone]
922
+ [GitHub#86](https://github.com/test-unit/test-unit/issues/86)[Suggested by sunnyone]
153
923
  * Supported Ruby 2.2.0 preview2 in `assert_throw` and
154
924
  `assert_nothing_thrown`.
155
925
 
@@ -157,7 +927,7 @@ It's a release that supports Ruby 2.2.0 preview2.
157
927
 
158
928
  * Fixed a bug that error report is failed when source encoding and
159
929
  locale encoding are different.
160
- [GitHub#87][Reported by scivola]
930
+ [GitHub#87](https://github.com/test-unit/test-unit/issues/87)[Reported by scivola]
161
931
 
162
932
  ### Thanks
163
933
 
@@ -172,7 +942,7 @@ It's a minor update release.
172
942
 
173
943
  * Fixed a bug that teardown blocks aren't called with sub class to
174
944
  parent class order.
175
- [GitHub#85][Reported by TOMITA Masahiro]
945
+ [GitHub#85](https://github.com/test-unit/test-unit/issues/85)[Reported by TOMITA Masahiro]
176
946
 
177
947
  ### Thanks
178
948
 
@@ -185,7 +955,7 @@ It's a minor update release.
185
955
  ### Improvements
186
956
 
187
957
  * Improved code snippet location.
188
- [GitHub#84][Patch by Yuki Kurihara]
958
+ [GitHub#84](https://github.com/test-unit/test-unit/issues/84)[Patch by Yuki Kurihara]
189
959
 
190
960
  ### Thanks
191
961
 
@@ -199,7 +969,7 @@ It's a minor update release.
199
969
 
200
970
  * Fixed a bug that startup/shutdown of parent test case isn't called
201
971
  when the test case includes one or more modules.
202
- [GitHub#83][Reported by Chadderton Odwazny]
972
+ [GitHub#83](https://github.com/test-unit/test-unit/issues/83)[Reported by Chadderton Odwazny]
203
973
 
204
974
  ### Thanks
205
975
 
@@ -213,7 +983,7 @@ It's a minor update release.
213
983
 
214
984
  * Stopped to remove JRuby and Rubinius internal backtrace entries from
215
985
  backtrace on failure/error.
216
- [GitHub#82][Patch by Charles Oliver Nutter]
986
+ [GitHub#82](https://github.com/test-unit/test-unit/issues/82)[Patch by Charles Oliver Nutter]
217
987
 
218
988
  ### Thanks
219
989
 
@@ -233,7 +1003,7 @@ It's a minor update release.
233
1003
  ### Fixes
234
1004
 
235
1005
  * Fixed markup in document.
236
- [GitHub#81][Patch by Masafumi Yokoyama]
1006
+ [GitHub#81](https://github.com/test-unit/test-unit/issues/81)[Patch by Masafumi Yokoyama]
237
1007
 
238
1008
  ### Thanks
239
1009
 
@@ -248,18 +1018,18 @@ It's a minor update release.
248
1018
 
249
1019
  * Supported broken `==` implementation.
250
1020
  `==` implementation should be fixed but it's not work of test-unit. :<
251
- [GitHub#71][Reported by Emily]
1021
+ [GitHub#71](https://github.com/test-unit/test-unit/issues/71)[Reported by Emily]
252
1022
  * [UI][console]: Accepted no message failure.
253
- [GitHub#66][Reported by Brian Tatnall]
1023
+ [GitHub#66](https://github.com/test-unit/test-unit/issues/66)[Reported by Brian Tatnall]
254
1024
  * Updated gem description.
255
- [GitHub#74][Patch by Vít Ondruch]
1025
+ [GitHub#74](https://github.com/test-unit/test-unit/issues/74)[Patch by Vít Ondruch]
256
1026
  * Updated GPL text.
257
- [GitHub#78][Patch by Vít Ondruch]
1027
+ [GitHub#78](https://github.com/test-unit/test-unit/issues/78)[Patch by Vít Ondruch]
258
1028
 
259
1029
  ### Fixes
260
1030
 
261
1031
  * Removed needless executable bit from README file.
262
- [GitHub#79][Patch by Vít Ondruch]
1032
+ [GitHub#79](https://github.com/test-unit/test-unit/issues/79)[Patch by Vít Ondruch]
263
1033
 
264
1034
  ### Thanks
265
1035
 
@@ -275,7 +1045,7 @@ It's a minor update release.
275
1045
 
276
1046
  * Improved Ruby 1.8.7 support. Note that we don't support Ruby 1.8.7
277
1047
  actively. We just support if its support is painless.
278
- [GitHub#71][Patch by estolfo]
1048
+ [GitHub#71](https://github.com/test-unit/test-unit/issues/71)[Patch by estolfo]
279
1049
 
280
1050
  ### Thanks
281
1051
 
@@ -288,10 +1058,10 @@ It's Power Assert supported release!
288
1058
  ### Improvements
289
1059
 
290
1060
  * Improved Rubinius support. [Ryo Onodera]
291
- * Updated RR repository link. [GitHub#56][Patch by Kenichi Kamiya]
1061
+ * Updated RR repository link. [GitHub#56](https://github.com/test-unit/test-unit/issues/56)[Patch by Kenichi Kamiya]
292
1062
  * Added some minitest compatible assertions. We don't recommend
293
1063
  using these assertions. They are just for migrating from minitest.
294
- [GitHub#57][Patch by Karol Bucek]
1064
+ [GitHub#57](https://github.com/test-unit/test-unit/issues/57)[Patch by Karol Bucek]
295
1065
  * {Test::Unit::Assertions#refute}
296
1066
  * {Test::Unit::Assertions#refute_predicate}
297
1067
  * {Test::Unit::Assertions#refute_empty}
@@ -305,13 +1075,13 @@ It's Power Assert supported release!
305
1075
  * {Test::Unit::Assertions#refute_operator}
306
1076
  * Improved code readability. [Suggested by Kenichi Kamiya]
307
1077
  * Made license field in RubyGems parseable.
308
- [GitHub#60][Patch by Michael Grosser]
1078
+ [GitHub#60](https://github.com/test-unit/test-unit/issues/60)[Patch by Michael Grosser]
309
1079
  * Improved test case match feature by `--testcase` and `--ignore-testcase`
310
1080
  options. They also checks parent class names.
311
1081
  * Made inspected representation of Numeric objects especially
312
- BigDecimal more readable. [GitHub#64][Reported by Byron Appelt]
1082
+ BigDecimal more readable. [GitHub#64](https://github.com/test-unit/test-unit/issues/64)[Reported by Byron Appelt]
313
1083
  * Added badges for Traivs CI and RubyGems.
314
- [GitHub#65][Patch by Byron Appelt]
1084
+ [GitHub#65](https://github.com/test-unit/test-unit/issues/65)[Patch by Byron Appelt]
315
1085
  * Supported Power Assert. You can use Power Assert with
316
1086
  {Test::Unit::Assertions#assert} with block. See method document
317
1087
  for details. We recommend using Power Assert for predicate method
@@ -325,10 +1095,10 @@ It's Power Assert supported release!
325
1095
  ### Fixes
326
1096
 
327
1097
  * Fixed a bug that test case defined by block has wrong location.
328
- [GitHub#58][Patch by Narihiro Nakamura]
1098
+ [GitHub#58](https://github.com/test-unit/test-unit/issues/58)[Patch by Narihiro Nakamura]
329
1099
  * Fixed a bug that test methods defined in included modules in
330
1100
  super-class are also collected.
331
- [GitHub#62][GitHub#63][Patch by Karol Bucek]
1101
+ [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]
332
1102
 
333
1103
  ### Thanks
334
1104
 
@@ -346,14 +1116,14 @@ It's Ruby 2.0.0 supported release!
346
1116
 
347
1117
  ### Improvements
348
1118
 
349
- * Supported Ruby 2.0.0. [GitHub#54] [Reported by mtasaka]
1119
+ * Supported Ruby 2.0.0. [GitHub#54](https://github.com/test-unit/test-unit/issues/54) [Reported by mtasaka]
350
1120
  * Accepted screen-256color TERM as 256 colors available environment.
351
- [GitHub#55] [Reported by Tom Miller]
1121
+ [GitHub#55](https://github.com/test-unit/test-unit/issues/55) [Reported by Tom Miller]
352
1122
 
353
1123
  ### Fixes
354
1124
 
355
1125
  * Fixed a typo in document.
356
- [GitHub#53] [Patch by Baptiste Fontaine]
1126
+ [GitHub#53](https://github.com/test-unit/test-unit/issues/53) [Patch by Baptiste Fontaine]
357
1127
  * Fixed a bug in {Test::Unit::Assertions#assert_in_epsilon}. It doesn't work
358
1128
  as expected if expected value is negative value.
359
1129
  [Ruby Bug #8317] [Reported by Nobuhiro IMAI]
@@ -378,7 +1148,7 @@ It's a bug fix release.
378
1148
  ### Fixes
379
1149
 
380
1150
  * Fixed a bug. It is too slow to filter tests when there are many
381
- tests. [GitHub#46]
1151
+ tests. [GitHub#46](https://github.com/test-unit/test-unit/issues/46)
382
1152
  * Accept anonymous test suite.
383
1153
  [GitHub:#49] [Reported by Matthew Rudy Jacobs]
384
1154
 
@@ -396,21 +1166,21 @@ It's a release for minitest compatibility and bug fix.
396
1166
  * Added some assersion methods just for minitest compatibility.
397
1167
  Added methods are assert_includes(), refute_*() and refute().
398
1168
  If you are test-unit user, please don't use them.
399
- [GitHub#40] [Suggested by Michael Grosser]
1169
+ [GitHub#40](https://github.com/test-unit/test-unit/issues/40) [Suggested by Michael Grosser]
400
1170
  * Added --attribute option to select target tests by attribute.
401
1171
  [test-unit-users-en:00098] [Suggested by Piotr Nestorow]
402
1172
 
403
1173
  ### Fixes
404
1174
 
405
1175
  * Allowed use of test for inheritance in ActionController::TestCase.
406
- [GitHub#42] [Patch by David Rasch]
407
- * Ensured evaluating at_exist block in top level.
1176
+ [GitHub#42](https://github.com/test-unit/test-unit/issues/42) [Patch by David Rasch]
1177
+ * Ensured evaluating at_exit block in top level.
408
1178
  In IRB context, exit() specifies irb_exit().
409
1179
  [test-unit-users-en:00089] [Reported by Daniel Berger]
410
1180
  * Fixed a bug that decoration style description is ignored.
411
1181
  "decoration style description" are using description method
412
1182
  above "def test_name" or with Symbol specifying test_name.
413
- [GitHub#45] [Reported by Piotr Nestorow]
1183
+ [GitHub#45](https://github.com/test-unit/test-unit/issues/45) [Reported by Piotr Nestorow]
414
1184
 
415
1185
  ### Thanks
416
1186
 
@@ -428,10 +1198,10 @@ feature to `context` in shoulda-context and RSpec.
428
1198
  ### Improvements
429
1199
 
430
1200
  * Cleaned up tests.
431
- [GitHub#34] [Patch by Michael Grosser]
1201
+ [GitHub#34](https://github.com/test-unit/test-unit/issues/34) [Patch by Michael Grosser]
432
1202
  * Added missing background color for 8 color environment.
433
1203
  * Added workaround for NetBeans.
434
- [GitHub#38] [Reported by Marc Cooper]
1204
+ [GitHub#38](https://github.com/test-unit/test-unit/issues/38) [Reported by Marc Cooper]
435
1205
  * Added `--location` command line option that selects target tests
436
1206
  by test defined location.
437
1207
  * Created sub test suite for each subclassed test case.
@@ -441,7 +1211,7 @@ feature to `context` in shoulda-context and RSpec.
441
1211
  [Good hook name is suggested by kdmsnr]
442
1212
  * Improved code snippet target on failure. Test method is always used
443
1213
  for code snippet target.
444
- [GitHub#39] [Suggested by Michael Grosser]
1214
+ [GitHub#39](https://github.com/test-unit/test-unit/issues/39) [Suggested by Michael Grosser]
445
1215
  * Added {Test::Unit::TestCase.sub_test_case} that creates sub test case.
446
1216
  The sub test case name isn't limited Ruby's constant name rule. You can
447
1217
  specify the sub test case name in free form.
@@ -459,16 +1229,16 @@ It's a bug fix release.
459
1229
  ### Improvements
460
1230
 
461
1231
  * Supported installing from GitHub.
462
- [GitHub#29] [Suggested by Michael Grosser]
1232
+ [GitHub#29](https://github.com/test-unit/test-unit/issues/29) [Suggested by Michael Grosser]
463
1233
  * Supported ActiveSupport::TestCase.
464
- [GitHub#30] [Reported by Michael Grosser]
1234
+ [GitHub#30](https://github.com/test-unit/test-unit/issues/30) [Reported by Michael Grosser]
465
1235
  * [ui][console] Improved multiline falut message display.
466
1236
 
467
1237
  ### Fixes
468
1238
 
469
1239
  * [ui][console] Fixed a bug that expected and actual values are
470
1240
  empty.
471
- [GitHub#31][GitHub#33]
1241
+ [GitHub#31](https://github.com/test-unit/test-unit/issues/31)[GitHub#33](https://github.com/test-unit/test-unit/issues/33)
472
1242
  [Reported by Kendall Buchanan][Reported by Mathieu Martin]
473
1243
  [Hinted by Michael Grosser]
474
1244
  * Fixed a bug that .gemspec can't be loaded on LANG=C.
@@ -489,7 +1259,7 @@ It's a bug fix release.
489
1259
 
490
1260
  * Fixed a backward incompatibility of `TestUnitMediator#run_suite`
491
1261
  introduced in 2.4.9.
492
- [GitHub#28] [Reported by Vladislav Rassokhin]
1262
+ [GitHub#28](https://github.com/test-unit/test-unit/issues/28) [Reported by Vladislav Rassokhin]
493
1263
 
494
1264
  ### Thanks
495
1265
 
@@ -510,7 +1280,7 @@ It's a bug fix release.
510
1280
  * Supported showing ASCII-8BIT diff in failure message.
511
1281
  * [ui][console] Supported `ENV["TERM"] == "xterm-256color"` as color
512
1282
  available terminal.
513
- [GitHub#26] [Reported by Michael Grosser]
1283
+ [GitHub#26](https://github.com/test-unit/test-unit/issues/26) [Reported by Michael Grosser]
514
1284
  * [ui][console] Supported "-256color" suffix `ENV["TERM"]` terminal
515
1285
  as 256 color supported terminal.
516
1286
 
@@ -521,7 +1291,7 @@ It's a bug fix release.
521
1291
  says.
522
1292
  [RubyForge#29554] [Reported by Bob Saveland]
523
1293
  * Added missing `require "test/unit/diff"`.
524
- [GitHub#25] [Reported by Stephan Kulow]
1294
+ [GitHub#25](https://github.com/test-unit/test-unit/issues/25) [Reported by Stephan Kulow]
525
1295
 
526
1296
  ### Thanks
527
1297
 
@@ -887,7 +1657,7 @@ Output improvement release!
887
1657
  * use ~/.test-unit.yml as global configuration file.
888
1658
  * add TAP runner. (--runner tap)
889
1659
  * support colorized diff:
890
- http://test-unit.github.io/color-diff.png
1660
+ https://test-unit.github.io/color-diff.png
891
1661
  * add Test::Unit::AutoRunner.default_runner= to specify default test runner.
892
1662
 
893
1663
  * 4 minor enhancements