tork 19.10.0 → 19.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION.markdown +12 -0
- data/bin/tork +1 -1
- data/bin/tork-driver +1 -1
- data/bin/tork-engine +1 -1
- data/bin/tork-herald +1 -1
- data/bin/tork-master +1 -1
- data/bin/tork-notify +1 -1
- data/bin/tork-runner +1 -1
- data/lib/tork/config/rails/detect.rb +1 -1
- data/lib/tork/config/rspec-rails/detect.rb +1 -0
- data/lib/tork/config/rspec-rails/driver.rb +1 -0
- data/lib/tork/config/rspec-rails/master.rb +3 -0
- data/lib/tork/driver.rb +1 -1
- data/lib/tork/version.rb +1 -1
- data/man/man0/VERSION.html +50 -44
- data/man/man0/VERSION.markdown +12 -0
- data/man/man1/tork-driver.1 +1 -1
- data/man/man1/tork-driver.1.html +1 -1
- data/man/man1/tork-engine.1 +1 -1
- data/man/man1/tork-engine.1.html +1 -1
- data/man/man1/tork-herald.1 +1 -1
- data/man/man1/tork-herald.1.html +1 -1
- data/man/man1/tork-master.1 +1 -1
- data/man/man1/tork-master.1.html +1 -1
- data/man/man1/tork-notify.1 +1 -1
- data/man/man1/tork-notify.1.html +1 -1
- data/man/man1/tork-runner.1 +1 -1
- data/man/man1/tork-runner.1.html +1 -1
- data/man/man1/tork.1 +1 -1
- data/man/man1/tork.1.html +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96f14406f95dcddafe9baa541a2ae220956c76f5
|
4
|
+
data.tar.gz: fe2256cb537e4e0a947f96e8255769963ca2718d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea4534fb9de012f896e7444a8af834d380217dfdba07bbdbd4f15f49b86aca7d62e17315e31cf3043bf41ff3029dbbe41be43502c9444fabf0c30329e5d116cb
|
7
|
+
data.tar.gz: 556b26331f1fa0e3067ec6ff809bd88f3cd0617e37844f5c247af007bbba9916987a573d5ffa716a25c8d3cc187793c5d014e69ee9dc251b573b2a3db987f596
|
data/VERSION.markdown
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
## Version 19.11.1 (2014-10-24)
|
2
|
+
|
3
|
+
This release improves support for RSpec 3 and Rails 4.
|
4
|
+
|
5
|
+
### Patch:
|
6
|
+
|
7
|
+
* GH-61: `uninitialized constant RSpec` for rspec > 3 (Jonathan Cairns).
|
8
|
+
|
9
|
+
* Fix TypeError in driver when multiple globs are used (Jonathan Cairns).
|
10
|
+
|
11
|
+
* Simple fix for detecting rails 4 apps (Jonathan Cairns).
|
12
|
+
|
1
13
|
## Version 19.10.0 (2014-08-06)
|
2
14
|
|
3
15
|
This release improves responsiveness and adds a command to list failed files.
|
data/bin/tork
CHANGED
data/bin/tork-driver
CHANGED
data/bin/tork-engine
CHANGED
data/bin/tork-herald
CHANGED
data/bin/tork-master
CHANGED
data/bin/tork-notify
CHANGED
data/bin/tork-runner
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ENV['TORK_CONFIGS'] += ':rails' if Dir['script/{rails,console}'].any?
|
1
|
+
ENV['TORK_CONFIGS'] += ':rails' if Dir['{script,bin}/{rails,console}'].any?
|
@@ -0,0 +1 @@
|
|
1
|
+
ENV['TORK_CONFIGS'] += ':rspec-rails' if Dir['spec/', 'rails_helper.rb'].any?
|
@@ -0,0 +1 @@
|
|
1
|
+
Tork::Driver::REABSORB_FILE_GREPS.push /\brails_helper\.rb$/
|
data/lib/tork/driver.rb
CHANGED
@@ -27,7 +27,7 @@ class Driver < Server
|
|
27
27
|
|
28
28
|
def run_all_test_files
|
29
29
|
test_files_found = false
|
30
|
-
Dir.glob(
|
30
|
+
Dir.glob(ALL_TEST_FILE_GLOBS) do |test_file|
|
31
31
|
next if overhead_file? test_file
|
32
32
|
run_test_file test_file
|
33
33
|
test_files_found = true
|
data/lib/tork/version.rb
CHANGED
data/man/man0/VERSION.html
CHANGED
@@ -7,7 +7,13 @@
|
|
7
7
|
<link rel="stylesheet" href="../style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
9
9
|
</head>
|
10
|
-
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man0">man0</a>/VERSION</span></div></div><div class="container-fluid"><h2 id="version-19-
|
10
|
+
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man0">man0</a>/VERSION</span></div></div><div class="container-fluid"><h2 id="version-19-11-1-2014-10-24"><a name="version-19-11-1-2014-10-24" href="#version-19-11-1-2014-10-24" class="md2man-permalink" title="permalink"></a>Version 19.11.1 (2014-10-24)</h2><p>This release improves support for RSpec 3 and Rails 4.</p><h3 id="patch"><a name="patch" href="#patch" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
11
|
+
<ul>
|
12
|
+
<li><p>GH-61: <code>uninitialized constant RSpec</code> for rspec > 3 (Jonathan Cairns).</p></li>
|
13
|
+
<li><p>Fix TypeError in driver when multiple globs are used (Jonathan Cairns).</p></li>
|
14
|
+
<li><p>Simple fix for detecting rails 4 apps (Jonathan Cairns).</p></li>
|
15
|
+
</ul>
|
16
|
+
<h2 id="version-19-10-0-2014-08-06"><a name="version-19-10-0-2014-08-06" href="#version-19-10-0-2014-08-06" class="md2man-permalink" title="permalink"></a>Version 19.10.0 (2014-08-06)</h2><p>This release improves responsiveness and adds a command to list failed files.</p><h3 id="minor"><a name="minor" href="#minor" class="md2man-permalink" title="permalink"></a>Minor:</h3>
|
11
17
|
<ul>
|
12
18
|
<li><p><a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a>: list most recently ran test files in <code>:idle</code> event. This
|
13
19
|
allows <a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a> to summarize a run after tests finish running, as follows:</p>
|
@@ -17,7 +23,7 @@ allows <a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a> to sum
|
|
17
23
|
files that have failed during their most recent run.</p><p><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>: add <code>l</code> key (bound to the <code>list_failed_test_files</code> command).</p><p>Thanks to Chris Scharf for contributing this feature in issue-60:
|
18
24
|
<a href="https://github.com/sunaku/tork/pull/60">https://github.com/sunaku/tork/pull/60</a></p></li>
|
19
25
|
</ul>
|
20
|
-
<h3 id="patch"><a name="patch" href="#patch" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
26
|
+
<h3 id="patch-1"><a name="patch-1" href="#patch-1" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
21
27
|
<ul>
|
22
28
|
<li><p>tork/config: auto-detect <code>$TORK_CONFIGS</code> values only once per session.
|
23
29
|
This makes Tork load configuration helpers faster on slow file-systems.</p></li>
|
@@ -41,7 +47,7 @@ itself detect whether it is needed from inside its own <code>config.rb</code> fi
|
|
41
47
|
<li><p>Censor Tork internals from test failure backtraces so that users can
|
42
48
|
inspect them quickly to find where errors are arising in their code.</p></li>
|
43
49
|
</ul>
|
44
|
-
<h3 id="patch-
|
50
|
+
<h3 id="patch-2"><a name="patch-2" href="#patch-2" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
45
51
|
<ul>
|
46
52
|
<li>Only 1 worker was being used on a dual-core system.</li>
|
47
53
|
</ul>
|
@@ -49,12 +55,12 @@ inspect them quickly to find where errors are arising in their code.</p></li>
|
|
49
55
|
<ul>
|
50
56
|
<li><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>: use complete sentences in the help message.</li>
|
51
57
|
</ul>
|
52
|
-
<h2 id="version-19-8-2-2014-07-01"><a name="version-19-8-2-2014-07-01" href="#version-19-8-2-2014-07-01" class="md2man-permalink" title="permalink"></a>Version 19.8.2 (2014-07-01)</h2><p>This release adds support for RSpec 3+ in the <code>spec</code> configuration helper.</p><h3 id="patch-
|
58
|
+
<h2 id="version-19-8-2-2014-07-01"><a name="version-19-8-2-2014-07-01" href="#version-19-8-2-2014-07-01" class="md2man-permalink" title="permalink"></a>Version 19.8.2 (2014-07-01)</h2><p>This release adds support for RSpec 3+ in the <code>spec</code> configuration helper.</p><h3 id="patch-3"><a name="patch-3" href="#patch-3" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
53
59
|
<ul>
|
54
60
|
<li><p>GH-58: RSpec 3.0 removed <code>--line_number</code> command-line option.</p><p>Thanks to Jonathan Cairns for reporting this issue in GH-58:
|
55
61
|
<a href="https://github.com/sunaku/tork/issues/58">https://github.com/sunaku/tork/issues/58</a></p></li>
|
56
62
|
</ul>
|
57
|
-
<h2 id="version-19-8-1-2014-06-28"><a name="version-19-8-1-2014-06-28" href="#version-19-8-1-2014-06-28" class="md2man-permalink" title="permalink"></a>Version 19.8.1 (2014-06-28)</h2><h3 id="patch-
|
63
|
+
<h2 id="version-19-8-1-2014-06-28"><a name="version-19-8-1-2014-06-28" href="#version-19-8-1-2014-06-28" class="md2man-permalink" title="permalink"></a>Version 19.8.1 (2014-06-28)</h2><h3 id="patch-4"><a name="patch-4" href="#patch-4" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
58
64
|
<ul>
|
59
65
|
<li><p><a class="md2man-reference" href="../man1/tork-driver.1.html">tork-driver(1)</a>: sanitize the file paths reported by <a class="md2man-reference" href="../man1/tork-herald.1.html">tork-herald(1)</a>.</p><p>This allows a user to override <a class="md2man-reference" href="../man1/tork-herald.1.html">tork-herald(1)</a> with their own program
|
60
66
|
that reports changed file paths in a less than ideal, but valid, way.
|
@@ -74,7 +80,7 @@ killed so it should be safe to delete it and start up a new server.</p></li>
|
|
74
80
|
having to first add Tork to its <code>Gemfile</code> and then <code>bundle install</code> it.
|
75
81
|
In fact, installing the Tork gem <em>outside</em> of the bundle is sufficient.</p><p>Try it: go into a bundled application and call <code>tork</code> to run its tests!</p></li>
|
76
82
|
</ul>
|
77
|
-
<h3 id="patch-
|
83
|
+
<h3 id="patch-5"><a name="patch-5" href="#patch-5" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
78
84
|
<ul>
|
79
85
|
<li><p>Server: fix crash when Fixnum is sent as a message.</p>
|
80
86
|
<pre><code>lib/tork/server.rb:45:in `block (2 levels) in loop':
|
@@ -105,7 +111,7 @@ JSON::ParserError: A JSON text must at least contain two octets!
|
|
105
111
|
<li><p>Re-run failed tests after reabsorbing overhead.</p><p>Thanks to Chris Scharf for <a href="https://github.com/sunaku/tork/pull/57">contributing this
|
106
112
|
patch</a>.</p></li>
|
107
113
|
</ul>
|
108
|
-
<h2 id="version-19-6-1-2014-03-04"><a name="version-19-6-1-2014-03-04" href="#version-19-6-1-2014-03-04" class="md2man-permalink" title="permalink"></a>Version 19.6.1 (2014-03-04)</h2><p>This release improves support for old Rails versions.</p><h3 id="patch-
|
114
|
+
<h2 id="version-19-6-1-2014-03-04"><a name="version-19-6-1-2014-03-04" href="#version-19-6-1-2014-03-04" class="md2man-permalink" title="permalink"></a>Version 19.6.1 (2014-03-04)</h2><p>This release improves support for old Rails versions.</p><h3 id="patch-6"><a name="patch-6" href="#patch-6" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
109
115
|
<ul>
|
110
116
|
<li><p>Rails < 3.1.0 does not have <code>connection_config()</code>.</p></li>
|
111
117
|
<li><p><code>schema_cache()</code> is only defined in Rails >= 4.</p></li>
|
@@ -114,13 +120,13 @@ patch</a>.</p></li>
|
|
114
120
|
<ul>
|
115
121
|
<li><a class="md2man-reference" href="../man1/tork-runner.1.html">tork-runner(1)</a> now prints the percentage of completed tests to stderr.</li>
|
116
122
|
</ul>
|
117
|
-
<h3 id="patch-
|
123
|
+
<h3 id="patch-7"><a name="patch-7" href="#patch-7" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
118
124
|
<ul>
|
119
125
|
<li><a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a> emitted the <code>idle</code> event when tests were still running.</li>
|
120
126
|
</ul>
|
121
127
|
<h2 id="version-19-5-1-2013-12-02"><a name="version-19-5-1-2013-12-02" href="#version-19-5-1-2013-12-02" class="md2man-permalink" title="permalink"></a>Version 19.5.1 (2013-12-02)</h2><p>This release restores support for Capybara integration tests in the <code>rails</code>
|
122
128
|
configuration helper, corrects the <code>idle</code> event in <a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a>, and fixes
|
123
|
-
some minor bugs in <a class="md2man-reference" href="../man1/tork-runner.1.html">tork-runner(1)</a> and <a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>.</p><h3 id="patch-
|
129
|
+
some minor bugs in <a class="md2man-reference" href="../man1/tork-runner.1.html">tork-runner(1)</a> and <a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>.</p><h3 id="patch-8"><a name="patch-8" href="#patch-8" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
124
130
|
<ul>
|
125
131
|
<li><p>Rails: keep sub-Rails connected to in-memory SQLite3 test database.</p><p>When another Rails instance is started by Capybara, it sets up a new
|
126
132
|
connection to the test database instead of re-using our in-memory DB.</p><p><a href="http://www.spacevatican.org/2012/8/18/threading-the-rat/">http://www.spacevatican.org/2012/8/18/threading-the-rat/</a></p></li>
|
@@ -144,7 +150,7 @@ to re-use the former's resources to run your test suite non-interactively.</
|
|
144
150
|
<li><p><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>: show help message to clients upon connecting.</p></li>
|
145
151
|
<li><p><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>: tell user to input 'h' key for help message.</p></li>
|
146
152
|
</ul>
|
147
|
-
<h3 id="patch-
|
153
|
+
<h3 id="patch-9"><a name="patch-9" href="#patch-9" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
148
154
|
<ul>
|
149
155
|
<li><p><a class="md2man-reference" href="../man1/tork-notify.1.html">tork-notify(1)</a>: must pass mutable local variables into Thread.new.</p><p>The <code>icon</code> local variable would be overwritten (to nil sometimes)
|
150
156
|
outside of the thread and cause the thread body to silently fail.</p><p>See <a href="http://stackoverflow.com/q/16745840">http://stackoverflow.com/q/16745840</a> for details.</p></li>
|
@@ -199,7 +205,7 @@ SQLite3 and you are using Rails 3 or newer.</li>
|
|
199
205
|
<li><p>GH-55: upgrade listen & rake gem dependencies.</p><p>Thanks to Matthew Albright for reporting this issue in GH-55:
|
200
206
|
<a href="https://github.com/sunaku/tork/issues/55">https://github.com/sunaku/tork/issues/55</a></p></li>
|
201
207
|
</ul>
|
202
|
-
<h2 id="version-19-3-1-2013-06-07"><a name="version-19-3-1-2013-06-07" href="#version-19-3-1-2013-06-07" class="md2man-permalink" title="permalink"></a>Version 19.3.1 (2013-06-07)</h2><h3 id="patch-
|
208
|
+
<h2 id="version-19-3-1-2013-06-07"><a name="version-19-3-1-2013-06-07" href="#version-19-3-1-2013-06-07" class="md2man-permalink" title="permalink"></a>Version 19.3.1 (2013-06-07)</h2><h3 id="patch-10"><a name="patch-10" href="#patch-10" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
203
209
|
<ul>
|
204
210
|
<li><p>server: rescue from failed writes to asynchronously closed clients.</p><p>Thanks to Jonathan Cairns for reporting and fixing this bug in GH-53:
|
205
211
|
<a href="https://github.com/sunaku/tork/issues/53">https://github.com/sunaku/tork/issues/53</a></p></li>
|
@@ -220,7 +226,7 @@ have finished running and no more tests are queued for running.</p><p>Thanks to
|
|
220
226
|
<li><p>README: use manpage xrefs for linking in HTML mans</p></li>
|
221
227
|
</ul>
|
222
228
|
<h2 id="version-19-2-2-2013-05-04"><a name="version-19-2-2-2013-05-04" href="#version-19-2-2-2013-05-04" class="md2man-permalink" title="permalink"></a>Version 19.2.2 (2013-05-04)</h2><p>This release makes Tork resilient to <code>Errno::EADDRINUSE</code> errors that may occur
|
223
|
-
sometimes, intermittently, when test execution overhead is being reabsorbed.</p><h3 id="patch-
|
229
|
+
sometimes, intermittently, when test execution overhead is being reabsorbed.</p><h3 id="patch-11"><a name="patch-11" href="#patch-11" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
224
230
|
<ul>
|
225
231
|
<li>server: retry until the socket opens successfully</li>
|
226
232
|
</ul>
|
@@ -228,7 +234,7 @@ sometimes, intermittently, when test execution overhead is being reabsorbed.</p>
|
|
228
234
|
<ul>
|
229
235
|
<li>include md2man rake tasks in developer's rakefile</li>
|
230
236
|
</ul>
|
231
|
-
<h2 id="version-19-2-1-2013-02-08"><a name="version-19-2-1-2013-02-08" href="#version-19-2-1-2013-02-08" class="md2man-permalink" title="permalink"></a>Version 19.2.1 (2013-02-08)</h2><h3 id="patch-
|
237
|
+
<h2 id="version-19-2-1-2013-02-08"><a name="version-19-2-1-2013-02-08" href="#version-19-2-1-2013-02-08" class="md2man-permalink" title="permalink"></a>Version 19.2.1 (2013-02-08)</h2><h3 id="patch-12"><a name="patch-12" href="#patch-12" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
232
238
|
<ul>
|
233
239
|
<li><p>GH-46: allow reassigning <code>$tork_*</code> variable values. Thanks to Joe
|
234
240
|
Escalante for reminding me to fix this issue.</p></li>
|
@@ -242,7 +248,7 @@ reporting it.</p></li>
|
|
242
248
|
applications that use the Devise authentication framework. Thanks to Ryan
|
243
249
|
Ahearn for this contribution.</li>
|
244
250
|
</ul>
|
245
|
-
<h3 id="patch-
|
251
|
+
<h3 id="patch-13"><a name="patch-13" href="#patch-13" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
246
252
|
<ul>
|
247
253
|
<li><p>gemspec: upgrade to <em>listen</em> 0.7.0 to fix issue #43. Thanks to Ryan
|
248
254
|
Ahearn for reporting this issue and helping debug it, and to Thibaud
|
@@ -253,14 +259,14 @@ Guillaume-Gentil for fixing this issue upstream in the <em>listen</em> library.<
|
|
253
259
|
<ul>
|
254
260
|
<li>tork-driver: don't run overhead files as test files</li>
|
255
261
|
</ul>
|
256
|
-
<h3 id="patch-
|
262
|
+
<h3 id="patch-14"><a name="patch-14" href="#patch-14" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
257
263
|
<ul>
|
258
264
|
<li><p>rails: run dependent tests when <code>app/views/*</code> change</p></li>
|
259
265
|
<li><p>Clear FactoryGirl sequences and traits on fork in the <code>factory_girl</code>
|
260
266
|
configuration helper. Thanks to Ryan Ahearn for this contribution.</p></li>
|
261
267
|
<li><p>server: fix clean up of socket files upon exit</p></li>
|
262
268
|
</ul>
|
263
|
-
<h2 id="version-19-0-2-2012-11-07"><a name="version-19-0-2-2012-11-07" href="#version-19-0-2-2012-11-07" class="md2man-permalink" title="permalink"></a>Version 19.0.2 (2012-11-07)</h2><h3 id="patch-
|
269
|
+
<h2 id="version-19-0-2-2012-11-07"><a name="version-19-0-2-2012-11-07" href="#version-19-0-2-2012-11-07" class="md2man-permalink" title="permalink"></a>Version 19.0.2 (2012-11-07)</h2><h3 id="patch-15"><a name="patch-15" href="#patch-15" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
264
270
|
<ul>
|
265
271
|
<li><p>Monkeypatch <code>at_exit()</code> to fix RSpec and MiniTest:</p><p><a href="https://github.com/rspec/rspec-core/pull/720">https://github.com/rspec/rspec-core/pull/720</a></p><p><a href="https://github.com/seattlerb/minitest/pull/183">https://github.com/seattlerb/minitest/pull/183</a></p></li>
|
266
272
|
</ul>
|
@@ -269,7 +275,7 @@ configuration helper. Thanks to Ryan Ahearn for this contribution.</p></li>
|
|
269
275
|
<li><p>README: document RSpec 2.9.0+ autorun skipping bug</p></li>
|
270
276
|
<li><p>README: MiniTest 1.3.2+ also has autorun skip bug</p></li>
|
271
277
|
</ul>
|
272
|
-
<h2 id="version-19-0-1-2012-10-26"><a name="version-19-0-1-2012-10-26" href="#version-19-0-1-2012-10-26" class="md2man-permalink" title="permalink"></a>Version 19.0.1 (2012-10-26)</h2><h3 id="patch-
|
278
|
+
<h2 id="version-19-0-1-2012-10-26"><a name="version-19-0-1-2012-10-26" href="#version-19-0-1-2012-10-26" class="md2man-permalink" title="permalink"></a>Version 19.0.1 (2012-10-26)</h2><h3 id="patch-16"><a name="patch-16" href="#patch-16" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
273
279
|
<ul>
|
274
280
|
<li><p>Support testing projects that have both test/ and spec/ directories.</p><p>I assumed that users would only have either test/ or spec/ but not both.
|
275
281
|
Do you know what happens when a test/ is run by RSpec or vice versa? :-)</p><p>Thanks to Kyle Peyton for reporting this issue.</p></li>
|
@@ -317,7 +323,7 @@ made possible by the awesome power of IO.select() and UNIX domain sockets.</p></
|
|
317
323
|
events to notify you about changes in a test file's pass/fail status.</p></li>
|
318
324
|
<li><p>typing Control-D now breaks tork programs out of <code>Tork::Server#loop()</code></p></li>
|
319
325
|
</ul>
|
320
|
-
<h3 id="patch-
|
326
|
+
<h3 id="patch-17"><a name="patch-17" href="#patch-17" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
321
327
|
<ul>
|
322
328
|
<li><a class="md2man-reference" href="../man1/tork-master.1.html">tork-master(1)</a>: stop workers with SIGKILL when quitting</li>
|
323
329
|
</ul>
|
@@ -333,7 +339,7 @@ events to notify you about changes in a test file's pass/fail status.</p></l
|
|
333
339
|
<li>GH-39: upgrade listen gem version to fix a bug in OSX.
|
334
340
|
Thanks to Adam Grant for reporting this issue.</li>
|
335
341
|
</ul>
|
336
|
-
<h2 id="version-18-2-3-2012-09-26"><a name="version-18-2-3-2012-09-26" href="#version-18-2-3-2012-09-26" class="md2man-permalink" title="permalink"></a>Version 18.2.3 (2012-09-26)</h2><h3 id="patch-
|
342
|
+
<h2 id="version-18-2-3-2012-09-26"><a name="version-18-2-3-2012-09-26" href="#version-18-2-3-2012-09-26" class="md2man-permalink" title="permalink"></a>Version 18.2.3 (2012-09-26)</h2><h3 id="patch-18"><a name="patch-18" href="#patch-18" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
337
343
|
<ul>
|
338
344
|
<li><p>Restored support for building Tork from its gemspec under Ruby 1.8.
|
339
345
|
Thanks to Ohno Shin'ichi for reporting this issue and contributing a
|
@@ -348,7 +354,7 @@ Let the user see stack traces when they press Control-C.</p></li>
|
|
348
354
|
replaced by reaping threads quite a few releases ago.</p></li>
|
349
355
|
<li><p>Use $0 instead of hard-coding the program name.</p></li>
|
350
356
|
</ul>
|
351
|
-
<h2 id="version-18-2-2-2012-07-11"><a name="version-18-2-2-2012-07-11" href="#version-18-2-2-2012-07-11" class="md2man-permalink" title="permalink"></a>Version 18.2.2 (2012-07-11)</h2><h3 id="patch-
|
357
|
+
<h2 id="version-18-2-2-2012-07-11"><a name="version-18-2-2-2012-07-11" href="#version-18-2-2-2012-07-11" class="md2man-permalink" title="permalink"></a>Version 18.2.2 (2012-07-11)</h2><h3 id="patch-19"><a name="patch-19" href="#patch-19" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
352
358
|
<ul>
|
353
359
|
<li><p>GH-35: resume dispatched but not yet started tests.</p><p>After reabsorbing overhead, we need to resume previously dispatched test
|
354
360
|
files that have not yet finished running. This includes the waiting set
|
@@ -356,7 +362,7 @@ files that have not yet finished running. This includes the waiting set
|
|
356
362
|
and already started running). Otherwise, we encounter a bug where test
|
357
363
|
files in the waiting set can NEVER be run again!</p></li>
|
358
364
|
</ul>
|
359
|
-
<h2 id="version-18-2-1-2012-07-05"><a name="version-18-2-1-2012-07-05" href="#version-18-2-1-2012-07-05" class="md2man-permalink" title="permalink"></a>Version 18.2.1 (2012-07-05)</h2><h3 id="patch-
|
365
|
+
<h2 id="version-18-2-1-2012-07-05"><a name="version-18-2-1-2012-07-05" href="#version-18-2-1-2012-07-05" class="md2man-permalink" title="permalink"></a>Version 18.2.1 (2012-07-05)</h2><h3 id="patch-20"><a name="patch-20" href="#patch-20" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
360
366
|
<ul>
|
361
367
|
<li>GH-37: switch from Guard::Listener to Listen gem.
|
362
368
|
Thanks to Jesse Cooke for reporting this issue.</li>
|
@@ -374,7 +380,7 @@ the "rerun<em>failed</em>tests" command and no tests have failed yet,
|
|
374
380
|
now see a warning message that explains the situation. Thanks to
|
375
381
|
NagaChaitanya Vellanki (@chaitanyav) for suggesting this change.</li>
|
376
382
|
</ul>
|
377
|
-
<h3 id="patch-
|
383
|
+
<h3 id="patch-21"><a name="patch-21" href="#patch-21" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
378
384
|
<ul>
|
379
385
|
<li><p>GH-32: Restore support for Selenium and Capybara by replacing the global
|
380
386
|
SIGCHLD handler in <a class="md2man-reference" href="../man1/tork-master.1.html">tork-master(1)</a> with individual threads, one per forked
|
@@ -399,7 +405,7 @@ that exist in or beneath the current working directory:</p>
|
|
399
405
|
<li>If you're on Ruby 1.9, please use 1.9.3 or newer because 1.9.2 is
|
400
406
|
known to segfault under RSpec and Rails. See GH-30 and GH-32.</li>
|
401
407
|
</ul>
|
402
|
-
<h3 id="patch-
|
408
|
+
<h3 id="patch-22"><a name="patch-22" href="#patch-22" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
403
409
|
<ul>
|
404
410
|
<li><p>GH-27: Cucumber features now run correctly under RSpec. Thanks to Scott
|
405
411
|
Radcliff for reporting this issue and to David Burrows for solving it!</p></li>
|
@@ -453,7 +459,7 @@ multiple globs in an array, in addition to just a single glob or <code>nil</code
|
|
453
459
|
<li><p>Added support for the MiniTest convention of naming test files as
|
454
460
|
<code>test/**/test_*.rb</code> and <code>spec/**/spec_*.rb</code>. (Jose Pablo Barrantes)</p></li>
|
455
461
|
</ul>
|
456
|
-
<h2 id="version-17-0-1-2012-01-29"><a name="version-17-0-1-2012-01-29" href="#version-17-0-1-2012-01-29" class="md2man-permalink" title="permalink"></a>Version 17.0.1 (2012-01-29)</h2><h3 id="patch-
|
462
|
+
<h2 id="version-17-0-1-2012-01-29"><a name="version-17-0-1-2012-01-29" href="#version-17-0-1-2012-01-29" class="md2man-permalink" title="permalink"></a>Version 17.0.1 (2012-01-29)</h2><h3 id="patch-23"><a name="patch-23" href="#patch-23" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
457
463
|
<ul>
|
458
464
|
<li><p><a class="md2man-reference" href="../man1/tork-herald.1.html">tork-herald(1)</a> <em>sometimes</em> reported changed test files twice.</p></li>
|
459
465
|
<li><p>tork/driver: only whole test file runs should qualify as pass.</p></li>
|
@@ -518,7 +524,7 @@ items to the output stream.</p></li>
|
|
518
524
|
<ul>
|
519
525
|
<li>GH-19: add <code>tork cucumber</code> for running cucumber features.</li>
|
520
526
|
</ul>
|
521
|
-
<h3 id="patch-
|
527
|
+
<h3 id="patch-24"><a name="patch-24" href="#patch-24" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
522
528
|
<ul>
|
523
529
|
<li><p>tork/config/rails: support Rails 2 and don't assume AR is used. (Benjamin
|
524
530
|
Quorning)</p></li>
|
@@ -529,7 +535,7 @@ $TORK_CONFIGS should override settings from the <code>.tork.rb</code> file.</p><
|
|
529
535
|
See <a href="http://stackoverflow.com/questions/1497756">http://stackoverflow.com/questions/1497756</a>.
|
530
536
|
Also added forgotten Luke Wendling to the list.</p></li>
|
531
537
|
</ul>
|
532
|
-
<h2 id="version-15-0-1-2012-01-24"><a name="version-15-0-1-2012-01-24" href="#version-15-0-1-2012-01-24" class="md2man-permalink" title="permalink"></a>Version 15.0.1 (2012-01-24)</h2><h3 id="patch-
|
538
|
+
<h2 id="version-15-0-1-2012-01-24"><a name="version-15-0-1-2012-01-24" href="#version-15-0-1-2012-01-24" class="md2man-permalink" title="permalink"></a>Version 15.0.1 (2012-01-24)</h2><h3 id="patch-25"><a name="patch-25" href="#patch-25" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
533
539
|
<ul>
|
534
540
|
<li><p>GH-21: Ruby 1.9 class_eval() is smarter than 1.8.</p></li>
|
535
541
|
<li><p>GH-20: forgot <code>require 'thread'</code> for Mutex class. (Jesse Cooke)</p></li>
|
@@ -580,11 +586,11 @@ PGError: connection not open
|
|
580
586
|
<li><p><a class="md2man-reference">testr(1)</a> no longer shows command menu at startup. Press ENTER to see it.</p></li>
|
581
587
|
<li><p><a class="md2man-reference">testr(1)</a> now notifies you before absorbing overhead at startup.</p></li>
|
582
588
|
</ul>
|
583
|
-
<h3 id="patch-
|
589
|
+
<h3 id="patch-26"><a name="patch-26" href="#patch-26" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
584
590
|
<ul>
|
585
591
|
<li><a class="md2man-reference">testr(1)</a> now accepts death silently when Control-C is pressed.</li>
|
586
592
|
</ul>
|
587
|
-
<h2 id="version-14-1-3-2012-01-13"><a name="version-14-1-3-2012-01-13" href="#version-14-1-3-2012-01-13" class="md2man-permalink" title="permalink"></a>Version 14.1.3 (2012-01-13)</h2><h3 id="patch-
|
593
|
+
<h2 id="version-14-1-3-2012-01-13"><a name="version-14-1-3-2012-01-13" href="#version-14-1-3-2012-01-13" class="md2man-permalink" title="permalink"></a>Version 14.1.3 (2012-01-13)</h2><h3 id="patch-27"><a name="patch-27" href="#patch-27" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
588
594
|
<ul>
|
589
595
|
<li>Add support Guard v0.9.0 and newer in <code>testr-herald</code>. (Jose Pablo
|
590
596
|
Barrantes)</li>
|
@@ -602,7 +608,7 @@ breakages.</li>
|
|
602
608
|
<ul>
|
603
609
|
<li>Upgrade to binman 3 for better bundler support.</li>
|
604
610
|
</ul>
|
605
|
-
<h2 id="version-14-1-1-2011-12-07"><a name="version-14-1-1-2011-12-07" href="#version-14-1-1-2011-12-07" class="md2man-permalink" title="permalink"></a>Version 14.1.1 (2011-12-07)</h2><h3 id="patch-
|
611
|
+
<h2 id="version-14-1-1-2011-12-07"><a name="version-14-1-1-2011-12-07" href="#version-14-1-1-2011-12-07" class="md2man-permalink" title="permalink"></a>Version 14.1.1 (2011-12-07)</h2><h3 id="patch-28"><a name="patch-28" href="#patch-28" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
606
612
|
<ul>
|
607
613
|
<li><p>Do not fail when given test file no longer exists.</p></li>
|
608
614
|
<li><p>Make xUnit <code>--name</code> option regexp case-insensitive.</p></li>
|
@@ -631,7 +637,7 @@ have a <code>--help</code> option which displays their UNIX manual page. Try it
|
|
631
637
|
documented in their manual pages, so you should have everything you
|
632
638
|
need to create <em>your own custom user interface to TestR</em> if you wish! :-)</p></li>
|
633
639
|
</ul>
|
634
|
-
<h3 id="patch-
|
640
|
+
<h3 id="patch-29"><a name="patch-29" href="#patch-29" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
635
641
|
<ul>
|
636
642
|
<li>SIGCHLD does not awaken main thread in Ruby 1.9.3p0.</li>
|
637
643
|
</ul>
|
@@ -641,12 +647,12 @@ need to create <em>your own custom user interface to TestR</em> if you wish! :-)
|
|
641
647
|
<li><p>Testr: tell user to press ENTER after command key.</p></li>
|
642
648
|
<li><p>README: add tip on loading factory_girl factories.</p></li>
|
643
649
|
</ul>
|
644
|
-
<h2 id="version-14-0-3-2011-10-11"><a name="version-14-0-3-2011-10-11" href="#version-14-0-3-2011-10-11" class="md2man-permalink" title="permalink"></a>Version 14.0.3 (2011-10-11)</h2><h3 id="patch-
|
650
|
+
<h2 id="version-14-0-3-2011-10-11"><a name="version-14-0-3-2011-10-11" href="#version-14-0-3-2011-10-11" class="md2man-permalink" title="permalink"></a>Version 14.0.3 (2011-10-11)</h2><h3 id="patch-30"><a name="patch-30" href="#patch-30" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
645
651
|
<ul>
|
646
652
|
<li>Forgot to migrate the <code>testr/config/rails</code> configuration helper to use the
|
647
653
|
new TestR configuration parameter names.</li>
|
648
654
|
</ul>
|
649
|
-
<h2 id="version-14-0-2-2011-10-11"><a name="version-14-0-2-2011-10-11" href="#version-14-0-2-2011-10-11" class="md2man-permalink" title="permalink"></a>Version 14.0.2 (2011-10-11)</h2><h3 id="patch-
|
655
|
+
<h2 id="version-14-0-2-2011-10-11"><a name="version-14-0-2-2011-10-11" href="#version-14-0-2-2011-10-11" class="md2man-permalink" title="permalink"></a>Version 14.0.2 (2011-10-11)</h2><h3 id="patch-31"><a name="patch-31" href="#patch-31" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
650
656
|
<ul>
|
651
657
|
<li><p>Fix updating passed/failed test files bookkeeping. Once a test file
|
652
658
|
failed, it was (incorrectly) always considered failed, even if it passed
|
@@ -657,7 +663,7 @@ later on.</p></li>
|
|
657
663
|
<ul>
|
658
664
|
<li>Rename <code>*.md</code> files to <code>*.markdown</code> to avoid ambiguity.</li>
|
659
665
|
</ul>
|
660
|
-
<h2 id="version-14-0-1-2011-10-10"><a name="version-14-0-1-2011-10-10" href="#version-14-0-1-2011-10-10" class="md2man-permalink" title="permalink"></a>Version 14.0.1 (2011-10-10)</h2><h3 id="patch-
|
666
|
+
<h2 id="version-14-0-1-2011-10-10"><a name="version-14-0-1-2011-10-10" href="#version-14-0-1-2011-10-10" class="md2man-permalink" title="permalink"></a>Version 14.0.1 (2011-10-10)</h2><h3 id="patch-32"><a name="patch-32" href="#patch-32" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
661
667
|
<ul>
|
662
668
|
<li><p>Use blue/red for pass/fail instead of green/red to accommodate the color
|
663
669
|
blind.</p></li>
|
@@ -734,7 +740,7 @@ Verbruggen)</p></li>
|
|
734
740
|
<li><p>Turn off executable bit on loop.rb file mode.</p></li>
|
735
741
|
<li><p>Pass child ENV directly to exec() for atomicity.</p></li>
|
736
742
|
</ul>
|
737
|
-
<h2 id="version-12-3-1-2011-07-19"><a name="version-12-3-1-2011-07-19" href="#version-12-3-1-2011-07-19" class="md2man-permalink" title="permalink"></a>Version 12.3.1 (2011-07-19)</h2><h3 id="patch-
|
743
|
+
<h2 id="version-12-3-1-2011-07-19"><a name="version-12-3-1-2011-07-19" href="#version-12-3-1-2011-07-19" class="md2man-permalink" title="permalink"></a>Version 12.3.1 (2011-07-19)</h2><h3 id="patch-33"><a name="patch-33" href="#patch-33" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
738
744
|
<ul>
|
739
745
|
<li>Binary data could not be stored in environment variable values.</li>
|
740
746
|
</ul>
|
@@ -769,7 +775,7 @@ library</a>.</p></li>
|
|
769
775
|
<li>Add <code>Test::Loop.delay_per_iteration</code> parameter to control the number of
|
770
776
|
seconds (or fractions thereof) to sleep in between test-loop iterations.</li>
|
771
777
|
</ul>
|
772
|
-
<h2 id="version-12-0-4-2011-04-29"><a name="version-12-0-4-2011-04-29" href="#version-12-0-4-2011-04-29" class="md2man-permalink" title="permalink"></a>Version 12.0.4 (2011-04-29)</h2><h3 id="patch-
|
778
|
+
<h2 id="version-12-0-4-2011-04-29"><a name="version-12-0-4-2011-04-29" href="#version-12-0-4-2011-04-29" class="md2man-permalink" title="permalink"></a>Version 12.0.4 (2011-04-29)</h2><h3 id="patch-34"><a name="patch-34" href="#patch-34" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
773
779
|
<ul>
|
774
780
|
<li><p>Reabsorb overhead when user's configuration file changes. (Brian D. Burns
|
775
781
|
and Daniel Pittman)</p></li>
|
@@ -777,7 +783,7 @@ and Daniel Pittman)</p></li>
|
|
777
783
|
not necessary! <a href="https://github.com/sunaku/test-loop/issues/5">This issue</a>
|
778
784
|
was solved by upgrading to the newer 2.6.38.4-1 Linux kernel on my system.</p></li>
|
779
785
|
</ul>
|
780
|
-
<h2 id="version-12-0-3-2011-04-25"><a name="version-12-0-3-2011-04-25" href="#version-12-0-3-2011-04-25" class="md2man-permalink" title="permalink"></a>Version 12.0.3 (2011-04-25)</h2><h3 id="patch-
|
786
|
+
<h2 id="version-12-0-3-2011-04-25"><a name="version-12-0-3-2011-04-25" href="#version-12-0-3-2011-04-25" class="md2man-permalink" title="permalink"></a>Version 12.0.3 (2011-04-25)</h2><h3 id="patch-35"><a name="patch-35" href="#patch-35" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
781
787
|
<ul>
|
782
788
|
<li><p>Fix SIGCHLD handling and test completion reporting (Daniel Pittman).</p><p>We need to reap all ready children in SIGCHLD, not just the first, and
|
783
789
|
should not be reporting completion in the signal handler.</p><p>On a fast machine, or where there is a slow hook executed at the
|
@@ -810,7 +816,7 @@ that would also stop you from doing clever things." ~Doug Gwyn</p></blockqu
|
|
810
816
|
Many thanks to Brian D. Burns and Daniel Pittman for helping solve <a href="https://github.com/sunaku/test-loop/issues/5">this
|
811
817
|
issue</a>.</p></li>
|
812
818
|
</ul>
|
813
|
-
<h2 id="version-12-0-2-2011-04-21"><a name="version-12-0-2-2011-04-21" href="#version-12-0-2-2011-04-21" class="md2man-permalink" title="permalink"></a>Version 12.0.2 (2011-04-21)</h2><h3 id="patch-
|
819
|
+
<h2 id="version-12-0-2-2011-04-21"><a name="version-12-0-2-2011-04-21" href="#version-12-0-2-2011-04-21" class="md2man-permalink" title="permalink"></a>Version 12.0.2 (2011-04-21)</h2><h3 id="patch-36"><a name="patch-36" href="#patch-36" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
814
820
|
<ul>
|
815
821
|
<li><p>Consider DB schema dump file as overhead in Rails.</p></li>
|
816
822
|
<li><p>Do not consider test factories as overhead in Rails.</p></li>
|
@@ -824,7 +830,7 @@ issue</a>.</p></li>
|
|
824
830
|
<li><p>Retain <a class="md2man-reference">ps(1)</a> column header in watch command output.</p></li>
|
825
831
|
<li><p>Begin parameter descriptions with the noun itself.</p></li>
|
826
832
|
</ul>
|
827
|
-
<h2 id="version-12-0-1-2011-04-20"><a name="version-12-0-1-2011-04-20" href="#version-12-0-1-2011-04-20" class="md2man-permalink" title="permalink"></a>Version 12.0.1 (2011-04-20)</h2><h3 id="patch-
|
833
|
+
<h2 id="version-12-0-1-2011-04-20"><a name="version-12-0-1-2011-04-20" href="#version-12-0-1-2011-04-20" class="md2man-permalink" title="permalink"></a>Version 12.0.1 (2011-04-20)</h2><h3 id="patch-37"><a name="patch-37" href="#patch-37" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
828
834
|
<ul>
|
829
835
|
<li><p>Restore support for Ruby 1.8.7.</p></li>
|
830
836
|
<li><p>Allow user's test execution overhead to fork.</p></li>
|
@@ -845,7 +851,7 @@ your models are already loaded & cached by the Rails environment.</p></li>
|
|
845
851
|
<li><p>Your tests can no longer read from the user's terminal (master's STDIN);
|
846
852
|
instead they will read from an empty stream (the reading end of IO.popen).</p></li>
|
847
853
|
</ul>
|
848
|
-
<h3 id="patch-
|
854
|
+
<h3 id="patch-38"><a name="patch-38" href="#patch-38" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
849
855
|
<ul>
|
850
856
|
<li><p>Replace threads with SIGCHLD for reporting test results.</p><p>This fixes deadlock errors that sometimes occurred when the user's chosen
|
851
857
|
test library tried to print something to STDOUT/STDERR (even though those
|
@@ -869,7 +875,7 @@ reabsorptions. (Brian D. Burns)</p></li>
|
|
869
875
|
<li><p>Add tip about annihilating test-loop processes.</p></li>
|
870
876
|
<li><p>Fix markdown formatting.</p></li>
|
871
877
|
</ul>
|
872
|
-
<h2 id="version-11-0-1-2011-04-14"><a name="version-11-0-1-2011-04-14" href="#version-11-0-1-2011-04-14" class="md2man-permalink" title="permalink"></a>Version 11.0.1 (2011-04-14)</h2><h3 id="patch-
|
878
|
+
<h2 id="version-11-0-1-2011-04-14"><a name="version-11-0-1-2011-04-14" href="#version-11-0-1-2011-04-14" class="md2man-permalink" title="permalink"></a>Version 11.0.1 (2011-04-14)</h2><h3 id="patch-39"><a name="patch-39" href="#patch-39" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
873
879
|
<ul>
|
874
880
|
<li>Only attempt to define Railtie if the current Rails version supports it.</li>
|
875
881
|
</ul>
|
@@ -884,7 +890,7 @@ automatically if your test execution overhead includes Ruby on Rails.</li>
|
|
884
890
|
<code>config.cache_classes = false</code> for your test environment. (Brian D.
|
885
891
|
Burns)</li>
|
886
892
|
</ul>
|
887
|
-
<h3 id="patch-
|
893
|
+
<h3 id="patch-40"><a name="patch-40" href="#patch-40" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
888
894
|
<ul>
|
889
895
|
<li><p>Avoid deadlock errors when printing output from Test::Unit and MiniTest.
|
890
896
|
(Brian D. Burns)</p>
|
@@ -894,7 +900,7 @@ Burns)</li>
|
|
894
900
|
Do not treat it as a failure by printing the log file.</p></li>
|
895
901
|
<li><p>Ignore SIGINT in workers; only master must honor it.</p></li>
|
896
902
|
</ul>
|
897
|
-
<h2 id="version-10-0-1-2011-04-08"><a name="version-10-0-1-2011-04-08" href="#version-10-0-1-2011-04-08" class="md2man-permalink" title="permalink"></a>Version 10.0.1 (2011-04-08)</h2><h3 id="patch-
|
903
|
+
<h2 id="version-10-0-1-2011-04-08"><a name="version-10-0-1-2011-04-08" href="#version-10-0-1-2011-04-08" class="md2man-permalink" title="permalink"></a>Version 10.0.1 (2011-04-08)</h2><h3 id="patch-41"><a name="patch-41" href="#patch-41" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
898
904
|
<ul>
|
899
905
|
<li><p>Workers must ignore SIGTSTP, otherwise master waits forever before
|
900
906
|
exiting.</p></li>
|
@@ -919,7 +925,7 @@ the following:</p>
|
|
919
925
|
<pre><code>watch 'ps xf | grep test-loop | sed 1,3d'
|
920
926
|
</code></pre></li>
|
921
927
|
</ul>
|
922
|
-
<h3 id="patch-
|
928
|
+
<h3 id="patch-42"><a name="patch-42" href="#patch-42" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
923
929
|
<ul>
|
924
930
|
<li>Skip <code>at_exit()</code> when exiting master process. This prevents an empty test
|
925
931
|
from being run when exiting the loop after having processed a test/spec
|
@@ -945,7 +951,7 @@ system resources.</p></li>
|
|
945
951
|
<li><p>Use ANSI clear line command to erase control-key combinations outputted by
|
946
952
|
shells such as BASH and ZSH in test-loop's output. (Brian D. Burns)</p></li>
|
947
953
|
</ul>
|
948
|
-
<h3 id="patch-
|
954
|
+
<h3 id="patch-43"><a name="patch-43" href="#patch-43" class="md2man-permalink" title="permalink"></a>Patch:</h3>
|
949
955
|
<ul>
|
950
956
|
<li><p><code>@last_ran_at</code> was being set during every iteration of the loop. This is
|
951
957
|
problematic when Ruby's <code>Time.now</code> is more precise than your filesystem's
|
data/man/man0/VERSION.markdown
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
## Version 19.11.1 (2014-10-24)
|
2
|
+
|
3
|
+
This release improves support for RSpec 3 and Rails 4.
|
4
|
+
|
5
|
+
### Patch:
|
6
|
+
|
7
|
+
* GH-61: `uninitialized constant RSpec` for rspec > 3 (Jonathan Cairns).
|
8
|
+
|
9
|
+
* Fix TypeError in driver when multiple globs are used (Jonathan Cairns).
|
10
|
+
|
11
|
+
* Simple fix for detecting rails 4 apps (Jonathan Cairns).
|
12
|
+
|
1
13
|
## Version 19.10.0 (2014-08-06)
|
2
14
|
|
3
15
|
This release improves responsiveness and adds a command to list failed files.
|
data/man/man1/tork-driver.1
CHANGED
data/man/man1/tork-driver.1.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<link rel="stylesheet" href="../style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
9
9
|
</head>
|
10
|
-
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-driver.1</span></div></div><div class="container-fluid"><h1 id="tork-driver-1-2014-
|
10
|
+
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-driver.1</span></div></div><div class="container-fluid"><h1 id="tork-driver-1-2014-10-24-19-11-1"><a name="tork-driver-1-2014-10-24-19-11-1" href="#tork-driver-1-2014-10-24-19-11-1" class="md2man-permalink" title="permalink"></a><span class="md2man-title">TORK-DRIVER</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-10-24</span> <span class="md2man-source">19.11.1</span></h1><h2 id="name"><a name="name" href="#name" class="md2man-permalink" title="permalink"></a>NAME</h2><p>tork-driver - drives <a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a> when files change</p><h2 id="synopsis"><a name="synopsis" href="#synopsis" class="md2man-permalink" title="permalink"></a>SYNOPSIS</h2><p><code>tork-driver</code> [<em>OPTION</em>]...</p><h2 id="description"><a name="description" href="#description" class="md2man-permalink" title="permalink"></a>DESCRIPTION</h2><p>This program drives <a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a> when <a class="md2man-reference" href="../man1/tork-herald.1.html">tork-herald(1)</a> reports files changes.</p><p>This program can be controlled remotely by multiple <a class="md2man-reference" href="../man1/tork-remote.1.html">tork-remote(1)</a> instances.</p><h3 id="input"><a name="input" href="#input" class="md2man-permalink" title="permalink"></a>Input</h3><p>This program reads the following commands, which are single-line JSON arrays,
|
11
11
|
from stdin and then performs the associated actions. For lines read from
|
12
12
|
stdin that are single-line JSON arrays, it splits each of them into an array
|
13
13
|
of words, using the same word-splitting algorithm as <a class="md2man-reference">sh(1)</a>, before processing
|
data/man/man1/tork-engine.1
CHANGED
data/man/man1/tork-engine.1.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<link rel="stylesheet" href="../style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
9
9
|
</head>
|
10
|
-
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-engine.1</span></div></div><div class="container-fluid"><h1 id="tork-engine-1-2014-
|
10
|
+
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-engine.1</span></div></div><div class="container-fluid"><h1 id="tork-engine-1-2014-10-24-19-11-1"><a name="tork-engine-1-2014-10-24-19-11-1" href="#tork-engine-1-2014-10-24-19-11-1" class="md2man-permalink" title="permalink"></a><span class="md2man-title">TORK-ENGINE</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-10-24</span> <span class="md2man-source">19.11.1</span></h1><h2 id="name"><a name="name" href="#name" class="md2man-permalink" title="permalink"></a>NAME</h2><p>tork-engine - wraps <a class="md2man-reference" href="../man1/tork-master.1.html">tork-master(1)</a> with bookkeeping</p><h2 id="synopsis"><a name="synopsis" href="#synopsis" class="md2man-permalink" title="permalink"></a>SYNOPSIS</h2><p><code>tork-engine</code> [<em>OPTION</em>]...</p><h2 id="description"><a name="description" href="#description" class="md2man-permalink" title="permalink"></a>DESCRIPTION</h2><p>This program uses <a class="md2man-reference" href="../man1/tork-master.1.html">tork-master(1)</a> to run tests and keeps track of the results.</p><p>This program can be controlled remotely by multiple <a class="md2man-reference" href="../man1/tork-remote.1.html">tork-remote(1)</a> instances.</p><h3 id="input"><a name="input" href="#input" class="md2man-permalink" title="permalink"></a>Input</h3><p>This program reads the following commands, which are single-line JSON arrays,
|
11
11
|
from stdin and then performs the associated actions. For lines read from
|
12
12
|
stdin that are single-line JSON arrays, it splits each of them into an array
|
13
13
|
of words, using the same word-splitting algorithm as <a class="md2man-reference">sh(1)</a>, before processing
|
data/man/man1/tork-herald.1
CHANGED
data/man/man1/tork-herald.1.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<link rel="stylesheet" href="../style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
9
9
|
</head>
|
10
|
-
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-herald.1</span></div></div><div class="container-fluid"><h1 id="tork-herald-1-2014-
|
10
|
+
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-herald.1</span></div></div><div class="container-fluid"><h1 id="tork-herald-1-2014-10-24-19-11-1"><a name="tork-herald-1-2014-10-24-19-11-1" href="#tork-herald-1-2014-10-24-19-11-1" class="md2man-permalink" title="permalink"></a><span class="md2man-title">TORK-HERALD</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-10-24</span> <span class="md2man-source">19.11.1</span></h1><h2 id="name"><a name="name" href="#name" class="md2man-permalink" title="permalink"></a>NAME</h2><p>tork-herald - reports modified files</p><h2 id="synopsis"><a name="synopsis" href="#synopsis" class="md2man-permalink" title="permalink"></a>SYNOPSIS</h2><p><code>tork-herald</code> [<em>OPTION</em>]...</p><h2 id="description"><a name="description" href="#description" class="md2man-permalink" title="permalink"></a>DESCRIPTION</h2><p>This program monitors the current working directory and all those below it
|
11
11
|
recursively. When any files therein are modified, it prints their relative
|
12
12
|
paths in a single-line JSON array to stdout.</p><h2 id="options"><a name="options" href="#options" class="md2man-permalink" title="permalink"></a>OPTIONS</h2><dl><dt><code>-h</code>, <code>--help</code></dt><dd>Show this help manual.</dd></dl><h2 id="see-also"><a name="see-also" href="#see-also" class="md2man-permalink" title="permalink"></a>SEE ALSO</h2><p><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>, <a class="md2man-reference" href="../man1/tork-driver.1.html">tork-driver(1)</a></p></div></body>
|
13
13
|
</html>
|
data/man/man1/tork-master.1
CHANGED
data/man/man1/tork-master.1.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<link rel="stylesheet" href="../style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
9
9
|
</head>
|
10
|
-
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-master.1</span></div></div><div class="container-fluid"><h1 id="tork-master-1-2014-
|
10
|
+
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-master.1</span></div></div><div class="container-fluid"><h1 id="tork-master-1-2014-10-24-19-11-1"><a name="tork-master-1-2014-10-24-19-11-1" href="#tork-master-1-2014-10-24-19-11-1" class="md2man-permalink" title="permalink"></a><span class="md2man-title">TORK-MASTER</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-10-24</span> <span class="md2man-source">19.11.1</span></h1><h2 id="name"><a name="name" href="#name" class="md2man-permalink" title="permalink"></a>NAME</h2><p>tork-master - absorbs overhead and runs tests</p><h2 id="synopsis"><a name="synopsis" href="#synopsis" class="md2man-permalink" title="permalink"></a>SYNOPSIS</h2><p><code>tork-master</code> [<em>OPTION</em>]...</p><h2 id="description"><a name="description" href="#description" class="md2man-permalink" title="permalink"></a>DESCRIPTION</h2><p>This program absorbs your Ruby application's test execution overhead once and
|
11
11
|
simply <a class="md2man-reference">fork(3)</a>s worker processses to run your tests thereafter. As a result,
|
12
12
|
your tests run faster because they no longer spend any time absorbing the test
|
13
13
|
execution overhead: worker processes simply inherit the overhead when forked.</p><p>This program can be controlled remotely by multiple <a class="md2man-reference" href="../man1/tork-remote.1.html">tork-remote(1)</a> instances.</p><h3 id="input"><a name="input" href="#input" class="md2man-permalink" title="permalink"></a>Input</h3><p>This program reads the following commands, which are single-line JSON arrays,
|
data/man/man1/tork-notify.1
CHANGED
data/man/man1/tork-notify.1.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<link rel="stylesheet" href="../style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
9
9
|
</head>
|
10
|
-
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-notify.1</span></div></div><div class="container-fluid"><h1 id="tork-notify-1-2014-
|
10
|
+
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-notify.1</span></div></div><div class="container-fluid"><h1 id="tork-notify-1-2014-10-24-19-11-1"><a name="tork-notify-1-2014-10-24-19-11-1" href="#tork-notify-1-2014-10-24-19-11-1" class="md2man-permalink" title="permalink"></a><span class="md2man-title">TORK-NOTIFY</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-10-24</span> <span class="md2man-source">19.11.1</span></h1><h2 id="name"><a name="name" href="#name" class="md2man-permalink" title="permalink"></a>NAME</h2><p>tork-notify - notifies you of test status changes</p><h2 id="synopsis"><a name="synopsis" href="#synopsis" class="md2man-permalink" title="permalink"></a>SYNOPSIS</h2><p><code>tork-notify</code> [<em>OPTION</em>]...</p><h2 id="description"><a name="description" href="#description" class="md2man-permalink" title="permalink"></a>DESCRIPTION</h2><p>This program serves as an example of how to receive and process messages sent
|
11
11
|
by the various programs in the <a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a> suite. It notifies you when previously
|
12
12
|
passing tests fail (or vice versa) through libnotify, xmessage, or growl. If
|
13
13
|
none are available on your system, then the notification is printed to stdout.</p><h2 id="options"><a name="options" href="#options" class="md2man-permalink" title="permalink"></a>OPTIONS</h2><dl><dt><code>-h</code>, <code>--help</code></dt><dd>Show this help manual.</dd></dl><h2 id="exit-status"><a name="exit-status" href="#exit-status" class="md2man-permalink" title="permalink"></a>EXIT STATUS</h2><p>See <a class="md2man-reference" href="../man1/tork-remote.1.html">tork-remote(1)</a>.</p><h2 id="see-also"><a name="see-also" href="#see-also" class="md2man-permalink" title="permalink"></a>SEE ALSO</h2><p><a class="md2man-reference" href="../man1/tork-remote.1.html">tork-remote(1)</a>, <a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a></p></div></body>
|
data/man/man1/tork-runner.1
CHANGED
data/man/man1/tork-runner.1.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<link rel="stylesheet" href="../style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
9
9
|
</head>
|
10
|
-
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-runner.1</span></div></div><div class="container-fluid"><h1 id="tork-runner-1-2014-
|
10
|
+
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-runner.1</span></div></div><div class="container-fluid"><h1 id="tork-runner-1-2014-10-24-19-11-1"><a name="tork-runner-1-2014-10-24-19-11-1" href="#tork-runner-1-2014-10-24-19-11-1" class="md2man-permalink" title="permalink"></a><span class="md2man-title">TORK-RUNNER</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-10-24</span> <span class="md2man-source">19.11.1</span></h1><h2 id="name"><a name="name" href="#name" class="md2man-permalink" title="permalink"></a>NAME</h2><p>tork-runner - runs tests once, non-interactively</p><h2 id="synopsis"><a name="synopsis" href="#synopsis" class="md2man-permalink" title="permalink"></a>SYNOPSIS</h2><p><code>tork-runner</code> [<em>OPTION</em>]... [<em>TEST_FILE_GLOB</em>]...</p><h2 id="description"><a name="description" href="#description" class="md2man-permalink" title="permalink"></a>DESCRIPTION</h2><p>This program can be thought of as a non-interactive version of <a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>. It
|
11
11
|
runs all test files that match the given <em>TEST_FILE_GLOB</em>s and then exits
|
12
12
|
with a nonzero status if any tests failed. If none are given, it runs all
|
13
13
|
test files known to <code>Tork::Driver::TEST_FILE_GLOBBERS</code> in <a class="md2man-reference" href="../man1/tork-driver.1.html">tork-driver(1)</a>.</p><h3 id="output"><a name="output" href="#output" class="md2man-permalink" title="permalink"></a>Output</h3><p>This program prints the following messages to stdout.</p><dl><dt><code>>></code> <em>failed_test_log_file</em> <code><<</code></dt><dd>This message will be followed by the content of <em>failed_test_log_file</em>.</dd></dl><dl><dt><em>T</em> <code>tested,</code> <em>P</em> <code>passed,</code> <em>F</em> <code>failed</code></dt><dd><em>T</em> test files were tested and <em>P</em> of them passed but <em>F</em> of them failed.</dd></dl><p>This program prints the following messages to stderr if it is a TTY device.</p><dl><dt><code>tork-runner:</code> <em>NN.N</em><code>% tested</code></dt><dd><em>NN.N</em> percent of test files were tested so far.</dd></dl><h2 id="options"><a name="options" href="#options" class="md2man-permalink" title="permalink"></a>OPTIONS</h2><dl><dt><code>-h</code>, <code>--help</code></dt><dd>Show this help manual.</dd></dl><h2 id="exit-status"><a name="exit-status" href="#exit-status" class="md2man-permalink" title="permalink"></a>EXIT STATUS</h2><dl><dt>0</dt><dd>All test files passed.</dd></dl><dl><dt>1</dt><dd>One or more test files failed.</dd></dl><h2 id="environment"><a name="environment" href="#environment" class="md2man-permalink" title="permalink"></a>ENVIRONMENT</h2><p>See <a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>.</p><h2 id="see-also"><a name="see-also" href="#see-also" class="md2man-permalink" title="permalink"></a>SEE ALSO</h2><p><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>, <a class="md2man-reference" href="../man1/tork-driver.1.html">tork-driver(1)</a></p></div></body>
|
data/man/man1/tork.1
CHANGED
data/man/man1/tork.1.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<link rel="stylesheet" href="../style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
9
9
|
</head>
|
10
|
-
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork.1</span></div></div><div class="container-fluid"><h1 id="tork-1-2014-
|
10
|
+
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork.1</span></div></div><div class="container-fluid"><h1 id="tork-1-2014-10-24-19-11-1"><a name="tork-1-2014-10-24-19-11-1" href="#tork-1-2014-10-24-19-11-1" class="md2man-permalink" title="permalink"></a><span class="md2man-title">TORK</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-10-24</span> <span class="md2man-source">19.11.1</span></h1><h2 id="name"><a name="name" href="#name" class="md2man-permalink" title="permalink"></a>NAME</h2><p>tork - Continuous testing tool for Ruby</p><h2 id="synopsis"><a name="synopsis" href="#synopsis" class="md2man-permalink" title="permalink"></a>SYNOPSIS</h2><p><code>tork</code> [<em>OPTION</em>]... [<em>CONFIG</em>]...</p><h2 id="description"><a name="description" href="#description" class="md2man-permalink" title="permalink"></a>DESCRIPTION</h2><p>This program can be thought of as an interactive version of <a class="md2man-reference" href="../man1/tork-runner.1.html">tork-runner(1)</a>.
|
11
11
|
It functions as a rudimentary command-line user interface to <a class="md2man-reference" href="../man1/tork-driver.1.html">tork-driver(1)</a>.</p><p>First, it applies the given <em>CONFIG</em> values, which are either (1) paths to
|
12
12
|
directories that contain configuration files or (2) names of configuration
|
13
13
|
helpers listed in the description of the <code>TORK_CONFIGS</code> environment variable.</p><p>Next, it waits for you to supply interactive commands either (1) directly on
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 19.
|
4
|
+
version: 19.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Suraj N. Kurapati
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-10-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: md2man
|
@@ -148,6 +148,9 @@ files:
|
|
148
148
|
- lib/tork/config/rails/driver.rb
|
149
149
|
- lib/tork/config/rails/master.rb
|
150
150
|
- lib/tork/config/rails/worker.rb
|
151
|
+
- lib/tork/config/rspec-rails/detect.rb
|
152
|
+
- lib/tork/config/rspec-rails/driver.rb
|
153
|
+
- lib/tork/config/rspec-rails/master.rb
|
151
154
|
- lib/tork/config/spec/config.rb
|
152
155
|
- lib/tork/config/spec/detect.rb
|
153
156
|
- lib/tork/config/spec/driver.rb
|