tork 17.1.0 → 18.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/HISTORY.markdown CHANGED
@@ -1,8 +1,49 @@
1
- ------------------------------------------------------------------------------
2
- Version 17.1.0 (2012-01-30)
3
- ------------------------------------------------------------------------------
1
+ ## Version 18.0.0 (2012-02-06)
4
2
 
5
- Improvements:
3
+ Alert:
4
+
5
+ * RSpec 2.8.0 and older contain [a bug](
6
+ https://github.com/sunaku/tork/issues/31 ) where a nonzero
7
+ exit status (caused by an uncaught exception) is overridden
8
+ by RSpec's `Kernel#at_exit` handler to be zero, thereby
9
+ falsely indicating that a spec had passed. [This patch](
10
+ https://github.com/rspec/rspec-core/pull/569/files) fixes the
11
+ problem. Thanks to Gumaro Melendez for reporting this issue.
12
+
13
+ Major:
14
+
15
+ * Dropped first parameter to `Tork::Config::test_file_globbers`.
16
+
17
+ * GH-31: tork-master now emits separate exit code and info.
18
+ Update your `Tork::Config::test_event_hooks` accordingly.
19
+
20
+ * tork/server: switch from modules to class inheritance.
21
+
22
+ * tork/config: switch to Struct to prevent misspellings.
23
+
24
+ Minor:
25
+
26
+ * tork-driver now recursively expands dependent test files while globbing.
27
+
28
+ * Extracted bookkeeping stuff from tork-driver into tork-engine component.
29
+
30
+ Other:
31
+
32
+ * tork/config: do not reabsorb when .tork.rb
33
+ changes. Since the configuration is loaded in
34
+ multiple processes, it is difficult to reload
35
+ the configuration on the fly without adding
36
+ significant complexity to Tork. Instead, it's
37
+ easier to accept the limitation that you must
38
+ restart Tork if you change your configuration.
39
+
40
+ * GH-29: bump guard version requirement to v1 series.
41
+
42
+ * Improve documentation; revise markdown; clean up.
43
+
44
+ ## Version 17.1.0 (2012-01-30)
45
+
46
+ Minor:
6
47
 
7
48
  * Added `Tork::Config.test_event_hooks` configuration option.
8
49
 
@@ -18,13 +59,11 @@ Improvements:
18
59
  multiple globs in an array, in addition to just a single glob or `nil`.
19
60
 
20
61
  * Added support for the MiniTest convention of naming test files as
21
- `test/**/test_*.rb` and `spec/**/spec_*.rb`.
62
+ `test/**/test_*.rb` and `spec/**/spec_*.rb`. (Jose Pablo Barrantes)
22
63
 
23
- ------------------------------------------------------------------------------
24
- Version 17.0.1 (2012-01-29)
25
- ------------------------------------------------------------------------------
64
+ ## Version 17.0.1 (2012-01-29)
26
65
 
27
- Corrections:
66
+ Patch:
28
67
 
29
68
  * tork-herald(1) *sometimes* reported changed test files twice.
30
69
 
@@ -34,17 +73,15 @@ Corrections:
34
73
 
35
74
  * Tork::Client::Transceiver needs to stop both TX & RX loops.
36
75
 
37
- Housekeeping:
76
+ Other:
38
77
 
39
78
  * tork/driver: store test file lists in Set, not Array.
40
79
 
41
80
  * HISTORY: use single-word change-set descriptions.
42
81
 
43
- ------------------------------------------------------------------------------
44
- Version 17.0.0 (2012-01-27)
45
- ------------------------------------------------------------------------------
82
+ ## Version 17.0.0 (2012-01-27)
46
83
 
47
- Divergences:
84
+ Major:
48
85
 
49
86
  * tork-herald(1) now emits batches of single-line JSON arrays instead of
50
87
  printing one (raw) path per line. This makes IPC uniform across Tork.
@@ -58,7 +95,7 @@ Divergences:
58
95
 
59
96
  * The new order is: test_file, line_numbers, log_file, worker_number.
60
97
 
61
- Improvements:
98
+ Minor:
62
99
 
63
100
  * GH-24: add `tork/config/dotlog` configuration helper to "hide" log files.
64
101
  (Nicolas Fouché)
@@ -69,7 +106,7 @@ Improvements:
69
106
  * tork(1) now strips all whitespace from your input, in case you pressed
70
107
  spacebar or tab a few times, by accident, before entering your command.
71
108
 
72
- Housekeeping:
109
+ Other:
73
110
 
74
111
  * tork/client: Replace write lock with queue to support SIGCHLD handler.
75
112
 
@@ -88,11 +125,9 @@ Housekeeping:
88
125
 
89
126
  * README: revise instructions, reorganize document, and other improvements.
90
127
 
91
- ------------------------------------------------------------------------------
92
- Version 16.0.0 (2012-01-25)
93
- ------------------------------------------------------------------------------
128
+ ## Version 16.0.0 (2012-01-25)
94
129
 
95
- Divergences:
130
+ Major:
96
131
 
97
132
  * Drop the `Tork::Config.test_name_extractor` configuration option.
98
133
 
@@ -100,23 +135,21 @@ Divergences:
100
135
 
101
136
  * Pass $~ (MatchData) to `Tork::Config::test_file_globbers` functions.
102
137
 
103
- Improvements:
138
+ Minor:
104
139
 
105
140
  * tork/config/cucumber: only run changed scenarios in changed features.
106
141
 
107
- Housekeeping:
142
+ Other:
108
143
 
109
144
  * README: update instructions on running Tork directly from Git clone.
110
145
 
111
- ------------------------------------------------------------------------------
112
- Version 15.1.0 (2012-01-25)
113
- ------------------------------------------------------------------------------
146
+ ## Version 15.1.0 (2012-01-25)
114
147
 
115
- Improvements:
148
+ Minor:
116
149
 
117
150
  * GH-19: add `tork cucumber` for running cucumber features.
118
151
 
119
- Corrections:
152
+ Patch:
120
153
 
121
154
  * tork/config/rails: support Rails 2 and don't assume AR is used. (Benjamin
122
155
  Quorning)
@@ -130,17 +163,15 @@ Corrections:
130
163
  See <http://stackoverflow.com/questions/1497756>.
131
164
  Also added forgotten Luke Wendling to the list.
132
165
 
133
- ------------------------------------------------------------------------------
134
- Version 15.0.1 (2012-01-24)
135
- ------------------------------------------------------------------------------
166
+ ## Version 15.0.1 (2012-01-24)
136
167
 
137
- Corrections:
168
+ Patch:
138
169
 
139
170
  * GH-21: Ruby 1.9 class_eval() is smarter than 1.8.
140
171
 
141
172
  * GH-20: forgot `require 'thread'` for Mutex class. (Jesse Cooke)
142
173
 
143
- Housekeeping:
174
+ Other:
144
175
 
145
176
  * tork(1): fix shadowed variable names. (Jose Pablo Barrantes)
146
177
 
@@ -156,11 +187,9 @@ Housekeeping:
156
187
 
157
188
  * README: add tip about Guard's FS watching backends.
158
189
 
159
- ------------------------------------------------------------------------------
160
- Version 15.0.0 (2012-01-23)
161
- ------------------------------------------------------------------------------
190
+ ## Version 15.0.0 (2012-01-23)
162
191
 
163
- Divergences:
192
+ Major:
164
193
 
165
194
  * This project has been renamed from TestR to Tork (test with fork) in order
166
195
  to better compete with rival projects, namely Spork! >:-) Credit goes to
@@ -169,11 +198,9 @@ Divergences:
169
198
 
170
199
  * tork(1): rename `r` command, which runs all tests, to `t`, for *t*ork.
171
200
 
172
- ------------------------------------------------------------------------------
173
- Version 14.3.0 (2012-01-20)
174
- ------------------------------------------------------------------------------
201
+ ## Version 14.3.0 (2012-01-20)
175
202
 
176
- Improvements:
203
+ Minor:
177
204
 
178
205
  * testr(1): notify user while dispatching their commands. This is especially
179
206
  useful when the "rerun_passed_test_files" command has been dispatched but
@@ -190,7 +217,7 @@ Improvements:
190
217
 
191
218
  * testr-driver(1): document the "over" status message in manual page.
192
219
 
193
- Housekeeping:
220
+ Other:
194
221
 
195
222
  * testr-driver(1): keep same herald; only replace master.
196
223
 
@@ -204,11 +231,9 @@ Housekeeping:
204
231
 
205
232
  * LICENSE: credit our most recent contributors.
206
233
 
207
- ------------------------------------------------------------------------------
208
- Version 14.2.0 (2012-01-16)
209
- ------------------------------------------------------------------------------
234
+ ## Version 14.2.0 (2012-01-16)
210
235
 
211
- Improvements:
236
+ Minor:
212
237
 
213
238
  * Add ability to run `testr rails` without needing a `.testr.rb` file.
214
239
 
@@ -216,41 +241,35 @@ Improvements:
216
241
 
217
242
  * testr(1) now notifies you before absorbing overhead at startup.
218
243
 
219
- Corrections:
244
+ Patch:
220
245
 
221
246
  * testr(1) now accepts death silently when Control-C is pressed.
222
247
 
223
- ------------------------------------------------------------------------------
224
- Version 14.1.3 (2012-01-13)
225
- ------------------------------------------------------------------------------
248
+ ## Version 14.1.3 (2012-01-13)
226
249
 
227
- Corrections:
250
+ Patch:
228
251
 
229
252
  * Add support Guard v0.9.0 and newer in `testr-herald`. (Jose Pablo
230
253
  Barrantes)
231
254
 
232
- Housekeeping:
255
+ Other:
233
256
 
234
257
  * Tighten version constraints for gem dependencies to avoid future
235
258
  breakages.
236
259
 
237
- ------------------------------------------------------------------------------
238
- Version 14.1.2 (2012-01-09)
239
- ------------------------------------------------------------------------------
260
+ ## Version 14.1.2 (2012-01-09)
240
261
 
241
- Improvements:
262
+ Minor:
242
263
 
243
264
  * Don't consider partial test file pass as full pass.
244
265
 
245
- Housekeeping:
266
+ Other:
246
267
 
247
268
  * Upgrade to binman 3 for better bundler support.
248
269
 
249
- ------------------------------------------------------------------------------
250
- Version 14.1.1 (2011-12-07)
251
- ------------------------------------------------------------------------------
270
+ ## Version 14.1.1 (2011-12-07)
252
271
 
253
- Corrections:
272
+ Patch:
254
273
 
255
274
  * Do not fail when given test file no longer exists.
256
275
 
@@ -262,7 +281,7 @@ Corrections:
262
281
 
263
282
  * Ruby 187 does not have Symbol#upcase() method.
264
283
 
265
- Housekeeping:
284
+ Other:
266
285
 
267
286
  * README: add another SQLite3 error to known issues.
268
287
  Thanks to Luke Wendling for contributing this patch.
@@ -277,11 +296,9 @@ Housekeeping:
277
296
 
278
297
  * Upgrade to binman 2.0.0 for UNIX man pages.
279
298
 
280
- ------------------------------------------------------------------------------
281
- Version 14.1.0 (2011-11-03)
282
- ------------------------------------------------------------------------------
299
+ ## Version 14.1.0 (2011-11-03)
283
300
 
284
- Improvements:
301
+ Minor:
285
302
 
286
303
  * Make servers responsive to quit request (SIGTERM) from upstream.
287
304
 
@@ -298,11 +315,11 @@ Improvements:
298
315
  documented in their manual pages, so you should have everything you
299
316
  need to create *your own custom user interface to TestR* if you wish! :-)
300
317
 
301
- Corrections:
318
+ Patch:
302
319
 
303
320
  * SIGCHLD does not awaken main thread in Ruby 1.9.3p0.
304
321
 
305
- Housekeeping:
322
+ Other:
306
323
 
307
324
  * Simplify watch(1) ps(1) process title monitoring.
308
325
 
@@ -310,20 +327,16 @@ Housekeeping:
310
327
 
311
328
  * README: add tip on loading factory_girl factories.
312
329
 
313
- ------------------------------------------------------------------------------
314
- Version 14.0.3 (2011-10-11)
315
- ------------------------------------------------------------------------------
330
+ ## Version 14.0.3 (2011-10-11)
316
331
 
317
- Corrections:
332
+ Patch:
318
333
 
319
334
  * Forgot to migrate the `testr/config/rails` configuration helper to use the
320
335
  new TestR configuration parameter names.
321
336
 
322
- ------------------------------------------------------------------------------
323
- Version 14.0.2 (2011-10-11)
324
- ------------------------------------------------------------------------------
337
+ ## Version 14.0.2 (2011-10-11)
325
338
 
326
- Corrections:
339
+ Patch:
327
340
 
328
341
  * Fix updating passed/failed test files bookkeeping. Once a test file
329
342
  failed, it was (incorrectly) always considered failed, even if it passed
@@ -331,15 +344,13 @@ Corrections:
331
344
 
332
345
  * Do not requeue test files that are waiting to run.
333
346
 
334
- Housekeeping:
347
+ Other:
335
348
 
336
349
  * Rename `*.md` files to `*.markdown` to avoid ambiguity.
337
350
 
338
- ------------------------------------------------------------------------------
339
- Version 14.0.1 (2011-10-10)
340
- ------------------------------------------------------------------------------
351
+ ## Version 14.0.1 (2011-10-10)
341
352
 
342
- Corrections:
353
+ Patch:
343
354
 
344
355
  * Use blue/red for pass/fail instead of green/red to accommodate the color
345
356
  blind.
@@ -347,15 +358,13 @@ Corrections:
347
358
  * Incorrect test name regexp was passed down to Test::Unit. This broke
348
359
  focused testing, where only changed tests in a changed test file are run.
349
360
 
350
- Housekeeping:
361
+ Other:
351
362
 
352
363
  * Make `testr-master` wait for killed worker processes before exiting.
353
364
 
354
- ------------------------------------------------------------------------------
355
- Version 14.0.0 (2011-10-09)
356
- ------------------------------------------------------------------------------
365
+ ## Version 14.0.0 (2011-10-09)
357
366
 
358
- Divergences:
367
+ Major:
359
368
 
360
369
  * Renamed this project and its resources from test-loop to TestR.
361
370
 
@@ -379,7 +388,7 @@ Divergences:
379
388
 
380
389
  * Removed the `test/loop/notify` and `test-loop/coco` libraries.
381
390
 
382
- Improvements:
391
+ Minor:
383
392
 
384
393
  * The file system is no longer polled to detect modified files. Instead, it
385
394
  is monitored for file modification events in a portable and efficient
@@ -393,7 +402,7 @@ Improvements:
393
402
 
394
403
  * Added ability to re-run passed and failed tests in the `testr` script.
395
404
 
396
- Housekeeping:
405
+ Other:
397
406
 
398
407
  * The monolithic `test-loop` script has been replaced by several smaller
399
408
  ones that communicate with each other using single-line JSON messages via
@@ -401,26 +410,22 @@ Housekeeping:
401
410
 
402
411
  * Now using Bundler to manage development dependencies and gem packaging.
403
412
 
404
- ------------------------------------------------------------------------------
405
- Version 13.0.1 (2011-09-21)
406
- ------------------------------------------------------------------------------
413
+ ## Version 13.0.1 (2011-09-21)
407
414
 
408
- Housekeeping:
415
+ Other:
409
416
 
410
417
  * Forgot to include `test/loop/coco` preset in gem package.
411
418
 
412
419
  * Forgot to mention `test/loop/parallel_tests` preset in README.
413
420
 
414
- ------------------------------------------------------------------------------
415
- Version 13.0.0 (2011-08-24)
416
- ------------------------------------------------------------------------------
421
+ ## Version 13.0.0 (2011-08-24)
417
422
 
418
- Divergences:
423
+ Major:
419
424
 
420
425
  * Pass worker sequence number as the last argument to lambda functions in
421
426
  `Test::Loop.before_each_test` and `Test::Loop.after_each_test` arrays.
422
427
 
423
- Improvements:
428
+ Minor:
424
429
 
425
430
  * In the `test/loop/rails` configuration preset:
426
431
 
@@ -436,7 +441,7 @@ Improvements:
436
441
  processes like connecting to separate databases better. (Corné
437
442
  Verbruggen)
438
443
 
439
- Housekeeping:
444
+ Other:
440
445
 
441
446
  * README: move configuration presets above options.
442
447
 
@@ -446,23 +451,19 @@ Housekeeping:
446
451
 
447
452
  * Pass child ENV directly to exec() for atomicity.
448
453
 
449
- ------------------------------------------------------------------------------
450
- Version 12.3.1 (2011-07-19)
451
- ------------------------------------------------------------------------------
454
+ ## Version 12.3.1 (2011-07-19)
452
455
 
453
- Corrections:
456
+ Patch:
454
457
 
455
458
  * Binary data could not be stored in environment variable values.
456
459
 
457
- Housekeeping:
460
+ Other:
458
461
 
459
462
  * Forgot to add Jacob Helwig to the gemspec's authors list.
460
463
 
461
- ------------------------------------------------------------------------------
462
- Version 12.3.0 (2011-07-19)
463
- ------------------------------------------------------------------------------
464
+ ## Version 12.3.0 (2011-07-19)
464
465
 
465
- Improvements:
466
+ Minor:
466
467
 
467
468
  * Add `Test::Loop::max_concurrent_tests` configuration parameter to limit
468
469
  the number of test files run concurrently (default 4). Otherwise, with
@@ -471,7 +472,7 @@ Improvements:
471
472
 
472
473
  * Rails: add matcher for `test/factories/*_factory.rb`.
473
474
 
474
- Housekeeping:
475
+ Other:
475
476
 
476
477
  * ENV returns a Hash with duplicate/frozen keys/values. (Brian D. Burns)
477
478
 
@@ -479,9 +480,7 @@ Housekeeping:
479
480
 
480
481
  * Store test_files in a Set instead of an Array.
481
482
 
482
- ------------------------------------------------------------------------------
483
- Version 12.2.0 (2011-06-01)
484
- ------------------------------------------------------------------------------
483
+ ## Version 12.2.0 (2011-06-01)
485
484
 
486
485
  * Prevent empty test suite run in master process. (Brian D. Burns)
487
486
 
@@ -491,20 +490,16 @@ Version 12.2.0 (2011-06-01)
491
490
  * Add `test/loop/coco` preset for integrating the [Coco code coverage
492
491
  library](http://lkdjiin.github.com/coco/).
493
492
 
494
- ------------------------------------------------------------------------------
495
- Version 12.1.0 (2011-04-29)
496
- ------------------------------------------------------------------------------
493
+ ## Version 12.1.0 (2011-04-29)
497
494
 
498
- Improvements:
495
+ Minor:
499
496
 
500
497
  * Add `Test::Loop.delay_per_iteration` parameter to control the number of
501
498
  seconds (or fractions thereof) to sleep in between test-loop iterations.
502
499
 
503
- ------------------------------------------------------------------------------
504
- Version 12.0.4 (2011-04-29)
505
- ------------------------------------------------------------------------------
500
+ ## Version 12.0.4 (2011-04-29)
506
501
 
507
- Corrections:
502
+ Patch:
508
503
 
509
504
  * Reabsorb overhead when user's configuration file changes. (Brian D. Burns
510
505
  and Daniel Pittman)
@@ -513,11 +508,9 @@ Corrections:
513
508
  not necessary! [This issue](https://github.com/sunaku/test-loop/issues/5)
514
509
  was solved by upgrading to the newer 2.6.38.4-1 Linux kernel on my system.
515
510
 
516
- ------------------------------------------------------------------------------
517
- Version 12.0.3 (2011-04-25)
518
- ------------------------------------------------------------------------------
511
+ ## Version 12.0.3 (2011-04-25)
519
512
 
520
- Corrections:
513
+ Patch:
521
514
 
522
515
  * Fix SIGCHLD handling and test completion reporting (Daniel Pittman).
523
516
 
@@ -571,11 +564,9 @@ Corrections:
571
564
  Many thanks to Brian D. Burns and Daniel Pittman for helping solve [this
572
565
  issue](https://github.com/sunaku/test-loop/issues/5).
573
566
 
574
- ------------------------------------------------------------------------------
575
- Version 12.0.2 (2011-04-21)
576
- ------------------------------------------------------------------------------
567
+ ## Version 12.0.2 (2011-04-21)
577
568
 
578
- Corrections:
569
+ Patch:
579
570
 
580
571
  * Consider DB schema dump file as overhead in Rails.
581
572
 
@@ -583,12 +574,10 @@ Corrections:
583
574
 
584
575
  * Run test files when test factory files change in Rails.
585
576
 
586
- Housekeeping:
577
+ Other:
587
578
 
588
579
  * Detach worker from master's terminal device sooner.
589
580
 
590
- Documentation:
591
-
592
581
  * All required signals must be present in irb check.
593
582
 
594
583
  * Prevent ps(1) from truncating lines to $TERM width.
@@ -597,33 +586,27 @@ Documentation:
597
586
 
598
587
  * Begin parameter descriptions with the noun itself.
599
588
 
600
- ------------------------------------------------------------------------------
601
- Version 12.0.1 (2011-04-20)
602
- ------------------------------------------------------------------------------
589
+ ## Version 12.0.1 (2011-04-20)
603
590
 
604
- Corrections:
591
+ Patch:
605
592
 
606
593
  * Restore support for Ruby 1.8.7.
607
594
 
608
595
  * Allow user's test execution overhead to fork.
609
596
 
610
- Housekeeping:
597
+ Other:
611
598
 
612
599
  * Freeze master's ENV properly; keep resume key.
613
600
 
614
601
  * Remove completed test from running list sooner.
615
602
 
616
- Documentation:
617
-
618
603
  * Add instructions to check for POSIX prerequisites.
619
604
 
620
605
  * Support multiple test-loop instances in watch command.
621
606
 
622
- ------------------------------------------------------------------------------
623
- Version 12.0.0 (2011-04-19)
624
- ------------------------------------------------------------------------------
607
+ ## Version 12.0.0 (2011-04-19)
625
608
 
626
- Divergences:
609
+ Major:
627
610
 
628
611
  * You must now explicitly `require 'test/loop/rails'` for Rails support
629
612
  because we can only *automatically* apply our Railtie (to disable class
@@ -633,7 +616,7 @@ Divergences:
633
616
  * Your tests can no longer read from the user's terminal (master's STDIN);
634
617
  instead they will read from an empty stream (the reading end of IO.popen).
635
618
 
636
- Corrections:
619
+ Patch:
637
620
 
638
621
  * Replace threads with SIGCHLD for reporting test results.
639
622
 
@@ -646,7 +629,7 @@ Corrections:
646
629
 
647
630
  * Ctrl-C did not raise Interrupt in my Rails 3 test suite.
648
631
 
649
- Housekeeping:
632
+ Other:
650
633
 
651
634
  * Ensure a clean ENV when reabsorbing overhead. Environment variables set
652
635
  by your test execution overhead are not propagated to subsequent
@@ -664,38 +647,32 @@ Housekeeping:
664
647
 
665
648
  * Add LICENSE file to gem package.
666
649
 
667
- Documentation:
668
-
669
650
  * Add prerequisites section about POSIX environment.
670
651
 
671
652
  * Add tip about annihilating test-loop processes.
672
653
 
673
654
  * Fix markdown formatting.
674
655
 
675
- ------------------------------------------------------------------------------
676
- Version 11.0.1 (2011-04-14)
677
- ------------------------------------------------------------------------------
656
+ ## Version 11.0.1 (2011-04-14)
678
657
 
679
- Corrections:
658
+ Patch:
680
659
 
681
660
  * Only attempt to define Railtie if the current Rails version supports it.
682
661
 
683
- ------------------------------------------------------------------------------
684
- Version 11.0.0 (2011-04-14)
685
- ------------------------------------------------------------------------------
662
+ ## Version 11.0.0 (2011-04-14)
686
663
 
687
- Divergences:
664
+ Major:
688
665
 
689
666
  * The `test/loop/rails` preset has been internalized and is now applied
690
667
  automatically if your test execution overhead includes Ruby on Rails.
691
668
 
692
- Improvements:
669
+ Minor:
693
670
 
694
671
  * If you are using Rails 3, test-loop will automatically set
695
672
  `config.cache_classes = false` for your test environment. (Brian D.
696
673
  Burns)
697
674
 
698
- Corrections:
675
+ Patch:
699
676
 
700
677
  * Avoid deadlock errors when printing output from Test::Unit and MiniTest.
701
678
  (Brian D. Burns)
@@ -707,11 +684,9 @@ Corrections:
707
684
 
708
685
  * Ignore SIGINT in workers; only master must honor it.
709
686
 
710
- ------------------------------------------------------------------------------
711
- Version 10.0.1 (2011-04-08)
712
- ------------------------------------------------------------------------------
687
+ ## Version 10.0.1 (2011-04-08)
713
688
 
714
- Corrections:
689
+ Patch:
715
690
 
716
691
  * Workers must ignore SIGTSTP, otherwise master waits forever before
717
692
  exiting.
@@ -723,20 +698,16 @@ Corrections:
723
698
 
724
699
  * Simpler solution for terminating loop upon Ctrl-C.
725
700
 
726
- ------------------------------------------------------------------------------
727
- Version 10.0.0 (2011-04-06)
728
- ------------------------------------------------------------------------------
701
+ ## Version 10.0.0 (2011-04-06)
729
702
 
730
- Divergences:
703
+ Major:
731
704
 
732
705
  * The `Test::Loop.before_each_test` and `Test::Loop.after_each_test`
733
706
  parameters are arrays now.
734
707
 
735
- ------------------------------------------------------------------------------
736
- Version 9.4.0 (2011-04-06)
737
- ------------------------------------------------------------------------------
708
+ ## Version 9.4.0 (2011-04-06)
738
709
 
739
- Improvements:
710
+ Minor:
740
711
 
741
712
  * Allow lambda functions in `Test::Loop.test_file_matchers` to return `nil`
742
713
  so that you can exclude certain tests from being executed. (Brian D.
@@ -748,13 +719,13 @@ Improvements:
748
719
 
749
720
  watch 'ps xf | grep test-loop | sed 1,3d'
750
721
 
751
- Corrections:
722
+ Patch:
752
723
 
753
724
  * Skip `at_exit()` when exiting master process. This prevents an empty test
754
725
  from being run when exiting the loop after having processed a test/spec
755
726
  helper that loads the Test::Unit library. (Brian D. Burns)
756
727
 
757
- Housekeeping:
728
+ Other:
758
729
 
759
730
  * Use throw/catch to break loop instead of raising SystemExit exception.
760
731
 
@@ -764,11 +735,9 @@ Housekeeping:
764
735
 
765
736
  * Separate configuration parameters into subsections in README.
766
737
 
767
- ------------------------------------------------------------------------------
768
- Version 9.3.0 (2011-04-01)
769
- ------------------------------------------------------------------------------
738
+ ## Version 9.3.0 (2011-04-01)
770
739
 
771
- Improvements:
740
+ Minor:
772
741
 
773
742
  * Resume currently running tests--as well as those currently needing to be
774
743
  run--after reabsorbing test execution overhead. (Brian D. Burns)
@@ -785,7 +754,7 @@ Improvements:
785
754
  * Use ANSI clear line command to erase control-key combinations outputted by
786
755
  shells such as BASH and ZSH in test-loop's output. (Brian D. Burns)
787
756
 
788
- Corrections:
757
+ Patch:
789
758
 
790
759
  * `@last_ran_at` was being set during every iteration of the loop. This is
791
760
  problematic when Ruby's `Time.now` is more precise than your filesystem's
@@ -799,32 +768,26 @@ Corrections:
799
768
 
800
769
  * Remove 'ansi' gem dependency. (Brian D. Burns)
801
770
 
802
- Documentation:
771
+ Other:
803
772
 
804
773
  * Add tip on deleting logs for passing tests. (Brian D. Burns)
805
774
 
806
775
  * Add tip on monitoring test processes with watch(1) in README.
807
776
 
808
- ------------------------------------------------------------------------------
809
- Version 9.2.0 (2011-03-28)
810
- ------------------------------------------------------------------------------
777
+ ## Version 9.2.0 (2011-03-28)
811
778
 
812
779
  * Extract Rails-specific configuration to 'test/loop/rails' sublibrary.
813
780
 
814
781
  * Add 'test/loop/notify' sublibrary for OSD notifications on failures.
815
782
 
816
- ------------------------------------------------------------------------------
817
- Version 9.1.1 (2011-03-15)
818
- ------------------------------------------------------------------------------
783
+ ## Version 9.1.1 (2011-03-15)
819
784
 
820
785
  * $0 does not work from RubyGems wrapper executable.
821
786
  Thanks to Brian D. Burns for reporting this issue.
822
787
 
823
788
  * Add information about sqlite3 errors & workaround in README.
824
789
 
825
- ------------------------------------------------------------------------------
826
- Version 9.1.0 (2011-02-23)
827
- ------------------------------------------------------------------------------
790
+ ## Version 9.1.0 (2011-02-23)
828
791
 
829
792
  * Print the status of completed tests in ANSI color.
830
793
 
@@ -832,9 +795,7 @@ Version 9.1.0 (2011-02-23)
832
795
 
833
796
  * `$?` is not defined when Errno::ECHILD is raised.
834
797
 
835
- ------------------------------------------------------------------------------
836
- Version 9.0.1 (2011-02-18)
837
- ------------------------------------------------------------------------------
798
+ ## Version 9.0.1 (2011-02-18)
838
799
 
839
800
  * Shield normal output from control-key combos printed into the terminal.
840
801
 
@@ -847,17 +808,13 @@ Version 9.0.1 (2011-02-18)
847
808
 
848
809
  * Add `after_each_test` example for failure-only notifications.
849
810
 
850
- ------------------------------------------------------------------------------
851
- Version 9.0.0 (2011-02-15)
852
- ------------------------------------------------------------------------------
811
+ ## Version 9.0.0 (2011-02-15)
853
812
 
854
813
  * Remove SIGUSR1 for killing worker processes.
855
814
 
856
815
  * Handle Ctrl-Z signal from the very beginning.
857
816
 
858
- ------------------------------------------------------------------------------
859
- Version 8.0.0 (2011-02-12)
860
- ------------------------------------------------------------------------------
817
+ ## Version 8.0.0 (2011-02-12)
861
818
 
862
819
  * Move configuration into `Test::Loop` object itself.
863
820
 
@@ -875,17 +832,13 @@ Version 8.0.0 (2011-02-12)
875
832
 
876
833
  * Freeze more constant values against modification.
877
834
 
878
- ------------------------------------------------------------------------------
879
- Version 7.0.1 (2011-02-10)
880
- ------------------------------------------------------------------------------
835
+ ## Version 7.0.1 (2011-02-10)
881
836
 
882
837
  * Fix minitest deadlock issues with I/O redirection.
883
838
 
884
839
  * Do not signal to restart loop when overhead changes.
885
840
 
886
- ------------------------------------------------------------------------------
887
- Version 7.0.0 (2011-02-10)
888
- ------------------------------------------------------------------------------
841
+ ## Version 7.0.0 (2011-02-10)
889
842
 
890
843
  * Switch from shell-script style to modular Ruby style in the source code.
891
844
  This yields more lines of code, but the result is much easier to read.
@@ -909,9 +862,7 @@ Version 7.0.0 (2011-02-10)
909
862
 
910
863
  * Break long lines at 80 characters in the source code.
911
864
 
912
- ------------------------------------------------------------------------------
913
- Version 6.0.0 (2011-02-09)
914
- ------------------------------------------------------------------------------
865
+ ## Version 6.0.0 (2011-02-09)
915
866
 
916
867
  * Only consider `{test,spec}_helper.rb` as overhead, not all `*_helper.rb`.
917
868
 
@@ -928,9 +879,7 @@ Version 6.0.0 (2011-02-09)
928
879
 
929
880
  * Add better explanation for the `test_file_matchers` example.
930
881
 
931
- ------------------------------------------------------------------------------
932
- Version 5.0.3 (2011-01-25)
933
- ------------------------------------------------------------------------------
882
+ ## Version 5.0.3 (2011-01-25)
934
883
 
935
884
  * Use "diff/lcs" library instead of "diff" for RSpec compatibility.
936
885
 
@@ -941,9 +890,7 @@ Version 5.0.3 (2011-01-25)
941
890
 
942
891
  * Reabsorb when bundler is run, not when Gemfile changes.
943
892
 
944
- ------------------------------------------------------------------------------
945
- Version 5.0.2 (2011-01-19)
946
- ------------------------------------------------------------------------------
893
+ ## Version 5.0.2 (2011-01-19)
947
894
 
948
895
  * Support string interpolations that yield empty strings in test names.
949
896
 
@@ -953,9 +900,7 @@ Version 5.0.2 (2011-01-19)
953
900
 
954
901
  * Mention that diff gem is necessary for manual git clone installation.
955
902
 
956
- ------------------------------------------------------------------------------
957
- Version 5.0.1 (2011-01-18)
958
- ------------------------------------------------------------------------------
903
+ ## Version 5.0.1 (2011-01-18)
959
904
 
960
905
  * Sanitize string interpolation in parsed test names.
961
906
 
@@ -965,9 +910,7 @@ Version 5.0.1 (2011-01-18)
965
910
 
966
911
  * DRY the mentioning of .test-loop file in README.
967
912
 
968
- ------------------------------------------------------------------------------
969
- Version 5.0.0 (2011-01-17)
970
- ------------------------------------------------------------------------------
913
+ ## Version 5.0.0 (2011-01-17)
971
914
 
972
915
  * The configuration file must now yield a Ruby
973
916
  hash instead of polluting the global Object
@@ -976,9 +919,7 @@ Version 5.0.0 (2011-01-17)
976
919
  * Shortened the `:source_file_glob_to_test_file_mapping`
977
920
  configuration parameter name to `:test_file_matchers`.
978
921
 
979
- ------------------------------------------------------------------------------
980
- Version 4.0.1 (2011-01-14)
981
- ------------------------------------------------------------------------------
922
+ ## Version 4.0.1 (2011-01-14)
982
923
 
983
924
  * Print how much time it took to run all tests.
984
925
 
@@ -993,9 +934,7 @@ Version 4.0.1 (2011-01-14)
993
934
 
994
935
  * Only prepend lib/, test/, and spec/ to $LOAD_PATH.
995
936
 
996
- ------------------------------------------------------------------------------
997
- Version 4.0.0 (2011-01-13)
998
- ------------------------------------------------------------------------------
937
+ ## Version 4.0.0 (2011-01-13)
999
938
 
1000
939
  * Only run changed tests inside changed test files.
1001
940
 
@@ -1008,17 +947,13 @@ Version 4.0.0 (2011-01-13)
1008
947
 
1009
948
  * Clean up implementation and improve documentation.
1010
949
 
1011
- ------------------------------------------------------------------------------
1012
- Version 3.0.2 (2011-01-11)
1013
- ------------------------------------------------------------------------------
950
+ ## Version 3.0.2 (2011-01-11)
1014
951
 
1015
952
  * Reabsorb overhead upon Gemfile changes (Rails 3).
1016
953
 
1017
954
  * Try to recover from all kinds of exceptions.
1018
955
 
1019
- ------------------------------------------------------------------------------
1020
- Version 3.0.1 (2011-01-05)
1021
- ------------------------------------------------------------------------------
956
+ ## Version 3.0.1 (2011-01-05)
1022
957
 
1023
958
  * Be resilient to $0 and ARGV being changed by tests.
1024
959
 
@@ -1026,26 +961,20 @@ Version 3.0.1 (2011-01-05)
1026
961
 
1027
962
  * Beautify markdown formatting and revise the README.
1028
963
 
1029
- ------------------------------------------------------------------------------
1030
- Version 3.0.0 (2011-01-04)
1031
- ------------------------------------------------------------------------------
964
+ ## Version 3.0.0 (2011-01-04)
1032
965
 
1033
966
  * Replace Rake pathmap usage with lambda functions
1034
967
  in the `@source_file_to_test_file_mapping` hash.
1035
968
 
1036
969
  * Be resilient to syntax errors from loaded files.
1037
970
 
1038
- ------------------------------------------------------------------------------
1039
- Version 2.0.2 (2011-01-02)
1040
- ------------------------------------------------------------------------------
971
+ ## Version 2.0.2 (2011-01-02)
1041
972
 
1042
973
  * Do not print stack trace when Control-C pressed.
1043
974
 
1044
975
  * Reduce the amount of notifications shown to user.
1045
976
 
1046
- ------------------------------------------------------------------------------
1047
- Version 2.0.1 (2011-01-01)
1048
- ------------------------------------------------------------------------------
977
+ ## Version 2.0.1 (2011-01-01)
1049
978
 
1050
979
  * Fix syntax error caused by a dangling comma. Thanks
1051
980
  to darthdeus (Jakub Arnold) for reporting [this bug](
@@ -1053,9 +982,7 @@ Version 2.0.1 (2011-01-01)
1053
982
 
1054
983
  * Notify user before reabsorbing overhead.
1055
984
 
1056
- ------------------------------------------------------------------------------
1057
- Version 2.0.0 (2010-12-31)
1058
- ------------------------------------------------------------------------------
985
+ ## Version 2.0.0 (2010-12-31)
1059
986
 
1060
987
  * Add support for loading configuration file, which
1061
988
  allows you to define additional test file globs
@@ -1068,38 +995,28 @@ Version 2.0.0 (2010-12-31)
1068
995
 
1069
996
  * Automatically retry when overhead absorption fails.
1070
997
 
1071
- ------------------------------------------------------------------------------
1072
- Version 1.2.0 (2010-11-23)
1073
- ------------------------------------------------------------------------------
998
+ ## Version 1.2.0 (2010-11-23)
1074
999
 
1075
1000
  * Notify user when absorbing overhead initially.
1076
1001
 
1077
1002
  * DRY up the repetition of Time.at(0) calculation.
1078
1003
 
1079
- ------------------------------------------------------------------------------
1080
- Version 1.1.0 (2010-11-22)
1081
- ------------------------------------------------------------------------------
1004
+ ## Version 1.1.0 (2010-11-22)
1082
1005
 
1083
1006
  * All `*_{test,spec}_helper.rb` files inside `test/` and
1084
1007
  `spec/` are now considered to be absorable overhead.
1085
1008
 
1086
- ------------------------------------------------------------------------------
1087
- Version 1.0.2 (2010-10-16)
1088
- ------------------------------------------------------------------------------
1009
+ ## Version 1.0.2 (2010-10-16)
1089
1010
 
1090
1011
  * All *_helper.rb files inside test/ and spec/
1091
1012
  were absorbed as overhead instead of just
1092
1013
  the test_helper.rb and spec_helper.rb files.
1093
1014
 
1094
- ------------------------------------------------------------------------------
1095
- Version 1.0.1 (2010-10-16)
1096
- ------------------------------------------------------------------------------
1015
+ ## Version 1.0.1 (2010-10-16)
1097
1016
 
1098
1017
  * Ensure that $LOAD_PATH reflects `ruby -Ilib:test`.
1099
1018
 
1100
- ------------------------------------------------------------------------------
1101
- Version 1.0.0 (2010-10-15)
1102
- ------------------------------------------------------------------------------
1019
+ ## Version 1.0.0 (2010-10-15)
1103
1020
 
1104
1021
  * Remove ability to install as a Rails plugin.
1105
1022
 
@@ -1109,16 +1026,12 @@ Version 1.0.0 (2010-10-15)
1109
1026
 
1110
1027
  * Display status messages for better user interactivity.
1111
1028
 
1112
- ------------------------------------------------------------------------------
1113
- Version 0.0.2 (2010-10-11)
1114
- ------------------------------------------------------------------------------
1029
+ ## Version 0.0.2 (2010-10-11)
1115
1030
 
1116
1031
  * Forgot to register `bin/test-loop` as gem executable.
1117
1032
 
1118
1033
  * Revise Usage section into Invocation and Operation.
1119
1034
 
1120
- ------------------------------------------------------------------------------
1121
- Version 0.0.1 (2010-10-10)
1122
- ------------------------------------------------------------------------------
1035
+ ## Version 0.0.1 (2010-10-10)
1123
1036
 
1124
1037
  * First public release. Enjoy!