tork 19.4.0 → 19.5.0
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.
- checksums.yaml +4 -4
- data/README.md +6 -2
- data/VERSION.md +191 -102
- data/bin/tork +4 -3
- data/bin/tork-driver +5 -2
- data/bin/tork-engine +5 -2
- data/bin/tork-herald +3 -3
- data/bin/tork-master +5 -2
- data/bin/tork-notify +3 -2
- data/bin/tork-remote +4 -9
- data/bin/tork-runner +86 -0
- data/lib/tork/bridge.rb +66 -0
- data/lib/tork/cliapp.rb +21 -13
- data/lib/tork/config/rails/worker.rb +1 -1
- data/lib/tork/engine.rb +3 -12
- data/lib/tork/server.rb +31 -37
- data/lib/tork/version.rb +1 -1
- data/man/index.html +1 -1
- data/man/man0/README.html +5 -3
- data/man/man0/README.md +6 -2
- data/man/man0/VERSION.html +156 -102
- data/man/man0/VERSION.md +191 -102
- data/man/man1/tork-driver.1 +7 -2
- data/man/man1/tork-driver.1.html +5 -2
- data/man/man1/tork-engine.1 +7 -2
- data/man/man1/tork-engine.1.html +5 -2
- data/man/man1/tork-herald.1 +1 -1
- data/man/man1/tork-herald.1.html +1 -1
- data/man/man1/tork-master.1 +7 -2
- data/man/man1/tork-master.1.html +5 -2
- data/man/man1/tork-notify.1 +1 -1
- data/man/man1/tork-notify.1.html +1 -1
- data/man/man1/tork-remote.1 +4 -10
- data/man/man1/tork-remote.1.html +4 -5
- data/man/man1/tork-runner.1 +44 -0
- data/man/man1/tork-runner.1.html +14 -0
- data/man/man1/tork.1 +5 -3
- data/man/man1/tork.1.html +3 -2
- data/man/style.css +1 -1
- data/tork.gemspec +2 -1
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36e4aedf556ae64abbcb4145285c543d40d921d6
|
4
|
+
data.tar.gz: db124b05778c46fe798b804bbfc65acf460d4a04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb3c0c1bc467a63a8b65e79fbef2396beb3c639fff4a89d57efd53962095ecc023b45fc2183f77fedb455dfc93d814d263533203a2235fd0af4012fe98d71ce4
|
7
|
+
data.tar.gz: 9471ea8fc915acbb0bce38ac5562dc29ca5924fdee2eb53ef4d9c662ab111ecb2a190cef3c7bbd4d4bd519be633c3e5f1df90b741bbb8a04b6df32370eb73a1c
|
data/README.md
CHANGED
@@ -43,12 +43,13 @@ Following UNIX philosophy, Tork is composed of simple text-based programs that
|
|
43
43
|
for Tork by wrapping the tork-driver(1) program appropriately!
|
44
44
|
|
45
45
|
* tork(1) is an interactive command-line user interface for tork-driver(1)
|
46
|
+
* tork-runner(1) runs your test suite once, non-interactively, and then exits
|
46
47
|
* tork-herald(1) monitors current directory tree and reports changed files
|
47
48
|
* tork-driver(1) drives the engine according to the herald's observations
|
48
49
|
* tork-engine(1) tells master to run tests and keeps track of test results
|
49
50
|
* tork-master(1) absorbs test execution overhead and forks to run your tests
|
50
51
|
* tork-remote(1) remotely controls any Tork program running in the same `pwd`
|
51
|
-
* tork-notify(1)
|
52
|
+
* tork-notify(1) notifies you when previously passing tests fail or vice versa
|
52
53
|
|
53
54
|
When the herald observes that files in or beneath the current directory have
|
54
55
|
been written to, it tells the driver, which then commands the master to fork a
|
@@ -76,6 +77,9 @@ performed *automatically*. However, to run a test file *manually*, you can:
|
|
76
77
|
# run lines 4, 33, and 21 of test/some_test.rb
|
77
78
|
echo run_test_file test/some_test.rb 4 33 21 | tork-remote tork-engine
|
78
79
|
|
80
|
+
Alternatively, you can use tork-runner(1) to run your test suite in one shot
|
81
|
+
and then exit with a nonzero status if tests failed, similar to `rake test`.
|
82
|
+
|
79
83
|
## Installation
|
80
84
|
|
81
85
|
gem install tork
|
@@ -127,7 +131,7 @@ You can also do the same non-interactively using a pipeline:
|
|
127
131
|
|
128
132
|
You can monitor your test processes from another terminal:
|
129
133
|
|
130
|
-
watch 'pgrep -f ^tork | xargs -r ps
|
134
|
+
watch 'pgrep -f ^tork | xargs -r ps uf'
|
131
135
|
|
132
136
|
### With MiniTest
|
133
137
|
|
data/VERSION.md
CHANGED
@@ -1,12 +1,101 @@
|
|
1
|
+
## Version 19.5.0 (2013-11-30)
|
2
|
+
|
3
|
+
This release adds a tork-runner(1) program for non-interactive test execution,
|
4
|
+
makes connections to tork subprocesses self-healing, eliminates "address
|
5
|
+
already in use" errors, and fixes bugs in tork-herald(1) and tork-notify(1).
|
6
|
+
|
7
|
+
### Minor:
|
8
|
+
|
9
|
+
* Add tork-runner(1) to run tests once, non-interactively, and then exit.
|
10
|
+
|
11
|
+
You can use tork-runner(1) to run your test suite in one shot and then
|
12
|
+
exit with a nonzero status if tests failed, similar to `rake test`.
|
13
|
+
|
14
|
+
* Add Tork::Bridge to make connections to tork subprocesses self-healing.
|
15
|
+
|
16
|
+
When a tork subprocess terminates, its parent process now replaces it
|
17
|
+
with a fresh instance. Thus the tork process tree is now self-healing.
|
18
|
+
|
19
|
+
* Server: become a remote control to existing instance on socket fail.
|
20
|
+
|
21
|
+
If an another instance of this tork program is already running, then
|
22
|
+
become a remote to it rather than failing on binding its socket file.
|
23
|
+
|
24
|
+
This lets you run the same tork program more than once in the same working
|
25
|
+
directory; latter runs will become remote controls for the first instance!
|
26
|
+
|
27
|
+
This also lets you run an instance of tork(1) for interactive usage and
|
28
|
+
then run tork-runner(1) in another terminal in the same working directory
|
29
|
+
to re-use the former's resources to run your test suite non-interactively.
|
30
|
+
|
31
|
+
* tork(1): show help message to clients upon connecting.
|
32
|
+
|
33
|
+
* tork(1): tell user to input 'h' key for help message.
|
34
|
+
|
35
|
+
### Patch:
|
36
|
+
|
37
|
+
* tork-notify(1): must pass mutable local variables into Thread.new.
|
38
|
+
|
39
|
+
The `icon` local variable would be overwritten (to nil sometimes)
|
40
|
+
outside of the thread and cause the thread body to silently fail.
|
41
|
+
|
42
|
+
See http://stackoverflow.com/q/16745840 for details.
|
43
|
+
|
44
|
+
* Socket files were always deleted: even if not ours.
|
45
|
+
|
46
|
+
If a tork instance was already running and a new tork instance was
|
47
|
+
started up in the same directory, then the latter would always delete
|
48
|
+
the common socket files (currently belonging to the former) upon exit.
|
49
|
+
|
50
|
+
* Fail earlier on socket bind: avoid wasted overhead.
|
51
|
+
|
52
|
+
Before this patch, tork-master(1) would first pay the price of absorbing
|
53
|
+
the test execution overhead before trying to bind its socket. In case
|
54
|
+
of socket bind failure, the process would exit and the overhead wasted.
|
55
|
+
|
56
|
+
* Server: don't call method for empty command array.
|
57
|
+
|
58
|
+
This error would occur when pressing ENTER in tork-remote tork-driver:
|
59
|
+
|
60
|
+
tork-driver: #<ArgumentError: no method name given>
|
61
|
+
tork-driver: /home/skurapati/lab/tork/lib/tork/server.rb:74:in `recv'
|
62
|
+
tork-driver: /home/skurapati/lab/tork/lib/tork/driver.rb:64:in `recv'
|
63
|
+
tork-driver: /home/skurapati/lab/tork/lib/tork/server.rb:46:in `block (2 levels) in loop'
|
64
|
+
tork-driver: /home/skurapati/lab/tork/lib/tork/server.rb:37:in `each'
|
65
|
+
tork-driver: /home/skurapati/lab/tork/lib/tork/server.rb:37:in `block in loop'
|
66
|
+
tork-driver: /home/skurapati/lab/tork/lib/tork/server.rb:35:in `catch'
|
67
|
+
tork-driver: /home/skurapati/lab/tork/lib/tork/server.rb:35:in `loop'
|
68
|
+
tork-driver: /home/skurapati/lab/tork/lib/tork/driver.rb:21:in `loop'
|
69
|
+
tork-driver: /home/skurapati/lab/tork/bin/tork-driver:173:in `<top (required)>'
|
70
|
+
tork-driver: /home/skurapati/.rvm/gems/ruby-1.9.3-p448/bin/tork-driver:23:in `load'
|
71
|
+
tork-driver: /home/skurapati/.rvm/gems/ruby-1.9.3-p448/bin/tork-driver:23:in `<main>'
|
72
|
+
|
73
|
+
* tork-herald(1): listen 2.2.0 gem is non-blocking and gives absolute paths.
|
74
|
+
|
75
|
+
* Calling #start no longer blocks the caller.
|
76
|
+
|
77
|
+
* The `:relative_paths` option no longer works:
|
78
|
+
https://github.com/guard/listen/issues/170
|
79
|
+
|
80
|
+
* tork-herald(1): downgrade to listen 1.x gem to maintain Ruby 1.8 support.
|
81
|
+
|
82
|
+
### Other:
|
83
|
+
|
84
|
+
* GH-56: specify license in gemspec for rubygems.org.
|
85
|
+
|
86
|
+
* Document sh(1) word splitting in manual pages of all tork servers.
|
87
|
+
|
88
|
+
* README: use `ps uf` to visualize process hierarchy.
|
89
|
+
|
1
90
|
## Version 19.4.0 (2013-11-25)
|
2
91
|
|
3
|
-
Minor:
|
92
|
+
### Minor:
|
4
93
|
|
5
94
|
* The "rails" configuration helper now automatically sets up your test
|
6
95
|
database for Tork's parallel testing system if your test database is
|
7
96
|
SQLite3 and you are using Rails 3 or newer.
|
8
97
|
|
9
|
-
Other:
|
98
|
+
### Other:
|
10
99
|
|
11
100
|
* rails: remove unused capture of rescued exception
|
12
101
|
|
@@ -16,7 +105,7 @@ Other:
|
|
16
105
|
|
17
106
|
## Version 19.3.2 (2013-10-29)
|
18
107
|
|
19
|
-
Other:
|
108
|
+
### Other:
|
20
109
|
|
21
110
|
* GH-55: upgrade listen & rake gem dependencies.
|
22
111
|
|
@@ -25,20 +114,20 @@ Other:
|
|
25
114
|
|
26
115
|
## Version 19.3.1 (2013-06-07)
|
27
116
|
|
28
|
-
Patch:
|
117
|
+
### Patch:
|
29
118
|
|
30
119
|
* server: rescue from failed writes to asynchronously closed clients.
|
31
120
|
|
32
121
|
Thanks to Jonathan Cairns for reporting and fixing this bug in GH-53:
|
33
122
|
https://github.com/sunaku/tork/issues/53
|
34
123
|
|
35
|
-
Other:
|
124
|
+
### Other:
|
36
125
|
|
37
126
|
* Upgrade to md2man 2.0.
|
38
127
|
|
39
128
|
## Version 19.3.0 (2013-05-05)
|
40
129
|
|
41
|
-
Minor:
|
130
|
+
### Minor:
|
42
131
|
|
43
132
|
* tork-engine(1) now emits `["idle"]` messages whenever all tests
|
44
133
|
have finished running and no more tests are queued for running.
|
@@ -46,7 +135,7 @@ Minor:
|
|
46
135
|
Thanks to Jonathan Cairns for requesting this feature in GH-50:
|
47
136
|
https://github.com/sunaku/tork/issues/50
|
48
137
|
|
49
|
-
Other:
|
138
|
+
### Other:
|
50
139
|
|
51
140
|
* add man/man0 subdir containing README and VERSION
|
52
141
|
|
@@ -57,17 +146,17 @@ Other:
|
|
57
146
|
This release makes Tork resilient to `Errno::EADDRINUSE` errors that may occur
|
58
147
|
sometimes, intermittently, when test execution overhead is being reabsorbed.
|
59
148
|
|
60
|
-
Patch:
|
149
|
+
### Patch:
|
61
150
|
|
62
151
|
* server: retry until the socket opens successfully
|
63
152
|
|
64
|
-
Other:
|
153
|
+
### Other:
|
65
154
|
|
66
155
|
* include md2man rake tasks in developer's rakefile
|
67
156
|
|
68
157
|
## Version 19.2.1 (2013-02-08)
|
69
158
|
|
70
|
-
Patch:
|
159
|
+
### Patch:
|
71
160
|
|
72
161
|
* GH-46: allow reassigning `$tork_*` variable values. Thanks to Joe
|
73
162
|
Escalante for reminding me to fix this issue.
|
@@ -78,13 +167,13 @@ Patch:
|
|
78
167
|
|
79
168
|
## Version 19.2.0 (2012-12-30)
|
80
169
|
|
81
|
-
Minor:
|
170
|
+
### Minor:
|
82
171
|
|
83
172
|
* Add "devise" configuration helper that adds support for testing Rails
|
84
173
|
applications that use the Devise authentication framework. Thanks to Ryan
|
85
174
|
Ahearn for this contribution.
|
86
175
|
|
87
|
-
Patch:
|
176
|
+
### Patch:
|
88
177
|
|
89
178
|
* gemspec: upgrade to *listen* 0.7.0 to fix issue #43. Thanks to Ryan
|
90
179
|
Ahearn for reporting this issue and helping debug it, and to Thibaud
|
@@ -94,11 +183,11 @@ Patch:
|
|
94
183
|
|
95
184
|
## Version 19.1.0 (2012-12-12)
|
96
185
|
|
97
|
-
Minor:
|
186
|
+
### Minor:
|
98
187
|
|
99
188
|
* tork-driver: don't run overhead files as test files
|
100
189
|
|
101
|
-
Patch:
|
190
|
+
### Patch:
|
102
191
|
|
103
192
|
* rails: run dependent tests when `app/views/*` change
|
104
193
|
|
@@ -109,7 +198,7 @@ Patch:
|
|
109
198
|
|
110
199
|
## Version 19.0.2 (2012-11-07)
|
111
200
|
|
112
|
-
Patch:
|
201
|
+
### Patch:
|
113
202
|
|
114
203
|
* Monkeypatch `at_exit()` to fix RSpec and MiniTest:
|
115
204
|
|
@@ -117,7 +206,7 @@ Patch:
|
|
117
206
|
|
118
207
|
https://github.com/seattlerb/minitest/pull/183
|
119
208
|
|
120
|
-
Other:
|
209
|
+
### Other:
|
121
210
|
|
122
211
|
* README: document RSpec 2.9.0+ autorun skipping bug
|
123
212
|
|
@@ -125,7 +214,7 @@ Other:
|
|
125
214
|
|
126
215
|
## Version 19.0.1 (2012-10-26)
|
127
216
|
|
128
|
-
Patch:
|
217
|
+
### Patch:
|
129
218
|
|
130
219
|
* Support testing projects that have both test/ and spec/ directories.
|
131
220
|
|
@@ -140,7 +229,7 @@ Patch:
|
|
140
229
|
their spec/spec_helper.rb file because they use the rspec(1) executable
|
141
230
|
to run their tests. This commit makes things Just Work for them again.
|
142
231
|
|
143
|
-
Other:
|
232
|
+
### Other:
|
144
233
|
|
145
234
|
* test whether input is JSON by actually parsing it
|
146
235
|
|
@@ -148,7 +237,7 @@ Other:
|
|
148
237
|
|
149
238
|
## Version 19.0.0 (2012-10-17)
|
150
239
|
|
151
|
-
Major:
|
240
|
+
### Major:
|
152
241
|
|
153
242
|
* The `.tork.rb` configuration file has been replaced by the `.tork/`
|
154
243
|
directory, which contains specially-named Ruby scripts. Refer to the
|
@@ -179,7 +268,7 @@ Major:
|
|
179
268
|
* The `tork/client` library has been removed. The threaded IO and popen()
|
180
269
|
wrappers that it provided have been replaced by the powerful IO.select().
|
181
270
|
|
182
|
-
Minor:
|
271
|
+
### Minor:
|
183
272
|
|
184
273
|
* tork(1): allow user to specify arguments after command key
|
185
274
|
|
@@ -197,11 +286,11 @@ Minor:
|
|
197
286
|
|
198
287
|
* typing Control-D now breaks tork programs out of `Tork::Server#loop()`
|
199
288
|
|
200
|
-
Patch:
|
289
|
+
### Patch:
|
201
290
|
|
202
291
|
* tork-master(1): stop workers with SIGKILL when quitting
|
203
292
|
|
204
|
-
Other:
|
293
|
+
### Other:
|
205
294
|
|
206
295
|
* tork(1): document parameters for `t` and `s` commands
|
207
296
|
|
@@ -213,14 +302,14 @@ Other:
|
|
213
302
|
|
214
303
|
## Version 18.2.4 (2012-10-10)
|
215
304
|
|
216
|
-
Other:
|
305
|
+
### Other:
|
217
306
|
|
218
307
|
* GH-39: upgrade listen gem version to fix a bug in OSX.
|
219
308
|
Thanks to Adam Grant for reporting this issue.
|
220
309
|
|
221
310
|
## Version 18.2.3 (2012-09-26)
|
222
311
|
|
223
|
-
Patch:
|
312
|
+
### Patch:
|
224
313
|
|
225
314
|
* Restored support for building Tork from its gemspec under Ruby 1.8.
|
226
315
|
Thanks to Ohno Shin'ichi for reporting this issue and contributing a
|
@@ -228,7 +317,7 @@ Patch:
|
|
228
317
|
|
229
318
|
* Add resilience against failed command dispatch in `Tork::Server#loop()`.
|
230
319
|
|
231
|
-
Other:
|
320
|
+
### Other:
|
232
321
|
|
233
322
|
* It's not worth rescuing Interrupt only to exit silently.
|
234
323
|
Let the user see stack traces when they press Control-C.
|
@@ -240,7 +329,7 @@ Other:
|
|
240
329
|
|
241
330
|
## Version 18.2.2 (2012-07-11)
|
242
331
|
|
243
|
-
Patch:
|
332
|
+
### Patch:
|
244
333
|
|
245
334
|
* GH-35: resume dispatched but not yet started tests.
|
246
335
|
|
@@ -252,12 +341,12 @@ Patch:
|
|
252
341
|
|
253
342
|
## Version 18.2.1 (2012-07-05)
|
254
343
|
|
255
|
-
Patch:
|
344
|
+
### Patch:
|
256
345
|
|
257
346
|
* GH-37: switch from Guard::Listener to Listen gem.
|
258
347
|
Thanks to Jesse Cooke for reporting this issue.
|
259
348
|
|
260
|
-
Other:
|
349
|
+
### Other:
|
261
350
|
|
262
351
|
* gemspec: need to provide .0 suffix for ~> operator.
|
263
352
|
|
@@ -265,7 +354,7 @@ Other:
|
|
265
354
|
|
266
355
|
## Version 18.2.0 (2012-03-27)
|
267
356
|
|
268
|
-
Minor:
|
357
|
+
### Minor:
|
269
358
|
|
270
359
|
* Emit warnings when commands cannot be performed. This improves the user
|
271
360
|
experience by giving them immediate feedback. For example, if you issue
|
@@ -273,7 +362,7 @@ Minor:
|
|
273
362
|
now see a warning message that explains the situation. Thanks to
|
274
363
|
NagaChaitanya Vellanki (@chaitanyav) for suggesting this change.
|
275
364
|
|
276
|
-
Patch:
|
365
|
+
### Patch:
|
277
366
|
|
278
367
|
* GH-32: Restore support for Selenium and Capybara by replacing the global
|
279
368
|
SIGCHLD handler in tork-master(1) with individual threads, one per forked
|
@@ -284,7 +373,7 @@ Patch:
|
|
284
373
|
|
285
374
|
## Version 18.1.0 (2012-02-26)
|
286
375
|
|
287
|
-
Minor:
|
376
|
+
### Minor:
|
288
377
|
|
289
378
|
* Add `tork/config/coverage` configuration helper for Ruby 1.9, which prints
|
290
379
|
a coverage report at the end of your log file in YAML format. The report
|
@@ -297,12 +386,12 @@ Minor:
|
|
297
386
|
|
298
387
|
## Version 18.0.1 (2012-02-13)
|
299
388
|
|
300
|
-
Alert:
|
389
|
+
### Alert:
|
301
390
|
|
302
391
|
* If you're on Ruby 1.9, please use 1.9.3 or newer because 1.9.2 is
|
303
392
|
known to segfault under RSpec and Rails. See GH-30 and GH-32.
|
304
393
|
|
305
|
-
Patch:
|
394
|
+
### Patch:
|
306
395
|
|
307
396
|
* GH-27: Cucumber features now run correctly under RSpec. Thanks to Scott
|
308
397
|
Radcliff for reporting this issue and to David Burrows for solving it!
|
@@ -313,7 +402,7 @@ Patch:
|
|
313
402
|
|
314
403
|
## Version 18.0.0 (2012-02-06)
|
315
404
|
|
316
|
-
Alert:
|
405
|
+
### Alert:
|
317
406
|
|
318
407
|
* RSpec 2.8.0 and older contain [a bug](
|
319
408
|
https://github.com/sunaku/tork/issues/31 ) where a nonzero
|
@@ -323,7 +412,7 @@ Alert:
|
|
323
412
|
https://github.com/rspec/rspec-core/pull/569/files) fixes the
|
324
413
|
problem. Thanks to Gumaro Melendez for reporting this issue.
|
325
414
|
|
326
|
-
Major:
|
415
|
+
### Major:
|
327
416
|
|
328
417
|
* Dropped first parameter to `Tork::Config::test_file_globbers`.
|
329
418
|
|
@@ -334,13 +423,13 @@ Major:
|
|
334
423
|
|
335
424
|
* tork/config: switch to Struct to prevent misspellings.
|
336
425
|
|
337
|
-
Minor:
|
426
|
+
### Minor:
|
338
427
|
|
339
428
|
* tork-driver now recursively expands dependent test files while globbing.
|
340
429
|
|
341
430
|
* Extracted bookkeeping stuff from tork-driver into tork-engine component.
|
342
431
|
|
343
|
-
Other:
|
432
|
+
### Other:
|
344
433
|
|
345
434
|
* tork/config: do not reabsorb when .tork.rb
|
346
435
|
changes. Since the configuration is loaded in
|
@@ -356,7 +445,7 @@ Other:
|
|
356
445
|
|
357
446
|
## Version 17.1.0 (2012-01-30)
|
358
447
|
|
359
|
-
Minor:
|
448
|
+
### Minor:
|
360
449
|
|
361
450
|
* Added `Tork::Config.test_event_hooks` configuration option.
|
362
451
|
|
@@ -376,7 +465,7 @@ Minor:
|
|
376
465
|
|
377
466
|
## Version 17.0.1 (2012-01-29)
|
378
467
|
|
379
|
-
Patch:
|
468
|
+
### Patch:
|
380
469
|
|
381
470
|
* tork-herald(1) *sometimes* reported changed test files twice.
|
382
471
|
|
@@ -386,7 +475,7 @@ Patch:
|
|
386
475
|
|
387
476
|
* Tork::Client::Transceiver needs to stop both TX & RX loops.
|
388
477
|
|
389
|
-
Other:
|
478
|
+
### Other:
|
390
479
|
|
391
480
|
* tork/driver: store test file lists in Set, not Array.
|
392
481
|
|
@@ -394,7 +483,7 @@ Other:
|
|
394
483
|
|
395
484
|
## Version 17.0.0 (2012-01-27)
|
396
485
|
|
397
|
-
Major:
|
486
|
+
### Major:
|
398
487
|
|
399
488
|
* tork-herald(1) now emits batches of single-line JSON arrays instead of
|
400
489
|
printing one (raw) path per line. This makes IPC uniform across Tork.
|
@@ -408,7 +497,7 @@ Major:
|
|
408
497
|
|
409
498
|
* The new order is: test_file, line_numbers, log_file, worker_number.
|
410
499
|
|
411
|
-
Minor:
|
500
|
+
### Minor:
|
412
501
|
|
413
502
|
* GH-24: add `tork/config/dotlog` configuration helper to "hide" log files.
|
414
503
|
(Nicolas Fouché)
|
@@ -419,7 +508,7 @@ Minor:
|
|
419
508
|
* tork(1) now strips all whitespace from your input, in case you pressed
|
420
509
|
spacebar or tab a few times, by accident, before entering your command.
|
421
510
|
|
422
|
-
Other:
|
511
|
+
### Other:
|
423
512
|
|
424
513
|
* tork/client: Replace write lock with queue to support SIGCHLD handler.
|
425
514
|
|
@@ -440,7 +529,7 @@ Other:
|
|
440
529
|
|
441
530
|
## Version 16.0.0 (2012-01-25)
|
442
531
|
|
443
|
-
Major:
|
532
|
+
### Major:
|
444
533
|
|
445
534
|
* Drop the `Tork::Config.test_name_extractor` configuration option.
|
446
535
|
|
@@ -448,21 +537,21 @@ Major:
|
|
448
537
|
|
449
538
|
* Pass $~ (MatchData) to `Tork::Config::test_file_globbers` functions.
|
450
539
|
|
451
|
-
Minor:
|
540
|
+
### Minor:
|
452
541
|
|
453
542
|
* tork/config/cucumber: only run changed scenarios in changed features.
|
454
543
|
|
455
|
-
Other:
|
544
|
+
### Other:
|
456
545
|
|
457
546
|
* README: update instructions on running Tork directly from Git clone.
|
458
547
|
|
459
548
|
## Version 15.1.0 (2012-01-25)
|
460
549
|
|
461
|
-
Minor:
|
550
|
+
### Minor:
|
462
551
|
|
463
552
|
* GH-19: add `tork cucumber` for running cucumber features.
|
464
553
|
|
465
|
-
Patch:
|
554
|
+
### Patch:
|
466
555
|
|
467
556
|
* tork/config/rails: support Rails 2 and don't assume AR is used. (Benjamin
|
468
557
|
Quorning)
|
@@ -478,13 +567,13 @@ Patch:
|
|
478
567
|
|
479
568
|
## Version 15.0.1 (2012-01-24)
|
480
569
|
|
481
|
-
Patch:
|
570
|
+
### Patch:
|
482
571
|
|
483
572
|
* GH-21: Ruby 1.9 class_eval() is smarter than 1.8.
|
484
573
|
|
485
574
|
* GH-20: forgot `require 'thread'` for Mutex class. (Jesse Cooke)
|
486
575
|
|
487
|
-
Other:
|
576
|
+
### Other:
|
488
577
|
|
489
578
|
* tork(1): fix shadowed variable names. (Jose Pablo Barrantes)
|
490
579
|
|
@@ -502,7 +591,7 @@ Other:
|
|
502
591
|
|
503
592
|
## Version 15.0.0 (2012-01-23)
|
504
593
|
|
505
|
-
Major:
|
594
|
+
### Major:
|
506
595
|
|
507
596
|
* This project has been renamed from TestR to Tork (test with fork) in order
|
508
597
|
to better compete with rival projects, namely Spork! >:-) Credit goes to
|
@@ -513,7 +602,7 @@ Major:
|
|
513
602
|
|
514
603
|
## Version 14.3.0 (2012-01-20)
|
515
604
|
|
516
|
-
Minor:
|
605
|
+
### Minor:
|
517
606
|
|
518
607
|
* testr(1): notify user while dispatching their commands. This is especially
|
519
608
|
useful when the "rerun_passed_test_files" command has been dispatched but
|
@@ -530,7 +619,7 @@ Minor:
|
|
530
619
|
|
531
620
|
* testr-driver(1): document the "over" status message in manual page.
|
532
621
|
|
533
|
-
Other:
|
622
|
+
### Other:
|
534
623
|
|
535
624
|
* testr-driver(1): keep same herald; only replace master.
|
536
625
|
|
@@ -546,7 +635,7 @@ Other:
|
|
546
635
|
|
547
636
|
## Version 14.2.0 (2012-01-16)
|
548
637
|
|
549
|
-
Minor:
|
638
|
+
### Minor:
|
550
639
|
|
551
640
|
* Add ability to run `testr rails` without needing a `.testr.rb` file.
|
552
641
|
|
@@ -554,35 +643,35 @@ Minor:
|
|
554
643
|
|
555
644
|
* testr(1) now notifies you before absorbing overhead at startup.
|
556
645
|
|
557
|
-
Patch:
|
646
|
+
### Patch:
|
558
647
|
|
559
648
|
* testr(1) now accepts death silently when Control-C is pressed.
|
560
649
|
|
561
650
|
## Version 14.1.3 (2012-01-13)
|
562
651
|
|
563
|
-
Patch:
|
652
|
+
### Patch:
|
564
653
|
|
565
654
|
* Add support Guard v0.9.0 and newer in `testr-herald`. (Jose Pablo
|
566
655
|
Barrantes)
|
567
656
|
|
568
|
-
Other:
|
657
|
+
### Other:
|
569
658
|
|
570
659
|
* Tighten version constraints for gem dependencies to avoid future
|
571
660
|
breakages.
|
572
661
|
|
573
662
|
## Version 14.1.2 (2012-01-09)
|
574
663
|
|
575
|
-
Minor:
|
664
|
+
### Minor:
|
576
665
|
|
577
666
|
* Don't consider partial test file pass as full pass.
|
578
667
|
|
579
|
-
Other:
|
668
|
+
### Other:
|
580
669
|
|
581
670
|
* Upgrade to binman 3 for better bundler support.
|
582
671
|
|
583
672
|
## Version 14.1.1 (2011-12-07)
|
584
673
|
|
585
|
-
Patch:
|
674
|
+
### Patch:
|
586
675
|
|
587
676
|
* Do not fail when given test file no longer exists.
|
588
677
|
|
@@ -594,7 +683,7 @@ Patch:
|
|
594
683
|
|
595
684
|
* Ruby 187 does not have Symbol#upcase() method.
|
596
685
|
|
597
|
-
Other:
|
686
|
+
### Other:
|
598
687
|
|
599
688
|
* README: add another SQLite3 error to known issues.
|
600
689
|
Thanks to Luke Wendling for contributing this patch.
|
@@ -611,7 +700,7 @@ Other:
|
|
611
700
|
|
612
701
|
## Version 14.1.0 (2011-11-03)
|
613
702
|
|
614
|
-
Minor:
|
703
|
+
### Minor:
|
615
704
|
|
616
705
|
* Make servers responsive to quit request (SIGTERM) from upstream.
|
617
706
|
|
@@ -628,11 +717,11 @@ Minor:
|
|
628
717
|
documented in their manual pages, so you should have everything you
|
629
718
|
need to create *your own custom user interface to TestR* if you wish! :-)
|
630
719
|
|
631
|
-
Patch:
|
720
|
+
### Patch:
|
632
721
|
|
633
722
|
* SIGCHLD does not awaken main thread in Ruby 1.9.3p0.
|
634
723
|
|
635
|
-
Other:
|
724
|
+
### Other:
|
636
725
|
|
637
726
|
* Simplify watch(1) ps(1) process title monitoring.
|
638
727
|
|
@@ -642,14 +731,14 @@ Other:
|
|
642
731
|
|
643
732
|
## Version 14.0.3 (2011-10-11)
|
644
733
|
|
645
|
-
Patch:
|
734
|
+
### Patch:
|
646
735
|
|
647
736
|
* Forgot to migrate the `testr/config/rails` configuration helper to use the
|
648
737
|
new TestR configuration parameter names.
|
649
738
|
|
650
739
|
## Version 14.0.2 (2011-10-11)
|
651
740
|
|
652
|
-
Patch:
|
741
|
+
### Patch:
|
653
742
|
|
654
743
|
* Fix updating passed/failed test files bookkeeping. Once a test file
|
655
744
|
failed, it was (incorrectly) always considered failed, even if it passed
|
@@ -657,13 +746,13 @@ Patch:
|
|
657
746
|
|
658
747
|
* Do not requeue test files that are waiting to run.
|
659
748
|
|
660
|
-
Other:
|
749
|
+
### Other:
|
661
750
|
|
662
751
|
* Rename `*.md` files to `*.markdown` to avoid ambiguity.
|
663
752
|
|
664
753
|
## Version 14.0.1 (2011-10-10)
|
665
754
|
|
666
|
-
Patch:
|
755
|
+
### Patch:
|
667
756
|
|
668
757
|
* Use blue/red for pass/fail instead of green/red to accommodate the color
|
669
758
|
blind.
|
@@ -671,13 +760,13 @@ Patch:
|
|
671
760
|
* Incorrect test name regexp was passed down to Test::Unit. This broke
|
672
761
|
focused testing, where only changed tests in a changed test file are run.
|
673
762
|
|
674
|
-
Other:
|
763
|
+
### Other:
|
675
764
|
|
676
765
|
* Make `testr-master` wait for killed worker processes before exiting.
|
677
766
|
|
678
767
|
## Version 14.0.0 (2011-10-09)
|
679
768
|
|
680
|
-
Major:
|
769
|
+
### Major:
|
681
770
|
|
682
771
|
* Renamed this project and its resources from test-loop to TestR.
|
683
772
|
|
@@ -701,7 +790,7 @@ Major:
|
|
701
790
|
|
702
791
|
* Removed the `test/loop/notify` and `test-loop/coco` libraries.
|
703
792
|
|
704
|
-
Minor:
|
793
|
+
### Minor:
|
705
794
|
|
706
795
|
* The file system is no longer polled to detect modified files. Instead, it
|
707
796
|
is monitored for file modification events in a portable and efficient
|
@@ -715,7 +804,7 @@ Minor:
|
|
715
804
|
|
716
805
|
* Added ability to re-run passed and failed tests in the `testr` script.
|
717
806
|
|
718
|
-
Other:
|
807
|
+
### Other:
|
719
808
|
|
720
809
|
* The monolithic `test-loop` script has been replaced by several smaller
|
721
810
|
ones that communicate with each other using single-line JSON messages via
|
@@ -725,7 +814,7 @@ Other:
|
|
725
814
|
|
726
815
|
## Version 13.0.1 (2011-09-21)
|
727
816
|
|
728
|
-
Other:
|
817
|
+
### Other:
|
729
818
|
|
730
819
|
* Forgot to include `test/loop/coco` preset in gem package.
|
731
820
|
|
@@ -733,12 +822,12 @@ Other:
|
|
733
822
|
|
734
823
|
## Version 13.0.0 (2011-08-24)
|
735
824
|
|
736
|
-
Major:
|
825
|
+
### Major:
|
737
826
|
|
738
827
|
* Pass worker sequence number as the last argument to lambda functions in
|
739
828
|
`Test::Loop.before_each_test` and `Test::Loop.after_each_test` arrays.
|
740
829
|
|
741
|
-
Minor:
|
830
|
+
### Minor:
|
742
831
|
|
743
832
|
* In the `test/loop/rails` configuration preset:
|
744
833
|
|
@@ -754,7 +843,7 @@ Minor:
|
|
754
843
|
processes like connecting to separate databases better. (Corné
|
755
844
|
Verbruggen)
|
756
845
|
|
757
|
-
Other:
|
846
|
+
### Other:
|
758
847
|
|
759
848
|
* README: move configuration presets above options.
|
760
849
|
|
@@ -766,17 +855,17 @@ Other:
|
|
766
855
|
|
767
856
|
## Version 12.3.1 (2011-07-19)
|
768
857
|
|
769
|
-
Patch:
|
858
|
+
### Patch:
|
770
859
|
|
771
860
|
* Binary data could not be stored in environment variable values.
|
772
861
|
|
773
|
-
Other:
|
862
|
+
### Other:
|
774
863
|
|
775
864
|
* Forgot to add Jacob Helwig to the gemspec's authors list.
|
776
865
|
|
777
866
|
## Version 12.3.0 (2011-07-19)
|
778
867
|
|
779
|
-
Minor:
|
868
|
+
### Minor:
|
780
869
|
|
781
870
|
* Add `Test::Loop::max_concurrent_tests` configuration parameter to limit
|
782
871
|
the number of test files run concurrently (default 4). Otherwise, with
|
@@ -785,7 +874,7 @@ Minor:
|
|
785
874
|
|
786
875
|
* Rails: add matcher for `test/factories/*_factory.rb`.
|
787
876
|
|
788
|
-
Other:
|
877
|
+
### Other:
|
789
878
|
|
790
879
|
* ENV returns a Hash with duplicate/frozen keys/values. (Brian D. Burns)
|
791
880
|
|
@@ -805,14 +894,14 @@ Other:
|
|
805
894
|
|
806
895
|
## Version 12.1.0 (2011-04-29)
|
807
896
|
|
808
|
-
Minor:
|
897
|
+
### Minor:
|
809
898
|
|
810
899
|
* Add `Test::Loop.delay_per_iteration` parameter to control the number of
|
811
900
|
seconds (or fractions thereof) to sleep in between test-loop iterations.
|
812
901
|
|
813
902
|
## Version 12.0.4 (2011-04-29)
|
814
903
|
|
815
|
-
Patch:
|
904
|
+
### Patch:
|
816
905
|
|
817
906
|
* Reabsorb overhead when user's configuration file changes. (Brian D. Burns
|
818
907
|
and Daniel Pittman)
|
@@ -823,7 +912,7 @@ Patch:
|
|
823
912
|
|
824
913
|
## Version 12.0.3 (2011-04-25)
|
825
914
|
|
826
|
-
Patch:
|
915
|
+
### Patch:
|
827
916
|
|
828
917
|
* Fix SIGCHLD handling and test completion reporting (Daniel Pittman).
|
829
918
|
|
@@ -879,7 +968,7 @@ Patch:
|
|
879
968
|
|
880
969
|
## Version 12.0.2 (2011-04-21)
|
881
970
|
|
882
|
-
Patch:
|
971
|
+
### Patch:
|
883
972
|
|
884
973
|
* Consider DB schema dump file as overhead in Rails.
|
885
974
|
|
@@ -887,7 +976,7 @@ Patch:
|
|
887
976
|
|
888
977
|
* Run test files when test factory files change in Rails.
|
889
978
|
|
890
|
-
Other:
|
979
|
+
### Other:
|
891
980
|
|
892
981
|
* Detach worker from master's terminal device sooner.
|
893
982
|
|
@@ -901,13 +990,13 @@ Other:
|
|
901
990
|
|
902
991
|
## Version 12.0.1 (2011-04-20)
|
903
992
|
|
904
|
-
Patch:
|
993
|
+
### Patch:
|
905
994
|
|
906
995
|
* Restore support for Ruby 1.8.7.
|
907
996
|
|
908
997
|
* Allow user's test execution overhead to fork.
|
909
998
|
|
910
|
-
Other:
|
999
|
+
### Other:
|
911
1000
|
|
912
1001
|
* Freeze master's ENV properly; keep resume key.
|
913
1002
|
|
@@ -919,7 +1008,7 @@ Other:
|
|
919
1008
|
|
920
1009
|
## Version 12.0.0 (2011-04-19)
|
921
1010
|
|
922
|
-
Major:
|
1011
|
+
### Major:
|
923
1012
|
|
924
1013
|
* You must now explicitly `require 'test/loop/rails'` for Rails support
|
925
1014
|
because we can only *automatically* apply our Railtie (to disable class
|
@@ -929,7 +1018,7 @@ Major:
|
|
929
1018
|
* Your tests can no longer read from the user's terminal (master's STDIN);
|
930
1019
|
instead they will read from an empty stream (the reading end of IO.popen).
|
931
1020
|
|
932
|
-
Patch:
|
1021
|
+
### Patch:
|
933
1022
|
|
934
1023
|
* Replace threads with SIGCHLD for reporting test results.
|
935
1024
|
|
@@ -942,7 +1031,7 @@ Patch:
|
|
942
1031
|
|
943
1032
|
* Ctrl-C did not raise Interrupt in my Rails 3 test suite.
|
944
1033
|
|
945
|
-
Other:
|
1034
|
+
### Other:
|
946
1035
|
|
947
1036
|
* Ensure a clean ENV when reabsorbing overhead. Environment variables set
|
948
1037
|
by your test execution overhead are not propagated to subsequent
|
@@ -968,24 +1057,24 @@ Other:
|
|
968
1057
|
|
969
1058
|
## Version 11.0.1 (2011-04-14)
|
970
1059
|
|
971
|
-
Patch:
|
1060
|
+
### Patch:
|
972
1061
|
|
973
1062
|
* Only attempt to define Railtie if the current Rails version supports it.
|
974
1063
|
|
975
1064
|
## Version 11.0.0 (2011-04-14)
|
976
1065
|
|
977
|
-
Major:
|
1066
|
+
### Major:
|
978
1067
|
|
979
1068
|
* The `test/loop/rails` preset has been internalized and is now applied
|
980
1069
|
automatically if your test execution overhead includes Ruby on Rails.
|
981
1070
|
|
982
|
-
Minor:
|
1071
|
+
### Minor:
|
983
1072
|
|
984
1073
|
* If you are using Rails 3, test-loop will automatically set
|
985
1074
|
`config.cache_classes = false` for your test environment. (Brian D.
|
986
1075
|
Burns)
|
987
1076
|
|
988
|
-
Patch:
|
1077
|
+
### Patch:
|
989
1078
|
|
990
1079
|
* Avoid deadlock errors when printing output from Test::Unit and MiniTest.
|
991
1080
|
(Brian D. Burns)
|
@@ -999,7 +1088,7 @@ Patch:
|
|
999
1088
|
|
1000
1089
|
## Version 10.0.1 (2011-04-08)
|
1001
1090
|
|
1002
|
-
Patch:
|
1091
|
+
### Patch:
|
1003
1092
|
|
1004
1093
|
* Workers must ignore SIGTSTP, otherwise master waits forever before
|
1005
1094
|
exiting.
|
@@ -1013,14 +1102,14 @@ Patch:
|
|
1013
1102
|
|
1014
1103
|
## Version 10.0.0 (2011-04-06)
|
1015
1104
|
|
1016
|
-
Major:
|
1105
|
+
### Major:
|
1017
1106
|
|
1018
1107
|
* The `Test::Loop.before_each_test` and `Test::Loop.after_each_test`
|
1019
1108
|
parameters are arrays now.
|
1020
1109
|
|
1021
1110
|
## Version 9.4.0 (2011-04-06)
|
1022
1111
|
|
1023
|
-
Minor:
|
1112
|
+
### Minor:
|
1024
1113
|
|
1025
1114
|
* Allow lambda functions in `Test::Loop.test_file_matchers` to return `nil`
|
1026
1115
|
so that you can exclude certain tests from being executed. (Brian D.
|
@@ -1032,13 +1121,13 @@ Minor:
|
|
1032
1121
|
|
1033
1122
|
watch 'ps xf | grep test-loop | sed 1,3d'
|
1034
1123
|
|
1035
|
-
Patch:
|
1124
|
+
### Patch:
|
1036
1125
|
|
1037
1126
|
* Skip `at_exit()` when exiting master process. This prevents an empty test
|
1038
1127
|
from being run when exiting the loop after having processed a test/spec
|
1039
1128
|
helper that loads the Test::Unit library. (Brian D. Burns)
|
1040
1129
|
|
1041
|
-
Other:
|
1130
|
+
### Other:
|
1042
1131
|
|
1043
1132
|
* Use throw/catch to break loop instead of raising SystemExit exception.
|
1044
1133
|
|
@@ -1050,7 +1139,7 @@ Other:
|
|
1050
1139
|
|
1051
1140
|
## Version 9.3.0 (2011-04-01)
|
1052
1141
|
|
1053
|
-
Minor:
|
1142
|
+
### Minor:
|
1054
1143
|
|
1055
1144
|
* Resume currently running tests--as well as those currently needing to be
|
1056
1145
|
run--after reabsorbing test execution overhead. (Brian D. Burns)
|
@@ -1067,7 +1156,7 @@ Minor:
|
|
1067
1156
|
* Use ANSI clear line command to erase control-key combinations outputted by
|
1068
1157
|
shells such as BASH and ZSH in test-loop's output. (Brian D. Burns)
|
1069
1158
|
|
1070
|
-
Patch:
|
1159
|
+
### Patch:
|
1071
1160
|
|
1072
1161
|
* `@last_ran_at` was being set during every iteration of the loop. This is
|
1073
1162
|
problematic when Ruby's `Time.now` is more precise than your filesystem's
|
@@ -1081,7 +1170,7 @@ Patch:
|
|
1081
1170
|
|
1082
1171
|
* Remove 'ansi' gem dependency. (Brian D. Burns)
|
1083
1172
|
|
1084
|
-
Other:
|
1173
|
+
### Other:
|
1085
1174
|
|
1086
1175
|
* Add tip on deleting logs for passing tests. (Brian D. Burns)
|
1087
1176
|
|