tork 19.5.0 → 19.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/VERSION.md +23 -0
- data/bin/tork +3 -3
- data/bin/tork-driver +1 -1
- data/bin/tork-engine +1 -1
- data/bin/tork-herald +1 -1
- data/bin/tork-master +1 -1
- data/bin/tork-notify +1 -1
- data/bin/tork-runner +2 -2
- data/lib/tork/config/rails/master.rb +8 -0
- data/lib/tork/engine.rb +6 -4
- data/lib/tork/version.rb +1 -1
- data/man/man0/README.html +3 -1
- data/man/man0/README.md +4 -0
- data/man/man0/VERSION.html +11 -1
- data/man/man0/VERSION.md +23 -0
- data/man/man1/tork-driver.1 +1 -1
- data/man/man1/tork-driver.1.html +1 -1
- data/man/man1/tork-engine.1 +1 -1
- data/man/man1/tork-engine.1.html +1 -1
- data/man/man1/tork-herald.1 +1 -1
- data/man/man1/tork-herald.1.html +1 -1
- data/man/man1/tork-master.1 +1 -1
- data/man/man1/tork-master.1.html +1 -1
- data/man/man1/tork-notify.1 +1 -1
- data/man/man1/tork-notify.1.html +1 -1
- data/man/man1/tork-runner.1 +1 -1
- data/man/man1/tork-runner.1.html +1 -1
- data/man/man1/tork.1 +3 -3
- data/man/man1/tork.1.html +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6d82e539dd5617368961ded0e0108a5b2c13774
|
4
|
+
data.tar.gz: 8f5efa74a17954685684fffeb8a241e4a825aa8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7ed16038d95a70c8fb9a0b248bb2f05174991f81ace1f70415a8222e67ca104f1a7e9fd3dd2d1d74da8f2dc0fce47dd56aeb42a67b6f774e4d21098ecc981cc
|
7
|
+
data.tar.gz: df372a4b946764722924c4c289dc566336f40742a2267e3d5838d938af8a3803896dc58cd09a556057b5108f88634d2b6fc7f1a49b720e36bcda0c1b6f01d944
|
data/README.md
CHANGED
@@ -172,6 +172,10 @@ database adapter][memory_test_fix]. Otherwise, you *might* face these errors:
|
|
172
172
|
|
173
173
|
> cannot start a transaction within a transaction
|
174
174
|
|
175
|
+
For older Rails, to use SQLite3 as your test database along with browser-based
|
176
|
+
acceptance testing frameworks such as Capybara, see
|
177
|
+
http://www.spacevatican.org/2012/8/18/threading-the-rat/
|
178
|
+
|
175
179
|
## Configuration
|
176
180
|
|
177
181
|
Tork looks for a configuration directory named `.tork/` inside its working
|
data/VERSION.md
CHANGED
@@ -1,3 +1,26 @@
|
|
1
|
+
## Version 19.5.1 (2013-12-02)
|
2
|
+
|
3
|
+
This release restores support for Capybara integration tests in the `rails`
|
4
|
+
configuration helper, corrects the `idle` event in tork-engine(1), and fixes
|
5
|
+
some minor bugs in tork-runner(1) and tork(1).
|
6
|
+
|
7
|
+
### Patch:
|
8
|
+
|
9
|
+
* Rails: keep sub-Rails connected to in-memory SQLite3 test database.
|
10
|
+
|
11
|
+
When another Rails instance is started by Capybara, it sets up a new
|
12
|
+
connection to the test database instead of re-using our in-memory DB.
|
13
|
+
|
14
|
+
http://www.spacevatican.org/2012/8/18/threading-the-rat/
|
15
|
+
|
16
|
+
* tork-engine(1) sent `idle` event when 1 test was still running.
|
17
|
+
|
18
|
+
* tork-runner(1): prevent Test::Unit from running in `at_exit` hook.
|
19
|
+
|
20
|
+
Test::Unit is finding and running 0 tests in tork-runner(1) itself.
|
21
|
+
|
22
|
+
* tork(1): forgot to update man page: ENTER by itself does nothing now.
|
23
|
+
|
1
24
|
## Version 19.5.0 (2013-11-30)
|
2
25
|
|
3
26
|
This release adds a tork-runner(1) program for non-interactive test execution,
|
data/bin/tork
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
=begin =======================================================================
|
3
3
|
|
4
|
-
# TORK 1 2013-
|
4
|
+
# TORK 1 2013-12-02 19.5.1
|
5
5
|
|
6
6
|
## NAME
|
7
7
|
|
@@ -21,8 +21,8 @@ directories that contain configuration files or (2) names of configuration
|
|
21
21
|
helpers listed in the description of the `TORK_CONFIGS` environment variable.
|
22
22
|
|
23
23
|
Next, it waits for you to supply interactive commands either (1) directly on
|
24
|
-
its stdin or (2) remotely through tork-remote(1). From then onward,
|
25
|
-
press
|
24
|
+
its stdin or (2) remotely through tork-remote(1). From then onward, type `h`
|
25
|
+
and press ENTER to see a help message that shows a menu of accepted commands.
|
26
26
|
|
27
27
|
Some interactive commands accept additional arguments, described as follows.
|
28
28
|
|
data/bin/tork-driver
CHANGED
data/bin/tork-engine
CHANGED
data/bin/tork-herald
CHANGED
data/bin/tork-master
CHANGED
data/bin/tork-notify
CHANGED
data/bin/tork-runner
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
=begin =======================================================================
|
3
3
|
|
4
|
-
# TORK-RUNNER 1 2013-
|
4
|
+
# TORK-RUNNER 1 2013-12-02 19.5.1
|
5
5
|
|
6
6
|
## NAME
|
7
7
|
|
@@ -80,7 +80,7 @@ IO.popen('tork-driver', 'w+') do |driver|
|
|
80
80
|
when :idle then
|
81
81
|
puts failed.map {|log| [nil, ">> #{log} <<", File.read(log)] }, nil,
|
82
82
|
"#{tested} tested, #{passed} passed, #{failed.count} failed"
|
83
|
-
exit failed.empty?
|
83
|
+
exit! failed.empty?
|
84
84
|
end
|
85
85
|
end
|
86
86
|
end
|
@@ -31,6 +31,14 @@ begin
|
|
31
31
|
if File.exist? seeds = "#{Rails.root}/db/seeds.rb"
|
32
32
|
load seeds
|
33
33
|
end
|
34
|
+
|
35
|
+
# keep sub-Rails connected to in-memory database
|
36
|
+
# e.g. when another Rails is started by Capybara
|
37
|
+
# http://www.spacevatican.org/2012/8/18/threading-the-rat/
|
38
|
+
class << ActiveRecord::Base
|
39
|
+
memory_database_connection = ActiveRecord::Base.connection
|
40
|
+
define_method(:connection) { memory_database_connection }
|
41
|
+
end
|
34
42
|
end
|
35
43
|
end
|
36
44
|
end
|
data/lib/tork/engine.rb
CHANGED
@@ -81,12 +81,11 @@ protected
|
|
81
81
|
send @clients, message # propagate downstream
|
82
82
|
|
83
83
|
event, file, line_numbers = message
|
84
|
-
case event.to_sym
|
84
|
+
case event_sym = event.to_sym
|
85
85
|
when :test
|
86
86
|
@queued_test_files.delete file
|
87
87
|
|
88
88
|
when :pass
|
89
|
-
finished = true
|
90
89
|
# only whole test file runs should qualify as pass
|
91
90
|
if line_numbers.empty?
|
92
91
|
was_fail = @failed_test_files.delete? file
|
@@ -95,13 +94,16 @@ protected
|
|
95
94
|
end
|
96
95
|
|
97
96
|
when :fail
|
98
|
-
finished = true
|
99
97
|
was_pass = @passed_test_files.delete? file
|
100
98
|
now_fail = @failed_test_files.add? file
|
101
99
|
send @clients, [:pass_now_fail, file, message] if was_pass and now_fail
|
102
100
|
end
|
103
101
|
|
104
|
-
|
102
|
+
# notify the user when all queued test files have finished running
|
103
|
+
if @queued_test_files.empty? and [:pass, :fail].include? event_sym
|
104
|
+
send @clients, [:idle]
|
105
|
+
end
|
106
|
+
|
105
107
|
else
|
106
108
|
super
|
107
109
|
end
|
data/lib/tork/version.rb
CHANGED
data/man/man0/README.html
CHANGED
@@ -131,7 +131,9 @@ specified <code>rails</code> configuration helper has a chance to disable class
|
|
131
131
|
database adapter</a>. Otherwise, you <em>might</em> face these errors:</p>
|
132
132
|
<blockquote>
|
133
133
|
<p>SQLite3::BusyException: database is locked</p><p>cannot start a transaction within a transaction</p></blockquote>
|
134
|
-
<
|
134
|
+
<p>For older Rails, to use SQLite3 as your test database along with browser-based
|
135
|
+
acceptance testing frameworks such as Capybara, see
|
136
|
+
<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</h2><p>Tork looks for a configuration directory named <code>.tork/</code> inside its working
|
135
137
|
directory. The configuration directory contains specially-named Ruby scripts,
|
136
138
|
within which you can query and modify the settings for various tork programs.
|
137
139
|
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
|
data/man/man0/README.md
CHANGED
@@ -172,6 +172,10 @@ database adapter][memory_test_fix]. Otherwise, you *might* face these errors:
|
|
172
172
|
|
173
173
|
> cannot start a transaction within a transaction
|
174
174
|
|
175
|
+
For older Rails, to use SQLite3 as your test database along with browser-based
|
176
|
+
acceptance testing frameworks such as Capybara, see
|
177
|
+
http://www.spacevatican.org/2012/8/18/threading-the-rat/
|
178
|
+
|
175
179
|
## Configuration
|
176
180
|
|
177
181
|
Tork looks for a configuration directory named `.tork/` inside its working
|
data/man/man0/VERSION.html
CHANGED
@@ -7,7 +7,17 @@
|
|
7
7
|
<link rel="stylesheet" href="../style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
9
9
|
</head>
|
10
|
-
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man0">man0</a>/VERSION</span></div></div><div class="container-fluid"><h2 id="Version-19-5-
|
10
|
+
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man0">man0</a>/VERSION</span></div></div><div class="container-fluid"><h2 id="Version-19-5-1-2013-12-02">Version 19.5.1 (2013-12-02)</h2><p>This release restores support for Capybara integration tests in the <code>rails</code>
|
11
|
+
configuration helper, corrects the <code>idle</code> event in <a class="md2man-xref" href="../man1/tork-engine.1.html">tork-engine(1)</a>, and fixes
|
12
|
+
some minor bugs in <a class="md2man-xref" href="../man1/tork-runner.1.html">tork-runner(1)</a> and <a class="md2man-xref" href="../man1/tork.1.html">tork(1)</a>.</p><h3 id="Patch">Patch:</h3>
|
13
|
+
<ul>
|
14
|
+
<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
|
15
|
+
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>
|
16
|
+
<li><p><a class="md2man-xref" href="../man1/tork-engine.1.html">tork-engine(1)</a> sent <code>idle</code> event when 1 test was still running.</p></li>
|
17
|
+
<li><p><a class="md2man-xref" 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-xref" href="../man1/tork-runner.1.html">tork-runner(1)</a> itself.</p></li>
|
18
|
+
<li><p><a class="md2man-xref" href="../man1/tork.1.html">tork(1)</a>: forgot to update man page: ENTER by itself does nothing now.</p></li>
|
19
|
+
</ul>
|
20
|
+
<h2 id="Version-19-5-0-2013-11-30">Version 19.5.0 (2013-11-30)</h2><p>This release adds a <a class="md2man-xref" href="../man1/tork-runner.1.html">tork-runner(1)</a> program for non-interactive test execution,
|
11
21
|
makes connections to tork subprocesses self-healing, eliminates "address
|
12
22
|
already in use" errors, and fixes bugs in <a class="md2man-xref" href="../man1/tork-herald.1.html">tork-herald(1)</a> and <a class="md2man-xref" href="../man1/tork-notify.1.html">tork-notify(1)</a>.</p><h3 id="Minor">Minor:</h3>
|
13
23
|
<ul>
|
data/man/man0/VERSION.md
CHANGED
@@ -1,3 +1,26 @@
|
|
1
|
+
## Version 19.5.1 (2013-12-02)
|
2
|
+
|
3
|
+
This release restores support for Capybara integration tests in the `rails`
|
4
|
+
configuration helper, corrects the `idle` event in tork-engine(1), and fixes
|
5
|
+
some minor bugs in tork-runner(1) and tork(1).
|
6
|
+
|
7
|
+
### Patch:
|
8
|
+
|
9
|
+
* Rails: keep sub-Rails connected to in-memory SQLite3 test database.
|
10
|
+
|
11
|
+
When another Rails instance is started by Capybara, it sets up a new
|
12
|
+
connection to the test database instead of re-using our in-memory DB.
|
13
|
+
|
14
|
+
http://www.spacevatican.org/2012/8/18/threading-the-rat/
|
15
|
+
|
16
|
+
* tork-engine(1) sent `idle` event when 1 test was still running.
|
17
|
+
|
18
|
+
* tork-runner(1): prevent Test::Unit from running in `at_exit` hook.
|
19
|
+
|
20
|
+
Test::Unit is finding and running 0 tests in tork-runner(1) itself.
|
21
|
+
|
22
|
+
* tork(1): forgot to update man page: ENTER by itself does nothing now.
|
23
|
+
|
1
24
|
## Version 19.5.0 (2013-11-30)
|
2
25
|
|
3
26
|
This release adds a tork-runner(1) program for non-interactive test execution,
|
data/man/man1/tork-driver.1
CHANGED
data/man/man1/tork-driver.1.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<link rel="stylesheet" href="../style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
9
9
|
</head>
|
10
|
-
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-driver.1</span></div></div><div class="container-fluid"><h1 id="TORK-DRIVER-1-2013-
|
10
|
+
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-driver.1</span></div></div><div class="container-fluid"><h1 id="TORK-DRIVER-1-2013-12-02-19-5-1">TORK-DRIVER 1 2013-12-02 19.5.1</h1><h2 id="NAME">NAME</h2><p>tork-driver - drives <a class="md2man-xref" href="../man1/tork-engine.1.html">tork-engine(1)</a> when files change</p><h2 id="SYNOPSIS">SYNOPSIS</h2><p><code>tork-driver</code> [<em>OPTION</em>]...</p><h2 id="DESCRIPTION">DESCRIPTION</h2><p>This program drives <a class="md2man-xref" href="../man1/tork-engine.1.html">tork-engine(1)</a> when <a class="md2man-xref" href="../man1/tork-herald.1.html">tork-herald(1)</a> reports files changes.</p><p>This program can be controlled remotely by multiple <a class="md2man-xref" href="../man1/tork-remote.1.html">tork-remote(1)</a> instances.</p><h3 id="Input">Input</h3><p>This program reads the following commands, which are single-line JSON arrays,
|
11
11
|
from stdin and then performs the associated actions. For lines read from
|
12
12
|
stdin that are single-line JSON arrays, it splits each of them into an array
|
13
13
|
of words, using the same word-splitting algorithm as <a class="md2man-xref">sh(1)</a>, before processing
|
data/man/man1/tork-engine.1
CHANGED
data/man/man1/tork-engine.1.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<link rel="stylesheet" href="../style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
9
9
|
</head>
|
10
|
-
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-engine.1</span></div></div><div class="container-fluid"><h1 id="TORK-ENGINE-1-2013-
|
10
|
+
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-engine.1</span></div></div><div class="container-fluid"><h1 id="TORK-ENGINE-1-2013-12-02-19-5-1">TORK-ENGINE 1 2013-12-02 19.5.1</h1><h2 id="NAME">NAME</h2><p>tork-engine - wraps <a class="md2man-xref" href="../man1/tork-master.1.html">tork-master(1)</a> with bookkeeping</p><h2 id="SYNOPSIS">SYNOPSIS</h2><p><code>tork-engine</code> [<em>OPTION</em>]...</p><h2 id="DESCRIPTION">DESCRIPTION</h2><p>This program uses <a class="md2man-xref" href="../man1/tork-master.1.html">tork-master(1)</a> to run tests and keeps track of the results.</p><p>This program can be controlled remotely by multiple <a class="md2man-xref" href="../man1/tork-remote.1.html">tork-remote(1)</a> instances.</p><h3 id="Input">Input</h3><p>This program reads the following commands, which are single-line JSON arrays,
|
11
11
|
from stdin and then performs the associated actions. For lines read from
|
12
12
|
stdin that are single-line JSON arrays, it splits each of them into an array
|
13
13
|
of words, using the same word-splitting algorithm as <a class="md2man-xref">sh(1)</a>, before processing
|
data/man/man1/tork-herald.1
CHANGED
data/man/man1/tork-herald.1.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<link rel="stylesheet" href="../style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
9
9
|
</head>
|
10
|
-
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-herald.1</span></div></div><div class="container-fluid"><h1 id="TORK-HERALD-1-2013-
|
10
|
+
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-herald.1</span></div></div><div class="container-fluid"><h1 id="TORK-HERALD-1-2013-12-02-19-5-1">TORK-HERALD 1 2013-12-02 19.5.1</h1><h2 id="NAME">NAME</h2><p>tork-herald - reports modified files</p><h2 id="SYNOPSIS">SYNOPSIS</h2><p><code>tork-herald</code> [<em>OPTION</em>]...</p><h2 id="DESCRIPTION">DESCRIPTION</h2><p>This program monitors the current working directory and all those below it
|
11
11
|
recursively. When any files therein are modified, it prints their relative
|
12
12
|
paths in a single-line JSON array to stdout.</p><h2 id="OPTIONS">OPTIONS</h2><dl><dt><code>-h</code>, <code>--help</code></dt><dd>Show this help manual.</dd></dl><h2 id="SEE-ALSO">SEE ALSO</h2><p><a class="md2man-xref" href="../man1/tork.1.html">tork(1)</a>, <a class="md2man-xref" href="../man1/tork-driver.1.html">tork-driver(1)</a></p></div></body>
|
13
13
|
</html>
|
data/man/man1/tork-master.1
CHANGED
data/man/man1/tork-master.1.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<link rel="stylesheet" href="../style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
9
9
|
</head>
|
10
|
-
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-master.1</span></div></div><div class="container-fluid"><h1 id="TORK-MASTER-1-2013-
|
10
|
+
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-master.1</span></div></div><div class="container-fluid"><h1 id="TORK-MASTER-1-2013-12-02-19-5-1">TORK-MASTER 1 2013-12-02 19.5.1</h1><h2 id="NAME">NAME</h2><p>tork-master - absorbs overhead and runs tests</p><h2 id="SYNOPSIS">SYNOPSIS</h2><p><code>tork-master</code> [<em>OPTION</em>]...</p><h2 id="DESCRIPTION">DESCRIPTION</h2><p>This program absorbs your Ruby application's test execution overhead once and
|
11
11
|
simply <a class="md2man-xref">fork(3)</a>s worker processses to run your tests thereafter. As a result,
|
12
12
|
your tests run faster because they no longer spend any time absorbing the test
|
13
13
|
execution overhead: worker processes simply inherit the overhead when forked.</p><p>This program can be controlled remotely by multiple <a class="md2man-xref" href="../man1/tork-remote.1.html">tork-remote(1)</a> instances.</p><h3 id="Input">Input</h3><p>This program reads the following commands, which are single-line JSON arrays,
|
data/man/man1/tork-notify.1
CHANGED
data/man/man1/tork-notify.1.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<link rel="stylesheet" href="../style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
9
9
|
</head>
|
10
|
-
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-notify.1</span></div></div><div class="container-fluid"><h1 id="TORK-NOTIFY-1-2013-
|
10
|
+
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-notify.1</span></div></div><div class="container-fluid"><h1 id="TORK-NOTIFY-1-2013-12-02-19-5-1">TORK-NOTIFY 1 2013-12-02 19.5.1</h1><h2 id="NAME">NAME</h2><p>tork-notify - notifies you of test status changes</p><h2 id="SYNOPSIS">SYNOPSIS</h2><p><code>tork-notify</code> [<em>OPTION</em>]...</p><h2 id="DESCRIPTION">DESCRIPTION</h2><p>This program serves as an example of how to receive and process messages sent
|
11
11
|
by the various programs in the <a class="md2man-xref" href="../man1/tork.1.html">tork(1)</a> suite. It notifies you when previously
|
12
12
|
passing tests fail (or vice versa) through libnotify, xmessage, or growl. If
|
13
13
|
none are available on your system, then the notification is printed to stdout.</p><h2 id="OPTIONS">OPTIONS</h2><dl><dt><code>-h</code>, <code>--help</code></dt><dd>Show this help manual.</dd></dl><h2 id="EXIT-STATUS">EXIT STATUS</h2><p>See <a class="md2man-xref" href="../man1/tork-remote.1.html">tork-remote(1)</a>.</p><h2 id="SEE-ALSO">SEE ALSO</h2><p><a class="md2man-xref" href="../man1/tork-remote.1.html">tork-remote(1)</a>, <a class="md2man-xref" href="../man1/tork-engine.1.html">tork-engine(1)</a></p></div></body>
|
data/man/man1/tork-runner.1
CHANGED
data/man/man1/tork-runner.1.html
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
<link rel="stylesheet" href="../style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
9
9
|
</head>
|
10
|
-
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-runner.1</span></div></div><div class="container-fluid"><h1 id="TORK-RUNNER-1-2013-
|
10
|
+
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-runner.1</span></div></div><div class="container-fluid"><h1 id="TORK-RUNNER-1-2013-12-02-19-5-1">TORK-RUNNER 1 2013-12-02 19.5.1</h1><h2 id="NAME">NAME</h2><p>tork-runner - runs tests once, non-interactively</p><h2 id="SYNOPSIS">SYNOPSIS</h2><p><code>tork-runner</code> [<em>OPTION</em>]... [<em>TEST_FILE_GLOB</em>]...</p><h2 id="DESCRIPTION">DESCRIPTION</h2><p>This program can be thought of as a non-interactive version of <a class="md2man-xref" href="../man1/tork.1.html">tork(1)</a>. It
|
11
11
|
runs all test files that match the given <em>TEST_FILE_GLOB</em>s and then exits
|
12
12
|
with a nonzero status if any tests failed. If none are given, it runs all
|
13
13
|
test files known to <code>Tork::Driver::TEST_FILE_GLOBBERS</code> in <a class="md2man-xref" href="../man1/tork-driver.1.html">tork-driver(1)</a>.</p><h3 id="Output">Output</h3><p>This program prints the following messages to stdout.</p><dl><dt><code>>></code> <em>failed_test_log_file</em> <code><<</code></dt><dd>This message will be followed by the content of <em>failed_test_log_file</em>.</dd></dl><dl><dt><em>T</em> <code>tested,</code> <em>P</em> <code>passed,</code> <em>F</em> <code>failed</code></dt><dd><em>T</em> test files were tested and <em>P</em> of them passed but <em>F</em> of them failed.</dd></dl><h2 id="OPTIONS">OPTIONS</h2><dl><dt><code>-h</code>, <code>--help</code></dt><dd>Show this help manual.</dd></dl><h2 id="EXIT-STATUS">EXIT STATUS</h2><dl><dt>0</dt><dd>All test files passed.</dd></dl><dl><dt>1</dt><dd>One or more test files failed.</dd></dl><h2 id="ENVIRONMENT">ENVIRONMENT</h2><p>See <a class="md2man-xref" href="../man1/tork.1.html">tork(1)</a>.</p><h2 id="SEE-ALSO">SEE ALSO</h2><p><a class="md2man-xref" href="../man1/tork.1.html">tork(1)</a>, <a class="md2man-xref" href="../man1/tork-driver.1.html">tork-driver(1)</a></p></div></body>
|
data/man/man1/tork.1
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
.TH TORK 1 2013\-
|
1
|
+
.TH TORK 1 2013\-12\-02 19.5.1
|
2
2
|
.SH NAME
|
3
3
|
.PP
|
4
4
|
tork \- Continuous testing tool for Ruby
|
@@ -19,8 +19,8 @@ helpers listed in the description of the \fB\fCTORK_CONFIGS\fR environment varia
|
|
19
19
|
Next, it waits for you to supply interactive commands either (1) directly on
|
20
20
|
its stdin or (2) remotely through
|
21
21
|
.BR tork-remote (1).
|
22
|
-
From then onward,
|
23
|
-
press
|
22
|
+
From then onward, type \fB\fCh\fR
|
23
|
+
and press ENTER to see a help message that shows a menu of accepted commands.
|
24
24
|
.PP
|
25
25
|
Some interactive commands accept additional arguments, described as follows.
|
26
26
|
.TP
|
data/man/man1/tork.1.html
CHANGED
@@ -7,12 +7,12 @@
|
|
7
7
|
<link rel="stylesheet" href="../style.css"/>
|
8
8
|
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
9
9
|
</head>
|
10
|
-
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork.1</span></div></div><div class="container-fluid"><h1 id="TORK-1-2013-
|
10
|
+
<body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork.1</span></div></div><div class="container-fluid"><h1 id="TORK-1-2013-12-02-19-5-1">TORK 1 2013-12-02 19.5.1</h1><h2 id="NAME">NAME</h2><p>tork - Continuous testing tool for Ruby</p><h2 id="SYNOPSIS">SYNOPSIS</h2><p><code>tork</code> [<em>OPTION</em>]... [<em>CONFIG</em>]...</p><h2 id="DESCRIPTION">DESCRIPTION</h2><p>This program can be thought of as an interactive version of <a class="md2man-xref" href="../man1/tork-runner.1.html">tork-runner(1)</a>.
|
11
11
|
It functions as a rudimentary command-line user interface to <a class="md2man-xref" href="../man1/tork-driver.1.html">tork-driver(1)</a>.</p><p>First, it applies the given <em>CONFIG</em> values, which are either (1) paths to
|
12
12
|
directories that contain configuration files or (2) names of configuration
|
13
13
|
helpers listed in the description of the <code>TORK_CONFIGS</code> environment variable.</p><p>Next, it waits for you to supply interactive commands either (1) directly on
|
14
|
-
its stdin or (2) remotely through <a class="md2man-xref" href="../man1/tork-remote.1.html">tork-remote(1)</a>. From then onward,
|
15
|
-
press
|
14
|
+
its stdin or (2) remotely through <a class="md2man-xref" href="../man1/tork-remote.1.html">tork-remote(1)</a>. From then onward, type <code>h</code>
|
15
|
+
and press ENTER to see a help message that shows a menu of accepted commands.</p><p>Some interactive commands accept additional arguments, described as follows.</p><dl><dt><code>t</code> <em>test_file</em> [<em>line_number</em>]...</dt><dd>Runs the given <em>test_file</em> while only running those tests that are defined
|
16
16
|
on the given list of <em>line_number</em>s. If no <em>line_number</em>s are given, then
|
17
17
|
only those tests that have changed since the last run of the <em>test_file</em>
|
18
18
|
will now be run.</dd></dl><dl><dt><code>s</code> [<em>signal</em>]</dt><dd>Stops test files that are currently running by sending the given <em>signal</em>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 19.5.
|
4
|
+
version: 19.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Suraj N. Kurapati
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-12-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: md2man
|