pub/www/rdoc/classes/Reap/TestTask.html in reap-0.6.1 vs pub/www/rdoc/classes/Reap/TestTask.html in reap-3.01
- old
+ new
@@ -53,12 +53,12 @@
<td class="class-name-in-header">Reap::TestTask</td>
</tr>
<tr class="top-aligned-row">
<td><strong>In:</strong></td>
<td>
- <a href="../../files/lib/reap2/test-task_rb.html">
- lib/reap2/test-task.rb
+ <a href="../../files/lib/reap/test_task_rb.html">
+ lib/reap/test_task.rb
</a>
<br />
</td>
</tr>
@@ -78,23 +78,40 @@
<div id="contextContent">
+ <div id="description">
+ <p>
+Test <a href="Task.html">Task</a>
+</p>
+<p>
+The <a href="../Reap.html">Reap</a> test task runs each test in it’s
+own process, making for purer test facility.
+</p>
+<p>
+NOTE: This works well enough but it is a bit of hack. It actually marshals
+test results across a stdout->stdin shell pipe. One consequence of this
+is that you can’t send debug info to stdout (including p and puts)
+within the tests themselves. This, hopefully can be remedied.
+</p>
+ </div>
+
</div>
<div id="method-list">
<h3 class="section-bar">Methods</h3>
<div class="name-list">
- <a href="#M000008">define</a>
- <a href="#M000011">fork_test</a>
- <a href="#M000007">init</a>
- <a href="#M000010">run_test</a>
- <a href="#M000009">run_testsuite</a>
+ <a href="#M000015">default_desc</a>
+ <a href="#M000014">default_name</a>
+ <a href="#M000018">dotest</a>
+ <a href="#M000019">fork_test</a>
+ <a href="#M000016">init</a>
+ <a href="#M000017">run</a>
</div>
</div>
</div>
@@ -141,72 +158,89 @@
<!-- if method_list -->
<div id="methods">
<h3 class="section-bar">Public Instance methods</h3>
- <div id="method-M000008" class="method-detail">
- <a name="M000008"></a>
+ <div id="method-M000015" class="method-detail">
+ <a name="M000015"></a>
<div class="method-heading">
- <a href="TestTask.src/M000008.html" target="Code" class="method-signature"
- onclick="popupCode('TestTask.src/M000008.html');return false;">
- <span class="method-name">define</span><span class="method-args">()</span>
+ <a href="TestTask.src/M000015.html" target="Code" class="method-signature"
+ onclick="popupCode('TestTask.src/M000015.html');return false;">
+ <span class="method-name">default_desc</span><span class="method-args">()</span>
</a>
</div>
<div class="method-description">
</div>
</div>
- <div id="method-M000011" class="method-detail">
- <a name="M000011"></a>
+ <div id="method-M000014" class="method-detail">
+ <a name="M000014"></a>
<div class="method-heading">
- <a href="TestTask.src/M000011.html" target="Code" class="method-signature"
- onclick="popupCode('TestTask.src/M000011.html');return false;">
- <span class="method-name">fork_test</span><span class="method-args">( testfile )</span>
+ <a href="TestTask.src/M000014.html" target="Code" class="method-signature"
+ onclick="popupCode('TestTask.src/M000014.html');return false;">
+ <span class="method-name">default_name</span><span class="method-args">()</span>
</a>
</div>
<div class="method-description">
+ <p>
+register ‘test’
+</p>
</div>
</div>
- <div id="method-M000007" class="method-detail">
- <a name="M000007"></a>
+ <div id="method-M000018" class="method-detail">
+ <a name="M000018"></a>
<div class="method-heading">
- <a href="TestTask.src/M000007.html" target="Code" class="method-signature"
- onclick="popupCode('TestTask.src/M000007.html');return false;">
- <span class="method-name">init</span><span class="method-args">()</span>
+ <a href="TestTask.src/M000018.html" target="Code" class="method-signature"
+ onclick="popupCode('TestTask.src/M000018.html');return false;">
+ <span class="method-name">dotest</span><span class="method-args">( test_file )</span>
</a>
</div>
<div class="method-description">
</div>
</div>
- <div id="method-M000010" class="method-detail">
- <a name="M000010"></a>
+ <div id="method-M000019" class="method-detail">
+ <a name="M000019"></a>
<div class="method-heading">
- <a href="TestTask.src/M000010.html" target="Code" class="method-signature"
- onclick="popupCode('TestTask.src/M000010.html');return false;">
- <span class="method-name">run_test</span><span class="method-args">( test_file )</span>
+ <a href="TestTask.src/M000019.html" target="Code" class="method-signature"
+ onclick="popupCode('TestTask.src/M000019.html');return false;">
+ <span class="method-name">fork_test</span><span class="method-args">( testfile )</span>
</a>
</div>
<div class="method-description">
</div>
</div>
- <div id="method-M000009" class="method-detail">
- <a name="M000009"></a>
+ <div id="method-M000016" class="method-detail">
+ <a name="M000016"></a>
<div class="method-heading">
- <a href="TestTask.src/M000009.html" target="Code" class="method-signature"
- onclick="popupCode('TestTask.src/M000009.html');return false;">
- <span class="method-name">run_testsuite</span><span class="method-args">()</span>
+ <a href="TestTask.src/M000016.html" target="Code" class="method-signature"
+ onclick="popupCode('TestTask.src/M000016.html');return false;">
+ <span class="method-name">init</span><span class="method-args">()</span>
+ </a>
+ </div>
+
+ <div class="method-description">
+ </div>
+ </div>
+
+ <div id="method-M000017" class="method-detail">
+ <a name="M000017"></a>
+
+ <div class="method-heading">
+ <a href="TestTask.src/M000017.html" target="Code" class="method-signature"
+ onclick="popupCode('TestTask.src/M000017.html');return false;">
+ <span class="method-name">run</span><span class="method-args">()</span>
</a>
</div>
<div class="method-description">
</div>
\ No newline at end of file