tork 19.11.1 → 20.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/lib/tork/master.rb CHANGED
@@ -17,7 +17,7 @@ class Master < Server
17
17
  def initialize
18
18
  super
19
19
  Tork.config :master
20
- send @clients, [:absorb]
20
+ send @clients, [:boot]
21
21
 
22
22
  @worker_number_pool = (0 ... MAX_CONCURRENT_WORKERS).to_a
23
23
  @command_by_worker_pid = {}
data/lib/tork/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tork
2
- VERSION = "19.11.1"
2
+ VERSION = "20.0.0"
3
3
  end
data/man/index.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 3.0.1 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 4.0.0 https://github.com/sunaku/md2man" />
6
6
  <title>man/index</title>
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]-->
data/man/man0/README.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 3.0.1 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 4.0.0 https://github.com/sunaku/md2man" />
6
6
  <title>README</title>
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]-->
@@ -63,15 +63,13 @@ performed <em>automatically</em>. However, to run a test file <em>manually</em>
63
63
  inside your newly saved test file have changed (using diff and regexps)
64
64
  and then attempts to run just those. To make it run <em>all</em> tests in your
65
65
  saved file, simply save the file <em>again</em> without changing it.</p></li>
66
- <li><p>Type <code>t</code> followed by a space and the file you want to run into <a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>:</p>
67
- <pre><code># run all of test/some_test.rb
66
+ <li><p>Type <code>t</code> followed by a space and the file you want to run into <a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>:</p><pre><code># run all of test/some_test.rb
68
67
  t test/some_test.rb
69
68
 
70
69
  # run lines 4, 33, and 21 of test/some_test.rb
71
70
  t test/some_test.rb 4 33 21
72
71
  </code></pre></li>
73
- <li><p>Send a <code>[&quot;run_test_file&quot;]</code> message to <a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a> using <a class="md2man-reference" href="../man1/tork-remote.1.html">tork-remote(1)</a>:</p>
74
- <pre><code># run all of test/some_test.rb
72
+ <li><p>Send a <code>[&quot;run_test_file&quot;]</code> message to <a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a> using <a class="md2man-reference" href="../man1/tork-remote.1.html">tork-remote(1)</a>:</p><pre><code># run all of test/some_test.rb
75
73
  echo run_test_file test/some_test.rb | tork-remote tork-engine
76
74
 
77
75
  # run lines 4, 33, and 21 of test/some_test.rb
@@ -79,47 +77,38 @@ echo run_test_file test/some_test.rb 4 33 21 | tork-remote tork-engine
79
77
  </code></pre></li>
80
78
  </ol>
81
79
  <p>Alternatively, you can use <a class="md2man-reference" href="../man1/tork-runner.1.html">tork-runner(1)</a> to run your test suite in one shot
82
- and then exit with a nonzero status if tests failed, similar to <code>rake test</code>.</p><h2 id="installation"><a name="installation" href="#installation" class="md2man-permalink" title="permalink"></a>Installation</h2>
83
- <pre><code>gem install tork
80
+ and then exit with a nonzero status if tests failed, similar to <code>rake test</code>.</p><h2 id="installation"><a name="installation" href="#installation" class="md2man-permalink" title="permalink"></a>Installation</h2><pre><code>gem install tork
84
81
  </code></pre>
85
82
  <h3 id="prerequisites"><a name="prerequisites" href="#prerequisites" class="md2man-permalink" title="permalink"></a>Prerequisites</h3>
86
83
  <ul>
87
84
  <li><p>Ruby 1.8.7 or 1.9.3 or newer.</p></li>
88
85
  <li><p>Operating system that supports POSIX signals and the <code>fork()</code> system call.
89
- To check if your system qualifies, launch <a class="md2man-reference">irb(1)</a> and enter the following:</p>
90
- <pre><code>Process.respond_to? :fork # must be true
86
+ To check if your system qualifies, launch <a class="md2man-reference">irb(1)</a> and enter the following:</p><pre><code>Process.respond_to? :fork # must be true
91
87
  Signal.list.key? &#39;TERM&#39; # must be true
92
88
  Signal.list.key? &#39;KILL&#39; # must be true
93
89
  </code></pre></li>
94
- <li><p>To make the <a class="md2man-reference" href="../man1/tork-herald.1.html">tork-herald(1)</a> program&#39;s filesystem monitoring more efficient:</p>
95
- <pre><code>gem install rb-inotify # linux
90
+ <li><p>To make the <a class="md2man-reference" href="../man1/tork-herald.1.html">tork-herald(1)</a> program&#39;s filesystem monitoring more efficient:</p><pre><code>gem install rb-inotify # linux
96
91
  gem install rb-fsevent # macosx
97
92
  </code></pre></li>
98
93
  </ul>
99
- <h3 id="development"><a name="development" href="#development" class="md2man-permalink" title="permalink"></a>Development</h3>
100
- <pre><code>git clone git://github.com/sunaku/tork
94
+ <h3 id="development"><a name="development" href="#development" class="md2man-permalink" title="permalink"></a>Development</h3><pre><code>git clone git://github.com/sunaku/tork
101
95
  cd tork
102
96
  bundle install
103
97
  bundle exec tork --help # run it directly
104
98
  bundle exec rake --tasks # packaging tasks
105
99
  </code></pre>
106
- <h2 id="usage"><a name="usage" href="#usage" class="md2man-permalink" title="permalink"></a>Usage</h2><h3 id="at-the-command-line"><a name="at-the-command-line" href="#at-the-command-line" class="md2man-permalink" title="permalink"></a>At the command line</h3>
107
- <pre><code>tork --help
100
+ <h2 id="usage"><a name="usage" href="#usage" class="md2man-permalink" title="permalink"></a>Usage</h2><h3 id="at-the-command-line"><a name="at-the-command-line" href="#at-the-command-line" class="md2man-permalink" title="permalink"></a>At the command line</h3><pre><code>tork --help
108
101
  </code></pre>
109
- <p>You can add line editing, history, and filename completion:</p>
110
- <pre><code>rlwrap -c tork
102
+ <p>You can add line editing, history, and filename completion:</p><pre><code>rlwrap -c tork
111
103
  </code></pre>
112
- <p>You can control <a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a> interactively from another terminal:</p>
113
- <pre><code>tork-remote tork-engine
104
+ <p>You can control <a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a> interactively from another terminal:</p><pre><code>tork-remote tork-engine
114
105
  # type your commands here, one per line.
115
- # press Control-D to exit <a class="md2man-reference" href="../man1/tork-remote.1.html">tork-remote(1)</a>
106
+ # press Control-D to exit tork-remote(1)
116
107
  </code></pre>
117
- <p>You can also do the same non-interactively using a pipeline:</p>
118
- <pre><code># run lines 4, 33, and 21 of test/some_test.rb
108
+ <p>You can also do the same non-interactively using a pipeline:</p><pre><code># run lines 4, 33, and 21 of test/some_test.rb
119
109
  echo run_test_file test/some_test.rb 4 33 21 | tork-remote tork-engine
120
110
  </code></pre>
121
- <p>You can monitor your test processes from another terminal:</p>
122
- <pre><code>watch &#39;pgrep -f ^tork | xargs -r ps uf&#39;
111
+ <p>You can monitor your test processes from another terminal:</p><pre><code>watch &#39;pgrep -f ^tork | xargs -r ps uf&#39;
123
112
  </code></pre>
124
113
  <h3 id="with-bundler"><a name="with-bundler" href="#with-bundler" class="md2man-permalink" title="permalink"></a>With Bundler</h3><p>The <code>bundler</code> configuration helper loads a Bundler bundle into <a class="md2man-reference" href="../man1/tork-master.1.html">tork-master(1)</a>.
125
114
  The <code>default</code> configuration helper does this for you automatically if there is
@@ -134,8 +123,7 @@ avoid this problem or <a href="https://github.com/rspec/rspec-core/pull/720/file
134
123
  by an uncaught exception) is overridden by RSpec&#39;s <code>Kernel#at_exit</code> handler to
135
124
  be zero, thereby falsely indicating that a spec had passed. <a href="https://github.com/rspec/rspec-core/pull/569/files">This patch</a> fixes the problem.</p><h3 id="with-ruby-on-rails"><a name="with-ruby-on-rails" href="#with-ruby-on-rails" class="md2man-permalink" title="permalink"></a>With <a href="http://rubyonrails.org">Ruby on Rails</a></h3><p>For Rails 3 or newer, use the <code>rails</code> configuration helper <em>before</em> the <code>test</code>
136
125
  or <code>spec</code> helpers. Otherwise your test helper will load Rails <em>before</em> the
137
- specified <code>rails</code> configuration helper has a chance to disable class caching!</p><p>For older Rails, make sure your <code>config/environments/test.rb</code> file contains:</p>
138
- <pre><code>config.cache_classes = false
126
+ specified <code>rails</code> configuration helper has a chance to disable class caching!</p><p>For older Rails, make sure your <code>config/environments/test.rb</code> file contains:</p><pre><code>config.cache_classes = false
139
127
  </code></pre>
140
128
  <p>For older Rails, to use SQLite3 as your test database, install the <a href="https://github.com/stepahn/memory_test_fix">in-memory
141
129
  database adapter</a>. Otherwise, you <em>might</em> face these errors:</p>
@@ -2,22 +2,83 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 3.0.1 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 4.0.0 https://github.com/sunaku/md2man" />
6
6
  <title>VERSION</title>
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-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>
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-20-0-0-2014-10-26"><a name="version-20-0-0-2014-10-26" href="#version-20-0-0-2014-10-26" class="md2man-permalink" title="permalink"></a>Version 20.0.0 (2014-10-26)</h2><h3 id="major"><a name="major" href="#major" class="md2man-permalink" title="permalink"></a>Major:</h3>
11
+ <ul>
12
+ <li><p><a class="md2man-reference" href="../man1/tork-runner.1.html">tork-runner(1)</a>: percentage lied; print counts instead.</p><p>The percentage of completion is not accurate because it only measures
13
+ how many tests that have started running <em>so far</em> have been completed.
14
+ This makes the percentage jump from 100% to lesser values as tests run.</p><p>Also drop the <code>tork-runner:</code> prefix from progress messages and replace
15
+ VT100 escape codes for reprinting in-place with a \r (carriage return).</p></li>
16
+ <li><p>Shorten all status message tokens to ~4 characters.</p>
17
+ <ul>
18
+ <li>In <a class="md2man-reference" href="../man1/tork-driver.1.html">tork-driver(1)</a>:
19
+
20
+ <ul>
21
+ <li><code>reabsorb</code> is now <code>over</code></li>
22
+ </ul></li>
23
+ <li>In <a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a>:
24
+
25
+ <ul>
26
+ <li><code>idle</code> is now <code>done</code></li>
27
+ <li><code>pass_now_fail</code> is now <code>fail!</code></li>
28
+ <li><code>fail_now_pass</code> is now <code>pass!</code></li>
29
+ </ul></li>
30
+ <li>In <a class="md2man-reference" href="../man1/tork-master.1.html">tork-master(1)</a>:
31
+
32
+ <ul>
33
+ <li><code>absorb</code> is now <code>boot</code></li>
34
+ </ul></li>
35
+ </ul></li>
36
+ <li><p>Shorten all commands names down to ~4 characters.</p>
37
+ <ul>
38
+ <li>In <a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>:
39
+
40
+ <ul>
41
+ <li>the <code>o</code> input command character is now named <code>b</code></li>
42
+ </ul></li>
43
+ <li>In <a class="md2man-reference" href="../man1/tork-driver.1.html">tork-driver(1)</a>:
44
+
45
+ <ul>
46
+ <li>the <code>run_all_test_files</code> command is now named <code>test!</code></li>
47
+ <li>the <code>over</code> message is now named <code>boot!</code></li>
48
+ </ul></li>
49
+ <li>In <a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a>:
50
+
51
+ <ul>
52
+ <li>the <code>reabsorb_overhead</code> command is now named <code>boot!</code></li>
53
+ <li>the <code>run_test_file</code> command is now named <code>test</code></li>
54
+ <li>the <code>run_test_files</code> command is now named <code>test</code></li>
55
+ <li>the <code>stop_running_test_files</code> command is now named <code>stop</code></li>
56
+ <li>the <code>rerun_passed_test_files</code> command is now named <code>pass!</code></li>
57
+ <li>the <code>rerun_failed_test_files</code> command is now named <code>fail!</code></li>
58
+ <li>the <code>list_failed_test_files</code> command is now named <code>fail?</code></li>
59
+ <li>the <code>over</code> status message is now named <code>boot!</code></li>
60
+ </ul></li>
61
+ </ul></li>
62
+ </ul>
63
+ <h3 id="minor"><a name="minor" href="#minor" class="md2man-permalink" title="permalink"></a>Minor:</h3>
64
+ <ul>
65
+ <li><p><a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a>: add <code>test?</code> and <code>pass?</code> listing commands.</p></li>
66
+ <li><p><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>: emit &quot;tork:&quot; prefix on all messages sent to user.</p></li>
67
+ </ul>
68
+ <h3 id="other"><a name="other" href="#other" class="md2man-permalink" title="permalink"></a>Other:</h3>
69
+ <ul>
70
+ <li>Upgrade to md2man 4.0 and binman 4.0.</li>
71
+ </ul>
72
+ <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
73
  <ul>
12
74
  <li><p>GH-61: <code>uninitialized constant RSpec</code> for rspec &gt; 3 (Jonathan Cairns).</p></li>
13
75
  <li><p>Fix TypeError in driver when multiple globs are used (Jonathan Cairns).</p></li>
14
76
  <li><p>Simple fix for detecting rails 4 apps (Jonathan Cairns).</p></li>
15
77
  </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>
78
+ <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-1"><a name="minor-1" href="#minor-1" class="md2man-permalink" title="permalink"></a>Minor:</h3>
17
79
  <ul>
18
80
  <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
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>
20
- <pre><code>tork: 10 tested, 10 passed, 0 failed
81
+ allows <a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a> to summarize a run after tests finish running, as follows:</p><pre><code>tork: 10 tested, 10 passed, 0 failed
21
82
  </code></pre></li>
22
83
  <li><p><a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a>: add <code>list_failed_test_files</code> command that lists all test
23
84
  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:
@@ -30,11 +91,11 @@ This makes Tork load configuration helpers faster on slow file-systems.</p></li>
30
91
  <li><p>Use block-form of Dir.glob() to react more quickly on slow file-systems.
31
92
  This makes <a class="md2man-reference" href="../man1/tork-driver.1.html">tork-driver(1)</a>&#39;s <code>run_all_test_files</code> command more responsive.</p></li>
32
93
  </ul>
33
- <h3 id="other"><a name="other" href="#other" class="md2man-permalink" title="permalink"></a>Other:</h3>
94
+ <h3 id="other-1"><a name="other-1" href="#other-1" class="md2man-permalink" title="permalink"></a>Other:</h3>
34
95
  <ul>
35
96
  <li>Align error/help message wording with manual pages.</li>
36
97
  </ul>
37
- <h2 id="version-19-9-0-2014-07-17"><a name="version-19-9-0-2014-07-17" href="#version-19-9-0-2014-07-17" class="md2man-permalink" title="permalink"></a>Version 19.9.0 (2014-07-17)</h2><h3 id="minor-1"><a name="minor-1" href="#minor-1" class="md2man-permalink" title="permalink"></a>Minor:</h3>
98
+ <h2 id="version-19-9-0-2014-07-17"><a name="version-19-9-0-2014-07-17" href="#version-19-9-0-2014-07-17" class="md2man-permalink" title="permalink"></a>Version 19.9.0 (2014-07-17)</h2><h3 id="minor-2"><a name="minor-2" href="#minor-2" class="md2man-permalink" title="permalink"></a>Minor:</h3>
38
99
  <ul>
39
100
  <li><p>Add support for testing outside <code>test/</code> and <code>spec/</code> directories. This
40
101
  change lets you run test files directly from the current working directory
@@ -51,7 +112,7 @@ inspect them quickly to find where errors are arising in their code.</p></li>
51
112
  <ul>
52
113
  <li>Only 1 worker was being used on a dual-core system.</li>
53
114
  </ul>
54
- <h3 id="other-1"><a name="other-1" href="#other-1" class="md2man-permalink" title="permalink"></a>Other:</h3>
115
+ <h3 id="other-2"><a name="other-2" href="#other-2" class="md2man-permalink" title="permalink"></a>Other:</h3>
55
116
  <ul>
56
117
  <li><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>: use complete sentences in the help message.</li>
57
118
  </ul>
@@ -69,12 +130,12 @@ For example, with relative directory traversals and redundant slashes.</p></li>
69
130
  killed so it should be safe to delete it and start up a new server.</p></li>
70
131
  <li><p>tork/server: ensure that <a class="md2man-reference" href="../man1/tork-remote.1.html">tork-remote(1)</a> gets the same ARGV we did.</p></li>
71
132
  </ul>
72
- <h3 id="other-2"><a name="other-2" href="#other-2" class="md2man-permalink" title="permalink"></a>Other:</h3>
133
+ <h3 id="other-3"><a name="other-3" href="#other-3" class="md2man-permalink" title="permalink"></a>Other:</h3>
73
134
  <ul>
74
135
  <li><p>Rename <code>*.md</code> file extension to the full <code>*.markdown</code>.</p></li>
75
136
  <li><p>README: link to manuals index; demote package link.</p></li>
76
137
  </ul>
77
- <h2 id="version-19-8-0-2014-06-23"><a name="version-19-8-0-2014-06-23" href="#version-19-8-0-2014-06-23" class="md2man-permalink" title="permalink"></a>Version 19.8.0 (2014-06-23)</h2><h3 id="minor-2"><a name="minor-2" href="#minor-2" class="md2man-permalink" title="permalink"></a>Minor:</h3>
138
+ <h2 id="version-19-8-0-2014-06-23"><a name="version-19-8-0-2014-06-23" href="#version-19-8-0-2014-06-23" class="md2man-permalink" title="permalink"></a>Version 19.8.0 (2014-06-23)</h2><h3 id="minor-3"><a name="minor-3" href="#minor-3" class="md2man-permalink" title="permalink"></a>Minor:</h3>
78
139
  <ul>
79
140
  <li><p>Add <code>bundler</code> configuration helper to load a bundle into <a class="md2man-reference" href="../man1/tork-master.1.html">tork-master(1)</a>.</p><p>This lets you run Tork inside any application that uses Bundler without
80
141
  having to first add Tork to its <code>Gemfile</code> and then <code>bundle install</code> it.
@@ -82,15 +143,13 @@ In fact, installing the Tork gem <em>outside</em> of the bundle is sufficient.</
82
143
  </ul>
83
144
  <h3 id="patch-5"><a name="patch-5" href="#patch-5" class="md2man-permalink" title="permalink"></a>Patch:</h3>
84
145
  <ul>
85
- <li><p>Server: fix crash when Fixnum is sent as a message.</p>
86
- <pre><code>lib/tork/server.rb:45:in `block (2 levels) in loop&#39;:
146
+ <li><p>Server: fix crash when Fixnum is sent as a message.</p><pre><code>lib/tork/server.rb:45:in `block (2 levels) in loop&#39;:
87
147
  undefined method `empty?&#39; for 6:Fixnum (NoMethodError)
88
148
 
89
149
  lib/tork/cliapp.rb:59:in `recv&#39;:
90
150
  undefined method `lstrip&#39; for 6:Fixnum (NoMethodError)
91
151
  </code></pre>
92
- <p>Because JSON.load() and JSON.parse() are different:</p>
93
- <pre><code>$ irb -r json
152
+ <p>Because JSON.load() and JSON.parse() are different:</p><pre><code>$ irb -r json
94
153
  &gt;&gt; JSON.load &#39;6&#39;
95
154
  6
96
155
  &gt;&gt; JSON.parse &#39;6&#39;
@@ -102,11 +161,11 @@ JSON::ParserError: A JSON text must at least contain two octets!
102
161
  from /usr/bin/irb:11:in `&lt;main&gt;&#39;
103
162
  </code></pre></li>
104
163
  </ul>
105
- <h3 id="other-3"><a name="other-3" href="#other-3" class="md2man-permalink" title="permalink"></a>Other:</h3>
164
+ <h3 id="other-4"><a name="other-4" href="#other-4" class="md2man-permalink" title="permalink"></a>Other:</h3>
106
165
  <ul>
107
166
  <li>Upgrade to md2man 3.0 for improved HTML manuals.</li>
108
167
  </ul>
109
- <h2 id="version-19-7-0-2014-03-04"><a name="version-19-7-0-2014-03-04" href="#version-19-7-0-2014-03-04" class="md2man-permalink" title="permalink"></a>Version 19.7.0 (2014-03-04)</h2><p>This release automatically re-runs failed tests after reabsorbing overhead.</p><h3 id="minor-3"><a name="minor-3" href="#minor-3" class="md2man-permalink" title="permalink"></a>Minor:</h3>
168
+ <h2 id="version-19-7-0-2014-03-04"><a name="version-19-7-0-2014-03-04" href="#version-19-7-0-2014-03-04" class="md2man-permalink" title="permalink"></a>Version 19.7.0 (2014-03-04)</h2><p>This release automatically re-runs failed tests after reabsorbing overhead.</p><h3 id="minor-4"><a name="minor-4" href="#minor-4" class="md2man-permalink" title="permalink"></a>Minor:</h3>
110
169
  <ul>
111
170
  <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
112
171
  patch</a>.</p></li>
@@ -116,7 +175,7 @@ patch</a>.</p></li>
116
175
  <li><p>Rails &lt; 3.1.0 does not have <code>connection_config()</code>.</p></li>
117
176
  <li><p><code>schema_cache()</code> is only defined in Rails &gt;= 4.</p></li>
118
177
  </ul>
119
- <h2 id="version-19-6-0-2014-01-02"><a name="version-19-6-0-2014-01-02" href="#version-19-6-0-2014-01-02" class="md2man-permalink" title="permalink"></a>Version 19.6.0 (2014-01-02)</h2><p>This release improves <a class="md2man-reference" href="../man1/tork-runner.1.html">tork-runner(1)</a> responsiveness and fixes <a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a>.</p><h3 id="minor-4"><a name="minor-4" href="#minor-4" class="md2man-permalink" title="permalink"></a>Minor:</h3>
178
+ <h2 id="version-19-6-0-2014-01-02"><a name="version-19-6-0-2014-01-02" href="#version-19-6-0-2014-01-02" class="md2man-permalink" title="permalink"></a>Version 19.6.0 (2014-01-02)</h2><p>This release improves <a class="md2man-reference" href="../man1/tork-runner.1.html">tork-runner(1)</a> responsiveness and fixes <a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a>.</p><h3 id="minor-5"><a name="minor-5" href="#minor-5" class="md2man-permalink" title="permalink"></a>Minor:</h3>
120
179
  <ul>
121
180
  <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>
122
181
  </ul>
@@ -136,7 +195,7 @@ connection to the test database instead of re-using our in-memory DB.</p><p><a h
136
195
  </ul>
137
196
  <h2 id="version-19-5-0-2013-11-30"><a name="version-19-5-0-2013-11-30" href="#version-19-5-0-2013-11-30" class="md2man-permalink" title="permalink"></a>Version 19.5.0 (2013-11-30)</h2><p>This release adds a <a class="md2man-reference" href="../man1/tork-runner.1.html">tork-runner(1)</a> program for non-interactive test execution,
138
197
  makes connections to tork subprocesses self-healing, eliminates &quot;address
139
- already in use&quot; errors, and fixes bugs in <a class="md2man-reference" href="../man1/tork-herald.1.html">tork-herald(1)</a> and <a class="md2man-reference" href="../man1/tork-notify.1.html">tork-notify(1)</a>.</p><h3 id="minor-5"><a name="minor-5" href="#minor-5" class="md2man-permalink" title="permalink"></a>Minor:</h3>
198
+ already in use&quot; errors, and fixes bugs in <a class="md2man-reference" href="../man1/tork-herald.1.html">tork-herald(1)</a> and <a class="md2man-reference" href="../man1/tork-notify.1.html">tork-notify(1)</a>.</p><h3 id="minor-6"><a name="minor-6" href="#minor-6" class="md2man-permalink" title="permalink"></a>Minor:</h3>
140
199
  <ul>
141
200
  <li><p>Add <a class="md2man-reference" href="../man1/tork-runner.1.html">tork-runner(1)</a> to run tests once, non-interactively, and then exit.</p><p>You can use <a class="md2man-reference" href="../man1/tork-runner.1.html">tork-runner(1)</a> to run your test suite in one shot and then
142
201
  exit with a nonzero status if tests failed, similar to <code>rake test</code>.</p></li>
@@ -160,8 +219,7 @@ the common socket files (currently belonging to the former) upon exit.</p></li>
160
219
  <li><p>Fail earlier on socket bind: avoid wasted overhead.</p><p>Before this patch, <a class="md2man-reference" href="../man1/tork-master.1.html">tork-master(1)</a> would first pay the price of absorbing
161
220
  the test execution overhead before trying to bind its socket. In case
162
221
  of socket bind failure, the process would exit and the overhead wasted.</p></li>
163
- <li><p>Server: don&#39;t call method for empty command array.</p><p>This error would occur when pressing ENTER in tork-remote tork-driver:</p>
164
- <pre><code>tork-driver: #&lt;ArgumentError: no method name given&gt;
222
+ <li><p>Server: don&#39;t call method for empty command array.</p><p>This error would occur when pressing ENTER in tork-remote tork-driver:</p><pre><code>tork-driver: #&lt;ArgumentError: no method name given&gt;
165
223
  tork-driver: /home/skurapati/lab/tork/lib/tork/server.rb:74:in `recv&#39;
166
224
  tork-driver: /home/skurapati/lab/tork/lib/tork/driver.rb:64:in `recv&#39;
167
225
  tork-driver: /home/skurapati/lab/tork/lib/tork/server.rb:46:in `block (2 levels) in loop&#39;
@@ -182,25 +240,25 @@ tork-driver: /home/skurapati/.rvm/gems/ruby-1.9.3-p448/bin/tork-driver:23:in `&l
182
240
  </ul></li>
183
241
  <li><p><a class="md2man-reference" href="../man1/tork-herald.1.html">tork-herald(1)</a>: downgrade to listen 1.x gem to maintain Ruby 1.8 support.</p></li>
184
242
  </ul>
185
- <h3 id="other-4"><a name="other-4" href="#other-4" class="md2man-permalink" title="permalink"></a>Other:</h3>
243
+ <h3 id="other-5"><a name="other-5" href="#other-5" class="md2man-permalink" title="permalink"></a>Other:</h3>
186
244
  <ul>
187
245
  <li><p>GH-56: specify license in gemspec for rubygems.org.</p></li>
188
246
  <li><p>Document <a class="md2man-reference">sh(1)</a> word splitting in manual pages of all tork servers.</p></li>
189
247
  <li><p>README: use <code>ps uf</code> to visualize process hierarchy.</p></li>
190
248
  </ul>
191
- <h2 id="version-19-4-0-2013-11-25"><a name="version-19-4-0-2013-11-25" href="#version-19-4-0-2013-11-25" class="md2man-permalink" title="permalink"></a>Version 19.4.0 (2013-11-25)</h2><h3 id="minor-6"><a name="minor-6" href="#minor-6" class="md2man-permalink" title="permalink"></a>Minor:</h3>
249
+ <h2 id="version-19-4-0-2013-11-25"><a name="version-19-4-0-2013-11-25" href="#version-19-4-0-2013-11-25" class="md2man-permalink" title="permalink"></a>Version 19.4.0 (2013-11-25)</h2><h3 id="minor-7"><a name="minor-7" href="#minor-7" class="md2man-permalink" title="permalink"></a>Minor:</h3>
192
250
  <ul>
193
251
  <li>The &quot;rails&quot; configuration helper now automatically sets up your test
194
252
  database for Tork&#39;s parallel testing system if your test database is
195
253
  SQLite3 and you are using Rails 3 or newer.</li>
196
254
  </ul>
197
- <h3 id="other-5"><a name="other-5" href="#other-5" class="md2man-permalink" title="permalink"></a>Other:</h3>
255
+ <h3 id="other-6"><a name="other-6" href="#other-6" class="md2man-permalink" title="permalink"></a>Other:</h3>
198
256
  <ul>
199
257
  <li><p>rails: remove unused capture of rescued exception</p></li>
200
258
  <li><p>coverage: document the use of Ruby 1.9 hash syntax</p></li>
201
259
  <li><p>rename <code>*.markdown</code> file extension to shorter <code>*.md</code></p></li>
202
260
  </ul>
203
- <h2 id="version-19-3-2-2013-10-29"><a name="version-19-3-2-2013-10-29" href="#version-19-3-2-2013-10-29" class="md2man-permalink" title="permalink"></a>Version 19.3.2 (2013-10-29)</h2><h3 id="other-6"><a name="other-6" href="#other-6" class="md2man-permalink" title="permalink"></a>Other:</h3>
261
+ <h2 id="version-19-3-2-2013-10-29"><a name="version-19-3-2-2013-10-29" href="#version-19-3-2-2013-10-29" class="md2man-permalink" title="permalink"></a>Version 19.3.2 (2013-10-29)</h2><h3 id="other-7"><a name="other-7" href="#other-7" class="md2man-permalink" title="permalink"></a>Other:</h3>
204
262
  <ul>
205
263
  <li><p>GH-55: upgrade listen &amp; rake gem dependencies.</p><p>Thanks to Matthew Albright for reporting this issue in GH-55:
206
264
  <a href="https://github.com/sunaku/tork/issues/55">https://github.com/sunaku/tork/issues/55</a></p></li>
@@ -210,17 +268,17 @@ SQLite3 and you are using Rails 3 or newer.</li>
210
268
  <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:
211
269
  <a href="https://github.com/sunaku/tork/issues/53">https://github.com/sunaku/tork/issues/53</a></p></li>
212
270
  </ul>
213
- <h3 id="other-7"><a name="other-7" href="#other-7" class="md2man-permalink" title="permalink"></a>Other:</h3>
271
+ <h3 id="other-8"><a name="other-8" href="#other-8" class="md2man-permalink" title="permalink"></a>Other:</h3>
214
272
  <ul>
215
273
  <li>Upgrade to md2man 2.0.</li>
216
274
  </ul>
217
- <h2 id="version-19-3-0-2013-05-05"><a name="version-19-3-0-2013-05-05" href="#version-19-3-0-2013-05-05" class="md2man-permalink" title="permalink"></a>Version 19.3.0 (2013-05-05)</h2><h3 id="minor-7"><a name="minor-7" href="#minor-7" class="md2man-permalink" title="permalink"></a>Minor:</h3>
275
+ <h2 id="version-19-3-0-2013-05-05"><a name="version-19-3-0-2013-05-05" href="#version-19-3-0-2013-05-05" class="md2man-permalink" title="permalink"></a>Version 19.3.0 (2013-05-05)</h2><h3 id="minor-8"><a name="minor-8" href="#minor-8" class="md2man-permalink" title="permalink"></a>Minor:</h3>
218
276
  <ul>
219
277
  <li><p><a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a> now emits <code>[&quot;idle&quot;]</code> messages whenever all tests
220
278
  have finished running and no more tests are queued for running.</p><p>Thanks to Jonathan Cairns for requesting this feature in GH-50:
221
279
  <a href="https://github.com/sunaku/tork/issues/50">https://github.com/sunaku/tork/issues/50</a></p></li>
222
280
  </ul>
223
- <h3 id="other-8"><a name="other-8" href="#other-8" class="md2man-permalink" title="permalink"></a>Other:</h3>
281
+ <h3 id="other-9"><a name="other-9" href="#other-9" class="md2man-permalink" title="permalink"></a>Other:</h3>
224
282
  <ul>
225
283
  <li><p>add man/man0 subdir containing README and VERSION</p></li>
226
284
  <li><p>README: use manpage xrefs for linking in HTML mans</p></li>
@@ -230,7 +288,7 @@ sometimes, intermittently, when test execution overhead is being reabsorbed.</p>
230
288
  <ul>
231
289
  <li>server: retry until the socket opens successfully</li>
232
290
  </ul>
233
- <h3 id="other-9"><a name="other-9" href="#other-9" class="md2man-permalink" title="permalink"></a>Other:</h3>
291
+ <h3 id="other-10"><a name="other-10" href="#other-10" class="md2man-permalink" title="permalink"></a>Other:</h3>
234
292
  <ul>
235
293
  <li>include md2man rake tasks in developer&#39;s rakefile</li>
236
294
  </ul>
@@ -242,7 +300,7 @@ Escalante for reminding me to fix this issue.</p></li>
242
300
  Thanks to Ryan Ahearn for fixing this issue and to Jonathan Cairns for
243
301
  reporting it.</p></li>
244
302
  </ul>
245
- <h2 id="version-19-2-0-2012-12-30"><a name="version-19-2-0-2012-12-30" href="#version-19-2-0-2012-12-30" class="md2man-permalink" title="permalink"></a>Version 19.2.0 (2012-12-30)</h2><h3 id="minor-8"><a name="minor-8" href="#minor-8" class="md2man-permalink" title="permalink"></a>Minor:</h3>
303
+ <h2 id="version-19-2-0-2012-12-30"><a name="version-19-2-0-2012-12-30" href="#version-19-2-0-2012-12-30" class="md2man-permalink" title="permalink"></a>Version 19.2.0 (2012-12-30)</h2><h3 id="minor-9"><a name="minor-9" href="#minor-9" class="md2man-permalink" title="permalink"></a>Minor:</h3>
246
304
  <ul>
247
305
  <li>Add &quot;devise&quot; configuration helper that adds support for testing Rails
248
306
  applications that use the Devise authentication framework. Thanks to Ryan
@@ -255,7 +313,7 @@ Ahearn for reporting this issue and helping debug it, and to Thibaud
255
313
  Guillaume-Gentil for fixing this issue upstream in the <em>listen</em> library.</p></li>
256
314
  <li><p>Fix <code>undefined method &#39;path&#39; for nil</code> error on socket file removal.</p></li>
257
315
  </ul>
258
- <h2 id="version-19-1-0-2012-12-12"><a name="version-19-1-0-2012-12-12" href="#version-19-1-0-2012-12-12" class="md2man-permalink" title="permalink"></a>Version 19.1.0 (2012-12-12)</h2><h3 id="minor-9"><a name="minor-9" href="#minor-9" class="md2man-permalink" title="permalink"></a>Minor:</h3>
316
+ <h2 id="version-19-1-0-2012-12-12"><a name="version-19-1-0-2012-12-12" href="#version-19-1-0-2012-12-12" class="md2man-permalink" title="permalink"></a>Version 19.1.0 (2012-12-12)</h2><h3 id="minor-10"><a name="minor-10" href="#minor-10" class="md2man-permalink" title="permalink"></a>Minor:</h3>
259
317
  <ul>
260
318
  <li>tork-driver: don&#39;t run overhead files as test files</li>
261
319
  </ul>
@@ -270,7 +328,7 @@ configuration helper. Thanks to Ryan Ahearn for this contribution.</p></li>
270
328
  <ul>
271
329
  <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>
272
330
  </ul>
273
- <h3 id="other-10"><a name="other-10" href="#other-10" class="md2man-permalink" title="permalink"></a>Other:</h3>
331
+ <h3 id="other-11"><a name="other-11" href="#other-11" class="md2man-permalink" title="permalink"></a>Other:</h3>
274
332
  <ul>
275
333
  <li><p>README: document RSpec 2.9.0+ autorun skipping bug</p></li>
276
334
  <li><p>README: MiniTest 1.3.2+ also has autorun skip bug</p></li>
@@ -283,12 +341,12 @@ Do you know what happens when a test/ is run by RSpec or vice versa? :-)</p><p>T
283
341
  their spec/spec_helper.rb file because they use the <a class="md2man-reference">rspec(1)</a> executable
284
342
  to run their tests. This commit makes things Just Work for them again.</p></li>
285
343
  </ul>
286
- <h3 id="other-11"><a name="other-11" href="#other-11" class="md2man-permalink" title="permalink"></a>Other:</h3>
344
+ <h3 id="other-12"><a name="other-12" href="#other-12" class="md2man-permalink" title="permalink"></a>Other:</h3>
287
345
  <ul>
288
346
  <li><p>test whether input is JSON by actually parsing it</p></li>
289
347
  <li><p>server: use Set instead of Array for faster lookup</p></li>
290
348
  </ul>
291
- <h2 id="version-19-0-0-2012-10-17"><a name="version-19-0-0-2012-10-17" href="#version-19-0-0-2012-10-17" class="md2man-permalink" title="permalink"></a>Version 19.0.0 (2012-10-17)</h2><h3 id="major"><a name="major" href="#major" class="md2man-permalink" title="permalink"></a>Major:</h3>
349
+ <h2 id="version-19-0-0-2012-10-17"><a name="version-19-0-0-2012-10-17" href="#version-19-0-0-2012-10-17" class="md2man-permalink" title="permalink"></a>Version 19.0.0 (2012-10-17)</h2><h3 id="major-1"><a name="major-1" href="#major-1" class="md2man-permalink" title="permalink"></a>Major:</h3>
292
350
  <ul>
293
351
  <li><p>The <code>.tork.rb</code> configuration file has been replaced by the <code>.tork/</code>
294
352
  directory, which contains specially-named Ruby scripts. Refer to the
@@ -311,7 +369,7 @@ must specify load paths and overhead files in the <code>.tork/master.rb</code> f
311
369
  <li><p>The <code>tork/client</code> library has been removed. The threaded IO and popen()
312
370
  wrappers that it provided have been replaced by the powerful IO.select().</p></li>
313
371
  </ul>
314
- <h3 id="minor-10"><a name="minor-10" href="#minor-10" class="md2man-permalink" title="permalink"></a>Minor:</h3>
372
+ <h3 id="minor-11"><a name="minor-11" href="#minor-11" class="md2man-permalink" title="permalink"></a>Minor:</h3>
315
373
  <ul>
316
374
  <li><p><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>: allow user to specify arguments after command key</p></li>
317
375
  <li><p><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>: add &#39;k&#39; to stop all currently running tests with SIGKILL</p></li>
@@ -327,14 +385,14 @@ events to notify you about changes in a test file&#39;s pass/fail status.</p></l
327
385
  <ul>
328
386
  <li><a class="md2man-reference" href="../man1/tork-master.1.html">tork-master(1)</a>: stop workers with SIGKILL when quitting</li>
329
387
  </ul>
330
- <h3 id="other-12"><a name="other-12" href="#other-12" class="md2man-permalink" title="permalink"></a>Other:</h3>
388
+ <h3 id="other-13"><a name="other-13" href="#other-13" class="md2man-permalink" title="permalink"></a>Other:</h3>
331
389
  <ul>
332
390
  <li><p><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>: document parameters for <code>t</code> and <code>s</code> commands</p></li>
333
391
  <li><p>README: add tip about rlwrap for better interactive</p></li>
334
392
  <li><p>README: simplify watch command using pgrep &amp; xargs</p></li>
335
393
  <li><p>README: use standard bundle exec; no <code>--binstubs</code></p></li>
336
394
  </ul>
337
- <h2 id="version-18-2-4-2012-10-10"><a name="version-18-2-4-2012-10-10" href="#version-18-2-4-2012-10-10" class="md2man-permalink" title="permalink"></a>Version 18.2.4 (2012-10-10)</h2><h3 id="other-13"><a name="other-13" href="#other-13" class="md2man-permalink" title="permalink"></a>Other:</h3>
395
+ <h2 id="version-18-2-4-2012-10-10"><a name="version-18-2-4-2012-10-10" href="#version-18-2-4-2012-10-10" class="md2man-permalink" title="permalink"></a>Version 18.2.4 (2012-10-10)</h2><h3 id="other-14"><a name="other-14" href="#other-14" class="md2man-permalink" title="permalink"></a>Other:</h3>
338
396
  <ul>
339
397
  <li>GH-39: upgrade listen gem version to fix a bug in OSX.
340
398
  Thanks to Adam Grant for reporting this issue.</li>
@@ -346,7 +404,7 @@ Thanks to Ohno Shin&#39;ichi for reporting this issue and contributing a
346
404
  preliminary fix.</p></li>
347
405
  <li><p>Add resilience against failed command dispatch in <code>Tork::Server#loop()</code>.</p></li>
348
406
  </ul>
349
- <h3 id="other-14"><a name="other-14" href="#other-14" class="md2man-permalink" title="permalink"></a>Other:</h3>
407
+ <h3 id="other-15"><a name="other-15" href="#other-15" class="md2man-permalink" title="permalink"></a>Other:</h3>
350
408
  <ul>
351
409
  <li><p>It&#39;s not worth rescuing Interrupt only to exit silently.
352
410
  Let the user see stack traces when they press Control-C.</p></li>
@@ -367,12 +425,12 @@ files in the waiting set can NEVER be run again!</p></li>
367
425
  <li>GH-37: switch from Guard::Listener to Listen gem.
368
426
  Thanks to Jesse Cooke for reporting this issue.</li>
369
427
  </ul>
370
- <h3 id="other-15"><a name="other-15" href="#other-15" class="md2man-permalink" title="permalink"></a>Other:</h3>
428
+ <h3 id="other-16"><a name="other-16" href="#other-16" class="md2man-permalink" title="permalink"></a>Other:</h3>
371
429
  <ul>
372
430
  <li><p>gemspec: need to provide .0 suffix for ~&gt; operator.</p></li>
373
431
  <li><p>gemspec: LICENSE file contains UTF-8 author names.</p></li>
374
432
  </ul>
375
- <h2 id="version-18-2-0-2012-03-27"><a name="version-18-2-0-2012-03-27" href="#version-18-2-0-2012-03-27" class="md2man-permalink" title="permalink"></a>Version 18.2.0 (2012-03-27)</h2><h3 id="minor-11"><a name="minor-11" href="#minor-11" class="md2man-permalink" title="permalink"></a>Minor:</h3>
433
+ <h2 id="version-18-2-0-2012-03-27"><a name="version-18-2-0-2012-03-27" href="#version-18-2-0-2012-03-27" class="md2man-permalink" title="permalink"></a>Version 18.2.0 (2012-03-27)</h2><h3 id="minor-12"><a name="minor-12" href="#minor-12" class="md2man-permalink" title="permalink"></a>Minor:</h3>
376
434
  <ul>
377
435
  <li>Emit warnings when commands cannot be performed. This improves the user
378
436
  experience by giving them immediate feedback. For example, if you issue
@@ -388,7 +446,7 @@ worker process. Thanks to Bjørn Trondsen (@Sharagoz) for reporting this
388
446
  issue and verifying the fix.</p></li>
389
447
  <li><p>README: Recommend a newer fork of the &quot;memory<em>test</em>fix&quot; Rails plugin.</p></li>
390
448
  </ul>
391
- <h2 id="version-18-1-0-2012-02-26"><a name="version-18-1-0-2012-02-26" href="#version-18-1-0-2012-02-26" class="md2man-permalink" title="permalink"></a>Version 18.1.0 (2012-02-26)</h2><h3 id="minor-12"><a name="minor-12" href="#minor-12" class="md2man-permalink" title="permalink"></a>Minor:</h3>
449
+ <h2 id="version-18-1-0-2012-02-26"><a name="version-18-1-0-2012-02-26" href="#version-18-1-0-2012-02-26" class="md2man-permalink" title="permalink"></a>Version 18.1.0 (2012-02-26)</h2><h3 id="minor-13"><a name="minor-13" href="#minor-13" class="md2man-permalink" title="permalink"></a>Minor:</h3>
392
450
  <ul>
393
451
  <li><p>Add <code>tork/config/coverage</code> configuration helper for Ruby 1.9, which prints
394
452
  a coverage report at the end of your log file in YAML format. The report
@@ -420,7 +478,7 @@ by RSpec&#39;s <code>Kernel#at_exit</code> handler to be zero, thereby
420
478
  falsely indicating that a spec had passed. <a href="https://github.com/rspec/rspec-core/pull/569/files">This patch</a> fixes the
421
479
  problem. Thanks to Gumaro Melendez for reporting this issue.</li>
422
480
  </ul>
423
- <h3 id="major-1"><a name="major-1" href="#major-1" class="md2man-permalink" title="permalink"></a>Major:</h3>
481
+ <h3 id="major-2"><a name="major-2" href="#major-2" class="md2man-permalink" title="permalink"></a>Major:</h3>
424
482
  <ul>
425
483
  <li><p>Dropped first parameter to <code>Tork::Config::test_file_globbers</code>.</p></li>
426
484
  <li><p>GH-31: tork-master now emits separate exit code and info.
@@ -428,12 +486,12 @@ Update your <code>Tork::Config::test_event_hooks</code> accordingly.</p></li>
428
486
  <li><p>tork/server: switch from modules to class inheritance.</p></li>
429
487
  <li><p>tork/config: switch to Struct to prevent misspellings.</p></li>
430
488
  </ul>
431
- <h3 id="minor-13"><a name="minor-13" href="#minor-13" class="md2man-permalink" title="permalink"></a>Minor:</h3>
489
+ <h3 id="minor-14"><a name="minor-14" href="#minor-14" class="md2man-permalink" title="permalink"></a>Minor:</h3>
432
490
  <ul>
433
491
  <li><p>tork-driver now recursively expands dependent test files while globbing.</p></li>
434
492
  <li><p>Extracted bookkeeping stuff from tork-driver into tork-engine component.</p></li>
435
493
  </ul>
436
- <h3 id="other-16"><a name="other-16" href="#other-16" class="md2man-permalink" title="permalink"></a>Other:</h3>
494
+ <h3 id="other-17"><a name="other-17" href="#other-17" class="md2man-permalink" title="permalink"></a>Other:</h3>
437
495
  <ul>
438
496
  <li><p>tork/config: do not reabsorb when .tork.rb
439
497
  changes. Since the configuration is loaded in
@@ -445,7 +503,7 @@ restart Tork if you change your configuration.</p></li>
445
503
  <li><p>GH-29: bump guard version requirement to v1 series.</p></li>
446
504
  <li><p>Improve documentation; revise markdown; clean up.</p></li>
447
505
  </ul>
448
- <h2 id="version-17-1-0-2012-01-30"><a name="version-17-1-0-2012-01-30" href="#version-17-1-0-2012-01-30" class="md2man-permalink" title="permalink"></a>Version 17.1.0 (2012-01-30)</h2><h3 id="minor-14"><a name="minor-14" href="#minor-14" class="md2man-permalink" title="permalink"></a>Minor:</h3>
506
+ <h2 id="version-17-1-0-2012-01-30"><a name="version-17-1-0-2012-01-30" href="#version-17-1-0-2012-01-30" class="md2man-permalink" title="permalink"></a>Version 17.1.0 (2012-01-30)</h2><h3 id="minor-15"><a name="minor-15" href="#minor-15" class="md2man-permalink" title="permalink"></a>Minor:</h3>
449
507
  <ul>
450
508
  <li><p>Added <code>Tork::Config.test_event_hooks</code> configuration option.</p></li>
451
509
  <li><p>Added <code>tork/config/notify</code> configuration helper for receiving
@@ -466,12 +524,12 @@ multiple globs in an array, in addition to just a single glob or <code>nil</code
466
524
  <li><p>tork/config/cucumber: only set ARGV for <code>*.feature</code> test files.</p></li>
467
525
  <li><p>Tork::Client::Transceiver needs to stop both TX &amp; RX loops.</p></li>
468
526
  </ul>
469
- <h3 id="other-17"><a name="other-17" href="#other-17" class="md2man-permalink" title="permalink"></a>Other:</h3>
527
+ <h3 id="other-18"><a name="other-18" href="#other-18" class="md2man-permalink" title="permalink"></a>Other:</h3>
470
528
  <ul>
471
529
  <li><p>tork/driver: store test file lists in Set, not Array.</p></li>
472
530
  <li><p>HISTORY: use single-word change-set descriptions.</p></li>
473
531
  </ul>
474
- <h2 id="version-17-0-0-2012-01-27"><a name="version-17-0-0-2012-01-27" href="#version-17-0-0-2012-01-27" class="md2man-permalink" title="permalink"></a>Version 17.0.0 (2012-01-27)</h2><h3 id="major-2"><a name="major-2" href="#major-2" class="md2man-permalink" title="permalink"></a>Major:</h3>
532
+ <h2 id="version-17-0-0-2012-01-27"><a name="version-17-0-0-2012-01-27" href="#version-17-0-0-2012-01-27" class="md2man-permalink" title="permalink"></a>Version 17.0.0 (2012-01-27)</h2><h3 id="major-3"><a name="major-3" href="#major-3" class="md2man-permalink" title="permalink"></a>Major:</h3>
475
533
  <ul>
476
534
  <li><p><a class="md2man-reference" href="../man1/tork-herald.1.html">tork-herald(1)</a> now emits batches of single-line JSON arrays instead of
477
535
  printing one (raw) path per line. This makes IPC uniform across Tork.</p></li>
@@ -483,7 +541,7 @@ better reflect the order of items in <a class="md2man-reference" href="../man1/t
483
541
  <li>The new order is: test<em>file, line</em>numbers, log<em>file, worker</em>number.</li>
484
542
  </ul></li>
485
543
  </ul>
486
- <h3 id="minor-15"><a name="minor-15" href="#minor-15" class="md2man-permalink" title="permalink"></a>Minor:</h3>
544
+ <h3 id="minor-16"><a name="minor-16" href="#minor-16" class="md2man-permalink" title="permalink"></a>Minor:</h3>
487
545
  <ul>
488
546
  <li><p>GH-24: add <code>tork/config/dotlog</code> configuration helper to &quot;hide&quot; log files.
489
547
  (Nicolas Fouché)</p></li>
@@ -492,7 +550,7 @@ better reflect the order of items in <a class="md2man-reference" href="../man1/t
492
550
  <li><p><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a> now strips all whitespace from your input, in case you pressed
493
551
  spacebar or tab a few times, by accident, before entering your command.</p></li>
494
552
  </ul>
495
- <h3 id="other-18"><a name="other-18" href="#other-18" class="md2man-permalink" title="permalink"></a>Other:</h3>
553
+ <h3 id="other-19"><a name="other-19" href="#other-19" class="md2man-permalink" title="permalink"></a>Other:</h3>
496
554
  <ul>
497
555
  <li><p>tork/client: Replace write lock with queue to support SIGCHLD handler.</p><p>The SIGCHLD handler in <a class="md2man-reference" href="../man1/tork-master.1.html">tork-master(1)</a> can be triggered at any time, even
498
556
  in the middle of writing to the standard output stream! Locking access
@@ -506,21 +564,21 @@ responsibility of (and access to) continually writing those outgoing
506
564
  items to the output stream.</p></li>
507
565
  <li><p>README: revise instructions, reorganize document, and other improvements.</p></li>
508
566
  </ul>
509
- <h2 id="version-16-0-0-2012-01-25"><a name="version-16-0-0-2012-01-25" href="#version-16-0-0-2012-01-25" class="md2man-permalink" title="permalink"></a>Version 16.0.0 (2012-01-25)</h2><h3 id="major-3"><a name="major-3" href="#major-3" class="md2man-permalink" title="permalink"></a>Major:</h3>
567
+ <h2 id="version-16-0-0-2012-01-25"><a name="version-16-0-0-2012-01-25" href="#version-16-0-0-2012-01-25" class="md2man-permalink" title="permalink"></a>Version 16.0.0 (2012-01-25)</h2><h3 id="major-4"><a name="major-4" href="#major-4" class="md2man-permalink" title="permalink"></a>Major:</h3>
510
568
  <ul>
511
569
  <li><p>Drop the <code>Tork::Config.test_name_extractor</code> configuration option.</p></li>
512
570
  <li><p>Pass line numbers instead of test names to before/after fork hooks.</p></li>
513
571
  <li><p>Pass $~ (MatchData) to <code>Tork::Config::test_file_globbers</code> functions.</p></li>
514
572
  </ul>
515
- <h3 id="minor-16"><a name="minor-16" href="#minor-16" class="md2man-permalink" title="permalink"></a>Minor:</h3>
573
+ <h3 id="minor-17"><a name="minor-17" href="#minor-17" class="md2man-permalink" title="permalink"></a>Minor:</h3>
516
574
  <ul>
517
575
  <li>tork/config/cucumber: only run changed scenarios in changed features.</li>
518
576
  </ul>
519
- <h3 id="other-19"><a name="other-19" href="#other-19" class="md2man-permalink" title="permalink"></a>Other:</h3>
577
+ <h3 id="other-20"><a name="other-20" href="#other-20" class="md2man-permalink" title="permalink"></a>Other:</h3>
520
578
  <ul>
521
579
  <li>README: update instructions on running Tork directly from Git clone.</li>
522
580
  </ul>
523
- <h2 id="version-15-1-0-2012-01-25"><a name="version-15-1-0-2012-01-25" href="#version-15-1-0-2012-01-25" class="md2man-permalink" title="permalink"></a>Version 15.1.0 (2012-01-25)</h2><h3 id="minor-17"><a name="minor-17" href="#minor-17" class="md2man-permalink" title="permalink"></a>Minor:</h3>
581
+ <h2 id="version-15-1-0-2012-01-25"><a name="version-15-1-0-2012-01-25" href="#version-15-1-0-2012-01-25" class="md2man-permalink" title="permalink"></a>Version 15.1.0 (2012-01-25)</h2><h3 id="minor-18"><a name="minor-18" href="#minor-18" class="md2man-permalink" title="permalink"></a>Minor:</h3>
524
582
  <ul>
525
583
  <li>GH-19: add <code>tork cucumber</code> for running cucumber features.</li>
526
584
  </ul>
@@ -540,7 +598,7 @@ Also added forgotten Luke Wendling to the list.</p></li>
540
598
  <li><p>GH-21: Ruby 1.9 class_eval() is smarter than 1.8.</p></li>
541
599
  <li><p>GH-20: forgot <code>require &#39;thread&#39;</code> for Mutex class. (Jesse Cooke)</p></li>
542
600
  </ul>
543
- <h3 id="other-20"><a name="other-20" href="#other-20" class="md2man-permalink" title="permalink"></a>Other:</h3>
601
+ <h3 id="other-21"><a name="other-21" href="#other-21" class="md2man-permalink" title="permalink"></a>Other:</h3>
544
602
  <ul>
545
603
  <li><p><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>: fix shadowed variable names. (Jose Pablo Barrantes)</p></li>
546
604
  <li><p>GH-22: fix command to build &amp; install gem from source.</p></li>
@@ -550,7 +608,7 @@ Also added forgotten Luke Wendling to the list.</p></li>
550
608
  <li><p>README: missed a testr =&gt; tork rename in watch cmd.</p></li>
551
609
  <li><p>README: add tip about Guard&#39;s FS watching backends.</p></li>
552
610
  </ul>
553
- <h2 id="version-15-0-0-2012-01-23"><a name="version-15-0-0-2012-01-23" href="#version-15-0-0-2012-01-23" class="md2man-permalink" title="permalink"></a>Version 15.0.0 (2012-01-23)</h2><h3 id="major-4"><a name="major-4" href="#major-4" class="md2man-permalink" title="permalink"></a>Major:</h3>
611
+ <h2 id="version-15-0-0-2012-01-23"><a name="version-15-0-0-2012-01-23" href="#version-15-0-0-2012-01-23" class="md2man-permalink" title="permalink"></a>Version 15.0.0 (2012-01-23)</h2><h3 id="major-5"><a name="major-5" href="#major-5" class="md2man-permalink" title="permalink"></a>Major:</h3>
554
612
  <ul>
555
613
  <li><p>This project has been renamed from TestR to Tork (test with fork) in order
556
614
  to better compete with rival projects, namely Spork! &gt;:-) Credit goes to
@@ -558,20 +616,19 @@ Brian D. Burns for thinking of this most succinct &amp; awesome project name!
558
616
  He also created the snazzy ASCII-art logo featured in the project README.</p></li>
559
617
  <li><p><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>: rename <code>r</code> command, which runs all tests, to <code>t</code>, for <em>t</em>ork.</p></li>
560
618
  </ul>
561
- <h2 id="version-14-3-0-2012-01-20"><a name="version-14-3-0-2012-01-20" href="#version-14-3-0-2012-01-20" class="md2man-permalink" title="permalink"></a>Version 14.3.0 (2012-01-20)</h2><h3 id="minor-18"><a name="minor-18" href="#minor-18" class="md2man-permalink" title="permalink"></a>Minor:</h3>
619
+ <h2 id="version-14-3-0-2012-01-20"><a name="version-14-3-0-2012-01-20" href="#version-14-3-0-2012-01-20" class="md2man-permalink" title="permalink"></a>Version 14.3.0 (2012-01-20)</h2><h3 id="minor-19"><a name="minor-19" href="#minor-19" class="md2man-permalink" title="permalink"></a>Minor:</h3>
562
620
  <ul>
563
621
  <li><p><a class="md2man-reference">testr(1)</a>: notify user while dispatching their commands. This is especially
564
622
  useful when the &quot;rerun<em>passed</em>test_files&quot; command has been dispatched but
565
623
  there are no passed test files, so nothing happens and from the user&#39;s
566
624
  perspective: TestR sucks because it&#39;s unresponsive.</p></li>
567
- <li><p>config/testr/rails: Reopen connections in forked workers to fix errors:</p>
568
- <pre><code>Mysql2::Error: MySQL server has gone away
625
+ <li><p>config/testr/rails: Reopen connections in forked workers to fix errors:</p><pre><code>Mysql2::Error: MySQL server has gone away
569
626
  PGError: connection not open
570
627
  </code></pre>
571
628
  <p>Thanks to Spencer Steffen for <a href="https://github.com/sunaku/tork/issues/14#issuecomment-3539470">contributing this solution</a>.</p></li>
572
629
  <li><p><a class="md2man-reference">testr-driver(1)</a>: document the &quot;over&quot; status message in manual page.</p></li>
573
630
  </ul>
574
- <h3 id="other-21"><a name="other-21" href="#other-21" class="md2man-permalink" title="permalink"></a>Other:</h3>
631
+ <h3 id="other-22"><a name="other-22" href="#other-22" class="md2man-permalink" title="permalink"></a>Other:</h3>
575
632
  <ul>
576
633
  <li><p><a class="md2man-reference">testr-driver(1)</a>: keep same herald; only replace master.</p></li>
577
634
  <li><p><a class="md2man-reference">testr(1)</a>: shorten code for loop break on quit command.</p></li>
@@ -580,7 +637,7 @@ PGError: connection not open
580
637
  <li><p>Explain <code>$0</code> override at the start of bin/ scripts.</p></li>
581
638
  <li><p>LICENSE: credit our most recent contributors.</p></li>
582
639
  </ul>
583
- <h2 id="version-14-2-0-2012-01-16"><a name="version-14-2-0-2012-01-16" href="#version-14-2-0-2012-01-16" class="md2man-permalink" title="permalink"></a>Version 14.2.0 (2012-01-16)</h2><h3 id="minor-19"><a name="minor-19" href="#minor-19" class="md2man-permalink" title="permalink"></a>Minor:</h3>
640
+ <h2 id="version-14-2-0-2012-01-16"><a name="version-14-2-0-2012-01-16" href="#version-14-2-0-2012-01-16" class="md2man-permalink" title="permalink"></a>Version 14.2.0 (2012-01-16)</h2><h3 id="minor-20"><a name="minor-20" href="#minor-20" class="md2man-permalink" title="permalink"></a>Minor:</h3>
584
641
  <ul>
585
642
  <li><p>Add ability to run <code>testr rails</code> without needing a <code>.testr.rb</code> file.</p></li>
586
643
  <li><p><a class="md2man-reference">testr(1)</a> no longer shows command menu at startup. Press ENTER to see it.</p></li>
@@ -595,16 +652,16 @@ PGError: connection not open
595
652
  <li>Add support Guard v0.9.0 and newer in <code>testr-herald</code>. (Jose Pablo
596
653
  Barrantes)</li>
597
654
  </ul>
598
- <h3 id="other-22"><a name="other-22" href="#other-22" class="md2man-permalink" title="permalink"></a>Other:</h3>
655
+ <h3 id="other-23"><a name="other-23" href="#other-23" class="md2man-permalink" title="permalink"></a>Other:</h3>
599
656
  <ul>
600
657
  <li>Tighten version constraints for gem dependencies to avoid future
601
658
  breakages.</li>
602
659
  </ul>
603
- <h2 id="version-14-1-2-2012-01-09"><a name="version-14-1-2-2012-01-09" href="#version-14-1-2-2012-01-09" class="md2man-permalink" title="permalink"></a>Version 14.1.2 (2012-01-09)</h2><h3 id="minor-20"><a name="minor-20" href="#minor-20" class="md2man-permalink" title="permalink"></a>Minor:</h3>
660
+ <h2 id="version-14-1-2-2012-01-09"><a name="version-14-1-2-2012-01-09" href="#version-14-1-2-2012-01-09" class="md2man-permalink" title="permalink"></a>Version 14.1.2 (2012-01-09)</h2><h3 id="minor-21"><a name="minor-21" href="#minor-21" class="md2man-permalink" title="permalink"></a>Minor:</h3>
604
661
  <ul>
605
662
  <li>Don&#39;t consider partial test file pass as full pass.</li>
606
663
  </ul>
607
- <h3 id="other-23"><a name="other-23" href="#other-23" class="md2man-permalink" title="permalink"></a>Other:</h3>
664
+ <h3 id="other-24"><a name="other-24" href="#other-24" class="md2man-permalink" title="permalink"></a>Other:</h3>
608
665
  <ul>
609
666
  <li>Upgrade to binman 3 for better bundler support.</li>
610
667
  </ul>
@@ -617,7 +674,7 @@ see <a href="https://github.com/rspec/rspec-core/issues/445">https://github.com/
617
674
  and <a href="https://github.com/dchelimsky/rspec/issues/44">https://github.com/dchelimsky/rspec/issues/44</a></p></li>
618
675
  <li><p>Ruby 187 does not have Symbol#upcase() method.</p></li>
619
676
  </ul>
620
- <h3 id="other-24"><a name="other-24" href="#other-24" class="md2man-permalink" title="permalink"></a>Other:</h3>
677
+ <h3 id="other-25"><a name="other-25" href="#other-25" class="md2man-permalink" title="permalink"></a>Other:</h3>
621
678
  <ul>
622
679
  <li><p>README: add another SQLite3 error to known issues.
623
680
  Thanks to Luke Wendling for contributing this patch.</p></li>
@@ -627,7 +684,7 @@ Thanks to Luke Wendling for contributing this patch.</p></li>
627
684
  <li><p>Better variable naming for self-documentation.</p></li>
628
685
  <li><p>Upgrade to binman 2.0.0 for UNIX man pages.</p></li>
629
686
  </ul>
630
- <h2 id="version-14-1-0-2011-11-03"><a name="version-14-1-0-2011-11-03" href="#version-14-1-0-2011-11-03" class="md2man-permalink" title="permalink"></a>Version 14.1.0 (2011-11-03)</h2><h3 id="minor-21"><a name="minor-21" href="#minor-21" class="md2man-permalink" title="permalink"></a>Minor:</h3>
687
+ <h2 id="version-14-1-0-2011-11-03"><a name="version-14-1-0-2011-11-03" href="#version-14-1-0-2011-11-03" class="md2man-permalink" title="permalink"></a>Version 14.1.0 (2011-11-03)</h2><h3 id="minor-22"><a name="minor-22" href="#minor-22" class="md2man-permalink" title="permalink"></a>Minor:</h3>
631
688
  <ul>
632
689
  <li><p>Make servers responsive to quit request (SIGTERM) from upstream.</p><p>This change lets the user quit <a class="md2man-reference">testr-master(1)</a> while it is loading
633
690
  test execution overhead (which can be a lengthy, blocking operation).</p><p>By sending a signal to the server, we don&#39;t have to wait for it to
@@ -641,7 +698,7 @@ need to create <em>your own custom user interface to TestR</em> if you wish! :-)
641
698
  <ul>
642
699
  <li>SIGCHLD does not awaken main thread in Ruby 1.9.3p0.</li>
643
700
  </ul>
644
- <h3 id="other-25"><a name="other-25" href="#other-25" class="md2man-permalink" title="permalink"></a>Other:</h3>
701
+ <h3 id="other-26"><a name="other-26" href="#other-26" class="md2man-permalink" title="permalink"></a>Other:</h3>
645
702
  <ul>
646
703
  <li><p>Simplify <a class="md2man-reference">watch(1)</a> <a class="md2man-reference">ps(1)</a> process title monitoring.</p></li>
647
704
  <li><p>Testr: tell user to press ENTER after command key.</p></li>
@@ -659,7 +716,7 @@ failed, it was (incorrectly) always considered failed, even if it passed
659
716
  later on.</p></li>
660
717
  <li><p>Do not requeue test files that are waiting to run.</p></li>
661
718
  </ul>
662
- <h3 id="other-26"><a name="other-26" href="#other-26" class="md2man-permalink" title="permalink"></a>Other:</h3>
719
+ <h3 id="other-27"><a name="other-27" href="#other-27" class="md2man-permalink" title="permalink"></a>Other:</h3>
663
720
  <ul>
664
721
  <li>Rename <code>*.md</code> files to <code>*.markdown</code> to avoid ambiguity.</li>
665
722
  </ul>
@@ -670,11 +727,11 @@ blind.</p></li>
670
727
  <li><p>Incorrect test name regexp was passed down to Test::Unit. This broke
671
728
  focused testing, where only changed tests in a changed test file are run.</p></li>
672
729
  </ul>
673
- <h3 id="other-27"><a name="other-27" href="#other-27" class="md2man-permalink" title="permalink"></a>Other:</h3>
730
+ <h3 id="other-28"><a name="other-28" href="#other-28" class="md2man-permalink" title="permalink"></a>Other:</h3>
674
731
  <ul>
675
732
  <li>Make <code>testr-master</code> wait for killed worker processes before exiting.</li>
676
733
  </ul>
677
- <h2 id="version-14-0-0-2011-10-09"><a name="version-14-0-0-2011-10-09" href="#version-14-0-0-2011-10-09" class="md2man-permalink" title="permalink"></a>Version 14.0.0 (2011-10-09)</h2><h3 id="major-5"><a name="major-5" href="#major-5" class="md2man-permalink" title="permalink"></a>Major:</h3>
734
+ <h2 id="version-14-0-0-2011-10-09"><a name="version-14-0-0-2011-10-09" href="#version-14-0-0-2011-10-09" class="md2man-permalink" title="permalink"></a>Version 14.0.0 (2011-10-09)</h2><h3 id="major-6"><a name="major-6" href="#major-6" class="md2man-permalink" title="permalink"></a>Major:</h3>
678
735
  <ul>
679
736
  <li><p>Renamed this project and its resources from test-loop to TestR.</p></li>
680
737
  <li><p>Renamed the <code>reabsorb_file_globs</code> configuration parameter to
@@ -691,7 +748,7 @@ focused testing, where only changed tests in a changed test file are run.</p></l
691
748
  parameters.</p></li>
692
749
  <li><p>Removed the <code>test/loop/notify</code> and <code>test-loop/coco</code> libraries.</p></li>
693
750
  </ul>
694
- <h3 id="minor-22"><a name="minor-22" href="#minor-22" class="md2man-permalink" title="permalink"></a>Minor:</h3>
751
+ <h3 id="minor-23"><a name="minor-23" href="#minor-23" class="md2man-permalink" title="permalink"></a>Minor:</h3>
695
752
  <ul>
696
753
  <li><p>The file system is no longer polled to detect modified files. Instead, it
697
754
  is monitored for file modification events in a portable and efficient
@@ -702,24 +759,24 @@ manner using the <a href="https://github.com/guard/guard">Guard</a> library.</p>
702
759
  <code>before_fork_hooks</code> configuration parameters.</p></li>
703
760
  <li><p>Added ability to re-run passed and failed tests in the <code>testr</code> script.</p></li>
704
761
  </ul>
705
- <h3 id="other-28"><a name="other-28" href="#other-28" class="md2man-permalink" title="permalink"></a>Other:</h3>
762
+ <h3 id="other-29"><a name="other-29" href="#other-29" class="md2man-permalink" title="permalink"></a>Other:</h3>
706
763
  <ul>
707
764
  <li><p>The monolithic <code>test-loop</code> script has been replaced by several smaller
708
765
  ones that communicate with each other using single-line JSON messages via
709
766
  their standard input &amp; output streams. See &quot;Architecture&quot; in the README.</p></li>
710
767
  <li><p>Now using Bundler to manage development dependencies and gem packaging.</p></li>
711
768
  </ul>
712
- <h2 id="version-13-0-1-2011-09-21"><a name="version-13-0-1-2011-09-21" href="#version-13-0-1-2011-09-21" class="md2man-permalink" title="permalink"></a>Version 13.0.1 (2011-09-21)</h2><h3 id="other-29"><a name="other-29" href="#other-29" class="md2man-permalink" title="permalink"></a>Other:</h3>
769
+ <h2 id="version-13-0-1-2011-09-21"><a name="version-13-0-1-2011-09-21" href="#version-13-0-1-2011-09-21" class="md2man-permalink" title="permalink"></a>Version 13.0.1 (2011-09-21)</h2><h3 id="other-30"><a name="other-30" href="#other-30" class="md2man-permalink" title="permalink"></a>Other:</h3>
713
770
  <ul>
714
771
  <li><p>Forgot to include <code>test/loop/coco</code> preset in gem package.</p></li>
715
772
  <li><p>Forgot to mention <code>test/loop/parallel_tests</code> preset in README.</p></li>
716
773
  </ul>
717
- <h2 id="version-13-0-0-2011-08-24"><a name="version-13-0-0-2011-08-24" href="#version-13-0-0-2011-08-24" class="md2man-permalink" title="permalink"></a>Version 13.0.0 (2011-08-24)</h2><h3 id="major-6"><a name="major-6" href="#major-6" class="md2man-permalink" title="permalink"></a>Major:</h3>
774
+ <h2 id="version-13-0-0-2011-08-24"><a name="version-13-0-0-2011-08-24" href="#version-13-0-0-2011-08-24" class="md2man-permalink" title="permalink"></a>Version 13.0.0 (2011-08-24)</h2><h3 id="major-7"><a name="major-7" href="#major-7" class="md2man-permalink" title="permalink"></a>Major:</h3>
718
775
  <ul>
719
776
  <li>Pass worker sequence number as the last argument to lambda functions in
720
777
  <code>Test::Loop.before_each_test</code> and <code>Test::Loop.after_each_test</code> arrays.</li>
721
778
  </ul>
722
- <h3 id="minor-23"><a name="minor-23" href="#minor-23" class="md2man-permalink" title="permalink"></a>Minor:</h3>
779
+ <h3 id="minor-24"><a name="minor-24" href="#minor-24" class="md2man-permalink" title="permalink"></a>Minor:</h3>
723
780
  <ul>
724
781
  <li><p>In the <code>test/loop/rails</code> configuration preset:</p>
725
782
  <ul>
@@ -733,7 +790,7 @@ gem. (Corné Verbruggen)</p></li>
733
790
  processes like connecting to separate databases better. (Corné
734
791
  Verbruggen)</p></li>
735
792
  </ul>
736
- <h3 id="other-30"><a name="other-30" href="#other-30" class="md2man-permalink" title="permalink"></a>Other:</h3>
793
+ <h3 id="other-31"><a name="other-31" href="#other-31" class="md2man-permalink" title="permalink"></a>Other:</h3>
737
794
  <ul>
738
795
  <li><p>README: move configuration presets above options.</p></li>
739
796
  <li><p>Eliminate 1 SLOC: .rb extension used in file glob.</p></li>
@@ -744,11 +801,11 @@ Verbruggen)</p></li>
744
801
  <ul>
745
802
  <li>Binary data could not be stored in environment variable values.</li>
746
803
  </ul>
747
- <h3 id="other-31"><a name="other-31" href="#other-31" class="md2man-permalink" title="permalink"></a>Other:</h3>
804
+ <h3 id="other-32"><a name="other-32" href="#other-32" class="md2man-permalink" title="permalink"></a>Other:</h3>
748
805
  <ul>
749
806
  <li>Forgot to add Jacob Helwig to the gemspec&#39;s authors list.</li>
750
807
  </ul>
751
- <h2 id="version-12-3-0-2011-07-19"><a name="version-12-3-0-2011-07-19" href="#version-12-3-0-2011-07-19" class="md2man-permalink" title="permalink"></a>Version 12.3.0 (2011-07-19)</h2><h3 id="minor-24"><a name="minor-24" href="#minor-24" class="md2man-permalink" title="permalink"></a>Minor:</h3>
808
+ <h2 id="version-12-3-0-2011-07-19"><a name="version-12-3-0-2011-07-19" href="#version-12-3-0-2011-07-19" class="md2man-permalink" title="permalink"></a>Version 12.3.0 (2011-07-19)</h2><h3 id="minor-25"><a name="minor-25" href="#minor-25" class="md2man-permalink" title="permalink"></a>Minor:</h3>
752
809
  <ul>
753
810
  <li><p>Add <code>Test::Loop::max_concurrent_tests</code> configuration parameter to limit
754
811
  the number of test files run concurrently (default 4). Otherwise, with
@@ -756,7 +813,7 @@ large test suites, we could end up swamping the machine running the tests
756
813
  by forking hundreds of test files at once. (Jacob Helwig)</p></li>
757
814
  <li><p>Rails: add matcher for <code>test/factories/*_factory.rb</code>.</p></li>
758
815
  </ul>
759
- <h3 id="other-32"><a name="other-32" href="#other-32" class="md2man-permalink" title="permalink"></a>Other:</h3>
816
+ <h3 id="other-33"><a name="other-33" href="#other-33" class="md2man-permalink" title="permalink"></a>Other:</h3>
760
817
  <ul>
761
818
  <li><p>ENV returns a Hash with duplicate/frozen keys/values. (Brian D. Burns)</p></li>
762
819
  <li><p>Use Marshal to propagate resume_files to reabsorb.</p></li>
@@ -770,7 +827,7 @@ requested by Juan G. Hurtado..</p></li>
770
827
  <li><p>Add <code>test/loop/coco</code> preset for integrating the <a href="http://lkdjiin.github.com/coco/">Coco code coverage
771
828
  library</a>.</p></li>
772
829
  </ul>
773
- <h2 id="version-12-1-0-2011-04-29"><a name="version-12-1-0-2011-04-29" href="#version-12-1-0-2011-04-29" class="md2man-permalink" title="permalink"></a>Version 12.1.0 (2011-04-29)</h2><h3 id="minor-25"><a name="minor-25" href="#minor-25" class="md2man-permalink" title="permalink"></a>Minor:</h3>
830
+ <h2 id="version-12-1-0-2011-04-29"><a name="version-12-1-0-2011-04-29" href="#version-12-1-0-2011-04-29" class="md2man-permalink" title="permalink"></a>Version 12.1.0 (2011-04-29)</h2><h3 id="minor-26"><a name="minor-26" href="#minor-26" class="md2man-permalink" title="permalink"></a>Minor:</h3>
774
831
  <ul>
775
832
  <li>Add <code>Test::Loop.delay_per_iteration</code> parameter to control the number of
776
833
  seconds (or fractions thereof) to sleep in between test-loop iterations.</li>
@@ -822,7 +879,7 @@ issue</a>.</p></li>
822
879
  <li><p>Do not consider test factories as overhead in Rails.</p></li>
823
880
  <li><p>Run test files when test factory files change in Rails.</p></li>
824
881
  </ul>
825
- <h3 id="other-33"><a name="other-33" href="#other-33" class="md2man-permalink" title="permalink"></a>Other:</h3>
882
+ <h3 id="other-34"><a name="other-34" href="#other-34" class="md2man-permalink" title="permalink"></a>Other:</h3>
826
883
  <ul>
827
884
  <li><p>Detach worker from master&#39;s terminal device sooner.</p></li>
828
885
  <li><p>All required signals must be present in irb check.</p></li>
@@ -835,14 +892,14 @@ issue</a>.</p></li>
835
892
  <li><p>Restore support for Ruby 1.8.7.</p></li>
836
893
  <li><p>Allow user&#39;s test execution overhead to fork.</p></li>
837
894
  </ul>
838
- <h3 id="other-34"><a name="other-34" href="#other-34" class="md2man-permalink" title="permalink"></a>Other:</h3>
895
+ <h3 id="other-35"><a name="other-35" href="#other-35" class="md2man-permalink" title="permalink"></a>Other:</h3>
839
896
  <ul>
840
897
  <li><p>Freeze master&#39;s ENV properly; keep resume key.</p></li>
841
898
  <li><p>Remove completed test from running list sooner.</p></li>
842
899
  <li><p>Add instructions to check for POSIX prerequisites.</p></li>
843
900
  <li><p>Support multiple test-loop instances in watch command.</p></li>
844
901
  </ul>
845
- <h2 id="version-12-0-0-2011-04-19"><a name="version-12-0-0-2011-04-19" href="#version-12-0-0-2011-04-19" class="md2man-permalink" title="permalink"></a>Version 12.0.0 (2011-04-19)</h2><h3 id="major-7"><a name="major-7" href="#major-7" class="md2man-permalink" title="permalink"></a>Major:</h3>
902
+ <h2 id="version-12-0-0-2011-04-19"><a name="version-12-0-0-2011-04-19" href="#version-12-0-0-2011-04-19" class="md2man-permalink" title="permalink"></a>Version 12.0.0 (2011-04-19)</h2><h3 id="major-8"><a name="major-8" href="#major-8" class="md2man-permalink" title="permalink"></a>Major:</h3>
846
903
  <ul>
847
904
  <li><p>You must now explicitly <code>require &#39;test/loop/rails&#39;</code> for Rails support
848
905
  because we can only <em>automatically</em> apply our Railtie (to disable class
@@ -859,7 +916,7 @@ streams were redirected to a log file in the worker process).</p><p>Thanks to Br
859
916
  threads to monitor workers was the culprit behind the deadlocks errors.</p></li>
860
917
  <li><p>Ctrl-C did not raise Interrupt in my Rails 3 test suite.</p></li>
861
918
  </ul>
862
- <h3 id="other-35"><a name="other-35" href="#other-35" class="md2man-permalink" title="permalink"></a>Other:</h3>
919
+ <h3 id="other-36"><a name="other-36" href="#other-36" class="md2man-permalink" title="permalink"></a>Other:</h3>
863
920
  <ul>
864
921
  <li><p>Ensure a clean ENV when reabsorbing overhead. Environment variables set
865
922
  by your test execution overhead are not propagated to subsequent
@@ -879,12 +936,12 @@ reabsorptions. (Brian D. Burns)</p></li>
879
936
  <ul>
880
937
  <li>Only attempt to define Railtie if the current Rails version supports it.</li>
881
938
  </ul>
882
- <h2 id="version-11-0-0-2011-04-14"><a name="version-11-0-0-2011-04-14" href="#version-11-0-0-2011-04-14" class="md2man-permalink" title="permalink"></a>Version 11.0.0 (2011-04-14)</h2><h3 id="major-8"><a name="major-8" href="#major-8" class="md2man-permalink" title="permalink"></a>Major:</h3>
939
+ <h2 id="version-11-0-0-2011-04-14"><a name="version-11-0-0-2011-04-14" href="#version-11-0-0-2011-04-14" class="md2man-permalink" title="permalink"></a>Version 11.0.0 (2011-04-14)</h2><h3 id="major-9"><a name="major-9" href="#major-9" class="md2man-permalink" title="permalink"></a>Major:</h3>
883
940
  <ul>
884
941
  <li>The <code>test/loop/rails</code> preset has been internalized and is now applied
885
942
  automatically if your test execution overhead includes Ruby on Rails.</li>
886
943
  </ul>
887
- <h3 id="minor-26"><a name="minor-26" href="#minor-26" class="md2man-permalink" title="permalink"></a>Minor:</h3>
944
+ <h3 id="minor-27"><a name="minor-27" href="#minor-27" class="md2man-permalink" title="permalink"></a>Minor:</h3>
888
945
  <ul>
889
946
  <li>If you are using Rails 3, test-loop will automatically set
890
947
  <code>config.cache_classes = false</code> for your test environment. (Brian D.
@@ -893,8 +950,7 @@ Burns)</li>
893
950
  <h3 id="patch-40"><a name="patch-40" href="#patch-40" class="md2man-permalink" title="permalink"></a>Patch:</h3>
894
951
  <ul>
895
952
  <li><p>Avoid deadlock errors when printing output from Test::Unit and MiniTest.
896
- (Brian D. Burns)</p>
897
- <pre><code>`write&#39;: deadlock detected (fatal)
953
+ (Brian D. Burns)</p><pre><code>`write&#39;: deadlock detected (fatal)
898
954
  </code></pre></li>
899
955
  <li><p>Signaled worker termination is neither pass nor fail.
900
956
  Do not treat it as a failure by printing the log file.</p></li>
@@ -909,20 +965,19 @@ unregister the trap handlers inherited from the master process.</p></li>
909
965
  <li><p>Prevent uncaught throw error on subsequent Ctrl-C.</p></li>
910
966
  <li><p>Simpler solution for terminating loop upon Ctrl-C.</p></li>
911
967
  </ul>
912
- <h2 id="version-10-0-0-2011-04-06"><a name="version-10-0-0-2011-04-06" href="#version-10-0-0-2011-04-06" class="md2man-permalink" title="permalink"></a>Version 10.0.0 (2011-04-06)</h2><h3 id="major-9"><a name="major-9" href="#major-9" class="md2man-permalink" title="permalink"></a>Major:</h3>
968
+ <h2 id="version-10-0-0-2011-04-06"><a name="version-10-0-0-2011-04-06" href="#version-10-0-0-2011-04-06" class="md2man-permalink" title="permalink"></a>Version 10.0.0 (2011-04-06)</h2><h3 id="major-10"><a name="major-10" href="#major-10" class="md2man-permalink" title="permalink"></a>Major:</h3>
913
969
  <ul>
914
970
  <li>The <code>Test::Loop.before_each_test</code> and <code>Test::Loop.after_each_test</code>
915
971
  parameters are arrays now.</li>
916
972
  </ul>
917
- <h2 id="version-9-4-0-2011-04-06"><a name="version-9-4-0-2011-04-06" href="#version-9-4-0-2011-04-06" class="md2man-permalink" title="permalink"></a>Version 9.4.0 (2011-04-06)</h2><h3 id="minor-27"><a name="minor-27" href="#minor-27" class="md2man-permalink" title="permalink"></a>Minor:</h3>
973
+ <h2 id="version-9-4-0-2011-04-06"><a name="version-9-4-0-2011-04-06" href="#version-9-4-0-2011-04-06" class="md2man-permalink" title="permalink"></a>Version 9.4.0 (2011-04-06)</h2><h3 id="minor-28"><a name="minor-28" href="#minor-28" class="md2man-permalink" title="permalink"></a>Minor:</h3>
918
974
  <ul>
919
975
  <li><p>Allow lambda functions in <code>Test::Loop.test_file_matchers</code> to return <code>nil</code>
920
976
  so that you can exclude certain tests from being executed. (Brian D.
921
977
  Burns)</p></li>
922
978
  <li><p>Prefix worker process title with &quot;test-loop&quot; for easier <a class="md2man-reference">ps(1)</a>
923
979
  searchability. The monitoring command in the README is now simplified to
924
- the following:</p>
925
- <pre><code>watch &#39;ps xf | grep test-loop | sed 1,3d&#39;
980
+ the following:</p><pre><code>watch &#39;ps xf | grep test-loop | sed 1,3d&#39;
926
981
  </code></pre></li>
927
982
  </ul>
928
983
  <h3 id="patch-42"><a name="patch-42" href="#patch-42" class="md2man-permalink" title="permalink"></a>Patch:</h3>
@@ -931,14 +986,14 @@ the following:</p>
931
986
  from being run when exiting the loop after having processed a test/spec
932
987
  helper that loads the Test::Unit library. (Brian D. Burns)</li>
933
988
  </ul>
934
- <h3 id="other-36"><a name="other-36" href="#other-36" class="md2man-permalink" title="permalink"></a>Other:</h3>
989
+ <h3 id="other-37"><a name="other-37" href="#other-37" class="md2man-permalink" title="permalink"></a>Other:</h3>
935
990
  <ul>
936
991
  <li><p>Use throw/catch to break loop instead of raising SystemExit exception.</p></li>
937
992
  <li><p>Trap SIGTERM with IGNORE/DEFAULT instead of using a closure in master.</p></li>
938
993
  <li><p>Unregister master&#39;s custom signal handlers inside worker processes.</p></li>
939
994
  <li><p>Separate configuration parameters into subsections in README.</p></li>
940
995
  </ul>
941
- <h2 id="version-9-3-0-2011-04-01"><a name="version-9-3-0-2011-04-01" href="#version-9-3-0-2011-04-01" class="md2man-permalink" title="permalink"></a>Version 9.3.0 (2011-04-01)</h2><h3 id="minor-28"><a name="minor-28" href="#minor-28" class="md2man-permalink" title="permalink"></a>Minor:</h3>
996
+ <h2 id="version-9-3-0-2011-04-01"><a name="version-9-3-0-2011-04-01" href="#version-9-3-0-2011-04-01" class="md2man-permalink" title="permalink"></a>Version 9.3.0 (2011-04-01)</h2><h3 id="minor-29"><a name="minor-29" href="#minor-29" class="md2man-permalink" title="permalink"></a>Minor:</h3>
942
997
  <ul>
943
998
  <li><p>Resume currently running tests--as well as those currently needing to be
944
999
  run--after reabsorbing test execution overhead. (Brian D. Burns)</p></li>
@@ -963,7 +1018,7 @@ running waitall(), instead of sending SIGKILL to the entire process group.
963
1018
  As a result, test-loop no longer exits with a non-zero status upon SIGINT.</p></li>
964
1019
  <li><p>Remove &#39;ansi&#39; gem dependency. (Brian D. Burns)</p></li>
965
1020
  </ul>
966
- <h3 id="other-37"><a name="other-37" href="#other-37" class="md2man-permalink" title="permalink"></a>Other:</h3>
1021
+ <h3 id="other-38"><a name="other-38" href="#other-38" class="md2man-permalink" title="permalink"></a>Other:</h3>
967
1022
  <ul>
968
1023
  <li><p>Add tip on deleting logs for passing tests. (Brian D. Burns)</p></li>
969
1024
  <li><p>Add tip on monitoring test processes with <a class="md2man-reference">watch(1)</a> in README.</p></li>