tork 20.0.0 → 20.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION.markdown +8 -0
- data/bin/tork +3 -3
- data/bin/tork-driver +3 -3
- data/bin/tork-engine +3 -3
- data/bin/tork-herald +3 -3
- data/bin/tork-master +3 -3
- data/bin/tork-notify +3 -3
- data/bin/tork-remote +2 -2
- data/bin/tork-runner +3 -3
- data/lib/tork/version.rb +1 -1
- data/man/index.html +1 -1
- data/man/man0/README.html +14 -14
- data/man/man0/README.markdown +1 -0
- data/man/man0/VERSION.html +164 -159
- data/man/man0/VERSION.markdown +1 -0
- data/man/man1/tork-driver.1 +3 -3
- data/man/man1/tork-driver.1.html +5 -5
- data/man/man1/tork-engine.1 +3 -3
- data/man/man1/tork-engine.1.html +5 -5
- data/man/man1/tork-herald.1 +3 -3
- data/man/man1/tork-herald.1.html +3 -3
- data/man/man1/tork-master.1 +3 -3
- data/man/man1/tork-master.1.html +6 -6
- data/man/man1/tork-notify.1 +3 -3
- data/man/man1/tork-notify.1.html +3 -3
- data/man/man1/tork-remote.1 +2 -2
- data/man/man1/tork-remote.1.html +3 -3
- data/man/man1/tork-runner.1 +3 -3
- data/man/man1/tork-runner.1.html +3 -3
- data/man/man1/tork.1 +3 -3
- data/man/man1/tork.1.html +5 -5
- data/man/style.css +7 -2
- data/tork.gemspec +2 -2
- metadata +7 -7
- data/man/man0/README.markdown +0 -214
- data/man/man0/VERSION.markdown +0 -1693
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e6df66c2f38e5082fee475e685c6a3e45d48d5e4
|
|
4
|
+
data.tar.gz: b8c169eb23c7b95b60a7ca95ef73d61377ba39af
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 07ce4a1cb8ac716dce2c30490578085d4b1d099283bc50972fa7d922cfc42f4e36b095912750f47bdb1ccc8b794254a6e8a9ed9e60e710957b6dcc416d3187fc
|
|
7
|
+
data.tar.gz: f21940e778df72f9beb15cd095435e492234164a3c33e6633b318ad30cfb38c8f35164b70200f6bcd2190b2790d05bdc88964c13cc47b1ab6379c5d592bb361f
|
data/VERSION.markdown
CHANGED
data/bin/tork
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
=begin =======================================================================
|
|
3
3
|
|
|
4
|
-
# TORK 1
|
|
4
|
+
# TORK 1 2016-02-13 20.0.1
|
|
5
5
|
|
|
6
6
|
## NAME
|
|
7
7
|
|
|
@@ -40,8 +40,8 @@ This program can be controlled remotely by multiple tork-remote(1) instances.
|
|
|
40
40
|
|
|
41
41
|
## OPTIONS
|
|
42
42
|
|
|
43
|
-
`-h
|
|
44
|
-
Show this help manual.
|
|
43
|
+
`-h` [*PATTERN*], `--help` [*PATTERN*]
|
|
44
|
+
Show this help manual and search for *PATTERN* regular expression therein.
|
|
45
45
|
|
|
46
46
|
## FILES
|
|
47
47
|
|
data/bin/tork-driver
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
=begin =======================================================================
|
|
3
3
|
|
|
4
|
-
# TORK-DRIVER 1
|
|
4
|
+
# TORK-DRIVER 1 2016-02-13 20.0.1
|
|
5
5
|
|
|
6
6
|
## NAME
|
|
7
7
|
|
|
@@ -44,8 +44,8 @@ to stdout.
|
|
|
44
44
|
|
|
45
45
|
## OPTIONS
|
|
46
46
|
|
|
47
|
-
`-h
|
|
48
|
-
Show this help manual.
|
|
47
|
+
`-h` [*PATTERN*], `--help` [*PATTERN*]
|
|
48
|
+
Show this help manual and search for *PATTERN* regular expression therein.
|
|
49
49
|
|
|
50
50
|
## FILES
|
|
51
51
|
|
data/bin/tork-engine
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
=begin =======================================================================
|
|
3
3
|
|
|
4
|
-
# TORK-ENGINE 1
|
|
4
|
+
# TORK-ENGINE 1 2016-02-13 20.0.1
|
|
5
5
|
|
|
6
6
|
## NAME
|
|
7
7
|
|
|
@@ -79,8 +79,8 @@ to stdout.
|
|
|
79
79
|
|
|
80
80
|
## OPTIONS
|
|
81
81
|
|
|
82
|
-
`-h
|
|
83
|
-
Show this help manual.
|
|
82
|
+
`-h` [*PATTERN*], `--help` [*PATTERN*]
|
|
83
|
+
Show this help manual and search for *PATTERN* regular expression therein.
|
|
84
84
|
|
|
85
85
|
## FILES
|
|
86
86
|
|
data/bin/tork-herald
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
=begin =======================================================================
|
|
3
3
|
|
|
4
|
-
# TORK-HERALD 1
|
|
4
|
+
# TORK-HERALD 1 2016-02-13 20.0.1
|
|
5
5
|
|
|
6
6
|
## NAME
|
|
7
7
|
|
|
@@ -19,8 +19,8 @@ paths in a single-line JSON array to stdout.
|
|
|
19
19
|
|
|
20
20
|
## OPTIONS
|
|
21
21
|
|
|
22
|
-
`-h
|
|
23
|
-
Show this help manual.
|
|
22
|
+
`-h` [*PATTERN*], `--help` [*PATTERN*]
|
|
23
|
+
Show this help manual and search for *PATTERN* regular expression therein.
|
|
24
24
|
|
|
25
25
|
## SEE ALSO
|
|
26
26
|
|
data/bin/tork-master
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
=begin =======================================================================
|
|
3
3
|
|
|
4
|
-
# TORK-MASTER 1
|
|
4
|
+
# TORK-MASTER 1 2016-02-13 20.0.1
|
|
5
5
|
|
|
6
6
|
## NAME
|
|
7
7
|
|
|
@@ -60,8 +60,8 @@ to stdout.
|
|
|
60
60
|
|
|
61
61
|
## OPTIONS
|
|
62
62
|
|
|
63
|
-
`-h
|
|
64
|
-
Show this help manual.
|
|
63
|
+
`-h` [*PATTERN*], `--help` [*PATTERN*]
|
|
64
|
+
Show this help manual and search for *PATTERN* regular expression therein.
|
|
65
65
|
|
|
66
66
|
## FILES
|
|
67
67
|
|
data/bin/tork-notify
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
=begin =======================================================================
|
|
3
3
|
|
|
4
|
-
# TORK-NOTIFY 1
|
|
4
|
+
# TORK-NOTIFY 1 2016-02-13 20.0.1
|
|
5
5
|
|
|
6
6
|
## NAME
|
|
7
7
|
|
|
@@ -20,8 +20,8 @@ none are available on your system, then the notification is printed to stdout.
|
|
|
20
20
|
|
|
21
21
|
## OPTIONS
|
|
22
22
|
|
|
23
|
-
`-h
|
|
24
|
-
Show this help manual.
|
|
23
|
+
`-h` [*PATTERN*], `--help` [*PATTERN*]
|
|
24
|
+
Show this help manual and search for *PATTERN* regular expression therein.
|
|
25
25
|
|
|
26
26
|
## EXIT STATUS
|
|
27
27
|
|
data/bin/tork-remote
CHANGED
|
@@ -20,8 +20,8 @@ to stdout if they are valid single-line JSON arrays or to stderr otherwise.
|
|
|
20
20
|
|
|
21
21
|
## OPTIONS
|
|
22
22
|
|
|
23
|
-
`-h
|
|
24
|
-
Show this help manual.
|
|
23
|
+
`-h` [*PATTERN*], `--help` [*PATTERN*]
|
|
24
|
+
Show this help manual and search for *PATTERN* regular expression therein.
|
|
25
25
|
|
|
26
26
|
## EXIT STATUS
|
|
27
27
|
|
data/bin/tork-runner
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
=begin =======================================================================
|
|
3
3
|
|
|
4
|
-
# TORK-RUNNER 1
|
|
4
|
+
# TORK-RUNNER 1 2016-02-13 20.0.1
|
|
5
5
|
|
|
6
6
|
## NAME
|
|
7
7
|
|
|
@@ -35,8 +35,8 @@ This program prints the following messages to stderr if it is a TTY device.
|
|
|
35
35
|
|
|
36
36
|
## OPTIONS
|
|
37
37
|
|
|
38
|
-
`-h
|
|
39
|
-
Show this help manual.
|
|
38
|
+
`-h` [*PATTERN*], `--help` [*PATTERN*]
|
|
39
|
+
Show this help manual and search for *PATTERN* regular expression therein.
|
|
40
40
|
|
|
41
41
|
## EXIT STATUS
|
|
42
42
|
|
data/lib/tork/version.rb
CHANGED
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
|
|
5
|
+
<meta name="generator" content="md2man 5.0.1 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
|
|
5
|
+
<meta name="generator" content="md2man 5.0.1 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]-->
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
<li>Support: <a href="https://github.com/sunaku/tork/issues">https://github.com/sunaku/tork/issues</a></li>
|
|
22
22
|
<li>Package: <a href="https://rubygems.org/gems/tork">https://rubygems.org/gems/tork</a></li>
|
|
23
23
|
</ul>
|
|
24
|
-
<h1 id="test-with-fork"><
|
|
24
|
+
<h1 id="test-with-fork"><span class="md2man-title"><em>Test</span> <span class="md2man-section">with</span> <span class="md2man-date">fork</em></span><a name="test-with-fork" href="#test-with-fork" class="md2man-permalink" title="permalink"></a></h1><p>Tork runs your tests as they change, in parallel:</p>
|
|
25
25
|
<ol>
|
|
26
26
|
<li><p>Absorbs test execution overhead into a master process.</p></li>
|
|
27
27
|
<li><p>Forks to inherit overhead and run test files in parallel.</p></li>
|
|
28
28
|
<li><p>Avoids running unchanged tests inside changed test files.</p></li>
|
|
29
29
|
</ol>
|
|
30
|
-
<h2 id="features"
|
|
30
|
+
<h2 id="features">Features<a name="features" href="#features" class="md2man-permalink" title="permalink"></a></h2>
|
|
31
31
|
<ul>
|
|
32
32
|
<li><p>No configuration necessary: simply run <code>tork</code> to start testing <em>now!</em></p></li>
|
|
33
33
|
<li><p>Runs test files in parallel using fork for multi-core/CPU utilization.</p></li>
|
|
@@ -41,7 +41,7 @@ your application's <code>test/test_helper.rb</code> or <code>spec/spec_helpe
|
|
|
41
41
|
<li><p>You can override the modular <code>tork*</code> programs with your own in $PATH.</p></li>
|
|
42
42
|
<li><p>You can remotely control other <code>tork*</code> programs using <a class="md2man-reference" href="../man1/tork-remote.1.html">tork-remote(1)</a>.</p></li>
|
|
43
43
|
</ul>
|
|
44
|
-
<h3 id="architecture"
|
|
44
|
+
<h3 id="architecture">Architecture<a name="architecture" href="#architecture" class="md2man-permalink" title="permalink"></a></h3><p>Following UNIX philosophy, Tork is composed of simple text-based programs that
|
|
45
45
|
<em>do one thing well</em>. As a result, you can even create your own user interface
|
|
46
46
|
for Tork by wrapping the <a class="md2man-reference" href="../man1/tork-driver.1.html">tork-driver(1)</a> program appropriately!</p>
|
|
47
47
|
<ul>
|
|
@@ -77,9 +77,9 @@ echo run_test_file test/some_test.rb 4 33 21 | tork-remote tork-engine
|
|
|
77
77
|
</code></pre></li>
|
|
78
78
|
</ol>
|
|
79
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
|
|
80
|
-
and then exit with a nonzero status if tests failed, similar to <code>rake test</code>.</p><h2 id="installation"
|
|
80
|
+
and then exit with a nonzero status if tests failed, similar to <code>rake test</code>.</p><h2 id="installation">Installation<a name="installation" href="#installation" class="md2man-permalink" title="permalink"></a></h2><pre><code>gem install tork
|
|
81
81
|
</code></pre>
|
|
82
|
-
<h3 id="prerequisites"
|
|
82
|
+
<h3 id="prerequisites">Prerequisites<a name="prerequisites" href="#prerequisites" class="md2man-permalink" title="permalink"></a></h3>
|
|
83
83
|
<ul>
|
|
84
84
|
<li><p>Ruby 1.8.7 or 1.9.3 or newer.</p></li>
|
|
85
85
|
<li><p>Operating system that supports POSIX signals and the <code>fork()</code> system call.
|
|
@@ -91,13 +91,13 @@ Signal.list.key? 'KILL' # must be true
|
|
|
91
91
|
gem install rb-fsevent # macosx
|
|
92
92
|
</code></pre></li>
|
|
93
93
|
</ul>
|
|
94
|
-
<h3 id="development"
|
|
94
|
+
<h3 id="development">Development<a name="development" href="#development" class="md2man-permalink" title="permalink"></a></h3><pre><code>git clone git://github.com/sunaku/tork
|
|
95
95
|
cd tork
|
|
96
96
|
bundle install
|
|
97
97
|
bundle exec tork --help # run it directly
|
|
98
98
|
bundle exec rake --tasks # packaging tasks
|
|
99
99
|
</code></pre>
|
|
100
|
-
<h2 id="usage"
|
|
100
|
+
<h2 id="usage">Usage<a name="usage" href="#usage" class="md2man-permalink" title="permalink"></a></h2><h3 id="at-the-command-line">At the command line<a name="at-the-command-line" href="#at-the-command-line" class="md2man-permalink" title="permalink"></a></h3><pre><code>tork --help
|
|
101
101
|
</code></pre>
|
|
102
102
|
<p>You can add line editing, history, and filename completion:</p><pre><code>rlwrap -c tork
|
|
103
103
|
</code></pre>
|
|
@@ -110,18 +110,18 @@ echo run_test_file test/some_test.rb 4 33 21 | tork-remote tork-engine
|
|
|
110
110
|
</code></pre>
|
|
111
111
|
<p>You can monitor your test processes from another terminal:</p><pre><code>watch 'pgrep -f ^tork | xargs -r ps uf'
|
|
112
112
|
</code></pre>
|
|
113
|
-
<h3 id="with-bundler"
|
|
113
|
+
<h3 id="with-bundler">With Bundler<a name="with-bundler" href="#with-bundler" class="md2man-permalink" title="permalink"></a></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>.
|
|
114
114
|
The <code>default</code> configuration helper does this for you automatically if there is
|
|
115
115
|
a <code>Gemfile</code> or <code>Gemfile.lock</code> file present in your current working directory.</p><p>As a result, you don't need to add Tork to your <code>Gemfile</code> <em>just</em> to run tests!
|
|
116
|
-
Instead, installing Tork as a Ruby gem <em>outside</em> of your bundle is sufficient.</p><p>Try it: go into any bundled application and call <code>tork</code> to run its test suite.</p><h3 id="with-minitest"
|
|
116
|
+
Instead, installing Tork as a Ruby gem <em>outside</em> of your bundle is sufficient.</p><p>Try it: go into any bundled application and call <code>tork</code> to run its test suite.</p><h3 id="with-minitest">With MiniTest<a name="with-minitest" href="#with-minitest" class="md2man-permalink" title="permalink"></a></h3><p>MiniTest 1.3.2 and newer contain a bug where <code>minitest/autorun</code> won't run any
|
|
117
117
|
tests if someone calls <code>Kernel#exit</code> explicitly or simply loads a library
|
|
118
118
|
(such as RSpec) which makes the call implicitly. Use Tork 19.0.2+ to avoid
|
|
119
|
-
this problem or <a href="https://github.com/seattlerb/minitest/pull/183/files">apply this patch to the minitest library</a> to fix the problem.</p><h3 id="with-rspec"
|
|
119
|
+
this problem or <a href="https://github.com/seattlerb/minitest/pull/183/files">apply this patch to the minitest library</a> to fix the problem.</p><h3 id="with-rspec">With RSpec<a name="with-rspec" href="#with-rspec" class="md2man-permalink" title="permalink"></a></h3><p>RSpec 2.9.0 and newer contain a bug where RSpec's autorun helper won't run any
|
|
120
120
|
specs if someone calls <code>Kernel#exit</code> explicitly or simply loads a library
|
|
121
121
|
(such as Test::Unit) which makes the call implicitly. Use Tork 19.0.2+ to
|
|
122
122
|
avoid this problem or <a href="https://github.com/rspec/rspec-core/pull/720/files">apply this patch to the rspec-core library</a> to fix the problem.</p><p>RSpec 2.8.0 and older contain <a href="https://github.com/sunaku/tork/issues/31">a bug</a> where a nonzero exit status (caused
|
|
123
123
|
by an uncaught exception) is overridden by RSpec's <code>Kernel#at_exit</code> handler to
|
|
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
|
|
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">With <a href="http://rubyonrails.org">Ruby on Rails</a><a name="with-ruby-on-rails" href="#with-ruby-on-rails" class="md2man-permalink" title="permalink"></a></h3><p>For Rails 3 or newer, use the <code>rails</code> configuration helper <em>before</em> the <code>test</code>
|
|
125
125
|
or <code>spec</code> helpers. Otherwise your test helper will load Rails <em>before</em> the
|
|
126
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
|
|
127
127
|
</code></pre>
|
|
@@ -131,9 +131,9 @@ database adapter</a>. Otherwise, you <em>might</em> face these errors:</p>
|
|
|
131
131
|
<p>SQLite3::BusyException: database is locked</p><p>cannot start a transaction within a transaction</p></blockquote>
|
|
132
132
|
<p>For older Rails, to use SQLite3 as your test database along with browser-based
|
|
133
133
|
acceptance testing frameworks such as Capybara, see
|
|
134
|
-
<a href="http://www.spacevatican.org/2012/8/18/threading-the-rat/">http://www.spacevatican.org/2012/8/18/threading-the-rat/</a></p><h2 id="configuration"
|
|
134
|
+
<a href="http://www.spacevatican.org/2012/8/18/threading-the-rat/">http://www.spacevatican.org/2012/8/18/threading-the-rat/</a></p><h2 id="configuration">Configuration<a name="configuration" href="#configuration" class="md2man-permalink" title="permalink"></a></h2><p>Tork looks for a configuration directory named <code>.tork/</code> inside its working
|
|
135
135
|
directory. The configuration directory contains specially-named Ruby scripts,
|
|
136
136
|
within which you can query and modify the settings for various tork programs.
|
|
137
137
|
See the "FILES" sections in the manual pages of tork programs for details.</p><p>Note that tork <em>does not</em> automatically reload changes from your configuration
|
|
138
|
-
directory. Consequently, you must restart tork if your configuration changes.</p><h2 id="license"
|
|
138
|
+
directory. Consequently, you must restart tork if your configuration changes.</p><h2 id="license">License<a name="license" href="#license" class="md2man-permalink" title="permalink"></a></h2><p>Released under the ISC license. See the LICENSE file for details.</p></div></body>
|
|
139
139
|
</html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
../../README.markdown
|
data/man/man0/VERSION.html
CHANGED
|
@@ -2,12 +2,17 @@
|
|
|
2
2
|
<html>
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
|
-
<meta name="generator" content="md2man
|
|
5
|
+
<meta name="generator" content="md2man 5.0.1 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-20-0-
|
|
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-1-2016-02-13">Version 20.0.1 (2016-02-13)<a name="version-20-0-1-2016-02-13" href="#version-20-0-1-2016-02-13" class="md2man-permalink" title="permalink"></a></h2><h3 id="other">Other:<a name="other" href="#other" class="md2man-permalink" title="permalink"></a></h3>
|
|
11
|
+
<ul>
|
|
12
|
+
<li><p>Upgrade to md2man 5.0 and binman 5.0 for manual pages.</p></li>
|
|
13
|
+
<li><p>Document optional regexp argument to <code>-h</code> and <code>--help</code>.</p></li>
|
|
14
|
+
</ul>
|
|
15
|
+
<h2 id="version-20-0-0-2014-10-26">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></h2><h3 id="major">Major:<a name="major" href="#major" class="md2man-permalink" title="permalink"></a></h3>
|
|
11
16
|
<ul>
|
|
12
17
|
<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
18
|
how many tests that have started running <em>so far</em> have been completed.
|
|
@@ -60,22 +65,22 @@ VT100 escape codes for reprinting in-place with a \r (carriage return).</p></li>
|
|
|
60
65
|
</ul></li>
|
|
61
66
|
</ul></li>
|
|
62
67
|
</ul>
|
|
63
|
-
<h3 id="minor"
|
|
68
|
+
<h3 id="minor">Minor:<a name="minor" href="#minor" class="md2man-permalink" title="permalink"></a></h3>
|
|
64
69
|
<ul>
|
|
65
70
|
<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
71
|
<li><p><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>: emit "tork:" prefix on all messages sent to user.</p></li>
|
|
67
72
|
</ul>
|
|
68
|
-
<h3 id="other"
|
|
73
|
+
<h3 id="other-1">Other:<a name="other-1" href="#other-1" class="md2man-permalink" title="permalink"></a></h3>
|
|
69
74
|
<ul>
|
|
70
75
|
<li>Upgrade to md2man 4.0 and binman 4.0.</li>
|
|
71
76
|
</ul>
|
|
72
|
-
<h2 id="version-19-11-1-2014-10-24"
|
|
77
|
+
<h2 id="version-19-11-1-2014-10-24">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></h2><p>This release improves support for RSpec 3 and Rails 4.</p><h3 id="patch">Patch:<a name="patch" href="#patch" class="md2man-permalink" title="permalink"></a></h3>
|
|
73
78
|
<ul>
|
|
74
79
|
<li><p>GH-61: <code>uninitialized constant RSpec</code> for rspec > 3 (Jonathan Cairns).</p></li>
|
|
75
80
|
<li><p>Fix TypeError in driver when multiple globs are used (Jonathan Cairns).</p></li>
|
|
76
81
|
<li><p>Simple fix for detecting rails 4 apps (Jonathan Cairns).</p></li>
|
|
77
82
|
</ul>
|
|
78
|
-
<h2 id="version-19-10-0-2014-08-06"
|
|
83
|
+
<h2 id="version-19-10-0-2014-08-06">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></h2><p>This release improves responsiveness and adds a command to list failed files.</p><h3 id="minor-1">Minor:<a name="minor-1" href="#minor-1" class="md2man-permalink" title="permalink"></a></h3>
|
|
79
84
|
<ul>
|
|
80
85
|
<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
|
|
81
86
|
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
|
|
@@ -84,18 +89,18 @@ allows <a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a> to sum
|
|
|
84
89
|
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:
|
|
85
90
|
<a href="https://github.com/sunaku/tork/pull/60">https://github.com/sunaku/tork/pull/60</a></p></li>
|
|
86
91
|
</ul>
|
|
87
|
-
<h3 id="patch-1"
|
|
92
|
+
<h3 id="patch-1">Patch:<a name="patch-1" href="#patch-1" class="md2man-permalink" title="permalink"></a></h3>
|
|
88
93
|
<ul>
|
|
89
94
|
<li><p>tork/config: auto-detect <code>$TORK_CONFIGS</code> values only once per session.
|
|
90
95
|
This makes Tork load configuration helpers faster on slow file-systems.</p></li>
|
|
91
96
|
<li><p>Use block-form of Dir.glob() to react more quickly on slow file-systems.
|
|
92
97
|
This makes <a class="md2man-reference" href="../man1/tork-driver.1.html">tork-driver(1)</a>'s <code>run_all_test_files</code> command more responsive.</p></li>
|
|
93
98
|
</ul>
|
|
94
|
-
<h3 id="other-
|
|
99
|
+
<h3 id="other-2">Other:<a name="other-2" href="#other-2" class="md2man-permalink" title="permalink"></a></h3>
|
|
95
100
|
<ul>
|
|
96
101
|
<li>Align error/help message wording with manual pages.</li>
|
|
97
102
|
</ul>
|
|
98
|
-
<h2 id="version-19-9-0-2014-07-17"
|
|
103
|
+
<h2 id="version-19-9-0-2014-07-17">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></h2><h3 id="minor-2">Minor:<a name="minor-2" href="#minor-2" class="md2man-permalink" title="permalink"></a></h3>
|
|
99
104
|
<ul>
|
|
100
105
|
<li><p>Add support for testing outside <code>test/</code> and <code>spec/</code> directories. This
|
|
101
106
|
change lets you run test files directly from the current working directory
|
|
@@ -108,20 +113,20 @@ itself detect whether it is needed from inside its own <code>config.rb</code> fi
|
|
|
108
113
|
<li><p>Censor Tork internals from test failure backtraces so that users can
|
|
109
114
|
inspect them quickly to find where errors are arising in their code.</p></li>
|
|
110
115
|
</ul>
|
|
111
|
-
<h3 id="patch-2"
|
|
116
|
+
<h3 id="patch-2">Patch:<a name="patch-2" href="#patch-2" class="md2man-permalink" title="permalink"></a></h3>
|
|
112
117
|
<ul>
|
|
113
118
|
<li>Only 1 worker was being used on a dual-core system.</li>
|
|
114
119
|
</ul>
|
|
115
|
-
<h3 id="other-
|
|
120
|
+
<h3 id="other-3">Other:<a name="other-3" href="#other-3" class="md2man-permalink" title="permalink"></a></h3>
|
|
116
121
|
<ul>
|
|
117
122
|
<li><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>: use complete sentences in the help message.</li>
|
|
118
123
|
</ul>
|
|
119
|
-
<h2 id="version-19-8-2-2014-07-01"
|
|
124
|
+
<h2 id="version-19-8-2-2014-07-01">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></h2><p>This release adds support for RSpec 3+ in the <code>spec</code> configuration helper.</p><h3 id="patch-3">Patch:<a name="patch-3" href="#patch-3" class="md2man-permalink" title="permalink"></a></h3>
|
|
120
125
|
<ul>
|
|
121
126
|
<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:
|
|
122
127
|
<a href="https://github.com/sunaku/tork/issues/58">https://github.com/sunaku/tork/issues/58</a></p></li>
|
|
123
128
|
</ul>
|
|
124
|
-
<h2 id="version-19-8-1-2014-06-28"
|
|
129
|
+
<h2 id="version-19-8-1-2014-06-28">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></h2><h3 id="patch-4">Patch:<a name="patch-4" href="#patch-4" class="md2man-permalink" title="permalink"></a></h3>
|
|
125
130
|
<ul>
|
|
126
131
|
<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
|
|
127
132
|
that reports changed file paths in a less than ideal, but valid, way.
|
|
@@ -130,18 +135,18 @@ For example, with relative directory traversals and redundant slashes.</p></li>
|
|
|
130
135
|
killed so it should be safe to delete it and start up a new server.</p></li>
|
|
131
136
|
<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>
|
|
132
137
|
</ul>
|
|
133
|
-
<h3 id="other-
|
|
138
|
+
<h3 id="other-4">Other:<a name="other-4" href="#other-4" class="md2man-permalink" title="permalink"></a></h3>
|
|
134
139
|
<ul>
|
|
135
140
|
<li><p>Rename <code>*.md</code> file extension to the full <code>*.markdown</code>.</p></li>
|
|
136
141
|
<li><p>README: link to manuals index; demote package link.</p></li>
|
|
137
142
|
</ul>
|
|
138
|
-
<h2 id="version-19-8-0-2014-06-23"
|
|
143
|
+
<h2 id="version-19-8-0-2014-06-23">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></h2><h3 id="minor-3">Minor:<a name="minor-3" href="#minor-3" class="md2man-permalink" title="permalink"></a></h3>
|
|
139
144
|
<ul>
|
|
140
145
|
<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
|
|
141
146
|
having to first add Tork to its <code>Gemfile</code> and then <code>bundle install</code> it.
|
|
142
147
|
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>
|
|
143
148
|
</ul>
|
|
144
|
-
<h3 id="patch-5"
|
|
149
|
+
<h3 id="patch-5">Patch:<a name="patch-5" href="#patch-5" class="md2man-permalink" title="permalink"></a></h3>
|
|
145
150
|
<ul>
|
|
146
151
|
<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':
|
|
147
152
|
undefined method `empty?' for 6:Fixnum (NoMethodError)
|
|
@@ -161,31 +166,31 @@ JSON::ParserError: A JSON text must at least contain two octets!
|
|
|
161
166
|
from /usr/bin/irb:11:in `<main>'
|
|
162
167
|
</code></pre></li>
|
|
163
168
|
</ul>
|
|
164
|
-
<h3 id="other-
|
|
169
|
+
<h3 id="other-5">Other:<a name="other-5" href="#other-5" class="md2man-permalink" title="permalink"></a></h3>
|
|
165
170
|
<ul>
|
|
166
171
|
<li>Upgrade to md2man 3.0 for improved HTML manuals.</li>
|
|
167
172
|
</ul>
|
|
168
|
-
<h2 id="version-19-7-0-2014-03-04"
|
|
173
|
+
<h2 id="version-19-7-0-2014-03-04">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></h2><p>This release automatically re-runs failed tests after reabsorbing overhead.</p><h3 id="minor-4">Minor:<a name="minor-4" href="#minor-4" class="md2man-permalink" title="permalink"></a></h3>
|
|
169
174
|
<ul>
|
|
170
175
|
<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
|
|
171
176
|
patch</a>.</p></li>
|
|
172
177
|
</ul>
|
|
173
|
-
<h2 id="version-19-6-1-2014-03-04"
|
|
178
|
+
<h2 id="version-19-6-1-2014-03-04">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></h2><p>This release improves support for old Rails versions.</p><h3 id="patch-6">Patch:<a name="patch-6" href="#patch-6" class="md2man-permalink" title="permalink"></a></h3>
|
|
174
179
|
<ul>
|
|
175
180
|
<li><p>Rails < 3.1.0 does not have <code>connection_config()</code>.</p></li>
|
|
176
181
|
<li><p><code>schema_cache()</code> is only defined in Rails >= 4.</p></li>
|
|
177
182
|
</ul>
|
|
178
|
-
<h2 id="version-19-6-0-2014-01-02"
|
|
183
|
+
<h2 id="version-19-6-0-2014-01-02">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></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">Minor:<a name="minor-5" href="#minor-5" class="md2man-permalink" title="permalink"></a></h3>
|
|
179
184
|
<ul>
|
|
180
185
|
<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>
|
|
181
186
|
</ul>
|
|
182
|
-
<h3 id="patch-7"
|
|
187
|
+
<h3 id="patch-7">Patch:<a name="patch-7" href="#patch-7" class="md2man-permalink" title="permalink"></a></h3>
|
|
183
188
|
<ul>
|
|
184
189
|
<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>
|
|
185
190
|
</ul>
|
|
186
|
-
<h2 id="version-19-5-1-2013-12-02"
|
|
191
|
+
<h2 id="version-19-5-1-2013-12-02">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></h2><p>This release restores support for Capybara integration tests in the <code>rails</code>
|
|
187
192
|
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
|
|
188
|
-
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"
|
|
193
|
+
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">Patch:<a name="patch-8" href="#patch-8" class="md2man-permalink" title="permalink"></a></h3>
|
|
189
194
|
<ul>
|
|
190
195
|
<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
|
|
191
196
|
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>
|
|
@@ -193,9 +198,9 @@ connection to the test database instead of re-using our in-memory DB.</p><p><a h
|
|
|
193
198
|
<li><p><a class="md2man-reference" href="../man1/tork-runner.1.html">tork-runner(1)</a>: prevent Test::Unit from running in <code>at_exit</code> hook.</p><p>Test::Unit is finding and running 0 tests in <a class="md2man-reference" href="../man1/tork-runner.1.html">tork-runner(1)</a> itself.</p></li>
|
|
194
199
|
<li><p><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>: forgot to update man page: ENTER by itself does nothing now.</p></li>
|
|
195
200
|
</ul>
|
|
196
|
-
<h2 id="version-19-5-0-2013-11-30"
|
|
201
|
+
<h2 id="version-19-5-0-2013-11-30">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></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,
|
|
197
202
|
makes connections to tork subprocesses self-healing, eliminates "address
|
|
198
|
-
already in use" 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"
|
|
203
|
+
already in use" 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">Minor:<a name="minor-6" href="#minor-6" class="md2man-permalink" title="permalink"></a></h3>
|
|
199
204
|
<ul>
|
|
200
205
|
<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
|
|
201
206
|
exit with a nonzero status if tests failed, similar to <code>rake test</code>.</p></li>
|
|
@@ -209,7 +214,7 @@ to re-use the former's resources to run your test suite non-interactively.</
|
|
|
209
214
|
<li><p><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>: show help message to clients upon connecting.</p></li>
|
|
210
215
|
<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>
|
|
211
216
|
</ul>
|
|
212
|
-
<h3 id="patch-9"
|
|
217
|
+
<h3 id="patch-9">Patch:<a name="patch-9" href="#patch-9" class="md2man-permalink" title="permalink"></a></h3>
|
|
213
218
|
<ul>
|
|
214
219
|
<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)
|
|
215
220
|
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>
|
|
@@ -240,59 +245,59 @@ tork-driver: /home/skurapati/.rvm/gems/ruby-1.9.3-p448/bin/tork-driver:23:in `&l
|
|
|
240
245
|
</ul></li>
|
|
241
246
|
<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>
|
|
242
247
|
</ul>
|
|
243
|
-
<h3 id="other-
|
|
248
|
+
<h3 id="other-6">Other:<a name="other-6" href="#other-6" class="md2man-permalink" title="permalink"></a></h3>
|
|
244
249
|
<ul>
|
|
245
250
|
<li><p>GH-56: specify license in gemspec for rubygems.org.</p></li>
|
|
246
251
|
<li><p>Document <a class="md2man-reference">sh(1)</a> word splitting in manual pages of all tork servers.</p></li>
|
|
247
252
|
<li><p>README: use <code>ps uf</code> to visualize process hierarchy.</p></li>
|
|
248
253
|
</ul>
|
|
249
|
-
<h2 id="version-19-4-0-2013-11-25"
|
|
254
|
+
<h2 id="version-19-4-0-2013-11-25">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></h2><h3 id="minor-7">Minor:<a name="minor-7" href="#minor-7" class="md2man-permalink" title="permalink"></a></h3>
|
|
250
255
|
<ul>
|
|
251
256
|
<li>The "rails" configuration helper now automatically sets up your test
|
|
252
257
|
database for Tork's parallel testing system if your test database is
|
|
253
258
|
SQLite3 and you are using Rails 3 or newer.</li>
|
|
254
259
|
</ul>
|
|
255
|
-
<h3 id="other-
|
|
260
|
+
<h3 id="other-7">Other:<a name="other-7" href="#other-7" class="md2man-permalink" title="permalink"></a></h3>
|
|
256
261
|
<ul>
|
|
257
262
|
<li><p>rails: remove unused capture of rescued exception</p></li>
|
|
258
263
|
<li><p>coverage: document the use of Ruby 1.9 hash syntax</p></li>
|
|
259
264
|
<li><p>rename <code>*.markdown</code> file extension to shorter <code>*.md</code></p></li>
|
|
260
265
|
</ul>
|
|
261
|
-
<h2 id="version-19-3-2-2013-10-29"
|
|
266
|
+
<h2 id="version-19-3-2-2013-10-29">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></h2><h3 id="other-8">Other:<a name="other-8" href="#other-8" class="md2man-permalink" title="permalink"></a></h3>
|
|
262
267
|
<ul>
|
|
263
268
|
<li><p>GH-55: upgrade listen & rake gem dependencies.</p><p>Thanks to Matthew Albright for reporting this issue in GH-55:
|
|
264
269
|
<a href="https://github.com/sunaku/tork/issues/55">https://github.com/sunaku/tork/issues/55</a></p></li>
|
|
265
270
|
</ul>
|
|
266
|
-
<h2 id="version-19-3-1-2013-06-07"
|
|
271
|
+
<h2 id="version-19-3-1-2013-06-07">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></h2><h3 id="patch-10">Patch:<a name="patch-10" href="#patch-10" class="md2man-permalink" title="permalink"></a></h3>
|
|
267
272
|
<ul>
|
|
268
273
|
<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:
|
|
269
274
|
<a href="https://github.com/sunaku/tork/issues/53">https://github.com/sunaku/tork/issues/53</a></p></li>
|
|
270
275
|
</ul>
|
|
271
|
-
<h3 id="other-
|
|
276
|
+
<h3 id="other-9">Other:<a name="other-9" href="#other-9" class="md2man-permalink" title="permalink"></a></h3>
|
|
272
277
|
<ul>
|
|
273
278
|
<li>Upgrade to md2man 2.0.</li>
|
|
274
279
|
</ul>
|
|
275
|
-
<h2 id="version-19-3-0-2013-05-05"
|
|
280
|
+
<h2 id="version-19-3-0-2013-05-05">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></h2><h3 id="minor-8">Minor:<a name="minor-8" href="#minor-8" class="md2man-permalink" title="permalink"></a></h3>
|
|
276
281
|
<ul>
|
|
277
282
|
<li><p><a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a> now emits <code>["idle"]</code> messages whenever all tests
|
|
278
283
|
have finished running and no more tests are queued for running.</p><p>Thanks to Jonathan Cairns for requesting this feature in GH-50:
|
|
279
284
|
<a href="https://github.com/sunaku/tork/issues/50">https://github.com/sunaku/tork/issues/50</a></p></li>
|
|
280
285
|
</ul>
|
|
281
|
-
<h3 id="other-
|
|
286
|
+
<h3 id="other-10">Other:<a name="other-10" href="#other-10" class="md2man-permalink" title="permalink"></a></h3>
|
|
282
287
|
<ul>
|
|
283
288
|
<li><p>add man/man0 subdir containing README and VERSION</p></li>
|
|
284
289
|
<li><p>README: use manpage xrefs for linking in HTML mans</p></li>
|
|
285
290
|
</ul>
|
|
286
|
-
<h2 id="version-19-2-2-2013-05-04"
|
|
287
|
-
sometimes, intermittently, when test execution overhead is being reabsorbed.</p><h3 id="patch-11"
|
|
291
|
+
<h2 id="version-19-2-2-2013-05-04">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></h2><p>This release makes Tork resilient to <code>Errno::EADDRINUSE</code> errors that may occur
|
|
292
|
+
sometimes, intermittently, when test execution overhead is being reabsorbed.</p><h3 id="patch-11">Patch:<a name="patch-11" href="#patch-11" class="md2man-permalink" title="permalink"></a></h3>
|
|
288
293
|
<ul>
|
|
289
294
|
<li>server: retry until the socket opens successfully</li>
|
|
290
295
|
</ul>
|
|
291
|
-
<h3 id="other-
|
|
296
|
+
<h3 id="other-11">Other:<a name="other-11" href="#other-11" class="md2man-permalink" title="permalink"></a></h3>
|
|
292
297
|
<ul>
|
|
293
298
|
<li>include md2man rake tasks in developer's rakefile</li>
|
|
294
299
|
</ul>
|
|
295
|
-
<h2 id="version-19-2-1-2013-02-08"
|
|
300
|
+
<h2 id="version-19-2-1-2013-02-08">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></h2><h3 id="patch-12">Patch:<a name="patch-12" href="#patch-12" class="md2man-permalink" title="permalink"></a></h3>
|
|
296
301
|
<ul>
|
|
297
302
|
<li><p>GH-46: allow reassigning <code>$tork_*</code> variable values. Thanks to Joe
|
|
298
303
|
Escalante for reminding me to fix this issue.</p></li>
|
|
@@ -300,40 +305,40 @@ Escalante for reminding me to fix this issue.</p></li>
|
|
|
300
305
|
Thanks to Ryan Ahearn for fixing this issue and to Jonathan Cairns for
|
|
301
306
|
reporting it.</p></li>
|
|
302
307
|
</ul>
|
|
303
|
-
<h2 id="version-19-2-0-2012-12-30"
|
|
308
|
+
<h2 id="version-19-2-0-2012-12-30">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></h2><h3 id="minor-9">Minor:<a name="minor-9" href="#minor-9" class="md2man-permalink" title="permalink"></a></h3>
|
|
304
309
|
<ul>
|
|
305
310
|
<li>Add "devise" configuration helper that adds support for testing Rails
|
|
306
311
|
applications that use the Devise authentication framework. Thanks to Ryan
|
|
307
312
|
Ahearn for this contribution.</li>
|
|
308
313
|
</ul>
|
|
309
|
-
<h3 id="patch-13"
|
|
314
|
+
<h3 id="patch-13">Patch:<a name="patch-13" href="#patch-13" class="md2man-permalink" title="permalink"></a></h3>
|
|
310
315
|
<ul>
|
|
311
316
|
<li><p>gemspec: upgrade to <em>listen</em> 0.7.0 to fix issue #43. Thanks to Ryan
|
|
312
317
|
Ahearn for reporting this issue and helping debug it, and to Thibaud
|
|
313
318
|
Guillaume-Gentil for fixing this issue upstream in the <em>listen</em> library.</p></li>
|
|
314
319
|
<li><p>Fix <code>undefined method 'path' for nil</code> error on socket file removal.</p></li>
|
|
315
320
|
</ul>
|
|
316
|
-
<h2 id="version-19-1-0-2012-12-12"
|
|
321
|
+
<h2 id="version-19-1-0-2012-12-12">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></h2><h3 id="minor-10">Minor:<a name="minor-10" href="#minor-10" class="md2man-permalink" title="permalink"></a></h3>
|
|
317
322
|
<ul>
|
|
318
323
|
<li>tork-driver: don't run overhead files as test files</li>
|
|
319
324
|
</ul>
|
|
320
|
-
<h3 id="patch-14"
|
|
325
|
+
<h3 id="patch-14">Patch:<a name="patch-14" href="#patch-14" class="md2man-permalink" title="permalink"></a></h3>
|
|
321
326
|
<ul>
|
|
322
327
|
<li><p>rails: run dependent tests when <code>app/views/*</code> change</p></li>
|
|
323
328
|
<li><p>Clear FactoryGirl sequences and traits on fork in the <code>factory_girl</code>
|
|
324
329
|
configuration helper. Thanks to Ryan Ahearn for this contribution.</p></li>
|
|
325
330
|
<li><p>server: fix clean up of socket files upon exit</p></li>
|
|
326
331
|
</ul>
|
|
327
|
-
<h2 id="version-19-0-2-2012-11-07"
|
|
332
|
+
<h2 id="version-19-0-2-2012-11-07">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></h2><h3 id="patch-15">Patch:<a name="patch-15" href="#patch-15" class="md2man-permalink" title="permalink"></a></h3>
|
|
328
333
|
<ul>
|
|
329
334
|
<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>
|
|
330
335
|
</ul>
|
|
331
|
-
<h3 id="other-
|
|
336
|
+
<h3 id="other-12">Other:<a name="other-12" href="#other-12" class="md2man-permalink" title="permalink"></a></h3>
|
|
332
337
|
<ul>
|
|
333
338
|
<li><p>README: document RSpec 2.9.0+ autorun skipping bug</p></li>
|
|
334
339
|
<li><p>README: MiniTest 1.3.2+ also has autorun skip bug</p></li>
|
|
335
340
|
</ul>
|
|
336
|
-
<h2 id="version-19-0-1-2012-10-26"
|
|
341
|
+
<h2 id="version-19-0-1-2012-10-26">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></h2><h3 id="patch-16">Patch:<a name="patch-16" href="#patch-16" class="md2man-permalink" title="permalink"></a></h3>
|
|
337
342
|
<ul>
|
|
338
343
|
<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.
|
|
339
344
|
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>
|
|
@@ -341,12 +346,12 @@ Do you know what happens when a test/ is run by RSpec or vice versa? :-)</p><p>T
|
|
|
341
346
|
their spec/spec_helper.rb file because they use the <a class="md2man-reference">rspec(1)</a> executable
|
|
342
347
|
to run their tests. This commit makes things Just Work for them again.</p></li>
|
|
343
348
|
</ul>
|
|
344
|
-
<h3 id="other-
|
|
349
|
+
<h3 id="other-13">Other:<a name="other-13" href="#other-13" class="md2man-permalink" title="permalink"></a></h3>
|
|
345
350
|
<ul>
|
|
346
351
|
<li><p>test whether input is JSON by actually parsing it</p></li>
|
|
347
352
|
<li><p>server: use Set instead of Array for faster lookup</p></li>
|
|
348
353
|
</ul>
|
|
349
|
-
<h2 id="version-19-0-0-2012-10-17"
|
|
354
|
+
<h2 id="version-19-0-0-2012-10-17">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></h2><h3 id="major-1">Major:<a name="major-1" href="#major-1" class="md2man-permalink" title="permalink"></a></h3>
|
|
350
355
|
<ul>
|
|
351
356
|
<li><p>The <code>.tork.rb</code> configuration file has been replaced by the <code>.tork/</code>
|
|
352
357
|
directory, which contains specially-named Ruby scripts. Refer to the
|
|
@@ -369,7 +374,7 @@ must specify load paths and overhead files in the <code>.tork/master.rb</code> f
|
|
|
369
374
|
<li><p>The <code>tork/client</code> library has been removed. The threaded IO and popen()
|
|
370
375
|
wrappers that it provided have been replaced by the powerful IO.select().</p></li>
|
|
371
376
|
</ul>
|
|
372
|
-
<h3 id="minor-11"
|
|
377
|
+
<h3 id="minor-11">Minor:<a name="minor-11" href="#minor-11" class="md2man-permalink" title="permalink"></a></h3>
|
|
373
378
|
<ul>
|
|
374
379
|
<li><p><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>: allow user to specify arguments after command key</p></li>
|
|
375
380
|
<li><p><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>: add 'k' to stop all currently running tests with SIGKILL</p></li>
|
|
@@ -381,30 +386,30 @@ made possible by the awesome power of IO.select() and UNIX domain sockets.</p></
|
|
|
381
386
|
events to notify you about changes in a test file's pass/fail status.</p></li>
|
|
382
387
|
<li><p>typing Control-D now breaks tork programs out of <code>Tork::Server#loop()</code></p></li>
|
|
383
388
|
</ul>
|
|
384
|
-
<h3 id="patch-17"
|
|
389
|
+
<h3 id="patch-17">Patch:<a name="patch-17" href="#patch-17" class="md2man-permalink" title="permalink"></a></h3>
|
|
385
390
|
<ul>
|
|
386
391
|
<li><a class="md2man-reference" href="../man1/tork-master.1.html">tork-master(1)</a>: stop workers with SIGKILL when quitting</li>
|
|
387
392
|
</ul>
|
|
388
|
-
<h3 id="other-
|
|
393
|
+
<h3 id="other-14">Other:<a name="other-14" href="#other-14" class="md2man-permalink" title="permalink"></a></h3>
|
|
389
394
|
<ul>
|
|
390
395
|
<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>
|
|
391
396
|
<li><p>README: add tip about rlwrap for better interactive</p></li>
|
|
392
397
|
<li><p>README: simplify watch command using pgrep & xargs</p></li>
|
|
393
398
|
<li><p>README: use standard bundle exec; no <code>--binstubs</code></p></li>
|
|
394
399
|
</ul>
|
|
395
|
-
<h2 id="version-18-2-4-2012-10-10"
|
|
400
|
+
<h2 id="version-18-2-4-2012-10-10">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></h2><h3 id="other-15">Other:<a name="other-15" href="#other-15" class="md2man-permalink" title="permalink"></a></h3>
|
|
396
401
|
<ul>
|
|
397
402
|
<li>GH-39: upgrade listen gem version to fix a bug in OSX.
|
|
398
403
|
Thanks to Adam Grant for reporting this issue.</li>
|
|
399
404
|
</ul>
|
|
400
|
-
<h2 id="version-18-2-3-2012-09-26"
|
|
405
|
+
<h2 id="version-18-2-3-2012-09-26">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></h2><h3 id="patch-18">Patch:<a name="patch-18" href="#patch-18" class="md2man-permalink" title="permalink"></a></h3>
|
|
401
406
|
<ul>
|
|
402
407
|
<li><p>Restored support for building Tork from its gemspec under Ruby 1.8.
|
|
403
408
|
Thanks to Ohno Shin'ichi for reporting this issue and contributing a
|
|
404
409
|
preliminary fix.</p></li>
|
|
405
410
|
<li><p>Add resilience against failed command dispatch in <code>Tork::Server#loop()</code>.</p></li>
|
|
406
411
|
</ul>
|
|
407
|
-
<h3 id="other-
|
|
412
|
+
<h3 id="other-16">Other:<a name="other-16" href="#other-16" class="md2man-permalink" title="permalink"></a></h3>
|
|
408
413
|
<ul>
|
|
409
414
|
<li><p>It's not worth rescuing Interrupt only to exit silently.
|
|
410
415
|
Let the user see stack traces when they press Control-C.</p></li>
|
|
@@ -412,7 +417,7 @@ Let the user see stack traces when they press Control-C.</p></li>
|
|
|
412
417
|
replaced by reaping threads quite a few releases ago.</p></li>
|
|
413
418
|
<li><p>Use $0 instead of hard-coding the program name.</p></li>
|
|
414
419
|
</ul>
|
|
415
|
-
<h2 id="version-18-2-2-2012-07-11"
|
|
420
|
+
<h2 id="version-18-2-2-2012-07-11">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></h2><h3 id="patch-19">Patch:<a name="patch-19" href="#patch-19" class="md2man-permalink" title="permalink"></a></h3>
|
|
416
421
|
<ul>
|
|
417
422
|
<li><p>GH-35: resume dispatched but not yet started tests.</p><p>After reabsorbing overhead, we need to resume previously dispatched test
|
|
418
423
|
files that have not yet finished running. This includes the waiting set
|
|
@@ -420,17 +425,17 @@ files that have not yet finished running. This includes the waiting set
|
|
|
420
425
|
and already started running). Otherwise, we encounter a bug where test
|
|
421
426
|
files in the waiting set can NEVER be run again!</p></li>
|
|
422
427
|
</ul>
|
|
423
|
-
<h2 id="version-18-2-1-2012-07-05"
|
|
428
|
+
<h2 id="version-18-2-1-2012-07-05">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></h2><h3 id="patch-20">Patch:<a name="patch-20" href="#patch-20" class="md2man-permalink" title="permalink"></a></h3>
|
|
424
429
|
<ul>
|
|
425
430
|
<li>GH-37: switch from Guard::Listener to Listen gem.
|
|
426
431
|
Thanks to Jesse Cooke for reporting this issue.</li>
|
|
427
432
|
</ul>
|
|
428
|
-
<h3 id="other-
|
|
433
|
+
<h3 id="other-17">Other:<a name="other-17" href="#other-17" class="md2man-permalink" title="permalink"></a></h3>
|
|
429
434
|
<ul>
|
|
430
435
|
<li><p>gemspec: need to provide .0 suffix for ~> operator.</p></li>
|
|
431
436
|
<li><p>gemspec: LICENSE file contains UTF-8 author names.</p></li>
|
|
432
437
|
</ul>
|
|
433
|
-
<h2 id="version-18-2-0-2012-03-27"
|
|
438
|
+
<h2 id="version-18-2-0-2012-03-27">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></h2><h3 id="minor-12">Minor:<a name="minor-12" href="#minor-12" class="md2man-permalink" title="permalink"></a></h3>
|
|
434
439
|
<ul>
|
|
435
440
|
<li>Emit warnings when commands cannot be performed. This improves the user
|
|
436
441
|
experience by giving them immediate feedback. For example, if you issue
|
|
@@ -438,7 +443,7 @@ the "rerun<em>failed</em>tests" command and no tests have failed yet,
|
|
|
438
443
|
now see a warning message that explains the situation. Thanks to
|
|
439
444
|
NagaChaitanya Vellanki (@chaitanyav) for suggesting this change.</li>
|
|
440
445
|
</ul>
|
|
441
|
-
<h3 id="patch-21"
|
|
446
|
+
<h3 id="patch-21">Patch:<a name="patch-21" href="#patch-21" class="md2man-permalink" title="permalink"></a></h3>
|
|
442
447
|
<ul>
|
|
443
448
|
<li><p>GH-32: Restore support for Selenium and Capybara by replacing the global
|
|
444
449
|
SIGCHLD handler in <a class="md2man-reference" href="../man1/tork-master.1.html">tork-master(1)</a> with individual threads, one per forked
|
|
@@ -446,7 +451,7 @@ worker process. Thanks to Bjørn Trondsen (@Sharagoz) for reporting this
|
|
|
446
451
|
issue and verifying the fix.</p></li>
|
|
447
452
|
<li><p>README: Recommend a newer fork of the "memory<em>test</em>fix" Rails plugin.</p></li>
|
|
448
453
|
</ul>
|
|
449
|
-
<h2 id="version-18-1-0-2012-02-26"
|
|
454
|
+
<h2 id="version-18-1-0-2012-02-26">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></h2><h3 id="minor-13">Minor:<a name="minor-13" href="#minor-13" class="md2man-permalink" title="permalink"></a></h3>
|
|
450
455
|
<ul>
|
|
451
456
|
<li><p>Add <code>tork/config/coverage</code> configuration helper for Ruby 1.9, which prints
|
|
452
457
|
a coverage report at the end of your log file in YAML format. The report
|
|
@@ -458,19 +463,19 @@ that exist in or beneath the current working directory:</p>
|
|
|
458
463
|
<li>:holes - line numbers of source lines that were not covered</li>
|
|
459
464
|
</ul></li>
|
|
460
465
|
</ul>
|
|
461
|
-
<h2 id="version-18-0-1-2012-02-13"
|
|
466
|
+
<h2 id="version-18-0-1-2012-02-13">Version 18.0.1 (2012-02-13)<a name="version-18-0-1-2012-02-13" href="#version-18-0-1-2012-02-13" class="md2man-permalink" title="permalink"></a></h2><h3 id="alert">Alert:<a name="alert" href="#alert" class="md2man-permalink" title="permalink"></a></h3>
|
|
462
467
|
<ul>
|
|
463
468
|
<li>If you're on Ruby 1.9, please use 1.9.3 or newer because 1.9.2 is
|
|
464
469
|
known to segfault under RSpec and Rails. See GH-30 and GH-32.</li>
|
|
465
470
|
</ul>
|
|
466
|
-
<h3 id="patch-22"
|
|
471
|
+
<h3 id="patch-22">Patch:<a name="patch-22" href="#patch-22" class="md2man-permalink" title="permalink"></a></h3>
|
|
467
472
|
<ul>
|
|
468
473
|
<li><p>GH-27: Cucumber features now run correctly under RSpec. Thanks to Scott
|
|
469
474
|
Radcliff for reporting this issue and to David Burrows for solving it!</p></li>
|
|
470
475
|
<li><p><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>: fix undefined method `strip' for nil:NilClass error.</p></li>
|
|
471
476
|
<li><p>tork/config: ignore directories given as configuration files.</p></li>
|
|
472
477
|
</ul>
|
|
473
|
-
<h2 id="version-18-0-0-2012-02-06"
|
|
478
|
+
<h2 id="version-18-0-0-2012-02-06">Version 18.0.0 (2012-02-06)<a name="version-18-0-0-2012-02-06" href="#version-18-0-0-2012-02-06" class="md2man-permalink" title="permalink"></a></h2><h3 id="alert-1">Alert:<a name="alert-1" href="#alert-1" class="md2man-permalink" title="permalink"></a></h3>
|
|
474
479
|
<ul>
|
|
475
480
|
<li>RSpec 2.8.0 and older contain <a href="https://github.com/sunaku/tork/issues/31">a bug</a> where a nonzero
|
|
476
481
|
exit status (caused by an uncaught exception) is overridden
|
|
@@ -478,7 +483,7 @@ by RSpec's <code>Kernel#at_exit</code> handler to be zero, thereby
|
|
|
478
483
|
falsely indicating that a spec had passed. <a href="https://github.com/rspec/rspec-core/pull/569/files">This patch</a> fixes the
|
|
479
484
|
problem. Thanks to Gumaro Melendez for reporting this issue.</li>
|
|
480
485
|
</ul>
|
|
481
|
-
<h3 id="major-2"
|
|
486
|
+
<h3 id="major-2">Major:<a name="major-2" href="#major-2" class="md2man-permalink" title="permalink"></a></h3>
|
|
482
487
|
<ul>
|
|
483
488
|
<li><p>Dropped first parameter to <code>Tork::Config::test_file_globbers</code>.</p></li>
|
|
484
489
|
<li><p>GH-31: tork-master now emits separate exit code and info.
|
|
@@ -486,12 +491,12 @@ Update your <code>Tork::Config::test_event_hooks</code> accordingly.</p></li>
|
|
|
486
491
|
<li><p>tork/server: switch from modules to class inheritance.</p></li>
|
|
487
492
|
<li><p>tork/config: switch to Struct to prevent misspellings.</p></li>
|
|
488
493
|
</ul>
|
|
489
|
-
<h3 id="minor-14"
|
|
494
|
+
<h3 id="minor-14">Minor:<a name="minor-14" href="#minor-14" class="md2man-permalink" title="permalink"></a></h3>
|
|
490
495
|
<ul>
|
|
491
496
|
<li><p>tork-driver now recursively expands dependent test files while globbing.</p></li>
|
|
492
497
|
<li><p>Extracted bookkeeping stuff from tork-driver into tork-engine component.</p></li>
|
|
493
498
|
</ul>
|
|
494
|
-
<h3 id="other-
|
|
499
|
+
<h3 id="other-18">Other:<a name="other-18" href="#other-18" class="md2man-permalink" title="permalink"></a></h3>
|
|
495
500
|
<ul>
|
|
496
501
|
<li><p>tork/config: do not reabsorb when .tork.rb
|
|
497
502
|
changes. Since the configuration is loaded in
|
|
@@ -503,7 +508,7 @@ restart Tork if you change your configuration.</p></li>
|
|
|
503
508
|
<li><p>GH-29: bump guard version requirement to v1 series.</p></li>
|
|
504
509
|
<li><p>Improve documentation; revise markdown; clean up.</p></li>
|
|
505
510
|
</ul>
|
|
506
|
-
<h2 id="version-17-1-0-2012-01-30"
|
|
511
|
+
<h2 id="version-17-1-0-2012-01-30">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></h2><h3 id="minor-15">Minor:<a name="minor-15" href="#minor-15" class="md2man-permalink" title="permalink"></a></h3>
|
|
507
512
|
<ul>
|
|
508
513
|
<li><p>Added <code>Tork::Config.test_event_hooks</code> configuration option.</p></li>
|
|
509
514
|
<li><p>Added <code>tork/config/notify</code> configuration helper for receiving
|
|
@@ -517,19 +522,19 @@ multiple globs in an array, in addition to just a single glob or <code>nil</code
|
|
|
517
522
|
<li><p>Added support for the MiniTest convention of naming test files as
|
|
518
523
|
<code>test/**/test_*.rb</code> and <code>spec/**/spec_*.rb</code>. (Jose Pablo Barrantes)</p></li>
|
|
519
524
|
</ul>
|
|
520
|
-
<h2 id="version-17-0-1-2012-01-29"
|
|
525
|
+
<h2 id="version-17-0-1-2012-01-29">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></h2><h3 id="patch-23">Patch:<a name="patch-23" href="#patch-23" class="md2man-permalink" title="permalink"></a></h3>
|
|
521
526
|
<ul>
|
|
522
527
|
<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>
|
|
523
528
|
<li><p>tork/driver: only whole test file runs should qualify as pass.</p></li>
|
|
524
529
|
<li><p>tork/config/cucumber: only set ARGV for <code>*.feature</code> test files.</p></li>
|
|
525
530
|
<li><p>Tork::Client::Transceiver needs to stop both TX & RX loops.</p></li>
|
|
526
531
|
</ul>
|
|
527
|
-
<h3 id="other-
|
|
532
|
+
<h3 id="other-19">Other:<a name="other-19" href="#other-19" class="md2man-permalink" title="permalink"></a></h3>
|
|
528
533
|
<ul>
|
|
529
534
|
<li><p>tork/driver: store test file lists in Set, not Array.</p></li>
|
|
530
535
|
<li><p>HISTORY: use single-word change-set descriptions.</p></li>
|
|
531
536
|
</ul>
|
|
532
|
-
<h2 id="version-17-0-0-2012-01-27"
|
|
537
|
+
<h2 id="version-17-0-0-2012-01-27">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></h2><h3 id="major-3">Major:<a name="major-3" href="#major-3" class="md2man-permalink" title="permalink"></a></h3>
|
|
533
538
|
<ul>
|
|
534
539
|
<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
|
|
535
540
|
printing one (raw) path per line. This makes IPC uniform across Tork.</p></li>
|
|
@@ -541,7 +546,7 @@ better reflect the order of items in <a class="md2man-reference" href="../man1/t
|
|
|
541
546
|
<li>The new order is: test<em>file, line</em>numbers, log<em>file, worker</em>number.</li>
|
|
542
547
|
</ul></li>
|
|
543
548
|
</ul>
|
|
544
|
-
<h3 id="minor-16"
|
|
549
|
+
<h3 id="minor-16">Minor:<a name="minor-16" href="#minor-16" class="md2man-permalink" title="permalink"></a></h3>
|
|
545
550
|
<ul>
|
|
546
551
|
<li><p>GH-24: add <code>tork/config/dotlog</code> configuration helper to "hide" log files.
|
|
547
552
|
(Nicolas Fouché)</p></li>
|
|
@@ -550,7 +555,7 @@ better reflect the order of items in <a class="md2man-reference" href="../man1/t
|
|
|
550
555
|
<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
|
|
551
556
|
spacebar or tab a few times, by accident, before entering your command.</p></li>
|
|
552
557
|
</ul>
|
|
553
|
-
<h3 id="other-
|
|
558
|
+
<h3 id="other-20">Other:<a name="other-20" href="#other-20" class="md2man-permalink" title="permalink"></a></h3>
|
|
554
559
|
<ul>
|
|
555
560
|
<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
|
|
556
561
|
in the middle of writing to the standard output stream! Locking access
|
|
@@ -564,25 +569,25 @@ responsibility of (and access to) continually writing those outgoing
|
|
|
564
569
|
items to the output stream.</p></li>
|
|
565
570
|
<li><p>README: revise instructions, reorganize document, and other improvements.</p></li>
|
|
566
571
|
</ul>
|
|
567
|
-
<h2 id="version-16-0-0-2012-01-25"
|
|
572
|
+
<h2 id="version-16-0-0-2012-01-25">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></h2><h3 id="major-4">Major:<a name="major-4" href="#major-4" class="md2man-permalink" title="permalink"></a></h3>
|
|
568
573
|
<ul>
|
|
569
574
|
<li><p>Drop the <code>Tork::Config.test_name_extractor</code> configuration option.</p></li>
|
|
570
575
|
<li><p>Pass line numbers instead of test names to before/after fork hooks.</p></li>
|
|
571
576
|
<li><p>Pass $~ (MatchData) to <code>Tork::Config::test_file_globbers</code> functions.</p></li>
|
|
572
577
|
</ul>
|
|
573
|
-
<h3 id="minor-17"
|
|
578
|
+
<h3 id="minor-17">Minor:<a name="minor-17" href="#minor-17" class="md2man-permalink" title="permalink"></a></h3>
|
|
574
579
|
<ul>
|
|
575
580
|
<li>tork/config/cucumber: only run changed scenarios in changed features.</li>
|
|
576
581
|
</ul>
|
|
577
|
-
<h3 id="other-
|
|
582
|
+
<h3 id="other-21">Other:<a name="other-21" href="#other-21" class="md2man-permalink" title="permalink"></a></h3>
|
|
578
583
|
<ul>
|
|
579
584
|
<li>README: update instructions on running Tork directly from Git clone.</li>
|
|
580
585
|
</ul>
|
|
581
|
-
<h2 id="version-15-1-0-2012-01-25"
|
|
586
|
+
<h2 id="version-15-1-0-2012-01-25">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></h2><h3 id="minor-18">Minor:<a name="minor-18" href="#minor-18" class="md2man-permalink" title="permalink"></a></h3>
|
|
582
587
|
<ul>
|
|
583
588
|
<li>GH-19: add <code>tork cucumber</code> for running cucumber features.</li>
|
|
584
589
|
</ul>
|
|
585
|
-
<h3 id="patch-24"
|
|
590
|
+
<h3 id="patch-24">Patch:<a name="patch-24" href="#patch-24" class="md2man-permalink" title="permalink"></a></h3>
|
|
586
591
|
<ul>
|
|
587
592
|
<li><p>tork/config/rails: support Rails 2 and don't assume AR is used. (Benjamin
|
|
588
593
|
Quorning)</p></li>
|
|
@@ -593,12 +598,12 @@ $TORK_CONFIGS should override settings from the <code>.tork.rb</code> file.</p><
|
|
|
593
598
|
See <a href="http://stackoverflow.com/questions/1497756">http://stackoverflow.com/questions/1497756</a>.
|
|
594
599
|
Also added forgotten Luke Wendling to the list.</p></li>
|
|
595
600
|
</ul>
|
|
596
|
-
<h2 id="version-15-0-1-2012-01-24"
|
|
601
|
+
<h2 id="version-15-0-1-2012-01-24">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></h2><h3 id="patch-25">Patch:<a name="patch-25" href="#patch-25" class="md2man-permalink" title="permalink"></a></h3>
|
|
597
602
|
<ul>
|
|
598
603
|
<li><p>GH-21: Ruby 1.9 class_eval() is smarter than 1.8.</p></li>
|
|
599
604
|
<li><p>GH-20: forgot <code>require 'thread'</code> for Mutex class. (Jesse Cooke)</p></li>
|
|
600
605
|
</ul>
|
|
601
|
-
<h3 id="other-
|
|
606
|
+
<h3 id="other-22">Other:<a name="other-22" href="#other-22" class="md2man-permalink" title="permalink"></a></h3>
|
|
602
607
|
<ul>
|
|
603
608
|
<li><p><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>: fix shadowed variable names. (Jose Pablo Barrantes)</p></li>
|
|
604
609
|
<li><p>GH-22: fix command to build & install gem from source.</p></li>
|
|
@@ -608,7 +613,7 @@ Also added forgotten Luke Wendling to the list.</p></li>
|
|
|
608
613
|
<li><p>README: missed a testr => tork rename in watch cmd.</p></li>
|
|
609
614
|
<li><p>README: add tip about Guard's FS watching backends.</p></li>
|
|
610
615
|
</ul>
|
|
611
|
-
<h2 id="version-15-0-0-2012-01-23"
|
|
616
|
+
<h2 id="version-15-0-0-2012-01-23">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></h2><h3 id="major-5">Major:<a name="major-5" href="#major-5" class="md2man-permalink" title="permalink"></a></h3>
|
|
612
617
|
<ul>
|
|
613
618
|
<li><p>This project has been renamed from TestR to Tork (test with fork) in order
|
|
614
619
|
to better compete with rival projects, namely Spork! >:-) Credit goes to
|
|
@@ -616,7 +621,7 @@ Brian D. Burns for thinking of this most succinct & awesome project name!
|
|
|
616
621
|
He also created the snazzy ASCII-art logo featured in the project README.</p></li>
|
|
617
622
|
<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>
|
|
618
623
|
</ul>
|
|
619
|
-
<h2 id="version-14-3-0-2012-01-20"
|
|
624
|
+
<h2 id="version-14-3-0-2012-01-20">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></h2><h3 id="minor-19">Minor:<a name="minor-19" href="#minor-19" class="md2man-permalink" title="permalink"></a></h3>
|
|
620
625
|
<ul>
|
|
621
626
|
<li><p><a class="md2man-reference">testr(1)</a>: notify user while dispatching their commands. This is especially
|
|
622
627
|
useful when the "rerun<em>passed</em>test_files" command has been dispatched but
|
|
@@ -628,7 +633,7 @@ PGError: connection not open
|
|
|
628
633
|
<p>Thanks to Spencer Steffen for <a href="https://github.com/sunaku/tork/issues/14#issuecomment-3539470">contributing this solution</a>.</p></li>
|
|
629
634
|
<li><p><a class="md2man-reference">testr-driver(1)</a>: document the "over" status message in manual page.</p></li>
|
|
630
635
|
</ul>
|
|
631
|
-
<h3 id="other-
|
|
636
|
+
<h3 id="other-23">Other:<a name="other-23" href="#other-23" class="md2man-permalink" title="permalink"></a></h3>
|
|
632
637
|
<ul>
|
|
633
638
|
<li><p><a class="md2man-reference">testr-driver(1)</a>: keep same herald; only replace master.</p></li>
|
|
634
639
|
<li><p><a class="md2man-reference">testr(1)</a>: shorten code for loop break on quit command.</p></li>
|
|
@@ -637,35 +642,35 @@ PGError: connection not open
|
|
|
637
642
|
<li><p>Explain <code>$0</code> override at the start of bin/ scripts.</p></li>
|
|
638
643
|
<li><p>LICENSE: credit our most recent contributors.</p></li>
|
|
639
644
|
</ul>
|
|
640
|
-
<h2 id="version-14-2-0-2012-01-16"
|
|
645
|
+
<h2 id="version-14-2-0-2012-01-16">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></h2><h3 id="minor-20">Minor:<a name="minor-20" href="#minor-20" class="md2man-permalink" title="permalink"></a></h3>
|
|
641
646
|
<ul>
|
|
642
647
|
<li><p>Add ability to run <code>testr rails</code> without needing a <code>.testr.rb</code> file.</p></li>
|
|
643
648
|
<li><p><a class="md2man-reference">testr(1)</a> no longer shows command menu at startup. Press ENTER to see it.</p></li>
|
|
644
649
|
<li><p><a class="md2man-reference">testr(1)</a> now notifies you before absorbing overhead at startup.</p></li>
|
|
645
650
|
</ul>
|
|
646
|
-
<h3 id="patch-26"
|
|
651
|
+
<h3 id="patch-26">Patch:<a name="patch-26" href="#patch-26" class="md2man-permalink" title="permalink"></a></h3>
|
|
647
652
|
<ul>
|
|
648
653
|
<li><a class="md2man-reference">testr(1)</a> now accepts death silently when Control-C is pressed.</li>
|
|
649
654
|
</ul>
|
|
650
|
-
<h2 id="version-14-1-3-2012-01-13"
|
|
655
|
+
<h2 id="version-14-1-3-2012-01-13">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></h2><h3 id="patch-27">Patch:<a name="patch-27" href="#patch-27" class="md2man-permalink" title="permalink"></a></h3>
|
|
651
656
|
<ul>
|
|
652
657
|
<li>Add support Guard v0.9.0 and newer in <code>testr-herald</code>. (Jose Pablo
|
|
653
658
|
Barrantes)</li>
|
|
654
659
|
</ul>
|
|
655
|
-
<h3 id="other-
|
|
660
|
+
<h3 id="other-24">Other:<a name="other-24" href="#other-24" class="md2man-permalink" title="permalink"></a></h3>
|
|
656
661
|
<ul>
|
|
657
662
|
<li>Tighten version constraints for gem dependencies to avoid future
|
|
658
663
|
breakages.</li>
|
|
659
664
|
</ul>
|
|
660
|
-
<h2 id="version-14-1-2-2012-01-09"
|
|
665
|
+
<h2 id="version-14-1-2-2012-01-09">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></h2><h3 id="minor-21">Minor:<a name="minor-21" href="#minor-21" class="md2man-permalink" title="permalink"></a></h3>
|
|
661
666
|
<ul>
|
|
662
667
|
<li>Don't consider partial test file pass as full pass.</li>
|
|
663
668
|
</ul>
|
|
664
|
-
<h3 id="other-
|
|
669
|
+
<h3 id="other-25">Other:<a name="other-25" href="#other-25" class="md2man-permalink" title="permalink"></a></h3>
|
|
665
670
|
<ul>
|
|
666
671
|
<li>Upgrade to binman 3 for better bundler support.</li>
|
|
667
672
|
</ul>
|
|
668
|
-
<h2 id="version-14-1-1-2011-12-07"
|
|
673
|
+
<h2 id="version-14-1-1-2011-12-07">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></h2><h3 id="patch-28">Patch:<a name="patch-28" href="#patch-28" class="md2man-permalink" title="permalink"></a></h3>
|
|
669
674
|
<ul>
|
|
670
675
|
<li><p>Do not fail when given test file no longer exists.</p></li>
|
|
671
676
|
<li><p>Make xUnit <code>--name</code> option regexp case-insensitive.</p></li>
|
|
@@ -674,7 +679,7 @@ see <a href="https://github.com/rspec/rspec-core/issues/445">https://github.com/
|
|
|
674
679
|
and <a href="https://github.com/dchelimsky/rspec/issues/44">https://github.com/dchelimsky/rspec/issues/44</a></p></li>
|
|
675
680
|
<li><p>Ruby 187 does not have Symbol#upcase() method.</p></li>
|
|
676
681
|
</ul>
|
|
677
|
-
<h3 id="other-
|
|
682
|
+
<h3 id="other-26">Other:<a name="other-26" href="#other-26" class="md2man-permalink" title="permalink"></a></h3>
|
|
678
683
|
<ul>
|
|
679
684
|
<li><p>README: add another SQLite3 error to known issues.
|
|
680
685
|
Thanks to Luke Wendling for contributing this patch.</p></li>
|
|
@@ -684,7 +689,7 @@ Thanks to Luke Wendling for contributing this patch.</p></li>
|
|
|
684
689
|
<li><p>Better variable naming for self-documentation.</p></li>
|
|
685
690
|
<li><p>Upgrade to binman 2.0.0 for UNIX man pages.</p></li>
|
|
686
691
|
</ul>
|
|
687
|
-
<h2 id="version-14-1-0-2011-11-03"
|
|
692
|
+
<h2 id="version-14-1-0-2011-11-03">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></h2><h3 id="minor-22">Minor:<a name="minor-22" href="#minor-22" class="md2man-permalink" title="permalink"></a></h3>
|
|
688
693
|
<ul>
|
|
689
694
|
<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
|
|
690
695
|
test execution overhead (which can be a lengthy, blocking operation).</p><p>By sending a signal to the server, we don't have to wait for it to
|
|
@@ -694,44 +699,44 @@ have a <code>--help</code> option which displays their UNIX manual page. Try it
|
|
|
694
699
|
documented in their manual pages, so you should have everything you
|
|
695
700
|
need to create <em>your own custom user interface to TestR</em> if you wish! :-)</p></li>
|
|
696
701
|
</ul>
|
|
697
|
-
<h3 id="patch-29"
|
|
702
|
+
<h3 id="patch-29">Patch:<a name="patch-29" href="#patch-29" class="md2man-permalink" title="permalink"></a></h3>
|
|
698
703
|
<ul>
|
|
699
704
|
<li>SIGCHLD does not awaken main thread in Ruby 1.9.3p0.</li>
|
|
700
705
|
</ul>
|
|
701
|
-
<h3 id="other-
|
|
706
|
+
<h3 id="other-27">Other:<a name="other-27" href="#other-27" class="md2man-permalink" title="permalink"></a></h3>
|
|
702
707
|
<ul>
|
|
703
708
|
<li><p>Simplify <a class="md2man-reference">watch(1)</a> <a class="md2man-reference">ps(1)</a> process title monitoring.</p></li>
|
|
704
709
|
<li><p>Testr: tell user to press ENTER after command key.</p></li>
|
|
705
710
|
<li><p>README: add tip on loading factory_girl factories.</p></li>
|
|
706
711
|
</ul>
|
|
707
|
-
<h2 id="version-14-0-3-2011-10-11"
|
|
712
|
+
<h2 id="version-14-0-3-2011-10-11">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></h2><h3 id="patch-30">Patch:<a name="patch-30" href="#patch-30" class="md2man-permalink" title="permalink"></a></h3>
|
|
708
713
|
<ul>
|
|
709
714
|
<li>Forgot to migrate the <code>testr/config/rails</code> configuration helper to use the
|
|
710
715
|
new TestR configuration parameter names.</li>
|
|
711
716
|
</ul>
|
|
712
|
-
<h2 id="version-14-0-2-2011-10-11"
|
|
717
|
+
<h2 id="version-14-0-2-2011-10-11">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></h2><h3 id="patch-31">Patch:<a name="patch-31" href="#patch-31" class="md2man-permalink" title="permalink"></a></h3>
|
|
713
718
|
<ul>
|
|
714
719
|
<li><p>Fix updating passed/failed test files bookkeeping. Once a test file
|
|
715
720
|
failed, it was (incorrectly) always considered failed, even if it passed
|
|
716
721
|
later on.</p></li>
|
|
717
722
|
<li><p>Do not requeue test files that are waiting to run.</p></li>
|
|
718
723
|
</ul>
|
|
719
|
-
<h3 id="other-
|
|
724
|
+
<h3 id="other-28">Other:<a name="other-28" href="#other-28" class="md2man-permalink" title="permalink"></a></h3>
|
|
720
725
|
<ul>
|
|
721
726
|
<li>Rename <code>*.md</code> files to <code>*.markdown</code> to avoid ambiguity.</li>
|
|
722
727
|
</ul>
|
|
723
|
-
<h2 id="version-14-0-1-2011-10-10"
|
|
728
|
+
<h2 id="version-14-0-1-2011-10-10">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></h2><h3 id="patch-32">Patch:<a name="patch-32" href="#patch-32" class="md2man-permalink" title="permalink"></a></h3>
|
|
724
729
|
<ul>
|
|
725
730
|
<li><p>Use blue/red for pass/fail instead of green/red to accommodate the color
|
|
726
731
|
blind.</p></li>
|
|
727
732
|
<li><p>Incorrect test name regexp was passed down to Test::Unit. This broke
|
|
728
733
|
focused testing, where only changed tests in a changed test file are run.</p></li>
|
|
729
734
|
</ul>
|
|
730
|
-
<h3 id="other-
|
|
735
|
+
<h3 id="other-29">Other:<a name="other-29" href="#other-29" class="md2man-permalink" title="permalink"></a></h3>
|
|
731
736
|
<ul>
|
|
732
737
|
<li>Make <code>testr-master</code> wait for killed worker processes before exiting.</li>
|
|
733
738
|
</ul>
|
|
734
|
-
<h2 id="version-14-0-0-2011-10-09"
|
|
739
|
+
<h2 id="version-14-0-0-2011-10-09">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></h2><h3 id="major-6">Major:<a name="major-6" href="#major-6" class="md2man-permalink" title="permalink"></a></h3>
|
|
735
740
|
<ul>
|
|
736
741
|
<li><p>Renamed this project and its resources from test-loop to TestR.</p></li>
|
|
737
742
|
<li><p>Renamed the <code>reabsorb_file_globs</code> configuration parameter to
|
|
@@ -748,7 +753,7 @@ focused testing, where only changed tests in a changed test file are run.</p></l
|
|
|
748
753
|
parameters.</p></li>
|
|
749
754
|
<li><p>Removed the <code>test/loop/notify</code> and <code>test-loop/coco</code> libraries.</p></li>
|
|
750
755
|
</ul>
|
|
751
|
-
<h3 id="minor-23"
|
|
756
|
+
<h3 id="minor-23">Minor:<a name="minor-23" href="#minor-23" class="md2man-permalink" title="permalink"></a></h3>
|
|
752
757
|
<ul>
|
|
753
758
|
<li><p>The file system is no longer polled to detect modified files. Instead, it
|
|
754
759
|
is monitored for file modification events in a portable and efficient
|
|
@@ -759,24 +764,24 @@ manner using the <a href="https://github.com/guard/guard">Guard</a> library.</p>
|
|
|
759
764
|
<code>before_fork_hooks</code> configuration parameters.</p></li>
|
|
760
765
|
<li><p>Added ability to re-run passed and failed tests in the <code>testr</code> script.</p></li>
|
|
761
766
|
</ul>
|
|
762
|
-
<h3 id="other-
|
|
767
|
+
<h3 id="other-30">Other:<a name="other-30" href="#other-30" class="md2man-permalink" title="permalink"></a></h3>
|
|
763
768
|
<ul>
|
|
764
769
|
<li><p>The monolithic <code>test-loop</code> script has been replaced by several smaller
|
|
765
770
|
ones that communicate with each other using single-line JSON messages via
|
|
766
771
|
their standard input & output streams. See "Architecture" in the README.</p></li>
|
|
767
772
|
<li><p>Now using Bundler to manage development dependencies and gem packaging.</p></li>
|
|
768
773
|
</ul>
|
|
769
|
-
<h2 id="version-13-0-1-2011-09-21"
|
|
774
|
+
<h2 id="version-13-0-1-2011-09-21">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></h2><h3 id="other-31">Other:<a name="other-31" href="#other-31" class="md2man-permalink" title="permalink"></a></h3>
|
|
770
775
|
<ul>
|
|
771
776
|
<li><p>Forgot to include <code>test/loop/coco</code> preset in gem package.</p></li>
|
|
772
777
|
<li><p>Forgot to mention <code>test/loop/parallel_tests</code> preset in README.</p></li>
|
|
773
778
|
</ul>
|
|
774
|
-
<h2 id="version-13-0-0-2011-08-24"
|
|
779
|
+
<h2 id="version-13-0-0-2011-08-24">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></h2><h3 id="major-7">Major:<a name="major-7" href="#major-7" class="md2man-permalink" title="permalink"></a></h3>
|
|
775
780
|
<ul>
|
|
776
781
|
<li>Pass worker sequence number as the last argument to lambda functions in
|
|
777
782
|
<code>Test::Loop.before_each_test</code> and <code>Test::Loop.after_each_test</code> arrays.</li>
|
|
778
783
|
</ul>
|
|
779
|
-
<h3 id="minor-24"
|
|
784
|
+
<h3 id="minor-24">Minor:<a name="minor-24" href="#minor-24" class="md2man-permalink" title="permalink"></a></h3>
|
|
780
785
|
<ul>
|
|
781
786
|
<li><p>In the <code>test/loop/rails</code> configuration preset:</p>
|
|
782
787
|
<ul>
|
|
@@ -790,22 +795,22 @@ gem. (Corné Verbruggen)</p></li>
|
|
|
790
795
|
processes like connecting to separate databases better. (Corné
|
|
791
796
|
Verbruggen)</p></li>
|
|
792
797
|
</ul>
|
|
793
|
-
<h3 id="other-
|
|
798
|
+
<h3 id="other-32">Other:<a name="other-32" href="#other-32" class="md2man-permalink" title="permalink"></a></h3>
|
|
794
799
|
<ul>
|
|
795
800
|
<li><p>README: move configuration presets above options.</p></li>
|
|
796
801
|
<li><p>Eliminate 1 SLOC: .rb extension used in file glob.</p></li>
|
|
797
802
|
<li><p>Turn off executable bit on loop.rb file mode.</p></li>
|
|
798
803
|
<li><p>Pass child ENV directly to exec() for atomicity.</p></li>
|
|
799
804
|
</ul>
|
|
800
|
-
<h2 id="version-12-3-1-2011-07-19"
|
|
805
|
+
<h2 id="version-12-3-1-2011-07-19">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></h2><h3 id="patch-33">Patch:<a name="patch-33" href="#patch-33" class="md2man-permalink" title="permalink"></a></h3>
|
|
801
806
|
<ul>
|
|
802
807
|
<li>Binary data could not be stored in environment variable values.</li>
|
|
803
808
|
</ul>
|
|
804
|
-
<h3 id="other-
|
|
809
|
+
<h3 id="other-33">Other:<a name="other-33" href="#other-33" class="md2man-permalink" title="permalink"></a></h3>
|
|
805
810
|
<ul>
|
|
806
811
|
<li>Forgot to add Jacob Helwig to the gemspec's authors list.</li>
|
|
807
812
|
</ul>
|
|
808
|
-
<h2 id="version-12-3-0-2011-07-19"
|
|
813
|
+
<h2 id="version-12-3-0-2011-07-19">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></h2><h3 id="minor-25">Minor:<a name="minor-25" href="#minor-25" class="md2man-permalink" title="permalink"></a></h3>
|
|
809
814
|
<ul>
|
|
810
815
|
<li><p>Add <code>Test::Loop::max_concurrent_tests</code> configuration parameter to limit
|
|
811
816
|
the number of test files run concurrently (default 4). Otherwise, with
|
|
@@ -813,13 +818,13 @@ large test suites, we could end up swamping the machine running the tests
|
|
|
813
818
|
by forking hundreds of test files at once. (Jacob Helwig)</p></li>
|
|
814
819
|
<li><p>Rails: add matcher for <code>test/factories/*_factory.rb</code>.</p></li>
|
|
815
820
|
</ul>
|
|
816
|
-
<h3 id="other-
|
|
821
|
+
<h3 id="other-34">Other:<a name="other-34" href="#other-34" class="md2man-permalink" title="permalink"></a></h3>
|
|
817
822
|
<ul>
|
|
818
823
|
<li><p>ENV returns a Hash with duplicate/frozen keys/values. (Brian D. Burns)</p></li>
|
|
819
824
|
<li><p>Use Marshal to propagate resume_files to reabsorb.</p></li>
|
|
820
825
|
<li><p>Store test_files in a Set instead of an Array.</p></li>
|
|
821
826
|
</ul>
|
|
822
|
-
<h2 id="version-12-2-0-2011-06-01"
|
|
827
|
+
<h2 id="version-12-2-0-2011-06-01">Version 12.2.0 (2011-06-01)<a name="version-12-2-0-2011-06-01" href="#version-12-2-0-2011-06-01" class="md2man-permalink" title="permalink"></a></h2>
|
|
823
828
|
<ul>
|
|
824
829
|
<li><p>Prevent empty test suite run in master process. (Brian D. Burns)</p></li>
|
|
825
830
|
<li><p>Report test execution statistics in <code>test/loop/notify</code> preset as
|
|
@@ -827,12 +832,12 @@ requested by Juan G. Hurtado..</p></li>
|
|
|
827
832
|
<li><p>Add <code>test/loop/coco</code> preset for integrating the <a href="http://lkdjiin.github.com/coco/">Coco code coverage
|
|
828
833
|
library</a>.</p></li>
|
|
829
834
|
</ul>
|
|
830
|
-
<h2 id="version-12-1-0-2011-04-29"
|
|
835
|
+
<h2 id="version-12-1-0-2011-04-29">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></h2><h3 id="minor-26">Minor:<a name="minor-26" href="#minor-26" class="md2man-permalink" title="permalink"></a></h3>
|
|
831
836
|
<ul>
|
|
832
837
|
<li>Add <code>Test::Loop.delay_per_iteration</code> parameter to control the number of
|
|
833
838
|
seconds (or fractions thereof) to sleep in between test-loop iterations.</li>
|
|
834
839
|
</ul>
|
|
835
|
-
<h2 id="version-12-0-4-2011-04-29"
|
|
840
|
+
<h2 id="version-12-0-4-2011-04-29">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></h2><h3 id="patch-34">Patch:<a name="patch-34" href="#patch-34" class="md2man-permalink" title="permalink"></a></h3>
|
|
836
841
|
<ul>
|
|
837
842
|
<li><p>Reabsorb overhead when user's configuration file changes. (Brian D. Burns
|
|
838
843
|
and Daniel Pittman)</p></li>
|
|
@@ -840,7 +845,7 @@ and Daniel Pittman)</p></li>
|
|
|
840
845
|
not necessary! <a href="https://github.com/sunaku/test-loop/issues/5">This issue</a>
|
|
841
846
|
was solved by upgrading to the newer 2.6.38.4-1 Linux kernel on my system.</p></li>
|
|
842
847
|
</ul>
|
|
843
|
-
<h2 id="version-12-0-3-2011-04-25"
|
|
848
|
+
<h2 id="version-12-0-3-2011-04-25">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></h2><h3 id="patch-35">Patch:<a name="patch-35" href="#patch-35" class="md2man-permalink" title="permalink"></a></h3>
|
|
844
849
|
<ul>
|
|
845
850
|
<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
|
|
846
851
|
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
|
|
@@ -873,13 +878,13 @@ that would also stop you from doing clever things." ~Doug Gwyn</p></blockqu
|
|
|
873
878
|
Many thanks to Brian D. Burns and Daniel Pittman for helping solve <a href="https://github.com/sunaku/test-loop/issues/5">this
|
|
874
879
|
issue</a>.</p></li>
|
|
875
880
|
</ul>
|
|
876
|
-
<h2 id="version-12-0-2-2011-04-21"
|
|
881
|
+
<h2 id="version-12-0-2-2011-04-21">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></h2><h3 id="patch-36">Patch:<a name="patch-36" href="#patch-36" class="md2man-permalink" title="permalink"></a></h3>
|
|
877
882
|
<ul>
|
|
878
883
|
<li><p>Consider DB schema dump file as overhead in Rails.</p></li>
|
|
879
884
|
<li><p>Do not consider test factories as overhead in Rails.</p></li>
|
|
880
885
|
<li><p>Run test files when test factory files change in Rails.</p></li>
|
|
881
886
|
</ul>
|
|
882
|
-
<h3 id="other-
|
|
887
|
+
<h3 id="other-35">Other:<a name="other-35" href="#other-35" class="md2man-permalink" title="permalink"></a></h3>
|
|
883
888
|
<ul>
|
|
884
889
|
<li><p>Detach worker from master's terminal device sooner.</p></li>
|
|
885
890
|
<li><p>All required signals must be present in irb check.</p></li>
|
|
@@ -887,19 +892,19 @@ issue</a>.</p></li>
|
|
|
887
892
|
<li><p>Retain <a class="md2man-reference">ps(1)</a> column header in watch command output.</p></li>
|
|
888
893
|
<li><p>Begin parameter descriptions with the noun itself.</p></li>
|
|
889
894
|
</ul>
|
|
890
|
-
<h2 id="version-12-0-1-2011-04-20"
|
|
895
|
+
<h2 id="version-12-0-1-2011-04-20">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></h2><h3 id="patch-37">Patch:<a name="patch-37" href="#patch-37" class="md2man-permalink" title="permalink"></a></h3>
|
|
891
896
|
<ul>
|
|
892
897
|
<li><p>Restore support for Ruby 1.8.7.</p></li>
|
|
893
898
|
<li><p>Allow user's test execution overhead to fork.</p></li>
|
|
894
899
|
</ul>
|
|
895
|
-
<h3 id="other-
|
|
900
|
+
<h3 id="other-36">Other:<a name="other-36" href="#other-36" class="md2man-permalink" title="permalink"></a></h3>
|
|
896
901
|
<ul>
|
|
897
902
|
<li><p>Freeze master's ENV properly; keep resume key.</p></li>
|
|
898
903
|
<li><p>Remove completed test from running list sooner.</p></li>
|
|
899
904
|
<li><p>Add instructions to check for POSIX prerequisites.</p></li>
|
|
900
905
|
<li><p>Support multiple test-loop instances in watch command.</p></li>
|
|
901
906
|
</ul>
|
|
902
|
-
<h2 id="version-12-0-0-2011-04-19"
|
|
907
|
+
<h2 id="version-12-0-0-2011-04-19">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></h2><h3 id="major-8">Major:<a name="major-8" href="#major-8" class="md2man-permalink" title="permalink"></a></h3>
|
|
903
908
|
<ul>
|
|
904
909
|
<li><p>You must now explicitly <code>require 'test/loop/rails'</code> for Rails support
|
|
905
910
|
because we can only <em>automatically</em> apply our Railtie (to disable class
|
|
@@ -908,7 +913,7 @@ your models are already loaded & cached by the Rails environment.</p></li>
|
|
|
908
913
|
<li><p>Your tests can no longer read from the user's terminal (master's STDIN);
|
|
909
914
|
instead they will read from an empty stream (the reading end of IO.popen).</p></li>
|
|
910
915
|
</ul>
|
|
911
|
-
<h3 id="patch-38"
|
|
916
|
+
<h3 id="patch-38">Patch:<a name="patch-38" href="#patch-38" class="md2man-permalink" title="permalink"></a></h3>
|
|
912
917
|
<ul>
|
|
913
918
|
<li><p>Replace threads with SIGCHLD for reporting test results.</p><p>This fixes deadlock errors that sometimes occurred when the user's chosen
|
|
914
919
|
test library tried to print something to STDOUT/STDERR (even though those
|
|
@@ -916,7 +921,7 @@ streams were redirected to a log file in the worker process).</p><p>Thanks to Br
|
|
|
916
921
|
threads to monitor workers was the culprit behind the deadlocks errors.</p></li>
|
|
917
922
|
<li><p>Ctrl-C did not raise Interrupt in my Rails 3 test suite.</p></li>
|
|
918
923
|
</ul>
|
|
919
|
-
<h3 id="other-
|
|
924
|
+
<h3 id="other-37">Other:<a name="other-37" href="#other-37" class="md2man-permalink" title="permalink"></a></h3>
|
|
920
925
|
<ul>
|
|
921
926
|
<li><p>Ensure a clean ENV when reabsorbing overhead. Environment variables set
|
|
922
927
|
by your test execution overhead are not propagated to subsequent
|
|
@@ -932,22 +937,22 @@ reabsorptions. (Brian D. Burns)</p></li>
|
|
|
932
937
|
<li><p>Add tip about annihilating test-loop processes.</p></li>
|
|
933
938
|
<li><p>Fix markdown formatting.</p></li>
|
|
934
939
|
</ul>
|
|
935
|
-
<h2 id="version-11-0-1-2011-04-14"
|
|
940
|
+
<h2 id="version-11-0-1-2011-04-14">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></h2><h3 id="patch-39">Patch:<a name="patch-39" href="#patch-39" class="md2man-permalink" title="permalink"></a></h3>
|
|
936
941
|
<ul>
|
|
937
942
|
<li>Only attempt to define Railtie if the current Rails version supports it.</li>
|
|
938
943
|
</ul>
|
|
939
|
-
<h2 id="version-11-0-0-2011-04-14"
|
|
944
|
+
<h2 id="version-11-0-0-2011-04-14">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></h2><h3 id="major-9">Major:<a name="major-9" href="#major-9" class="md2man-permalink" title="permalink"></a></h3>
|
|
940
945
|
<ul>
|
|
941
946
|
<li>The <code>test/loop/rails</code> preset has been internalized and is now applied
|
|
942
947
|
automatically if your test execution overhead includes Ruby on Rails.</li>
|
|
943
948
|
</ul>
|
|
944
|
-
<h3 id="minor-27"
|
|
949
|
+
<h3 id="minor-27">Minor:<a name="minor-27" href="#minor-27" class="md2man-permalink" title="permalink"></a></h3>
|
|
945
950
|
<ul>
|
|
946
951
|
<li>If you are using Rails 3, test-loop will automatically set
|
|
947
952
|
<code>config.cache_classes = false</code> for your test environment. (Brian D.
|
|
948
953
|
Burns)</li>
|
|
949
954
|
</ul>
|
|
950
|
-
<h3 id="patch-40"
|
|
955
|
+
<h3 id="patch-40">Patch:<a name="patch-40" href="#patch-40" class="md2man-permalink" title="permalink"></a></h3>
|
|
951
956
|
<ul>
|
|
952
957
|
<li><p>Avoid deadlock errors when printing output from Test::Unit and MiniTest.
|
|
953
958
|
(Brian D. Burns)</p><pre><code>`write': deadlock detected (fatal)
|
|
@@ -956,7 +961,7 @@ Burns)</li>
|
|
|
956
961
|
Do not treat it as a failure by printing the log file.</p></li>
|
|
957
962
|
<li><p>Ignore SIGINT in workers; only master must honor it.</p></li>
|
|
958
963
|
</ul>
|
|
959
|
-
<h2 id="version-10-0-1-2011-04-08"
|
|
964
|
+
<h2 id="version-10-0-1-2011-04-08">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></h2><h3 id="patch-41">Patch:<a name="patch-41" href="#patch-41" class="md2man-permalink" title="permalink"></a></h3>
|
|
960
965
|
<ul>
|
|
961
966
|
<li><p>Workers must ignore SIGTSTP, otherwise master waits forever before
|
|
962
967
|
exiting.</p></li>
|
|
@@ -965,12 +970,12 @@ unregister the trap handlers inherited from the master process.</p></li>
|
|
|
965
970
|
<li><p>Prevent uncaught throw error on subsequent Ctrl-C.</p></li>
|
|
966
971
|
<li><p>Simpler solution for terminating loop upon Ctrl-C.</p></li>
|
|
967
972
|
</ul>
|
|
968
|
-
<h2 id="version-10-0-0-2011-04-06"
|
|
973
|
+
<h2 id="version-10-0-0-2011-04-06">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></h2><h3 id="major-10">Major:<a name="major-10" href="#major-10" class="md2man-permalink" title="permalink"></a></h3>
|
|
969
974
|
<ul>
|
|
970
975
|
<li>The <code>Test::Loop.before_each_test</code> and <code>Test::Loop.after_each_test</code>
|
|
971
976
|
parameters are arrays now.</li>
|
|
972
977
|
</ul>
|
|
973
|
-
<h2 id="version-9-4-0-2011-04-06"
|
|
978
|
+
<h2 id="version-9-4-0-2011-04-06">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></h2><h3 id="minor-28">Minor:<a name="minor-28" href="#minor-28" class="md2man-permalink" title="permalink"></a></h3>
|
|
974
979
|
<ul>
|
|
975
980
|
<li><p>Allow lambda functions in <code>Test::Loop.test_file_matchers</code> to return <code>nil</code>
|
|
976
981
|
so that you can exclude certain tests from being executed. (Brian D.
|
|
@@ -980,20 +985,20 @@ searchability. The monitoring command in the README is now simplified to
|
|
|
980
985
|
the following:</p><pre><code>watch 'ps xf | grep test-loop | sed 1,3d'
|
|
981
986
|
</code></pre></li>
|
|
982
987
|
</ul>
|
|
983
|
-
<h3 id="patch-42"
|
|
988
|
+
<h3 id="patch-42">Patch:<a name="patch-42" href="#patch-42" class="md2man-permalink" title="permalink"></a></h3>
|
|
984
989
|
<ul>
|
|
985
990
|
<li>Skip <code>at_exit()</code> when exiting master process. This prevents an empty test
|
|
986
991
|
from being run when exiting the loop after having processed a test/spec
|
|
987
992
|
helper that loads the Test::Unit library. (Brian D. Burns)</li>
|
|
988
993
|
</ul>
|
|
989
|
-
<h3 id="other-
|
|
994
|
+
<h3 id="other-38">Other:<a name="other-38" href="#other-38" class="md2man-permalink" title="permalink"></a></h3>
|
|
990
995
|
<ul>
|
|
991
996
|
<li><p>Use throw/catch to break loop instead of raising SystemExit exception.</p></li>
|
|
992
997
|
<li><p>Trap SIGTERM with IGNORE/DEFAULT instead of using a closure in master.</p></li>
|
|
993
998
|
<li><p>Unregister master's custom signal handlers inside worker processes.</p></li>
|
|
994
999
|
<li><p>Separate configuration parameters into subsections in README.</p></li>
|
|
995
1000
|
</ul>
|
|
996
|
-
<h2 id="version-9-3-0-2011-04-01"
|
|
1001
|
+
<h2 id="version-9-3-0-2011-04-01">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></h2><h3 id="minor-29">Minor:<a name="minor-29" href="#minor-29" class="md2man-permalink" title="permalink"></a></h3>
|
|
997
1002
|
<ul>
|
|
998
1003
|
<li><p>Resume currently running tests--as well as those currently needing to be
|
|
999
1004
|
run--after reabsorbing test execution overhead. (Brian D. Burns)</p></li>
|
|
@@ -1006,7 +1011,7 @@ system resources.</p></li>
|
|
|
1006
1011
|
<li><p>Use ANSI clear line command to erase control-key combinations outputted by
|
|
1007
1012
|
shells such as BASH and ZSH in test-loop's output. (Brian D. Burns)</p></li>
|
|
1008
1013
|
</ul>
|
|
1009
|
-
<h3 id="patch-43"
|
|
1014
|
+
<h3 id="patch-43">Patch:<a name="patch-43" href="#patch-43" class="md2man-permalink" title="permalink"></a></h3>
|
|
1010
1015
|
<ul>
|
|
1011
1016
|
<li><p><code>@last_ran_at</code> was being set during every iteration of the loop. This is
|
|
1012
1017
|
problematic when Ruby's <code>Time.now</code> is more precise than your filesystem's
|
|
@@ -1018,29 +1023,29 @@ running waitall(), instead of sending SIGKILL to the entire process group.
|
|
|
1018
1023
|
As a result, test-loop no longer exits with a non-zero status upon SIGINT.</p></li>
|
|
1019
1024
|
<li><p>Remove 'ansi' gem dependency. (Brian D. Burns)</p></li>
|
|
1020
1025
|
</ul>
|
|
1021
|
-
<h3 id="other-
|
|
1026
|
+
<h3 id="other-39">Other:<a name="other-39" href="#other-39" class="md2man-permalink" title="permalink"></a></h3>
|
|
1022
1027
|
<ul>
|
|
1023
1028
|
<li><p>Add tip on deleting logs for passing tests. (Brian D. Burns)</p></li>
|
|
1024
1029
|
<li><p>Add tip on monitoring test processes with <a class="md2man-reference">watch(1)</a> in README.</p></li>
|
|
1025
1030
|
</ul>
|
|
1026
|
-
<h2 id="version-9-2-0-2011-03-28"
|
|
1031
|
+
<h2 id="version-9-2-0-2011-03-28">Version 9.2.0 (2011-03-28)<a name="version-9-2-0-2011-03-28" href="#version-9-2-0-2011-03-28" class="md2man-permalink" title="permalink"></a></h2>
|
|
1027
1032
|
<ul>
|
|
1028
1033
|
<li><p>Extract Rails-specific configuration to 'test/loop/rails' sublibrary.</p></li>
|
|
1029
1034
|
<li><p>Add 'test/loop/notify' sublibrary for OSD notifications on failures.</p></li>
|
|
1030
1035
|
</ul>
|
|
1031
|
-
<h2 id="version-9-1-1-2011-03-15"
|
|
1036
|
+
<h2 id="version-9-1-1-2011-03-15">Version 9.1.1 (2011-03-15)<a name="version-9-1-1-2011-03-15" href="#version-9-1-1-2011-03-15" class="md2man-permalink" title="permalink"></a></h2>
|
|
1032
1037
|
<ul>
|
|
1033
1038
|
<li><p>$0 does not work from RubyGems wrapper executable.
|
|
1034
1039
|
Thanks to Brian D. Burns for reporting this issue.</p></li>
|
|
1035
1040
|
<li><p>Add information about sqlite3 errors & workaround in README.</p></li>
|
|
1036
1041
|
</ul>
|
|
1037
|
-
<h2 id="version-9-1-0-2011-02-23"
|
|
1042
|
+
<h2 id="version-9-1-0-2011-02-23">Version 9.1.0 (2011-02-23)<a name="version-9-1-0-2011-02-23" href="#version-9-1-0-2011-02-23" class="md2man-permalink" title="permalink"></a></h2>
|
|
1038
1043
|
<ul>
|
|
1039
1044
|
<li><p>Print the status of completed tests in ANSI color.</p></li>
|
|
1040
1045
|
<li><p>Print the failure log of failing tests to STDERR.</p></li>
|
|
1041
1046
|
<li><p><code>$?</code> is not defined when Errno::ECHILD is raised.</p></li>
|
|
1042
1047
|
</ul>
|
|
1043
|
-
<h2 id="version-9-0-1-2011-02-18"
|
|
1048
|
+
<h2 id="version-9-0-1-2011-02-18">Version 9.0.1 (2011-02-18)<a name="version-9-0-1-2011-02-18" href="#version-9-0-1-2011-02-18" class="md2man-permalink" title="permalink"></a></h2>
|
|
1044
1049
|
<ul>
|
|
1045
1050
|
<li><p>Shield normal output from control-key combos printed into the terminal.</p></li>
|
|
1046
1051
|
<li><p>Do not print worker PID in status messages because every test file has
|
|
@@ -1049,12 +1054,12 @@ exactly one worker anyway.</p></li>
|
|
|
1049
1054
|
<li><p>Do not reabsorb overhead when the configuration file changes.</p></li>
|
|
1050
1055
|
<li><p>Add <code>after_each_test</code> example for failure-only notifications.</p></li>
|
|
1051
1056
|
</ul>
|
|
1052
|
-
<h2 id="version-9-0-0-2011-02-15"
|
|
1057
|
+
<h2 id="version-9-0-0-2011-02-15">Version 9.0.0 (2011-02-15)<a name="version-9-0-0-2011-02-15" href="#version-9-0-0-2011-02-15" class="md2man-permalink" title="permalink"></a></h2>
|
|
1053
1058
|
<ul>
|
|
1054
1059
|
<li><p>Remove SIGUSR1 for killing worker processes.</p></li>
|
|
1055
1060
|
<li><p>Handle Ctrl-Z signal from the very beginning.</p></li>
|
|
1056
1061
|
</ul>
|
|
1057
|
-
<h2 id="version-8-0-0-2011-02-12"
|
|
1062
|
+
<h2 id="version-8-0-0-2011-02-12">Version 8.0.0 (2011-02-12)<a name="version-8-0-0-2011-02-12" href="#version-8-0-0-2011-02-12" class="md2man-permalink" title="permalink"></a></h2>
|
|
1058
1063
|
<ul>
|
|
1059
1064
|
<li><p>Move configuration into <code>Test::Loop</code> object itself.</p></li>
|
|
1060
1065
|
<li><p>Allow loading <code>bin/test-loop</code> into IRB for testing.</p></li>
|
|
@@ -1065,12 +1070,12 @@ exactly one worker anyway.</p></li>
|
|
|
1065
1070
|
<li><p>Accept > 80 character lines in some cases.</p></li>
|
|
1066
1071
|
<li><p>Freeze more constant values against modification.</p></li>
|
|
1067
1072
|
</ul>
|
|
1068
|
-
<h2 id="version-7-0-1-2011-02-10"
|
|
1073
|
+
<h2 id="version-7-0-1-2011-02-10">Version 7.0.1 (2011-02-10)<a name="version-7-0-1-2011-02-10" href="#version-7-0-1-2011-02-10" class="md2man-permalink" title="permalink"></a></h2>
|
|
1069
1074
|
<ul>
|
|
1070
1075
|
<li><p>Fix minitest deadlock issues with I/O redirection.</p></li>
|
|
1071
1076
|
<li><p>Do not signal to restart loop when overhead changes.</p></li>
|
|
1072
1077
|
</ul>
|
|
1073
|
-
<h2 id="version-7-0-0-2011-02-10"
|
|
1078
|
+
<h2 id="version-7-0-0-2011-02-10">Version 7.0.0 (2011-02-10)<a name="version-7-0-0-2011-02-10" href="#version-7-0-0-2011-02-10" class="md2man-permalink" title="permalink"></a></h2>
|
|
1074
1079
|
<ul>
|
|
1075
1080
|
<li><p>Switch from shell-script style to modular Ruby style in the source code.
|
|
1076
1081
|
This yields more lines of code, but the result is much easier to read.</p>
|
|
@@ -1093,7 +1098,7 @@ This yields more lines of code, but the result is much easier to read.</p>
|
|
|
1093
1098
|
<li><p>Send the SIGUSR1 signal to terminate workers and their subprocesses.</p></li>
|
|
1094
1099
|
<li><p>Break long lines at 80 characters in the source code.</p></li>
|
|
1095
1100
|
</ul>
|
|
1096
|
-
<h2 id="version-6-0-0-2011-02-09"
|
|
1101
|
+
<h2 id="version-6-0-0-2011-02-09">Version 6.0.0 (2011-02-09)<a name="version-6-0-0-2011-02-09" href="#version-6-0-0-2011-02-09" class="md2man-permalink" title="permalink"></a></h2>
|
|
1097
1102
|
<ul>
|
|
1098
1103
|
<li><p>Only consider <code>{test,spec}_helper.rb</code> as overhead, not all <code>*_helper.rb</code>.</p></li>
|
|
1099
1104
|
<li><p>Give the user freedom to inspect and change the default configuration by
|
|
@@ -1105,14 +1110,14 @@ file.</p></li>
|
|
|
1105
1110
|
<li><p>Add note about disabling class caching in Rails test environment.</p></li>
|
|
1106
1111
|
<li><p>Add better explanation for the <code>test_file_matchers</code> example.</p></li>
|
|
1107
1112
|
</ul>
|
|
1108
|
-
<h2 id="version-5-0-3-2011-01-25"
|
|
1113
|
+
<h2 id="version-5-0-3-2011-01-25">Version 5.0.3 (2011-01-25)<a name="version-5-0-3-2011-01-25" href="#version-5-0-3-2011-01-25" class="md2man-permalink" title="permalink"></a></h2>
|
|
1109
1114
|
<ul>
|
|
1110
1115
|
<li><p>Use "diff/lcs" library instead of "diff" for RSpec compatibility.</p><p>Thanks to millisami for reporting this bug:
|
|
1111
1116
|
<a href="https://github.com/sunaku/test-loop/issues/3">https://github.com/sunaku/test-loop/issues/3</a></p></li>
|
|
1112
1117
|
<li><p>Terminate worker processes when user presses Control-C.</p></li>
|
|
1113
1118
|
<li><p>Reabsorb when bundler is run, not when Gemfile changes.</p></li>
|
|
1114
1119
|
</ul>
|
|
1115
|
-
<h2 id="version-5-0-2-2011-01-19"
|
|
1120
|
+
<h2 id="version-5-0-2-2011-01-19">Version 5.0.2 (2011-01-19)<a name="version-5-0-2-2011-01-19" href="#version-5-0-2-2011-01-19" class="md2man-permalink" title="permalink"></a></h2>
|
|
1116
1121
|
<ul>
|
|
1117
1122
|
<li><p>Support string interpolations that yield empty strings in test names.</p></li>
|
|
1118
1123
|
<li><p>Accept extra characters before test name in test definition:</p>
|
|
@@ -1122,14 +1127,14 @@ file.</p></li>
|
|
|
1122
1127
|
</ul></li>
|
|
1123
1128
|
<li><p>Mention that diff gem is necessary for manual git clone installation.</p></li>
|
|
1124
1129
|
</ul>
|
|
1125
|
-
<h2 id="version-5-0-1-2011-01-18"
|
|
1130
|
+
<h2 id="version-5-0-1-2011-01-18">Version 5.0.1 (2011-01-18)<a name="version-5-0-1-2011-01-18" href="#version-5-0-1-2011-01-18" class="md2man-permalink" title="permalink"></a></h2>
|
|
1126
1131
|
<ul>
|
|
1127
1132
|
<li><p>Sanitize string interpolation in parsed test names.</p></li>
|
|
1128
1133
|
<li><p>Remove useless use of #map; result is not reused.</p></li>
|
|
1129
1134
|
<li><p>Mention parallelism and revise the introduction.</p></li>
|
|
1130
1135
|
<li><p>DRY the mentioning of .test-loop file in README.</p></li>
|
|
1131
1136
|
</ul>
|
|
1132
|
-
<h2 id="version-5-0-0-2011-01-17"
|
|
1137
|
+
<h2 id="version-5-0-0-2011-01-17">Version 5.0.0 (2011-01-17)<a name="version-5-0-0-2011-01-17" href="#version-5-0-0-2011-01-17" class="md2man-permalink" title="permalink"></a></h2>
|
|
1133
1138
|
<ul>
|
|
1134
1139
|
<li><p>The configuration file must now yield a Ruby
|
|
1135
1140
|
hash instead of polluting the global Object
|
|
@@ -1137,7 +1142,7 @@ private environment with instance variables.</p></li>
|
|
|
1137
1142
|
<li><p>Shortened the <code>:source_file_glob_to_test_file_mapping</code>
|
|
1138
1143
|
configuration parameter name to <code>:test_file_matchers</code>.</p></li>
|
|
1139
1144
|
</ul>
|
|
1140
|
-
<h2 id="version-4-0-1-2011-01-14"
|
|
1145
|
+
<h2 id="version-4-0-1-2011-01-14">Version 4.0.1 (2011-01-14)<a name="version-4-0-1-2011-01-14" href="#version-4-0-1-2011-01-14" class="md2man-permalink" title="permalink"></a></h2>
|
|
1141
1146
|
<ul>
|
|
1142
1147
|
<li><p>Print how much time it took to run all tests.</p></li>
|
|
1143
1148
|
<li><p>Do not print test file before loading because it
|
|
@@ -1147,7 +1152,7 @@ is hard to follow parallel test execution anyway.</p></li>
|
|
|
1147
1152
|
<li><p>Use long options when passing test names in ARGV.</p></li>
|
|
1148
1153
|
<li><p>Only prepend lib/, test/, and spec/ to $LOAD_PATH.</p></li>
|
|
1149
1154
|
</ul>
|
|
1150
|
-
<h2 id="version-4-0-0-2011-01-13"
|
|
1155
|
+
<h2 id="version-4-0-0-2011-01-13">Version 4.0.0 (2011-01-13)<a name="version-4-0-0-2011-01-13" href="#version-4-0-0-2011-01-13" class="md2man-permalink" title="permalink"></a></h2>
|
|
1151
1156
|
<ul>
|
|
1152
1157
|
<li><p>Only run changed tests inside changed test files.</p></li>
|
|
1153
1158
|
<li><p>Run tests in parallel: one worker per test file.</p></li>
|
|
@@ -1156,35 +1161,35 @@ is hard to follow parallel test execution anyway.</p></li>
|
|
|
1156
1161
|
and change its function signature.</p></li>
|
|
1157
1162
|
<li><p>Clean up implementation and improve documentation.</p></li>
|
|
1158
1163
|
</ul>
|
|
1159
|
-
<h2 id="version-3-0-2-2011-01-11"
|
|
1164
|
+
<h2 id="version-3-0-2-2011-01-11">Version 3.0.2 (2011-01-11)<a name="version-3-0-2-2011-01-11" href="#version-3-0-2-2011-01-11" class="md2man-permalink" title="permalink"></a></h2>
|
|
1160
1165
|
<ul>
|
|
1161
1166
|
<li><p>Reabsorb overhead upon Gemfile changes (Rails 3).</p></li>
|
|
1162
1167
|
<li><p>Try to recover from all kinds of exceptions.</p></li>
|
|
1163
1168
|
</ul>
|
|
1164
|
-
<h2 id="version-3-0-1-2011-01-05"
|
|
1169
|
+
<h2 id="version-3-0-1-2011-01-05">Version 3.0.1 (2011-01-05)<a name="version-3-0-1-2011-01-05" href="#version-3-0-1-2011-01-05" class="md2man-permalink" title="permalink"></a></h2>
|
|
1165
1170
|
<ul>
|
|
1166
1171
|
<li><p>Be resilient to $0 and ARGV being changed by tests.</p></li>
|
|
1167
1172
|
<li><p>Reduce pollution by making <code>notify()</code> into lambda.</p></li>
|
|
1168
1173
|
<li><p>Beautify markdown formatting and revise the README.</p></li>
|
|
1169
1174
|
</ul>
|
|
1170
|
-
<h2 id="version-3-0-0-2011-01-04"
|
|
1175
|
+
<h2 id="version-3-0-0-2011-01-04">Version 3.0.0 (2011-01-04)<a name="version-3-0-0-2011-01-04" href="#version-3-0-0-2011-01-04" class="md2man-permalink" title="permalink"></a></h2>
|
|
1171
1176
|
<ul>
|
|
1172
1177
|
<li><p>Replace Rake pathmap usage with lambda functions
|
|
1173
1178
|
in the <code>@source_file_to_test_file_mapping</code> hash.</p></li>
|
|
1174
1179
|
<li><p>Be resilient to syntax errors from loaded files.</p></li>
|
|
1175
1180
|
</ul>
|
|
1176
|
-
<h2 id="version-2-0-2-2011-01-02"
|
|
1181
|
+
<h2 id="version-2-0-2-2011-01-02">Version 2.0.2 (2011-01-02)<a name="version-2-0-2-2011-01-02" href="#version-2-0-2-2011-01-02" class="md2man-permalink" title="permalink"></a></h2>
|
|
1177
1182
|
<ul>
|
|
1178
1183
|
<li><p>Do not print stack trace when Control-C pressed.</p></li>
|
|
1179
1184
|
<li><p>Reduce the amount of notifications shown to user.</p></li>
|
|
1180
1185
|
</ul>
|
|
1181
|
-
<h2 id="version-2-0-1-2011-01-01"
|
|
1186
|
+
<h2 id="version-2-0-1-2011-01-01">Version 2.0.1 (2011-01-01)<a name="version-2-0-1-2011-01-01" href="#version-2-0-1-2011-01-01" class="md2man-permalink" title="permalink"></a></h2>
|
|
1182
1187
|
<ul>
|
|
1183
1188
|
<li><p>Fix syntax error caused by a dangling comma. Thanks
|
|
1184
1189
|
to darthdeus (Jakub Arnold) for reporting <a href="https://github.com/sunaku/test-loop/issues#issue/1">this bug</a>.</p></li>
|
|
1185
1190
|
<li><p>Notify user before reabsorbing overhead.</p></li>
|
|
1186
1191
|
</ul>
|
|
1187
|
-
<h2 id="version-2-0-0-2010-12-31"
|
|
1192
|
+
<h2 id="version-2-0-0-2010-12-31">Version 2.0.0 (2010-12-31)<a name="version-2-0-0-2010-12-31" href="#version-2-0-0-2010-12-31" class="md2man-permalink" title="permalink"></a></h2>
|
|
1188
1193
|
<ul>
|
|
1189
1194
|
<li><p>Add support for loading configuration file, which
|
|
1190
1195
|
allows you to define additional test file globs
|
|
@@ -1194,39 +1199,39 @@ via the <code>@after_test_execution</code> hook in the configuration file.</p></
|
|
|
1194
1199
|
<li><p>Before running tests, print out their file paths.</p></li>
|
|
1195
1200
|
<li><p>Automatically retry when overhead absorption fails.</p></li>
|
|
1196
1201
|
</ul>
|
|
1197
|
-
<h2 id="version-1-2-0-2010-11-23"
|
|
1202
|
+
<h2 id="version-1-2-0-2010-11-23">Version 1.2.0 (2010-11-23)<a name="version-1-2-0-2010-11-23" href="#version-1-2-0-2010-11-23" class="md2man-permalink" title="permalink"></a></h2>
|
|
1198
1203
|
<ul>
|
|
1199
1204
|
<li><p>Notify user when absorbing overhead initially.</p></li>
|
|
1200
1205
|
<li><p>DRY up the repetition of <a class="md2man-reference">Time.at(0)</a> calculation.</p></li>
|
|
1201
1206
|
</ul>
|
|
1202
|
-
<h2 id="version-1-1-0-2010-11-22"
|
|
1207
|
+
<h2 id="version-1-1-0-2010-11-22">Version 1.1.0 (2010-11-22)<a name="version-1-1-0-2010-11-22" href="#version-1-1-0-2010-11-22" class="md2man-permalink" title="permalink"></a></h2>
|
|
1203
1208
|
<ul>
|
|
1204
1209
|
<li>All <code>*_{test,spec}_helper.rb</code> files inside <code>test/</code> and
|
|
1205
1210
|
<code>spec/</code> are now considered to be absorable overhead.</li>
|
|
1206
1211
|
</ul>
|
|
1207
|
-
<h2 id="version-1-0-2-2010-10-16"
|
|
1212
|
+
<h2 id="version-1-0-2-2010-10-16">Version 1.0.2 (2010-10-16)<a name="version-1-0-2-2010-10-16" href="#version-1-0-2-2010-10-16" class="md2man-permalink" title="permalink"></a></h2>
|
|
1208
1213
|
<ul>
|
|
1209
1214
|
<li>All *<em>helper.rb files inside test/ and spec/
|
|
1210
1215
|
were absorbed as overhead instead of just
|
|
1211
1216
|
the test</em>helper.rb and spec_helper.rb files.</li>
|
|
1212
1217
|
</ul>
|
|
1213
|
-
<h2 id="version-1-0-1-2010-10-16"
|
|
1218
|
+
<h2 id="version-1-0-1-2010-10-16">Version 1.0.1 (2010-10-16)<a name="version-1-0-1-2010-10-16" href="#version-1-0-1-2010-10-16" class="md2man-permalink" title="permalink"></a></h2>
|
|
1214
1219
|
<ul>
|
|
1215
1220
|
<li>Ensure that $LOAD_PATH reflects <code>ruby -Ilib:test</code>.</li>
|
|
1216
1221
|
</ul>
|
|
1217
|
-
<h2 id="version-1-0-0-2010-10-15"
|
|
1222
|
+
<h2 id="version-1-0-0-2010-10-15">Version 1.0.0 (2010-10-15)<a name="version-1-0-0-2010-10-15" href="#version-1-0-0-2010-10-15" class="md2man-permalink" title="permalink"></a></h2>
|
|
1218
1223
|
<ul>
|
|
1219
1224
|
<li><p>Remove ability to install as a Rails plugin.</p></li>
|
|
1220
1225
|
<li><p>Move logic from <code>lib/</code> into <code>bin/</code> to keep it simple.</p></li>
|
|
1221
1226
|
<li><p>Rely on $LOAD_PATH in <code>bin/</code> instead of relative paths.</p></li>
|
|
1222
1227
|
<li><p>Display status messages for better user interactivity.</p></li>
|
|
1223
1228
|
</ul>
|
|
1224
|
-
<h2 id="version-0-0-2-2010-10-11"
|
|
1229
|
+
<h2 id="version-0-0-2-2010-10-11">Version 0.0.2 (2010-10-11)<a name="version-0-0-2-2010-10-11" href="#version-0-0-2-2010-10-11" class="md2man-permalink" title="permalink"></a></h2>
|
|
1225
1230
|
<ul>
|
|
1226
1231
|
<li><p>Forgot to register <code>bin/test-loop</code> as gem executable.</p></li>
|
|
1227
1232
|
<li><p>Revise Usage section into Invocation and Operation.</p></li>
|
|
1228
1233
|
</ul>
|
|
1229
|
-
<h2 id="version-0-0-1-2010-10-10"
|
|
1234
|
+
<h2 id="version-0-0-1-2010-10-10">Version 0.0.1 (2010-10-10)<a name="version-0-0-1-2010-10-10" href="#version-0-0-1-2010-10-10" class="md2man-permalink" title="permalink"></a></h2>
|
|
1230
1235
|
<ul>
|
|
1231
1236
|
<li>First public release. Enjoy!</li>
|
|
1232
1237
|
</ul>
|