tork 19.8.2 → 19.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION.markdown +27 -0
  3. data/bin/tork +3 -16
  4. data/bin/tork-driver +2 -2
  5. data/bin/tork-engine +2 -2
  6. data/bin/tork-herald +1 -1
  7. data/bin/tork-master +2 -2
  8. data/bin/tork-notify +1 -1
  9. data/bin/tork-runner +1 -1
  10. data/lib/tork/cliapp.rb +32 -17
  11. data/lib/tork/config.rb +5 -5
  12. data/lib/tork/config/bundler/config.rb +1 -0
  13. data/lib/tork/config/cucumber/config.rb +1 -0
  14. data/lib/tork/config/devise/config.rb +1 -0
  15. data/lib/tork/config/factory_girl/config.rb +1 -0
  16. data/lib/tork/config/rails/config.rb +1 -0
  17. data/lib/tork/config/spec/config.rb +4 -0
  18. data/lib/tork/config/spec/driver.rb +5 -9
  19. data/lib/tork/config/spec/master.rb +1 -0
  20. data/lib/tork/config/spec/worker.rb +1 -1
  21. data/lib/tork/config/test/config.rb +10 -0
  22. data/lib/tork/config/test/driver.rb +5 -9
  23. data/lib/tork/config/test/master.rb +1 -0
  24. data/lib/tork/config/test/worker.rb +1 -1
  25. data/lib/tork/engine.rb +3 -3
  26. data/lib/tork/master.rb +1 -1
  27. data/lib/tork/version.rb +1 -1
  28. data/man/index.html +1 -1
  29. data/man/man0/README.html +1 -1
  30. data/man/man0/VERSION.html +126 -105
  31. data/man/man0/VERSION.markdown +27 -0
  32. data/man/man1/tork-driver.1 +2 -2
  33. data/man/man1/tork-driver.1.html +3 -3
  34. data/man/man1/tork-engine.1 +2 -2
  35. data/man/man1/tork-engine.1.html +3 -3
  36. data/man/man1/tork-herald.1 +1 -1
  37. data/man/man1/tork-herald.1.html +2 -2
  38. data/man/man1/tork-master.1 +2 -2
  39. data/man/man1/tork-master.1.html +3 -3
  40. data/man/man1/tork-notify.1 +1 -1
  41. data/man/man1/tork-notify.1.html +2 -2
  42. data/man/man1/tork-remote.1.html +1 -1
  43. data/man/man1/tork-runner.1 +1 -1
  44. data/man/man1/tork-runner.1.html +2 -2
  45. data/man/man1/tork.1 +9 -45
  46. data/man/man1/tork.1.html +4 -17
  47. metadata +9 -3
  48. data/lib/tork/config/default/config.rb +0 -7
@@ -1,3 +1,30 @@
1
+ ## Version 19.9.0 (2014-07-17)
2
+
3
+ ### Minor:
4
+
5
+ * Add support for testing outside `test/` and `spec/` directories. This
6
+ change lets you run test files directly from the current working directory
7
+ without having to put them inside special `test/` and `spec/` directories.
8
+
9
+ This can be useful if you are learning Ruby or writing tests for simple
10
+ scripts because you need not create a directory structure that is fit for
11
+ a larger application just for the sole purpose of running your tests!
12
+
13
+ * Drop the `default` configuration helper and load the `config.rb` files of
14
+ all configuration helpers on startup instead. This way, each helper can
15
+ itself detect whether it is needed from inside its own `config.rb` file.
16
+
17
+ * Censor Tork internals from test failure backtraces so that users can
18
+ inspect them quickly to find where errors are arising in their code.
19
+
20
+ ### Patch:
21
+
22
+ * Only 1 worker was being used on a dual-core system.
23
+
24
+ ### Other:
25
+
26
+ * tork(1): use complete sentences in the help message.
27
+
1
28
  ## Version 19.8.2 (2014-07-01)
2
29
 
3
30
  This release adds support for RSpec 3+ in the `spec` configuration helper.
@@ -1,4 +1,4 @@
1
- .TH TORK\-DRIVER 1 2014\-07\-01 19.8.2
1
+ .TH TORK\-DRIVER 1 2014\-07\-17 19.9.0
2
2
  .SH NAME
3
3
  .PP
4
4
  tork\-driver \- drives
@@ -57,7 +57,7 @@ Show this help manual.
57
57
  .SH FILES
58
58
  .TP
59
59
  \fI\&.tork/config.rb\fP
60
- Optional Ruby script that is loaded inside the driver process on startup.
60
+ Optional Ruby script that is loaded inside this Tork process on startup.
61
61
  It can read and change the \fB\fCENV['TORK_CONFIGS']\fR environment variable.
62
62
  .TP
63
63
  \fB\fC\&.tork/driver.rb\fR
@@ -2,18 +2,18 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 3.0.0 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 3.0.1 https://github.com/sunaku/md2man" />
6
6
  <title>tork-driver(1) &mdash; drives tork-engine(1) when files change</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#man1">man1</a>/tork-driver.1</span></div></div><div class="container-fluid"><h1 id="tork-driver-1-2014-07-01-19-8-2"><a name="tork-driver-1-2014-07-01-19-8-2" href="#tork-driver-1-2014-07-01-19-8-2" class="md2man-permalink" title="permalink"></a><span class="md2man-title">TORK-DRIVER</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-07-01</span> <span class="md2man-source">19.8.2</span></h1><h2 id="name"><a name="name" href="#name" class="md2man-permalink" title="permalink"></a>NAME</h2><p>tork-driver - drives <a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a> when files change</p><h2 id="synopsis"><a name="synopsis" href="#synopsis" class="md2man-permalink" title="permalink"></a>SYNOPSIS</h2><p><code>tork-driver</code> [<em>OPTION</em>]...</p><h2 id="description"><a name="description" href="#description" class="md2man-permalink" title="permalink"></a>DESCRIPTION</h2><p>This program drives <a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a> when <a class="md2man-reference" href="../man1/tork-herald.1.html">tork-herald(1)</a> reports files changes.</p><p>This program can be controlled remotely by multiple <a class="md2man-reference" href="../man1/tork-remote.1.html">tork-remote(1)</a> instances.</p><h3 id="input"><a name="input" href="#input" class="md2man-permalink" title="permalink"></a>Input</h3><p>This program reads the following commands, which are single-line JSON arrays,
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-07-17-19-9-0"><a name="tork-driver-1-2014-07-17-19-9-0" href="#tork-driver-1-2014-07-17-19-9-0" class="md2man-permalink" title="permalink"></a><span class="md2man-title">TORK-DRIVER</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-07-17</span> <span class="md2man-source">19.9.0</span></h1><h2 id="name"><a name="name" href="#name" class="md2man-permalink" title="permalink"></a>NAME</h2><p>tork-driver - drives <a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a> when files change</p><h2 id="synopsis"><a name="synopsis" href="#synopsis" class="md2man-permalink" title="permalink"></a>SYNOPSIS</h2><p><code>tork-driver</code> [<em>OPTION</em>]...</p><h2 id="description"><a name="description" href="#description" class="md2man-permalink" title="permalink"></a>DESCRIPTION</h2><p>This program drives <a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a> when <a class="md2man-reference" href="../man1/tork-herald.1.html">tork-herald(1)</a> reports files changes.</p><p>This program can be controlled remotely by multiple <a class="md2man-reference" href="../man1/tork-remote.1.html">tork-remote(1)</a> instances.</p><h3 id="input"><a name="input" href="#input" class="md2man-permalink" title="permalink"></a>Input</h3><p>This program reads the following commands, which are single-line JSON arrays,
11
11
  from stdin and then performs the associated actions. For lines read from
12
12
  stdin that are single-line JSON arrays, it splits each of them into an array
13
13
  of words, using the same word-splitting algorithm as <a class="md2man-reference">sh(1)</a>, before processing
14
14
  them. For example, the line <code>a &quot;b c&quot;</code> is split into the <code>[&quot;a&quot;, &quot;b c&quot;]</code> array.</p><dl><dt><code>[&quot;run_all_test_files&quot;]</code></dt><dd>Runs all test files found within and beneath the current working directory.</dd></dl><dl><dt><em>...</em></dt><dd>Commands for <a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a> are also accepted here.</dd></dl><h3 id="output"><a name="output" href="#output" class="md2man-permalink" title="permalink"></a>Output</h3><p>This program prints the following messages, which are single-line JSON arrays,
15
15
  to stdout.</p><dl><dt><code>[&quot;reabsorb&quot;,</code> <em>overhead_file</em><code>]</code></dt><dd>Test execution overhead is being reabsorbed because <em>overhead_file</em> has
16
- changed.</dd></dl><dl><dt><em>...</em></dt><dd>Messages from <a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a> and <a class="md2man-reference" href="../man1/tork-master.1.html">tork-master(1)</a> are also reproduced here.</dd></dl><h2 id="options"><a name="options" href="#options" class="md2man-permalink" title="permalink"></a>OPTIONS</h2><dl><dt><code>-h</code>, <code>--help</code></dt><dd>Show this help manual.</dd></dl><h2 id="files"><a name="files" href="#files" class="md2man-permalink" title="permalink"></a>FILES</h2><dl><dt><em>.tork/config.rb</em></dt><dd>Optional Ruby script that is loaded inside the driver process on startup.
16
+ changed.</dd></dl><dl><dt><em>...</em></dt><dd>Messages from <a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a> and <a class="md2man-reference" href="../man1/tork-master.1.html">tork-master(1)</a> are also reproduced here.</dd></dl><h2 id="options"><a name="options" href="#options" class="md2man-permalink" title="permalink"></a>OPTIONS</h2><dl><dt><code>-h</code>, <code>--help</code></dt><dd>Show this help manual.</dd></dl><h2 id="files"><a name="files" href="#files" class="md2man-permalink" title="permalink"></a>FILES</h2><dl><dt><em>.tork/config.rb</em></dt><dd>Optional Ruby script that is loaded inside this Tork process on startup.
17
17
  It can read and change the <code>ENV[&#39;TORK_CONFIGS&#39;]</code> environment variable.</dd></dl><dl><dt><code>.tork/driver.rb</code></dt><dd>Optional Ruby script that is loaded inside the driver process on startup.
18
18
  It can read and change the following variables.</dd></dl>
19
19
  <blockquote>
@@ -1,4 +1,4 @@
1
- .TH TORK\-ENGINE 1 2014\-07\-01 19.8.2
1
+ .TH TORK\-ENGINE 1 2014\-07\-17 19.9.0
2
2
  .SH NAME
3
3
  .PP
4
4
  tork\-engine \- wraps
@@ -76,7 +76,7 @@ Show this help manual.
76
76
  .SH FILES
77
77
  .TP
78
78
  \fI\&.tork/config.rb\fP
79
- Optional Ruby script that is loaded inside the driver process on startup.
79
+ Optional Ruby script that is loaded inside this Tork process on startup.
80
80
  It can read and change the \fB\fCENV['TORK_CONFIGS']\fR environment variable.
81
81
  .TP
82
82
  \fI\&.tork/engine.rb\fP
@@ -2,12 +2,12 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 3.0.0 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 3.0.1 https://github.com/sunaku/md2man" />
6
6
  <title>tork-engine(1) &mdash; wraps tork-master(1) with bookkeeping</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#man1">man1</a>/tork-engine.1</span></div></div><div class="container-fluid"><h1 id="tork-engine-1-2014-07-01-19-8-2"><a name="tork-engine-1-2014-07-01-19-8-2" href="#tork-engine-1-2014-07-01-19-8-2" class="md2man-permalink" title="permalink"></a><span class="md2man-title">TORK-ENGINE</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-07-01</span> <span class="md2man-source">19.8.2</span></h1><h2 id="name"><a name="name" href="#name" class="md2man-permalink" title="permalink"></a>NAME</h2><p>tork-engine - wraps <a class="md2man-reference" href="../man1/tork-master.1.html">tork-master(1)</a> with bookkeeping</p><h2 id="synopsis"><a name="synopsis" href="#synopsis" class="md2man-permalink" title="permalink"></a>SYNOPSIS</h2><p><code>tork-engine</code> [<em>OPTION</em>]...</p><h2 id="description"><a name="description" href="#description" class="md2man-permalink" title="permalink"></a>DESCRIPTION</h2><p>This program uses <a class="md2man-reference" href="../man1/tork-master.1.html">tork-master(1)</a> to run tests and keeps track of the results.</p><p>This program can be controlled remotely by multiple <a class="md2man-reference" href="../man1/tork-remote.1.html">tork-remote(1)</a> instances.</p><h3 id="input"><a name="input" href="#input" class="md2man-permalink" title="permalink"></a>Input</h3><p>This program reads the following commands, which are single-line JSON arrays,
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-07-17-19-9-0"><a name="tork-engine-1-2014-07-17-19-9-0" href="#tork-engine-1-2014-07-17-19-9-0" class="md2man-permalink" title="permalink"></a><span class="md2man-title">TORK-ENGINE</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-07-17</span> <span class="md2man-source">19.9.0</span></h1><h2 id="name"><a name="name" href="#name" class="md2man-permalink" title="permalink"></a>NAME</h2><p>tork-engine - wraps <a class="md2man-reference" href="../man1/tork-master.1.html">tork-master(1)</a> with bookkeeping</p><h2 id="synopsis"><a name="synopsis" href="#synopsis" class="md2man-permalink" title="permalink"></a>SYNOPSIS</h2><p><code>tork-engine</code> [<em>OPTION</em>]...</p><h2 id="description"><a name="description" href="#description" class="md2man-permalink" title="permalink"></a>DESCRIPTION</h2><p>This program uses <a class="md2man-reference" href="../man1/tork-master.1.html">tork-master(1)</a> to run tests and keeps track of the results.</p><p>This program can be controlled remotely by multiple <a class="md2man-reference" href="../man1/tork-remote.1.html">tork-remote(1)</a> instances.</p><h3 id="input"><a name="input" href="#input" class="md2man-permalink" title="permalink"></a>Input</h3><p>This program reads the following commands, which are single-line JSON arrays,
11
11
  from stdin and then performs the associated actions. For lines read from
12
12
  stdin that are single-line JSON arrays, it splits each of them into an array
13
13
  of words, using the same word-splitting algorithm as <a class="md2man-reference">sh(1)</a>, before processing
@@ -17,6 +17,6 @@ given <em>test_file</em>. If no <em>line_numbers</em> are given, then only thos
17
17
  that have changed since the last run of <em>test_file</em> will be substituted.
18
18
  If any <em>line_numbers</em> are zero, then the entire <em>test_file</em> will be run.</dd></dl><dl><dt><code>[&quot;run_test_files&quot;</code>, <em>test_files_with_optional_line_numbers</em><code>]</code></dt><dd>Calls the <code>run_test_file</code> command once for each item in the given array.</dd></dl><dl><dt><code>[&quot;stop_running_test_files&quot;</code>, <em>signal</em><code>]</code></dt><dd>Stops test files that are currently running by sending the given <em>signal</em>
19
19
  (optional; defaults to &quot;SIGTERM&quot;) to their respective worker processes.</dd></dl><dl><dt><code>[&quot;rerun_passed_test_files&quot;]</code></dt><dd>Runs all test files that have passed during their most recent run.</dd></dl><dl><dt><code>[&quot;rerun_failed_test_files&quot;]</code></dt><dd>Runs all test files that have failed during their most recent run.</dd></dl><dl><dt><code>[&quot;quit&quot;]</code></dt><dd>Stops all tests that are currently running and exits.</dd></dl><h3 id="output"><a name="output" href="#output" class="md2man-permalink" title="permalink"></a>Output</h3><p>This program prints the following messages, which are single-line JSON arrays,
20
- to stdout.</p><dl><dt><code>[&quot;idle&quot;]</code></dt><dd>All tests have finished running and no tests are queued for running either.</dd></dl><dl><dt><code>[&quot;pass_now_fail&quot;,</code> <em>test_file</em><code>,</code> <em>message</em><code>]</code></dt><dd>A previously passing <em>test_file</em> has now failed. See <em>message</em> for details.</dd></dl><dl><dt><code>[&quot;fail_now_pass&quot;,</code> <em>test_file</em><code>,</code> <em>message</em><code>]</code></dt><dd>A previously failing <em>test_file</em> has now passed. See <em>message</em> for details.</dd></dl><dl><dt><em>...</em></dt><dd>Messages from <a class="md2man-reference" href="../man1/tork-master.1.html">tork-master(1)</a> are also reproduced here.</dd></dl><h2 id="options"><a name="options" href="#options" class="md2man-permalink" title="permalink"></a>OPTIONS</h2><dl><dt><code>-h</code>, <code>--help</code></dt><dd>Show this help manual.</dd></dl><h2 id="files"><a name="files" href="#files" class="md2man-permalink" title="permalink"></a>FILES</h2><dl><dt><em>.tork/config.rb</em></dt><dd>Optional Ruby script that is loaded inside the driver process on startup.
20
+ to stdout.</p><dl><dt><code>[&quot;idle&quot;]</code></dt><dd>All tests have finished running and no tests are queued for running either.</dd></dl><dl><dt><code>[&quot;pass_now_fail&quot;,</code> <em>test_file</em><code>,</code> <em>message</em><code>]</code></dt><dd>A previously passing <em>test_file</em> has now failed. See <em>message</em> for details.</dd></dl><dl><dt><code>[&quot;fail_now_pass&quot;,</code> <em>test_file</em><code>,</code> <em>message</em><code>]</code></dt><dd>A previously failing <em>test_file</em> has now passed. See <em>message</em> for details.</dd></dl><dl><dt><em>...</em></dt><dd>Messages from <a class="md2man-reference" href="../man1/tork-master.1.html">tork-master(1)</a> are also reproduced here.</dd></dl><h2 id="options"><a name="options" href="#options" class="md2man-permalink" title="permalink"></a>OPTIONS</h2><dl><dt><code>-h</code>, <code>--help</code></dt><dd>Show this help manual.</dd></dl><h2 id="files"><a name="files" href="#files" class="md2man-permalink" title="permalink"></a>FILES</h2><dl><dt><em>.tork/config.rb</em></dt><dd>Optional Ruby script that is loaded inside this Tork process on startup.
21
21
  It can read and change the <code>ENV[&#39;TORK_CONFIGS&#39;]</code> environment variable.</dd></dl><dl><dt><em>.tork/engine.rb</em></dt><dd>Optional Ruby script that is loaded inside the master process on startup.</dd></dl><h2 id="environment"><a name="environment" href="#environment" class="md2man-permalink" title="permalink"></a>ENVIRONMENT</h2><p>See <a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>.</p><h2 id="see-also"><a name="see-also" href="#see-also" class="md2man-permalink" title="permalink"></a>SEE ALSO</h2><p><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>, <a class="md2man-reference" href="../man1/tork-remote.1.html">tork-remote(1)</a>, <a class="md2man-reference" href="../man1/tork-master.1.html">tork-master(1)</a></p></div></body>
22
22
  </html>
@@ -1,4 +1,4 @@
1
- .TH TORK\-HERALD 1 2014\-07\-01 19.8.2
1
+ .TH TORK\-HERALD 1 2014\-07\-17 19.9.0
2
2
  .SH NAME
3
3
  .PP
4
4
  tork\-herald \- reports modified files
@@ -2,12 +2,12 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 3.0.0 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 3.0.1 https://github.com/sunaku/md2man" />
6
6
  <title>tork-herald(1) &mdash; reports modified files</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#man1">man1</a>/tork-herald.1</span></div></div><div class="container-fluid"><h1 id="tork-herald-1-2014-07-01-19-8-2"><a name="tork-herald-1-2014-07-01-19-8-2" href="#tork-herald-1-2014-07-01-19-8-2" class="md2man-permalink" title="permalink"></a><span class="md2man-title">TORK-HERALD</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-07-01</span> <span class="md2man-source">19.8.2</span></h1><h2 id="name"><a name="name" href="#name" class="md2man-permalink" title="permalink"></a>NAME</h2><p>tork-herald - reports modified files</p><h2 id="synopsis"><a name="synopsis" href="#synopsis" class="md2man-permalink" title="permalink"></a>SYNOPSIS</h2><p><code>tork-herald</code> [<em>OPTION</em>]...</p><h2 id="description"><a name="description" href="#description" class="md2man-permalink" title="permalink"></a>DESCRIPTION</h2><p>This program monitors the current working directory and all those below it
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-07-17-19-9-0"><a name="tork-herald-1-2014-07-17-19-9-0" href="#tork-herald-1-2014-07-17-19-9-0" class="md2man-permalink" title="permalink"></a><span class="md2man-title">TORK-HERALD</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-07-17</span> <span class="md2man-source">19.9.0</span></h1><h2 id="name"><a name="name" href="#name" class="md2man-permalink" title="permalink"></a>NAME</h2><p>tork-herald - reports modified files</p><h2 id="synopsis"><a name="synopsis" href="#synopsis" class="md2man-permalink" title="permalink"></a>SYNOPSIS</h2><p><code>tork-herald</code> [<em>OPTION</em>]...</p><h2 id="description"><a name="description" href="#description" class="md2man-permalink" title="permalink"></a>DESCRIPTION</h2><p>This program monitors the current working directory and all those below it
11
11
  recursively. When any files therein are modified, it prints their relative
12
12
  paths in a single-line JSON array to stdout.</p><h2 id="options"><a name="options" href="#options" class="md2man-permalink" title="permalink"></a>OPTIONS</h2><dl><dt><code>-h</code>, <code>--help</code></dt><dd>Show this help manual.</dd></dl><h2 id="see-also"><a name="see-also" href="#see-also" class="md2man-permalink" title="permalink"></a>SEE ALSO</h2><p><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>, <a class="md2man-reference" href="../man1/tork-driver.1.html">tork-driver(1)</a></p></div></body>
13
13
  </html>
@@ -1,4 +1,4 @@
1
- .TH TORK\-MASTER 1 2014\-07\-01 19.8.2
1
+ .TH TORK\-MASTER 1 2014\-07\-17 19.9.0
2
2
  .SH NAME
3
3
  .PP
4
4
  tork\-master \- absorbs overhead and runs tests
@@ -62,7 +62,7 @@ Show this help manual.
62
62
  .SH FILES
63
63
  .TP
64
64
  \fI\&.tork/config.rb\fP
65
- Optional Ruby script that is loaded inside the driver process on startup.
65
+ Optional Ruby script that is loaded inside this Tork process on startup.
66
66
  It can read and change the \fB\fCENV['TORK_CONFIGS']\fR environment variable.
67
67
  .TP
68
68
  \fI\&.tork/master.rb\fP
@@ -2,12 +2,12 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 3.0.0 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 3.0.1 https://github.com/sunaku/md2man" />
6
6
  <title>tork-master(1) &mdash; absorbs overhead and runs tests</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#man1">man1</a>/tork-master.1</span></div></div><div class="container-fluid"><h1 id="tork-master-1-2014-07-01-19-8-2"><a name="tork-master-1-2014-07-01-19-8-2" href="#tork-master-1-2014-07-01-19-8-2" class="md2man-permalink" title="permalink"></a><span class="md2man-title">TORK-MASTER</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-07-01</span> <span class="md2man-source">19.8.2</span></h1><h2 id="name"><a name="name" href="#name" class="md2man-permalink" title="permalink"></a>NAME</h2><p>tork-master - absorbs overhead and runs tests</p><h2 id="synopsis"><a name="synopsis" href="#synopsis" class="md2man-permalink" title="permalink"></a>SYNOPSIS</h2><p><code>tork-master</code> [<em>OPTION</em>]...</p><h2 id="description"><a name="description" href="#description" class="md2man-permalink" title="permalink"></a>DESCRIPTION</h2><p>This program absorbs your Ruby application&#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-07-17-19-9-0"><a name="tork-master-1-2014-07-17-19-9-0" href="#tork-master-1-2014-07-17-19-9-0" class="md2man-permalink" title="permalink"></a><span class="md2man-title">TORK-MASTER</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-07-17</span> <span class="md2man-source">19.9.0</span></h1><h2 id="name"><a name="name" href="#name" class="md2man-permalink" title="permalink"></a>NAME</h2><p>tork-master - absorbs overhead and runs tests</p><h2 id="synopsis"><a name="synopsis" href="#synopsis" class="md2man-permalink" title="permalink"></a>SYNOPSIS</h2><p><code>tork-master</code> [<em>OPTION</em>]...</p><h2 id="description"><a name="description" href="#description" class="md2man-permalink" title="permalink"></a>DESCRIPTION</h2><p>This program absorbs your Ruby application&#39;s test execution overhead once and
11
11
  simply <a class="md2man-reference">fork(3)</a>s worker processses to run your tests thereafter. As a result,
12
12
  your tests run faster because they no longer spend any time absorbing the test
13
13
  execution overhead: worker processes simply inherit the overhead when forked.</p><p>This program can be controlled remotely by multiple <a class="md2man-reference" href="../man1/tork-remote.1.html">tork-remote(1)</a> instances.</p><h3 id="input"><a name="input" href="#input" class="md2man-permalink" title="permalink"></a>Input</h3><p>This program reads the following commands, which are single-line JSON arrays,
@@ -19,7 +19,7 @@ them. For example, the line <code>a &quot;b c&quot;</code> is split into the <c
19
19
  the entire <em>test_file</em> will be run.</dd></dl><dl><dt><code>[&quot;stop&quot;,</code> <em>signal</em><code>]</code></dt><dd>Stops all tests that are currently running by sending the given <em>signal</em>
20
20
  (optional; defaults to &quot;SIGTERM&quot;) to their respective worker processes.</dd></dl><dl><dt><code>[&quot;quit&quot;]</code></dt><dd>Stops all tests that are currently running and exits.</dd></dl><h3 id="output"><a name="output" href="#output" class="md2man-permalink" title="permalink"></a>Output</h3><p>This program prints the following messages, which are single-line JSON arrays,
21
21
  to stdout.</p><dl><dt><code>[&quot;absorb&quot;]</code></dt><dd>Test execution overhead has been absorbed. We are ready for testing!</dd></dl><dl><dt><code>[&quot;test&quot;,</code> <em>test_file</em><code>,</code> <em>line_numbers</em><code>,</code> <em>log_file</em><code>,</code> <em>worker_number</em><code>]</code></dt><dd>Test has begun running. Its output (both stdout and stderr) is being
22
- captured into <em>log_file</em> in real time, so you can watch it with <code>tail -f</code>.</dd></dl><dl><dt><code>[&quot;pass&quot;,</code> <em>test_file</em><code>,</code> <em>line_numbers</em><code>,</code> <em>log_file</em><code>,</code> <em>worker_number</em><code>,</code> <em>exit_code</em><code>,</code> <em>exit_info</em><code>]</code></dt><dd>Test has passed.</dd></dl><dl><dt><code>[&quot;fail&quot;,</code> <em>test_file</em><code>,</code> <em>line_numbers</em><code>,</code> <em>log_file</em><code>,</code> <em>worker_number</em><code>,</code> <em>exit_code</em><code>,</code> <em>exit_info</em><code>]</code></dt><dd>Test has failed.</dd></dl><h2 id="options"><a name="options" href="#options" class="md2man-permalink" title="permalink"></a>OPTIONS</h2><dl><dt><code>-h</code>, <code>--help</code></dt><dd>Show this help manual.</dd></dl><h2 id="files"><a name="files" href="#files" class="md2man-permalink" title="permalink"></a>FILES</h2><dl><dt><em>.tork/config.rb</em></dt><dd>Optional Ruby script that is loaded inside the driver process on startup.
22
+ captured into <em>log_file</em> in real time, so you can watch it with <code>tail -f</code>.</dd></dl><dl><dt><code>[&quot;pass&quot;,</code> <em>test_file</em><code>,</code> <em>line_numbers</em><code>,</code> <em>log_file</em><code>,</code> <em>worker_number</em><code>,</code> <em>exit_code</em><code>,</code> <em>exit_info</em><code>]</code></dt><dd>Test has passed.</dd></dl><dl><dt><code>[&quot;fail&quot;,</code> <em>test_file</em><code>,</code> <em>line_numbers</em><code>,</code> <em>log_file</em><code>,</code> <em>worker_number</em><code>,</code> <em>exit_code</em><code>,</code> <em>exit_info</em><code>]</code></dt><dd>Test has failed.</dd></dl><h2 id="options"><a name="options" href="#options" class="md2man-permalink" title="permalink"></a>OPTIONS</h2><dl><dt><code>-h</code>, <code>--help</code></dt><dd>Show this help manual.</dd></dl><h2 id="files"><a name="files" href="#files" class="md2man-permalink" title="permalink"></a>FILES</h2><dl><dt><em>.tork/config.rb</em></dt><dd>Optional Ruby script that is loaded inside this Tork process on startup.
23
23
  It can read and change the <code>ENV[&#39;TORK_CONFIGS&#39;]</code> environment variable.</dd></dl><dl><dt><em>.tork/master.rb</em></dt><dd>Optional Ruby script that is loaded inside the master process on startup.
24
24
  It can read and change the following variables.</dd></dl>
25
25
  <blockquote>
@@ -1,4 +1,4 @@
1
- .TH TORK\-NOTIFY 1 2014\-07\-01 19.8.2
1
+ .TH TORK\-NOTIFY 1 2014\-07\-17 19.9.0
2
2
  .SH NAME
3
3
  .PP
4
4
  tork\-notify \- notifies you of test status changes
@@ -2,12 +2,12 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 3.0.0 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 3.0.1 https://github.com/sunaku/md2man" />
6
6
  <title>tork-notify(1) &mdash; notifies you of test status changes</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#man1">man1</a>/tork-notify.1</span></div></div><div class="container-fluid"><h1 id="tork-notify-1-2014-07-01-19-8-2"><a name="tork-notify-1-2014-07-01-19-8-2" href="#tork-notify-1-2014-07-01-19-8-2" class="md2man-permalink" title="permalink"></a><span class="md2man-title">TORK-NOTIFY</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-07-01</span> <span class="md2man-source">19.8.2</span></h1><h2 id="name"><a name="name" href="#name" class="md2man-permalink" title="permalink"></a>NAME</h2><p>tork-notify - notifies you of test status changes</p><h2 id="synopsis"><a name="synopsis" href="#synopsis" class="md2man-permalink" title="permalink"></a>SYNOPSIS</h2><p><code>tork-notify</code> [<em>OPTION</em>]...</p><h2 id="description"><a name="description" href="#description" class="md2man-permalink" title="permalink"></a>DESCRIPTION</h2><p>This program serves as an example of how to receive and process messages sent
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-07-17-19-9-0"><a name="tork-notify-1-2014-07-17-19-9-0" href="#tork-notify-1-2014-07-17-19-9-0" class="md2man-permalink" title="permalink"></a><span class="md2man-title">TORK-NOTIFY</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-07-17</span> <span class="md2man-source">19.9.0</span></h1><h2 id="name"><a name="name" href="#name" class="md2man-permalink" title="permalink"></a>NAME</h2><p>tork-notify - notifies you of test status changes</p><h2 id="synopsis"><a name="synopsis" href="#synopsis" class="md2man-permalink" title="permalink"></a>SYNOPSIS</h2><p><code>tork-notify</code> [<em>OPTION</em>]...</p><h2 id="description"><a name="description" href="#description" class="md2man-permalink" title="permalink"></a>DESCRIPTION</h2><p>This program serves as an example of how to receive and process messages sent
11
11
  by the various programs in the <a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a> suite. It notifies you when previously
12
12
  passing tests fail (or vice versa) through libnotify, xmessage, or growl. If
13
13
  none are available on your system, then the notification is printed to stdout.</p><h2 id="options"><a name="options" href="#options" class="md2man-permalink" title="permalink"></a>OPTIONS</h2><dl><dt><code>-h</code>, <code>--help</code></dt><dd>Show this help manual.</dd></dl><h2 id="exit-status"><a name="exit-status" href="#exit-status" class="md2man-permalink" title="permalink"></a>EXIT STATUS</h2><p>See <a class="md2man-reference" href="../man1/tork-remote.1.html">tork-remote(1)</a>.</p><h2 id="see-also"><a name="see-also" href="#see-also" class="md2man-permalink" title="permalink"></a>SEE ALSO</h2><p><a class="md2man-reference" href="../man1/tork-remote.1.html">tork-remote(1)</a>, <a class="md2man-reference" href="../man1/tork-engine.1.html">tork-engine(1)</a></p></div></body>
@@ -2,7 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 3.0.0 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 3.0.1 https://github.com/sunaku/md2man" />
6
6
  <title>tork-remote(1) &mdash; controls tork(1) programs</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]-->
@@ -1,4 +1,4 @@
1
- .TH TORK\-RUNNER 1 2014\-07\-01 19.8.2
1
+ .TH TORK\-RUNNER 1 2014\-07\-17 19.9.0
2
2
  .SH NAME
3
3
  .PP
4
4
  tork\-runner \- runs tests once, non\-interactively
@@ -2,12 +2,12 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 3.0.0 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 3.0.1 https://github.com/sunaku/md2man" />
6
6
  <title>tork-runner(1) &mdash; runs tests once, non-interactively</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#man1">man1</a>/tork-runner.1</span></div></div><div class="container-fluid"><h1 id="tork-runner-1-2014-07-01-19-8-2"><a name="tork-runner-1-2014-07-01-19-8-2" href="#tork-runner-1-2014-07-01-19-8-2" class="md2man-permalink" title="permalink"></a><span class="md2man-title">TORK-RUNNER</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-07-01</span> <span class="md2man-source">19.8.2</span></h1><h2 id="name"><a name="name" href="#name" class="md2man-permalink" title="permalink"></a>NAME</h2><p>tork-runner - runs tests once, non-interactively</p><h2 id="synopsis"><a name="synopsis" href="#synopsis" class="md2man-permalink" title="permalink"></a>SYNOPSIS</h2><p><code>tork-runner</code> [<em>OPTION</em>]... [<em>TEST_FILE_GLOB</em>]...</p><h2 id="description"><a name="description" href="#description" class="md2man-permalink" title="permalink"></a>DESCRIPTION</h2><p>This program can be thought of as a non-interactive version of <a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>. It
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-07-17-19-9-0"><a name="tork-runner-1-2014-07-17-19-9-0" href="#tork-runner-1-2014-07-17-19-9-0" class="md2man-permalink" title="permalink"></a><span class="md2man-title">TORK-RUNNER</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-07-17</span> <span class="md2man-source">19.9.0</span></h1><h2 id="name"><a name="name" href="#name" class="md2man-permalink" title="permalink"></a>NAME</h2><p>tork-runner - runs tests once, non-interactively</p><h2 id="synopsis"><a name="synopsis" href="#synopsis" class="md2man-permalink" title="permalink"></a>SYNOPSIS</h2><p><code>tork-runner</code> [<em>OPTION</em>]... [<em>TEST_FILE_GLOB</em>]...</p><h2 id="description"><a name="description" href="#description" class="md2man-permalink" title="permalink"></a>DESCRIPTION</h2><p>This program can be thought of as a non-interactive version of <a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>. It
11
11
  runs all test files that match the given <em>TEST_FILE_GLOB</em>s and then exits
12
12
  with a nonzero status if any tests failed. If none are given, it runs all
13
13
  test files known to <code>Tork::Driver::TEST_FILE_GLOBBERS</code> in <a class="md2man-reference" href="../man1/tork-driver.1.html">tork-driver(1)</a>.</p><h3 id="output"><a name="output" href="#output" class="md2man-permalink" title="permalink"></a>Output</h3><p>This program prints the following messages to stdout.</p><dl><dt><code>&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"><a name="options" href="#options" class="md2man-permalink" title="permalink"></a>OPTIONS</h2><dl><dt><code>-h</code>, <code>--help</code></dt><dd>Show this help manual.</dd></dl><h2 id="exit-status"><a name="exit-status" href="#exit-status" class="md2man-permalink" title="permalink"></a>EXIT STATUS</h2><dl><dt>0</dt><dd>All test files passed.</dd></dl><dl><dt>1</dt><dd>One or more test files failed.</dd></dl><h2 id="environment"><a name="environment" href="#environment" class="md2man-permalink" title="permalink"></a>ENVIRONMENT</h2><p>See <a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>.</p><h2 id="see-also"><a name="see-also" href="#see-also" class="md2man-permalink" title="permalink"></a>SEE ALSO</h2><p><a class="md2man-reference" href="../man1/tork.1.html">tork(1)</a>, <a class="md2man-reference" href="../man1/tork-driver.1.html">tork-driver(1)</a></p></div></body>
data/man/man1/tork.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH TORK 1 2014\-07\-01 19.8.2
1
+ .TH TORK 1 2014\-07\-17 19.9.0
2
2
  .SH NAME
3
3
  .PP
4
4
  tork \- Continuous testing tool for Ruby
@@ -44,38 +44,16 @@ Show this help manual.
44
44
  .SH FILES
45
45
  .TP
46
46
  \fI\&.tork/config.rb\fP
47
- Optional Ruby script that is loaded inside the driver process on startup.
47
+ Optional Ruby script that is loaded inside this Tork process on startup.
48
48
  It can read and change the \fB\fCENV['TORK_CONFIGS']\fR environment variable.
49
49
  .SH ENVIRONMENT
50
50
  .TP
51
51
  \fB\fCTORK_CONFIGS\fR
52
52
  Colon\-separated (:) list of either paths to directories that contain
53
53
  configuration files or names of the following configuration helpers.
54
- If this variable is not set, then its value is assumed to be "default".
55
54
  .PP
56
55
  .RS
57
56
  .TP
58
- \fB\fCdefault\fR
59
- Loads the following configuration helpers (as appropriate) if your
60
- current working directory appears to utilize what they configure.
61
- See below for complete descriptions of these configuration helpers.
62
- .RS
63
- .IP \(bu 2
64
- bundler
65
- .IP \(bu 2
66
- rails
67
- .IP \(bu 2
68
- devise
69
- .IP \(bu 2
70
- test
71
- .IP \(bu 2
72
- spec
73
- .IP \(bu 2
74
- cucumber
75
- .IP \(bu 2
76
- factory_girl
77
- .RE
78
- .TP
79
57
  \fB\fCdotlog\fR
80
58
  Hides log files by prefixing their names with a period (dot).
81
59
  .TP
@@ -105,45 +83,31 @@ Supports the Test::Unit standard library.
105
83
  .PP
106
84
  \fB\fCspec\fR
107
85
  Supports the RSpec
108
- .UR http://rspec.info
109
- .UE
110
- testing framework.
86
+ \[la]http://rspec.info\[ra] testing framework.
111
87
  .PP
112
88
  \fB\fCcucumber\fR
113
89
  Supports the Cucumber
114
- .UR https://cukes.info
115
- .UE
116
- testing framework.
90
+ \[la]https://cukes.info\[ra] testing framework.
117
91
  .PP
118
92
  \fB\fCbundler\fR
119
93
  Supports the Bundler
120
- .UR http://bundler.io
121
- .UE
122
- dependency framework.
94
+ \[la]http://bundler.io\[ra] dependency framework.
123
95
  .PP
124
96
  \fB\fCrails\fR
125
97
  Supports the Ruby on Rails
126
- .UR http://rubyonrails.org
127
- .UE
128
- web framework.
98
+ \[la]http://rubyonrails.org\[ra] web framework.
129
99
  .PP
130
100
  \fB\fCdevise\fR
131
101
  Supports the Devise
132
- .UR https://github.com/plataformatec/devise
133
- .UE
134
- authentication framework.
102
+ \[la]https://github.com/plataformatec/devise\[ra] authentication framework.
135
103
  .PP
136
104
  \fB\fCfactory_girl\fR
137
105
  Supports the factory_girl
138
- .UR https://github.com/thoughtbot/factory_girl
139
- .UE
140
- testing library.
106
+ \[la]https://github.com/thoughtbot/factory_girl\[ra] testing library.
141
107
  .PP
142
108
  \fB\fCparallel_tests\fR
143
109
  Supports the parallel_tests
144
- .UR https://github.com/grosser/parallel_tests
145
- .UE
146
- testing library.
110
+ \[la]https://github.com/grosser/parallel_tests\[ra] testing library.
147
111
  .RE
148
112
  .SH SEE ALSO
149
113
  .PP
data/man/man1/tork.1.html CHANGED
@@ -2,12 +2,12 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <meta name="generator" content="md2man 3.0.0 https://github.com/sunaku/md2man" />
5
+ <meta name="generator" content="md2man 3.0.1 https://github.com/sunaku/md2man" />
6
6
  <title>tork(1) &mdash; Continuous testing tool for Ruby</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#man1">man1</a>/tork.1</span></div></div><div class="container-fluid"><h1 id="tork-1-2014-07-01-19-8-2"><a name="tork-1-2014-07-01-19-8-2" href="#tork-1-2014-07-01-19-8-2" class="md2man-permalink" title="permalink"></a><span class="md2man-title">TORK</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-07-01</span> <span class="md2man-source">19.8.2</span></h1><h2 id="name"><a name="name" href="#name" class="md2man-permalink" title="permalink"></a>NAME</h2><p>tork - Continuous testing tool for Ruby</p><h2 id="synopsis"><a name="synopsis" href="#synopsis" class="md2man-permalink" title="permalink"></a>SYNOPSIS</h2><p><code>tork</code> [<em>OPTION</em>]... [<em>CONFIG</em>]...</p><h2 id="description"><a name="description" href="#description" class="md2man-permalink" title="permalink"></a>DESCRIPTION</h2><p>This program can be thought of as an interactive version of <a class="md2man-reference" href="../man1/tork-runner.1.html">tork-runner(1)</a>.
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-07-17-19-9-0"><a name="tork-1-2014-07-17-19-9-0" href="#tork-1-2014-07-17-19-9-0" class="md2man-permalink" title="permalink"></a><span class="md2man-title">TORK</span> <span class="md2man-section">1</span> <span class="md2man-date">2014-07-17</span> <span class="md2man-source">19.9.0</span></h1><h2 id="name"><a name="name" href="#name" class="md2man-permalink" title="permalink"></a>NAME</h2><p>tork - Continuous testing tool for Ruby</p><h2 id="synopsis"><a name="synopsis" href="#synopsis" class="md2man-permalink" title="permalink"></a>SYNOPSIS</h2><p><code>tork</code> [<em>OPTION</em>]... [<em>CONFIG</em>]...</p><h2 id="description"><a name="description" href="#description" class="md2man-permalink" title="permalink"></a>DESCRIPTION</h2><p>This program can be thought of as an interactive version of <a class="md2man-reference" href="../man1/tork-runner.1.html">tork-runner(1)</a>.
11
11
  It functions as a rudimentary command-line user interface to <a class="md2man-reference" href="../man1/tork-driver.1.html">tork-driver(1)</a>.</p><p>First, it applies the given <em>CONFIG</em> values, which are either (1) paths to
12
12
  directories that contain configuration files or (2) names of configuration
13
13
  helpers listed in the description of the <code>TORK_CONFIGS</code> environment variable.</p><p>Next, it waits for you to supply interactive commands either (1) directly on
@@ -16,23 +16,10 @@ and press ENTER to see a help message that shows a menu of accepted commands.</p
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>
19
- (optional; defaults to <code>SIGTERM</code>) to their respective worker processes.</dd></dl><p>This program can be controlled remotely by multiple <a class="md2man-reference" href="../man1/tork-remote.1.html">tork-remote(1)</a> instances.</p><h2 id="options"><a name="options" href="#options" class="md2man-permalink" title="permalink"></a>OPTIONS</h2><dl><dt><code>-h</code>, <code>--help</code></dt><dd>Show this help manual.</dd></dl><h2 id="files"><a name="files" href="#files" class="md2man-permalink" title="permalink"></a>FILES</h2><dl><dt><em>.tork/config.rb</em></dt><dd>Optional Ruby script that is loaded inside the driver process on startup.
19
+ (optional; defaults to <code>SIGTERM</code>) to their respective worker processes.</dd></dl><p>This program can be controlled remotely by multiple <a class="md2man-reference" href="../man1/tork-remote.1.html">tork-remote(1)</a> instances.</p><h2 id="options"><a name="options" href="#options" class="md2man-permalink" title="permalink"></a>OPTIONS</h2><dl><dt><code>-h</code>, <code>--help</code></dt><dd>Show this help manual.</dd></dl><h2 id="files"><a name="files" href="#files" class="md2man-permalink" title="permalink"></a>FILES</h2><dl><dt><em>.tork/config.rb</em></dt><dd>Optional Ruby script that is loaded inside this Tork process on startup.
20
20
  It can read and change the <code>ENV[&#39;TORK_CONFIGS&#39;]</code> environment variable.</dd></dl><h2 id="environment"><a name="environment" href="#environment" class="md2man-permalink" title="permalink"></a>ENVIRONMENT</h2><dl><dt><code>TORK_CONFIGS</code></dt><dd>Colon-separated (:) list of either paths to directories that contain
21
- configuration files or names of the following configuration helpers.
22
- If this variable is not set, then its value is assumed to be &quot;default&quot;.</dd></dl>
21
+ configuration files or names of the following configuration helpers.</dd></dl>
23
22
  <blockquote>
24
- <dl><dt><code>default</code></dt><dd>Loads the following configuration helpers (as appropriate) if your
25
- current working directory appears to utilize what they configure.
26
- See below for complete descriptions of these configuration helpers.</dd></dl>
27
- <ul>
28
- <li>bundler</li>
29
- <li>rails</li>
30
- <li>devise</li>
31
- <li>test</li>
32
- <li>spec</li>
33
- <li>cucumber</li>
34
- <li>factory_girl</li>
35
- </ul>
36
23
  <dl><dt><code>dotlog</code></dt><dd>Hides log files by prefixing their names with a period (dot).</dd></dl><dl><dt><code>logdir</code></dt><dd>Keeps log files away from your tests, in the <code>log/</code> directory.</dd></dl><dl><dt><code>coverage</code></dt><dd>Measures C0 code coverage under Ruby 1.9 and dumps a hash in YAML
37
24
  format at the end of your log file containing every Ruby script that
38
25
  was loaded from the current working directory or any of its descendant
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.8.2
4
+ version: 19.9.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: 2014-07-02 00:00:00.000000000 Z
12
+ date: 2014-07-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: md2man
@@ -128,25 +128,31 @@ files:
128
128
  - lib/tork/bridge.rb
129
129
  - lib/tork/cliapp.rb
130
130
  - lib/tork/config.rb
131
+ - lib/tork/config/bundler/config.rb
131
132
  - lib/tork/config/bundler/master.rb
132
133
  - lib/tork/config/coverage/master.rb
133
134
  - lib/tork/config/coverage/worker.rb
135
+ - lib/tork/config/cucumber/config.rb
134
136
  - lib/tork/config/cucumber/driver.rb
135
137
  - lib/tork/config/cucumber/worker.rb
136
- - lib/tork/config/default/config.rb
138
+ - lib/tork/config/devise/config.rb
137
139
  - lib/tork/config/devise/onfork.rb
138
140
  - lib/tork/config/devise/worker.rb
139
141
  - lib/tork/config/dotlog/onfork.rb
142
+ - lib/tork/config/factory_girl/config.rb
140
143
  - lib/tork/config/factory_girl/onfork.rb
141
144
  - lib/tork/config/factory_girl/worker.rb
142
145
  - lib/tork/config/logdir/onfork.rb
143
146
  - lib/tork/config/parallel_tests/worker.rb
147
+ - lib/tork/config/rails/config.rb
144
148
  - lib/tork/config/rails/driver.rb
145
149
  - lib/tork/config/rails/master.rb
146
150
  - lib/tork/config/rails/worker.rb
151
+ - lib/tork/config/spec/config.rb
147
152
  - lib/tork/config/spec/driver.rb
148
153
  - lib/tork/config/spec/master.rb
149
154
  - lib/tork/config/spec/worker.rb
155
+ - lib/tork/config/test/config.rb
150
156
  - lib/tork/config/test/driver.rb
151
157
  - lib/tork/config/test/master.rb
152
158
  - lib/tork/config/test/worker.rb
@@ -1,7 +0,0 @@
1
- ENV['TORK_CONFIGS'] += ':bundler' if Dir['Gemfile{,.lock}'].any?
2
- ENV['TORK_CONFIGS'] += ':rails' if Dir['script/{rails,console}'].any?
3
- ENV['TORK_CONFIGS'] += ':devise' if File.exist? 'config/initializers/devise.rb'
4
- ENV['TORK_CONFIGS'] += ':test' if File.directory? 'test'
5
- ENV['TORK_CONFIGS'] += ':spec' if File.directory? 'spec'
6
- ENV['TORK_CONFIGS'] += ':cucumber' if File.directory? 'features'
7
- ENV['TORK_CONFIGS'] += ':factory_girl' if Dir['{test,spec}/factories/'].any?