tork 19.5.1 → 19.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b6d82e539dd5617368961ded0e0108a5b2c13774
4
- data.tar.gz: 8f5efa74a17954685684fffeb8a241e4a825aa8a
3
+ metadata.gz: b86ca99e3aa4b14fe6a3e2d8e6eede88534c4138
4
+ data.tar.gz: b47381b7ea4e8c1f57bba31b134c8bcfc82595ba
5
5
  SHA512:
6
- metadata.gz: b7ed16038d95a70c8fb9a0b248bb2f05174991f81ace1f70415a8222e67ca104f1a7e9fd3dd2d1d74da8f2dc0fce47dd56aeb42a67b6f774e4d21098ecc981cc
7
- data.tar.gz: df372a4b946764722924c4c289dc566336f40742a2267e3d5838d938af8a3803896dc58cd09a556057b5108f88634d2b6fc7f1a49b720e36bcda0c1b6f01d944
6
+ metadata.gz: 85727483ee52ab7da91a4ef0726653e1f5cc35b510d9abac1f77b5d544fae273a148a82f3fa2d6c081083e7e9f9d211b4c5809e299812fec708ffdaf8621dd65
7
+ data.tar.gz: 1c5016fa97e114884098f1d780bd18440f00144261a8bcc90507b7c1b540285b250444e32446c3ac6093c1871afcc3e848966578979b92d8f43f5a48cc16e44c
data/VERSION.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## Version 19.6.0 (2014-01-02)
2
+
3
+ This release improves tork-runner(1) responsiveness and fixes tork-engine(1).
4
+
5
+ ### Minor:
6
+
7
+ * tork-runner(1) now prints the percentage of completed tests to stderr.
8
+
9
+ ### Patch:
10
+
11
+ * tork-engine(1) emitted the `idle` event when tests were still running.
12
+
1
13
  ## Version 19.5.1 (2013-12-02)
2
14
 
3
15
  This release restores support for Capybara integration tests in the `rails`
data/bin/tork CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  =begin =======================================================================
3
3
 
4
- # TORK 1 2013-12-02 19.5.1
4
+ # TORK 1 2014-01-02 19.6.0
5
5
 
6
6
  ## NAME
7
7
 
data/bin/tork-driver CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  =begin =======================================================================
3
3
 
4
- # TORK-DRIVER 1 2013-12-02 19.5.1
4
+ # TORK-DRIVER 1 2014-01-02 19.6.0
5
5
 
6
6
  ## NAME
7
7
 
data/bin/tork-engine CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  =begin =======================================================================
3
3
 
4
- # TORK-ENGINE 1 2013-12-02 19.5.1
4
+ # TORK-ENGINE 1 2014-01-02 19.6.0
5
5
 
6
6
  ## NAME
7
7
 
data/bin/tork-herald CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  =begin =======================================================================
3
3
 
4
- # TORK-HERALD 1 2013-12-02 19.5.1
4
+ # TORK-HERALD 1 2014-01-02 19.6.0
5
5
 
6
6
  ## NAME
7
7
 
data/bin/tork-master CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  =begin =======================================================================
3
3
 
4
- # TORK-MASTER 1 2013-12-02 19.5.1
4
+ # TORK-MASTER 1 2014-01-02 19.6.0
5
5
 
6
6
  ## NAME
7
7
 
data/bin/tork-notify CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  =begin =======================================================================
3
3
 
4
- # TORK-NOTIFY 1 2013-12-02 19.5.1
4
+ # TORK-NOTIFY 1 2014-01-02 19.6.0
5
5
 
6
6
  ## NAME
7
7
 
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-12-02 19.5.1
4
+ # TORK-RUNNER 1 2014-01-02 19.6.0
5
5
 
6
6
  ## NAME
7
7
 
@@ -28,6 +28,11 @@ This program prints the following messages to stdout.
28
28
  *T* `tested,` *P* `passed,` *F* `failed`
29
29
  *T* test files were tested and *P* of them passed but *F* of them failed.
30
30
 
31
+ This program prints the following messages to stderr if it is a TTY device.
32
+
33
+ `tork-runner:` *NN.N*`% tested`
34
+ *NN.N* percent of test files were tested so far.
35
+
31
36
  ## OPTIONS
32
37
 
33
38
  `-h`, `--help`
@@ -82,5 +87,10 @@ IO.popen('tork-driver', 'w+') do |driver|
82
87
  "#{tested} tested, #{passed} passed, #{failed.count} failed"
83
88
  exit! failed.empty?
84
89
  end
90
+
91
+ # tell user how many tests (percentage) have finished running;
92
+ # see http://www.termsys.demon.co.uk/vtansi.htm for ANSI VT100
93
+ STDERR.printf "\e[s\e[K%s: %02.1f%% tested\e[u", $0,
94
+ ((passed + failed.count) / tested.to_f) * 100 if STDERR.tty?
85
95
  end
86
96
  end
data/lib/tork/engine.rb CHANGED
@@ -10,7 +10,7 @@ class Engine < Server
10
10
  super
11
11
  Tork.config :engine
12
12
 
13
- @queued_test_files = Set.new
13
+ @running_test_files = Set.new
14
14
  @passed_test_files = Set.new
15
15
  @failed_test_files = Set.new
16
16
  @lines_by_file = {}
@@ -26,14 +26,14 @@ class Engine < Server
26
26
  def reabsorb_overhead
27
27
  @master.reconnect
28
28
 
29
- # re-dispatch the previously dispatched files to the new master
30
- previous = @queued_test_files.to_a
31
- @queued_test_files.clear
29
+ # resume running the previously running test files in new master
30
+ previous = @running_test_files.to_a
31
+ @running_test_files.clear
32
32
  run_test_files previous
33
33
  end
34
34
 
35
35
  def run_test_file test_file, *line_numbers
36
- if File.exist? test_file and @queued_test_files.add? test_file
36
+ if File.exist? test_file and @running_test_files.add? test_file
37
37
  if line_numbers.empty?
38
38
  line_numbers = find_changed_line_numbers(test_file)
39
39
  else
@@ -49,11 +49,11 @@ class Engine < Server
49
49
  end
50
50
 
51
51
  def stop_running_test_files signal=nil
52
- if @queued_test_files.empty?
52
+ if @running_test_files.empty?
53
53
  tell @client, 'There are no running test files to stop.'
54
54
  else
55
55
  send @master, [:stop, signal].compact
56
- @queued_test_files.clear
56
+ @running_test_files.clear
57
57
  end
58
58
  end
59
59
 
@@ -82,26 +82,23 @@ protected
82
82
 
83
83
  event, file, line_numbers = message
84
84
  case event_sym = event.to_sym
85
- when :test
86
- @queued_test_files.delete file
85
+ when :fail, :pass
86
+ @running_test_files.delete file
87
87
 
88
- when :pass
89
- # only whole test file runs should qualify as pass
90
- if line_numbers.empty?
88
+ if event_sym == :fail
89
+ was_pass = @passed_test_files.delete? file
90
+ now_fail = @failed_test_files.add? file
91
+ send @clients, [:pass_now_fail, file, message] if was_pass and now_fail
92
+
93
+ elsif line_numbers.empty?
94
+ # only whole test file runs should qualify as pass
91
95
  was_fail = @failed_test_files.delete? file
92
96
  now_pass = @passed_test_files.add? file
93
97
  send @clients, [:fail_now_pass, file, message] if was_fail and now_pass
94
98
  end
95
99
 
96
- when :fail
97
- was_pass = @passed_test_files.delete? file
98
- now_fail = @failed_test_files.add? file
99
- send @clients, [:pass_now_fail, file, message] if was_pass and now_fail
100
- end
101
-
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]
100
+ # notify user when all test files have finished running
101
+ send @clients, [:idle] if @running_test_files.empty?
105
102
  end
106
103
 
107
104
  else
data/lib/tork/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tork
2
- VERSION = "19.5.1"
2
+ VERSION = "19.6.0"
3
3
  end
@@ -7,7 +7,15 @@
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-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>
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-6-0-2014-01-02">Version 19.6.0 (2014-01-02)</h2><p>This release improves <a class="md2man-xref" href="../man1/tork-runner.1.html">tork-runner(1)</a> responsiveness and fixes <a class="md2man-xref" href="../man1/tork-engine.1.html">tork-engine(1)</a>.</p><h3 id="Minor">Minor:</h3>
11
+ <ul>
12
+ <li><a class="md2man-xref" href="../man1/tork-runner.1.html">tork-runner(1)</a> now prints the percentage of completed tests to stderr.</li>
13
+ </ul>
14
+ <h3 id="Patch">Patch:</h3>
15
+ <ul>
16
+ <li><a class="md2man-xref" href="../man1/tork-engine.1.html">tork-engine(1)</a> emitted the <code>idle</code> event when tests were still running.</li>
17
+ </ul>
18
+ <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
19
  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
20
  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
21
  <ul>
data/man/man0/VERSION.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## Version 19.6.0 (2014-01-02)
2
+
3
+ This release improves tork-runner(1) responsiveness and fixes tork-engine(1).
4
+
5
+ ### Minor:
6
+
7
+ * tork-runner(1) now prints the percentage of completed tests to stderr.
8
+
9
+ ### Patch:
10
+
11
+ * tork-engine(1) emitted the `idle` event when tests were still running.
12
+
1
13
  ## Version 19.5.1 (2013-12-02)
2
14
 
3
15
  This release restores support for Capybara integration tests in the `rails`
@@ -1,4 +1,4 @@
1
- .TH TORK\-DRIVER 1 2013\-12\-02 19.5.1
1
+ .TH TORK\-DRIVER 1 2014\-01\-02 19.6.0
2
2
  .SH NAME
3
3
  .PP
4
4
  tork\-driver \- drives
@@ -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-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,
10
+ <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-driver.1</span></div></div><div class="container-fluid"><h1 id="TORK-DRIVER-1-2014-01-02-19-6-0">TORK-DRIVER 1 2014-01-02 19.6.0</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
@@ -1,4 +1,4 @@
1
- .TH TORK\-ENGINE 1 2013\-12\-02 19.5.1
1
+ .TH TORK\-ENGINE 1 2014\-01\-02 19.6.0
2
2
  .SH NAME
3
3
  .PP
4
4
  tork\-engine \- wraps
@@ -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-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,
10
+ <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-engine.1</span></div></div><div class="container-fluid"><h1 id="TORK-ENGINE-1-2014-01-02-19-6-0">TORK-ENGINE 1 2014-01-02 19.6.0</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
@@ -1,4 +1,4 @@
1
- .TH TORK\-HERALD 1 2013\-12\-02 19.5.1
1
+ .TH TORK\-HERALD 1 2014\-01\-02 19.6.0
2
2
  .SH NAME
3
3
  .PP
4
4
  tork\-herald \- reports modified files
@@ -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-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
10
+ <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-herald.1</span></div></div><div class="container-fluid"><h1 id="TORK-HERALD-1-2014-01-02-19-6-0">TORK-HERALD 1 2014-01-02 19.6.0</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>
@@ -1,4 +1,4 @@
1
- .TH TORK\-MASTER 1 2013\-12\-02 19.5.1
1
+ .TH TORK\-MASTER 1 2014\-01\-02 19.6.0
2
2
  .SH NAME
3
3
  .PP
4
4
  tork\-master \- absorbs overhead and runs tests
@@ -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-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&#39;s test execution overhead once and
10
+ <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-master.1</span></div></div><div class="container-fluid"><h1 id="TORK-MASTER-1-2014-01-02-19-6-0">TORK-MASTER 1 2014-01-02 19.6.0</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&#39;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,
@@ -1,4 +1,4 @@
1
- .TH TORK\-NOTIFY 1 2013\-12\-02 19.5.1
1
+ .TH TORK\-NOTIFY 1 2014\-01\-02 19.6.0
2
2
  .SH NAME
3
3
  .PP
4
4
  tork\-notify \- notifies you of test status changes
@@ -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-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
10
+ <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-notify.1</span></div></div><div class="container-fluid"><h1 id="TORK-NOTIFY-1-2014-01-02-19-6-0">TORK-NOTIFY 1 2014-01-02 19.6.0</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>
@@ -1,4 +1,4 @@
1
- .TH TORK\-RUNNER 1 2013\-12\-02 19.5.1
1
+ .TH TORK\-RUNNER 1 2014\-01\-02 19.6.0
2
2
  .SH NAME
3
3
  .PP
4
4
  tork\-runner \- runs tests once, non\-interactively
@@ -23,6 +23,11 @@ This message will be followed by the content of \fIfailed_test_log_file\fP\&.
23
23
  .TP
24
24
  \fIT\fP \fB\fCtested,\fR \fIP\fP \fB\fCpassed,\fR \fIF\fP \fB\fCfailed\fR
25
25
  \fIT\fP test files were tested and \fIP\fP of them passed but \fIF\fP of them failed.
26
+ .PP
27
+ This program prints the following messages to stderr if it is a TTY device.
28
+ .TP
29
+ \fB\fCtork-runner:\fR \fINN.N\fP\fB\fC% tested\fR
30
+ \fINN.N\fP percent of test files were tested so far.
26
31
  .SH OPTIONS
27
32
  .TP
28
33
  \fB\fC-h\fR, \fB\fC--help\fR
@@ -7,8 +7,8 @@
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-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
10
+ <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork-runner.1</span></div></div><div class="container-fluid"><h1 id="TORK-RUNNER-1-2014-01-02-19-6-0">TORK-RUNNER 1 2014-01-02 19.6.0</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
- 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>&gt;&gt;</code> <em>failed_test_log_file</em> <code>&lt;&lt;</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>
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>&gt;&gt;</code> <em>failed_test_log_file</em> <code>&lt;&lt;</code></dt><dd>This message will be followed by the content of <em>failed_test_log_file</em>.</dd></dl><dl><dt><em>T</em> <code>tested,</code> <em>P</em> <code>passed,</code> <em>F</em> <code>failed</code></dt><dd><em>T</em> test files were tested and <em>P</em> of them passed but <em>F</em> of them failed.</dd></dl><p>This program prints the following messages to stderr if it is a TTY device.</p><dl><dt><code>tork-runner:</code> <em>NN.N</em><code>% tested</code></dt><dd><em>NN.N</em> percent of test files were tested so far.</dd></dl><h2 id="OPTIONS">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>
14
14
  </html>
data/man/man1/tork.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH TORK 1 2013\-12\-02 19.5.1
1
+ .TH TORK 1 2014\-01\-02 19.6.0
2
2
  .SH NAME
3
3
  .PP
4
4
  tork \- Continuous testing tool for Ruby
data/man/man1/tork.1.html CHANGED
@@ -7,7 +7,7 @@
7
7
  <link rel="stylesheet" href="../style.css"/>
8
8
  <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
9
9
  </head>
10
- <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork.1</span></div></div><div class="container-fluid"><h1 id="TORK-1-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>.
10
+ <body><div class="navbar"><div class="navbar-inner"><span class="brand"><a href="../index.html#man1">man1</a>/tork.1</span></div></div><div class="container-fluid"><h1 id="TORK-1-2014-01-02-19-6-0">TORK 1 2014-01-02 19.6.0</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
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.1
4
+ version: 19.6.0
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-02 00:00:00.000000000 Z
12
+ date: 2014-01-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: md2man