Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updated docs.

  • Loading branch information...
commit 3b1d60be4ae516a5274958f8bbb5a260aa783914 1 parent 348bf22
Stefan Rusterholz authored April 17, 2010

Showing 111 changed files with 2,369 additions and 1,639 deletions. Show diff stats Hide diff stats

  1. 147  docs/BareTest.html
  2. 123  docs/BareTest/Assertion.html
  3. 14  docs/BareTest/Assertion/Context.html
  4. 10  docs/BareTest/Assertion/Failure.html
  5. 12  docs/BareTest/Assertion/Skip.html
  6. 302  docs/BareTest/Assertion/Support.html
  7. 386  docs/BareTest/CommandLine.html
  8. 54  docs/BareTest/Formatter.html
  9. 12  docs/BareTest/IRBMode.html
  10. 66  docs/BareTest/IRBMode/IRBContext.html
  11. 10  docs/BareTest/InvalidSelectors.html
  12. 93  docs/BareTest/Persistence.html
  13. 234  docs/BareTest/Run.html
  14. 10  docs/BareTest/Run/CLI.html
  15. 10  docs/BareTest/Run/Minimal.html
  16. 10  docs/BareTest/Run/None.html
  17. 197  docs/BareTest/Run/Profile.html
  18. 10  docs/BareTest/Run/Spec.html
  19. 10  docs/BareTest/Run/TAP.html
  20. 13  docs/BareTest/Run/XML.html
  21. 85  docs/BareTest/Status.html
  22. 268  docs/BareTest/Suite.html
  23. 34  docs/BareTest/UID.html
  24. 14  docs/BareTest/VERSION.html
  25. 52  docs/Command.html
  26. 82  docs/Command/DecoratingHash.html
  27. 292  docs/Command/Definition.html
  28. 12  docs/Command/DirectoryNotFoundError.html
  29. 12  docs/Command/FileNotFoundError.html
  30. 10  docs/Command/NoDirectoryError.html
  31. 10  docs/Command/NoFileError.html
  32. 78  docs/Command/Parser.html
  33. 12  docs/Command/VERSION.html
  34. 76  docs/Kernel.html
  35. 15  docs/LICENSE_txt.html
  36. 13  docs/MANIFEST_txt.html
  37. 260  docs/README_rdoc.html
  38. 4  docs/bin/baretest.html
  39. 56  docs/created.rid
  40. 47  docs/doc/baretest_rdoc.html
  41. 15  docs/doc/mocking_stubbing_test_doubles_rdoc.html
  42. 307  docs/doc/quickref_rdoc.html
  43. 19  docs/doc/whats_going_on_rdoc.html
  44. 57  docs/doc/writing_tests_rdoc.html
  45. 0  docs/images/brick.png
  46. 0  docs/images/brick_link.png
  47. 0  docs/images/bullet_black.png
  48. 0  docs/images/bullet_toggle_minus.png
  49. 0  docs/images/bullet_toggle_plus.png
  50. 0  docs/images/date.png
  51. 0  docs/images/find.png
  52. 0  docs/images/package.png
  53. 0  docs/images/page_green.png
  54. 0  docs/images/page_white_text.png
  55. 0  docs/images/page_white_width.png
  56. 0  docs/images/plugin.png
  57. 0  docs/images/ruby.png
  58. 0  docs/images/tag_green.png
  59. 0  docs/images/wrench.png
  60. 0  docs/images/wrench_orange.png
  61. 0  docs/images/zoom.png
  62. 156  docs/index.html
  63. 10  docs/js/darkfish.js
  64. 14  docs/js/quicksearch.js
  65. 7  docs/lib/baretest/assertion/context_rb.html
  66. 2  docs/lib/baretest/assertion/failure_rb.html
  67. 2  docs/lib/baretest/assertion/skip_rb.html
  68. 2  docs/lib/baretest/assertion/support_rb.html
  69. 4  docs/lib/baretest/assertion_rb.html
  70. 4  docs/lib/baretest/commandline_rb.html
  71. 2  docs/lib/baretest/formatter_rb.html
  72. 2  docs/lib/baretest/invalidselectors_rb.html
  73. 10  docs/lib/baretest/irb_mode_rb.html
  74. 8  docs/lib/baretest/layout_rb.html
  75. 4  docs/lib/baretest/persistence_rb.html
  76. 4  docs/lib/baretest/run/cli_rb.html
  77. 2  docs/lib/baretest/run/minimal_rb.html
  78. 2  docs/lib/baretest/run/none_rb.html
  79. 55  docs/lib/baretest/run/profile_rb.html
  80. 4  docs/lib/baretest/run/spec_rb.html
  81. 4  docs/lib/baretest/run/tap_rb.html
  82. 2  docs/lib/baretest/run/xml_rb.html
  83. 4  docs/lib/baretest/run_rb.html
  84. 2  docs/lib/baretest/safe_rb.html
  85. 4  docs/lib/baretest/setup_rb.html
  86. 4  docs/lib/baretest/status_rb.html
  87. 4  docs/lib/baretest/suite_rb.html
  88. 4  docs/lib/baretest/uid_rb.html
  89. 4  docs/lib/baretest/use/mocha_rb.html
  90. 2  docs/lib/baretest/use/rack_test_rb.html
  91. 4  docs/lib/baretest/use/rr_rb.html
  92. 2  docs/lib/baretest/use/support_rb.html
  93. 4  docs/lib/baretest/version_rb.html
  94. 4  docs/lib/baretest_rb.html
  95. 4  docs/lib/command/argument_rb.html
  96. 2  docs/lib/command/decoratinghash_rb.html
  97. 2  docs/lib/command/definition_rb.html
  98. 2  docs/lib/command/directorynotfounderror_rb.html
  99. 2  docs/lib/command/env_rb.html
  100. 2  docs/lib/command/filenotfounderror_rb.html
  101. 2  docs/lib/command/kernel_rb.html
  102. 2  docs/lib/command/nodirectoryerror_rb.html
  103. 2  docs/lib/command/nofileerror_rb.html
  104. 2  docs/lib/command/option_rb.html
  105. 2  docs/lib/command/parser_rb.html
  106. 2  docs/lib/command/result_rb.html
  107. 4  docs/lib/command/types_rb.html
  108. 4  docs/lib/command/version_rb.html
  109. 2  docs/lib/command_rb.html
  110. 2  docs/lib/ruby/kernel_rb.html
  111. 75  docs/rdoc.css
147  docs/BareTest.html
@@ -22,6 +22,16 @@
22 22
 <body class="module">
23 23
 
24 24
 	<div id="metadata">
  25
+		<div id="home-metadata">
  26
+			<div id="home-section" class="section">
  27
+        <h3 class="section-header">
  28
+          <a href="./index.html">Home</a>
  29
+          <a href="./index.html#classes">Classes</a>
  30
+          <a href="./index.html#methods">Methods</a>
  31
+        </h3>
  32
+			</div>
  33
+		</div>
  34
+
25 35
 		<div id="file-metadata">
26 36
 			<div id="file-list-section" class="section">
27 37
 				<h3 class="section-header">In Files</h3>
@@ -61,18 +71,15 @@ <h3 class="section-header">In Files</h3>
61 71
 						<li><a href="./lib/baretest/persistence_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
62 72
 							class="thickbox" title="lib/baretest/persistence.rb">lib/baretest/persistence.rb</a></li>
63 73
 					
64  
-						<li><a href="./lib/baretest/run/minimal_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
65  
-							class="thickbox" title="lib/baretest/run/minimal.rb">lib/baretest/run/minimal.rb</a></li>
66  
-					
67 74
 						<li><a href="./lib/baretest/run/cli_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
68 75
 							class="thickbox" title="lib/baretest/run/cli.rb">lib/baretest/run/cli.rb</a></li>
69 76
 					
  77
+						<li><a href="./lib/baretest/run/minimal_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
  78
+							class="thickbox" title="lib/baretest/run/minimal.rb">lib/baretest/run/minimal.rb</a></li>
  79
+					
70 80
 						<li><a href="./lib/baretest/run/none_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
71 81
 							class="thickbox" title="lib/baretest/run/none.rb">lib/baretest/run/none.rb</a></li>
72 82
 					
73  
-						<li><a href="./lib/baretest/run/profile_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
74  
-							class="thickbox" title="lib/baretest/run/profile.rb">lib/baretest/run/profile.rb</a></li>
75  
-					
76 83
 						<li><a href="./lib/baretest/run/spec_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
77 84
 							class="thickbox" title="lib/baretest/run/spec.rb">lib/baretest/run/spec.rb</a></li>
78 85
 					
@@ -158,17 +165,17 @@ <h3 class="section-header">Methods</h3>
158 165
 					
159 166
 					<li><a href="#M000129">::component</a></li>
160 167
 					
161  
-					<li><a href="#M000140">::external</a></li>
  168
+					<li><a href="#M000134">::external</a></li>
162 169
 					
163 170
 					<li><a href="#M000125">::load_standard_test_files</a></li>
164 171
 					
165 172
 					<li><a href="#M000126">::most_important_status</a></li>
166 173
 					
167  
-					<li><a href="#M000133">::new_component</a></li>
  174
+					<li><a href="#M000131">::new_component</a></li>
168 175
 					
169 176
 					<li><a href="#M000127">::process_selectors</a></li>
170 177
 					
171  
-					<li><a href="#M000139">::require</a></li>
  178
+					<li><a href="#M000133">::require</a></li>
172 179
 					
173 180
 					<li><a href="#M000123">::require_baretest</a></li>
174 181
 					
@@ -176,9 +183,9 @@ <h3 class="section-header">Methods</h3>
176 183
 					
177 184
 					<li><a href="#M000130">::suite</a></li>
178 185
 					
179  
-					<li><a href="#M000141">::test_directory</a></li>
  186
+					<li><a href="#M000135">::test_directory</a></li>
180 187
 					
181  
-					<li><a href="#M000134">::use</a></li>
  188
+					<li><a href="#M000132">::use</a></li>
182 189
 					
183 190
 				</ul>
184 191
 			</div>
@@ -294,10 +301,7 @@ <h3 class="section-header">Class Index
294 301
 		<h1 class="module">BareTest</h1>
295 302
 
296 303
 		<div id="description">
297  
-			<hr size="1"></hr><p>
298  
-encoding: utf-8
299  
-</p>
300  
-<hr size="1"></hr>
  304
+			
301 305
 		</div>
302 306
 
303 307
 		<!-- Constants -->
@@ -351,7 +355,7 @@ <h3 class="section-header">Attributes</h3>
351 355
 				
352 356
 				<p>
353 357
 A hash of components - available via BareTest::use(name) and <a
354  
-href="BareTest/Suite.html#M000105">Suite#suite</a> :use => name
  358
+href="BareTest/Suite.html#M000102">Suite#suite</a> :use => name
355 359
 </p>
356 360
 				
357 361
 				</div>
@@ -432,7 +436,7 @@ <h3 class="section-header">Public Class Methods</h3>
432 436
 
433 437
 				<div class="method-description">
434 438
 					
435  
-					<p class="missing-docs">(Not documented)</p>
  439
+					
436 440
 					
437 441
 
438 442
 					
@@ -455,11 +459,13 @@ <h3 class="section-header">Public Class Methods</h3>
455 459
 				</div>
456 460
 
457 461
 				
  462
+
  463
+				
458 464
 			</div>
459 465
 
460 466
 		
461 467
 			<div id="external-method" class="method-detail ">
462  
-				<a name="M000140"></a>
  468
+				<a name="M000134"></a>
463 469
 
464 470
 				<div class="method-heading">
465 471
 				
@@ -477,8 +483,7 @@ <h3 class="section-header">Public Class Methods</h3>
477 483
 <pre>
478 484
   suite &quot;#mkdir&quot; do
479 485
     setup do
480  
-      @base = BareTest.external('suite_mkdir') # =&gt; &quot;/.../PROJECT/test/external/suite_mkdir&quot;
481  
-</pre>
  486
+      @base = BareTest.external('suite_mkdir') # =&gt; &quot;/.../PROJECT/test/external/suite_mkdir&quot;</pre>
482 487
 					
483 488
 
484 489
 					
@@ -486,14 +491,16 @@ <h3 class="section-header">Public Class Methods</h3>
486 491
 						id="external-source">
487 492
 <pre>
488 493
      <span class="ruby-comment cmt"># File lib/baretest.rb, line 269</span>
489  
-269:   <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">external</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">path</span>)
490  
-270:     <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">test_directory</span>, <span class="ruby-value str">'external'</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">path</span>)
  494
+269:   <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">external</span>(*<span class="ruby-identifier">path</span>)
  495
+270:     <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-identifier">test_directory</span>, <span class="ruby-value str">'external'</span>, *<span class="ruby-identifier">path</span>)
491 496
 271:   <span class="ruby-keyword kw">end</span></pre>
492 497
 					</div>
493 498
 					
494 499
 				</div>
495 500
 
496 501
 				
  502
+
  503
+				
497 504
 			</div>
498 505
 
499 506
 		
@@ -519,16 +526,19 @@ <h3 class="section-header">Public Class Methods</h3>
519 526
 Options:
520 527
 </p>
521 528
 <table>
522  
-<tr><td valign="top">:verbose:</td><td>Will print information about the load process (default: false)
523  
-
  529
+<tr><td valign="top">:verbose</td><td><p>
  530
+Will print information about the load process (default: false)
  531
+</p>
524 532
 </td></tr>
525  
-<tr><td valign="top">:setup_path:</td><td>The path to the setup file, the first loaded file (default:
  533
+<tr><td valign="top">:setup_path</td><td><p>
  534
+The path to the setup file, the first loaded file (default:
526 535
 &#8216;test/setup.rb&#8217;)
527  
-
  536
+</p>
528 537
 </td></tr>
529  
-<tr><td valign="top">:chdir:</td><td>The directory this routine chdirs before loading, will jump back to the
  538
+<tr><td valign="top">:chdir</td><td><p>
  539
+The directory this routine chdirs before loading, will jump back to the
530 540
 original directory after loading (default: &#8217;.&#8217;)
531  
-
  541
+</p>
532 542
 </td></tr>
533 543
 </table>
534 544
 					
@@ -539,11 +549,11 @@ <h3 class="section-header">Public Class Methods</h3>
539 549
 <pre>
540 550
      <span class="ruby-comment cmt"># File lib/baretest.rb, line 108</span>
541 551
 108:   <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">load_standard_test_files</span>(<span class="ruby-identifier">opts</span>={})
542  
-109:     <span class="ruby-identifier">verbose</span>    = <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">:verbose</span>)
543  
-110:     <span class="ruby-identifier">setup_path</span> = <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">:setup_path</span>) <span class="ruby-operator">||</span> <span class="ruby-value str">'test/setup.rb'</span>
544  
-111:     <span class="ruby-identifier">lib_path</span>   = <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">:lib_path</span>) <span class="ruby-operator">||</span> <span class="ruby-value str">'test/lib'</span>
545  
-112:     <span class="ruby-identifier">chdir</span>      = <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">:chdir</span>) <span class="ruby-operator">||</span> <span class="ruby-value str">'.'</span>
546  
-113:     <span class="ruby-identifier">files</span>      = <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">:files</span>)
  552
+109:     <span class="ruby-identifier">verbose</span>    = <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:verbose</span>)
  553
+110:     <span class="ruby-identifier">setup_path</span> = <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:setup_path</span>) <span class="ruby-operator">||</span> <span class="ruby-value str">'test/setup.rb'</span>
  554
+111:     <span class="ruby-identifier">lib_path</span>   = <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:lib_path</span>) <span class="ruby-operator">||</span> <span class="ruby-value str">'test/lib'</span>
  555
+112:     <span class="ruby-identifier">chdir</span>      = <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:chdir</span>) <span class="ruby-operator">||</span> <span class="ruby-value str">'.'</span>
  556
+113:     <span class="ruby-identifier">files</span>      = <span class="ruby-identifier">opts</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value">:files</span>)
547 557
 114:     <span class="ruby-identifier">files</span>      = [<span class="ruby-constant">DefaultInitialPositiveGlob</span>] <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">files</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">files</span>.<span class="ruby-identifier">empty?</span>)
548 558
 115:     <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">chdir</span>(<span class="ruby-identifier">chdir</span>) <span class="ruby-keyword kw">do</span>
549 559
 116:       <span class="ruby-identifier">$LOAD_PATH</span>.<span class="ruby-identifier">unshift</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-identifier">lib_path</span>)) <span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">lib_path</span>)
@@ -551,7 +561,7 @@ <h3 class="section-header">Public Class Methods</h3>
551 561
 118:       <span class="ruby-identifier">files</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">glob</span><span class="ruby-operator">|</span>
552 562
 119:         <span class="ruby-identifier">glob</span> = <span class="ruby-node">&quot;#{glob}/**/*.rb&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-identifier">glob</span>)
553 563
 120:         <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">glob</span>(<span class="ruby-identifier">glob</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">path</span><span class="ruby-operator">|</span>
554  
-121:           <span class="ruby-identifier">helper_path</span> = <span class="ruby-identifier">path</span>.<span class="ruby-identifier">sub</span>(<span class="ruby-regexp re">%r{((?:^|/)test)/(suite|unit|integration|system)/}</span>, <span class="ruby-value str">'\1/helper/\2/'</span>)
  564
+121:           <span class="ruby-identifier">helper_path</span> = <span class="ruby-identifier">path</span>.<span class="ruby-identifier">sub</span>(<span class="ruby-regexp re">%{((?:^|/)test)/(suite|unit|integration|system)/}</span>, <span class="ruby-value str">'\1/helper/\2/'</span>)
555 565
 122:           <span class="ruby-identifier">exists</span> = (<span class="ruby-identifier">helper_path</span> <span class="ruby-operator">!=</span> <span class="ruby-identifier">path</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">exist?</span>(<span class="ruby-identifier">helper_path</span>))
556 566
 123:           <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">verbose</span> <span class="ruby-keyword kw">then</span>
557 567
 124:             <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">helper_path</span> <span class="ruby-operator">==</span> <span class="ruby-identifier">path</span> <span class="ruby-keyword kw">then</span>
@@ -574,6 +584,8 @@ <h3 class="section-header">Public Class Methods</h3>
574 584
 				</div>
575 585
 
576 586
 				
  587
+
  588
+				
577 589
 			</div>
578 590
 
579 591
 		
@@ -602,18 +614,20 @@ <h3 class="section-header">Public Class Methods</h3>
602 614
 <pre>
603 615
      <span class="ruby-comment cmt"># File lib/baretest.rb, line 142</span>
604 616
 142:   <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">most_important_status</span>(<span class="ruby-identifier">states</span>)
605  
-143:     (<span class="ruby-constant">StatusOrder</span> <span class="ruby-operator">&amp;</span> <span class="ruby-identifier">states</span>).<span class="ruby-identifier">first</span> <span class="ruby-comment cmt"># requires Array#&amp; to be stable (keep order of first operand)</span>
  617
+143:     (<span class="ruby-constant">StatusOrder</span> &amp; <span class="ruby-identifier">states</span>).<span class="ruby-identifier">first</span> <span class="ruby-comment cmt"># requires Array#&amp; to be stable (keep order of first operand)</span>
606 618
 144:   <span class="ruby-keyword kw">end</span></pre>
607 619
 					</div>
608 620
 					
609 621
 				</div>
610 622
 
611 623
 				
  624
+
  625
+				
612 626
 			</div>
613 627
 
614 628
 		
615 629
 			<div id="new-component-method" class="method-detail ">
616  
-				<a name="M000133"></a>
  630
+				<a name="M000131"></a>
617 631
 
618 632
 				<div class="method-heading">
619 633
 				
@@ -636,7 +650,7 @@ <h3 class="section-header">Public Class Methods</h3>
636 650
 						id="new-component-source">
637 651
 <pre>
638 652
      <span class="ruby-comment cmt"># File lib/baretest.rb, line 238</span>
639  
-238:   <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">new_component</span>(<span class="ruby-identifier">name</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
  653
+238:   <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">new_component</span>(<span class="ruby-identifier">name</span>, &amp;<span class="ruby-identifier">block</span>)
640 654
 239:     <span class="ruby-identifier">name</span> = <span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_sym</span>
641 655
 240:     <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-node">&quot;Component named #{name.inspect} already exists&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@components</span>.<span class="ruby-identifier">has_key?</span>(<span class="ruby-identifier">name</span>)
642 656
 241:     <span class="ruby-ivar">@components</span>[<span class="ruby-identifier">name</span>] = <span class="ruby-identifier">block</span>
@@ -646,6 +660,8 @@ <h3 class="section-header">Public Class Methods</h3>
646 660
 				</div>
647 661
 
648 662
 				
  663
+
  664
+				
649 665
 			</div>
650 666
 
651 667
 		
@@ -674,8 +690,7 @@ <h3 class="section-header">Public Class Methods</h3>
674 690
   #      :exclude_tags   =&gt; [:tag2],
675 691
   #      :include_states =&gt; [:failure]
676 692
   #      :exclude_states =&gt; nil,
677  
-  #    }
678  
-</pre>
  693
+  #    }</pre>
679 694
 					
680 695
 
681 696
 					
@@ -694,13 +709,13 @@ <h3 class="section-header">Public Class Methods</h3>
694 709
 165:     <span class="ruby-constant">Dir</span>.<span class="ruby-identifier">chdir</span>(<span class="ruby-identifier">base_directory</span>) <span class="ruby-keyword kw">do</span>
695 710
 166:       <span class="ruby-identifier">selectors</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">selector</span><span class="ruby-operator">|</span>
696 711
 167:         <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">selector</span>
697  
-168:           <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/\A-%(.*)/</span>   <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">exclude_states</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">$1</span>.<span class="ruby-identifier">to_sym</span>
698  
-169:           <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/\A-:(.*)/</span>   <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">exclude_tags</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">$1</span>.<span class="ruby-identifier">to_sym</span>
699  
-170:           <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/\A\+?%(.*)/</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">include_states</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">$1</span>.<span class="ruby-identifier">to_sym</span>
700  
-171:           <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/\A\+?:(.*)/</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">include_tags</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">$1</span>.<span class="ruby-identifier">to_sym</span>
  712
+168:           <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/\A-%(.*)/</span>   <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">exclude_states</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">$1</span>.<span class="ruby-identifier">to_sym</span>
  713
+169:           <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/\A-:(.*)/</span>   <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">exclude_tags</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">$1</span>.<span class="ruby-identifier">to_sym</span>
  714
+170:           <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/\A\+?%(.*)/</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">include_states</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">$1</span>.<span class="ruby-identifier">to_sym</span>
  715
+171:           <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/\A\+?:(.*)/</span> <span class="ruby-keyword kw">then</span> <span class="ruby-identifier">include_tags</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">$1</span>.<span class="ruby-identifier">to_sym</span>
701 716
 172:           <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/\A-(.*)/</span>    <span class="ruby-keyword kw">then</span>
702 717
 173:             <span class="ruby-identifier">files</span>  = <span class="ruby-constant">Dir</span>[<span class="ruby-identifier">default_initial_positive_glob</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">files</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">default_initial_positive_glob</span>
703  
-174:             <span class="ruby-identifier">glob</span>   = <span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-identifier">$1</span>) <span class="ruby-operator">?</span> <span class="ruby-node">&quot;#{$1}/**/*.rb&quot;</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">$1</span>
  718
+174:             <span class="ruby-identifier">glob</span>   = <span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-node">$1</span>) <span class="ruby-operator">?</span> <span class="ruby-node">&quot;#{$1}/**/*.rb&quot;</span> <span class="ruby-operator">:</span> <span class="ruby-node">$1</span>
704 719
 175:             <span class="ruby-identifier">files</span> <span class="ruby-operator">-=</span> <span class="ruby-constant">Dir</span>[<span class="ruby-identifier">glob</span>]
705 720
 176:           <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/\A\+?(.*)/</span>  <span class="ruby-keyword kw">then</span>
706 721
 177:             <span class="ruby-identifier">glob</span>   = <span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-identifier">selector</span>) <span class="ruby-operator">?</span> <span class="ruby-node">&quot;#{selector}/**/*.rb&quot;</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">selector</span>
@@ -717,11 +732,11 @@ <h3 class="section-header">Public Class Methods</h3>
717 732
 188:     <span class="ruby-identifier">raise</span> <span class="ruby-constant">InvalidSelectors</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">invalid_states</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">invalid_states</span>.<span class="ruby-identifier">empty?</span>
718 733
 189: 
719 734
 190:     <span class="ruby-keyword kw">return</span> {
720  
-191:       <span class="ruby-identifier">:files</span>          =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">files</span>,
721  
-192:       <span class="ruby-identifier">:include_tags</span>   =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">include_tags</span>,
722  
-193:       <span class="ruby-identifier">:exclude_tags</span>   =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">exclude_tags</span>,
723  
-194:       <span class="ruby-identifier">:include_states</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">include_states</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-value">? </span><span class="ruby-keyword kw">nil</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">include_states</span>,
724  
-195:       <span class="ruby-identifier">:exclude_states</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">exclude_states</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-value">? </span><span class="ruby-keyword kw">nil</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">exclude_states</span>
  735
+191:       <span class="ruby-value">:files</span>          =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">files</span>,
  736
+192:       <span class="ruby-value">:include_tags</span>   =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">include_tags</span>,
  737
+193:       <span class="ruby-value">:exclude_tags</span>   =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">exclude_tags</span>,
  738
+194:       <span class="ruby-value">:include_states</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">include_states</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-operator">?</span> <span class="ruby-keyword kw">nil</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">include_states</span>,
  739
+195:       <span class="ruby-value">:exclude_states</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">exclude_states</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-operator">?</span> <span class="ruby-keyword kw">nil</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">exclude_states</span>
725 740
 196:     }
726 741
 197:   <span class="ruby-keyword kw">end</span></pre>
727 742
 					</div>
@@ -729,11 +744,13 @@ <h3 class="section-header">Public Class Methods</h3>
729 744
 				</div>
730 745
 
731 746
 				
  747
+
  748
+				
732 749
 			</div>
733 750
 
734 751
 		
735 752
 			<div id="require-method" class="method-detail ">
736  
-				<a name="M000139"></a>
  753
+				<a name="M000133"></a>
737 754
 
738 755
 				<div class="method-heading">
739 756
 				
@@ -755,7 +772,7 @@ <h3 class="section-header">Public Class Methods</h3>
755 772
 						id="require-source">
756 773
 <pre>
757 774
      <span class="ruby-comment cmt"># File lib/baretest.rb, line 250</span>
758  
-250:   <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">require</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">paths</span>)
  775
+250:   <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">require</span>(*<span class="ruby-identifier">paths</span>)
759 776
 251:     <span class="ruby-identifier">paths</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">path</span><span class="ruby-operator">|</span>
760 777
 252:       <span class="ruby-keyword kw">begin</span>
761 778
 253:         <span class="ruby-constant">Kernel</span>.<span class="ruby-identifier">require</span> <span class="ruby-identifier">path</span>
@@ -764,7 +781,7 @@ <h3 class="section-header">Public Class Methods</h3>
764 781
 256:           <span class="ruby-constant">Kernel</span>.<span class="ruby-identifier">require</span> <span class="ruby-value str">'rubygems'</span>
765 782
 257:         <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">LoadError</span>
766 783
 258:         <span class="ruby-keyword kw">end</span>
767  
-259:         <span class="ruby-constant">Kernel</span>.<span class="ruby-identifier">instance_method</span>(<span class="ruby-identifier">:require</span>).<span class="ruby-identifier">bind</span>(<span class="ruby-keyword kw">self</span>).<span class="ruby-identifier">call</span> <span class="ruby-identifier">path</span> <span class="ruby-comment cmt"># ugly, but at least until rubygems 1.3.5, Kernel.require isn't overriden</span>
  784
+259:         <span class="ruby-constant">Kernel</span>.<span class="ruby-identifier">instance_method</span>(<span class="ruby-value">:require</span>).<span class="ruby-identifier">bind</span>(<span class="ruby-keyword kw">self</span>).<span class="ruby-identifier">call</span> <span class="ruby-identifier">path</span> <span class="ruby-comment cmt"># ugly, but at least until rubygems 1.3.5, Kernel.require isn't overriden</span>
768 785
 260:       <span class="ruby-keyword kw">end</span>
769 786
 261:     <span class="ruby-keyword kw">end</span>
770 787
 262:   <span class="ruby-keyword kw">end</span></pre>
@@ -773,6 +790,8 @@ <h3 class="section-header">Public Class Methods</h3>
773 790
 				</div>
774 791
 
775 792
 				
  793
+
  794
+				
776 795
 			</div>
777 796
 
778 797
 		
@@ -800,7 +819,7 @@ <h3 class="section-header">Public Class Methods</h3>
800 819
 <pre>
801 820
     <span class="ruby-comment cmt"># File lib/baretest.rb, line 86</span>
802 821
 86:   <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">require_baretest</span>(<span class="ruby-identifier">version</span>)
803  
-87:     <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">version</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">&quot;.&quot;</span>).<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">s</span><span class="ruby-operator">|</span> <span class="ruby-identifier">s</span>.<span class="ruby-identifier">to_i</span> } <span class="ruby-operator">&lt;=&gt;</span> <span class="ruby-constant">BareTest</span><span class="ruby-operator">::</span><span class="ruby-constant">VERSION</span>.<span class="ruby-identifier">to_a</span>) <span class="ruby-operator">==</span> <span class="ruby-value">0</span> <span class="ruby-keyword kw">then</span>
  822
+87:     <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">version</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">&quot;.&quot;</span>).<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">s</span><span class="ruby-operator">|</span> <span class="ruby-identifier">s</span>.<span class="ruby-identifier">to_i</span> } <span class="ruby-operator">&lt;=&gt;</span> <span class="ruby-constant">BareTest</span><span class="ruby-operator">::</span><span class="ruby-constant">VERSION</span>.<span class="ruby-identifier">to_a</span>) <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span> <span class="ruby-keyword kw">then</span>
804 823
 88:       <span class="ruby-identifier">abort</span> <span class="ruby-node">&quot;Requires baretest version #{version}, you have #{BareTest::VERSION}&quot;</span>
805 824
 89:     <span class="ruby-keyword kw">end</span>
806 825
 90:   <span class="ruby-keyword kw">end</span></pre>
@@ -809,6 +828,8 @@ <h3 class="section-header">Public Class Methods</h3>
809 828
 				</div>
810 829
 
811 830
 				
  831
+
  832
+				
812 833
 			</div>
813 834
 
814 835
 		
@@ -836,7 +857,7 @@ <h3 class="section-header">Public Class Methods</h3>
836 857
 <pre>
837 858
     <span class="ruby-comment cmt"># File lib/baretest.rb, line 93</span>
838 859
 93:   <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">require_ruby</span>(<span class="ruby-identifier">version</span>)
839  
-94:     <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">version</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">&quot;.&quot;</span>).<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">s</span><span class="ruby-operator">|</span> <span class="ruby-identifier">s</span>.<span class="ruby-identifier">to_i</span> } <span class="ruby-operator">&lt;=&gt;</span> <span class="ruby-constant">RUBY_VERSION</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">&quot;.&quot;</span>).<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">s</span><span class="ruby-operator">|</span> <span class="ruby-identifier">s</span>.<span class="ruby-identifier">to_i</span> }) <span class="ruby-operator">==</span> <span class="ruby-value">1</span> <span class="ruby-keyword kw">then</span>
  860
+94:     <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">version</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">&quot;.&quot;</span>).<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">s</span><span class="ruby-operator">|</span> <span class="ruby-identifier">s</span>.<span class="ruby-identifier">to_i</span> } <span class="ruby-operator">&lt;=&gt;</span> <span class="ruby-constant">RUBY_VERSION</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">&quot;.&quot;</span>).<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">s</span><span class="ruby-operator">|</span> <span class="ruby-identifier">s</span>.<span class="ruby-identifier">to_i</span> }) <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span> <span class="ruby-keyword kw">then</span>
840 861
 95:       <span class="ruby-identifier">abort</span> <span class="ruby-node">&quot;Requires ruby version #{version}, you have #{RUBY_VERSION}&quot;</span>
841 862
 96:     <span class="ruby-keyword kw">end</span>
842 863
 97:   <span class="ruby-keyword kw">end</span></pre>
@@ -845,6 +866,8 @@ <h3 class="section-header">Public Class Methods</h3>
845 866
 				</div>
846 867
 
847 868
 				
  869
+
  870
+				
848 871
 			</div>
849 872
 
850 873
 		
@@ -874,13 +897,13 @@ <h3 class="section-header">Public Class Methods</h3>
874 897
 						id="suite-source">
875 898
 <pre>
876 899
      <span class="ruby-comment cmt"># File lib/baretest.rb, line 227</span>
877  
-227:   <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">suite</span>(<span class="ruby-identifier">description</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">opts</span>={}, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
  900
+227:   <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">suite</span>(<span class="ruby-identifier">description</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">opts</span>={}, &amp;<span class="ruby-identifier">block</span>)
878 901
 228:     <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">description</span> <span class="ruby-keyword kw">then</span>
879  
-229:       <span class="ruby-ivar">@toplevel_suite</span>.<span class="ruby-identifier">suite</span>(<span class="ruby-identifier">description</span>, <span class="ruby-identifier">opts</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
  902
+229:       <span class="ruby-ivar">@toplevel_suite</span>.<span class="ruby-identifier">suite</span>(<span class="ruby-identifier">description</span>, <span class="ruby-identifier">opts</span>, &amp;<span class="ruby-identifier">block</span>)
880 903
 230:     <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">opts</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-operator">!</span><span class="ruby-identifier">opts</span>.<span class="ruby-identifier">empty?</span>
881 904
 231:       <span class="ruby-identifier">raise</span> <span class="ruby-constant">ArgumentError</span>, <span class="ruby-value str">&quot;Suites with options must have names&quot;</span>
882 905
 232:     <span class="ruby-keyword kw">else</span>
883  
-233:       <span class="ruby-ivar">@toplevel_suite</span>.<span class="ruby-identifier">instance_eval</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
  906
+233:       <span class="ruby-ivar">@toplevel_suite</span>.<span class="ruby-identifier">instance_eval</span>(&amp;<span class="ruby-identifier">block</span>)
884 907
 234:     <span class="ruby-keyword kw">end</span>
885 908
 235:   <span class="ruby-keyword kw">end</span></pre>
886 909
 					</div>
@@ -888,11 +911,13 @@ <h3 class="section-header">Public Class Methods</h3>
888 911
 				</div>
889 912
 
890 913
 				
  914
+
  915
+				
891 916
 			</div>
892 917
 
893 918
 		
894 919
 			<div id="test-directory-method" class="method-detail ">
895  
-				<a name="M000141"></a>
  920
+				<a name="M000135"></a>
896 921
 
897 922
 				<div class="method-heading">
898 923
 				
@@ -922,11 +947,13 @@ <h3 class="section-header">Public Class Methods</h3>
922 947
 				</div>
923 948
 
924 949
 				
  950
+
  951
+				
925 952
 			</div>
926 953
 
927 954
 		
928 955
 			<div id="use-method" class="method-detail ">
929  
-				<a name="M000134"></a>
  956
+				<a name="M000132"></a>
930 957
 
931 958
 				<div class="method-heading">
932 959
 				
@@ -956,6 +983,8 @@ <h3 class="section-header">Public Class Methods</h3>
956 983
 				</div>
957 984
 
958 985
 				
  986
+
  987
+				
959 988
 			</div>
960 989
 
961 990
 		
123  docs/BareTest/Assertion.html
@@ -22,6 +22,16 @@
22 22
 <body class="class">
23 23
 
24 24
 	<div id="metadata">
  25
+		<div id="home-metadata">
  26
+			<div id="home-section" class="section">
  27
+        <h3 class="section-header">
  28
+          <a href="../index.html">Home</a>
  29
+          <a href="../index.html#classes">Classes</a>
  30
+          <a href="../index.html#methods">Methods</a>
  31
+        </h3>
  32
+			</div>
  33
+		</div>
  34
+
25 35
 		<div id="file-metadata">
26 36
 			<div id="file-list-section" class="section">
27 37
 				<h3 class="section-header">In Files</h3>
@@ -86,19 +96,19 @@ <h3 class="section-header">Namespace</h3>
86 96
 				<h3 class="section-header">Methods</h3>
87 97
 				<ul class="link-list">
88 98
 					
89  
-					<li><a href="#M000012">::new</a></li>
  99
+					<li><a href="#M000026">::new</a></li>
90 100
 					
91  
-					<li><a href="#M000020">#execute</a></li>
  101
+					<li><a href="#M000031">#execute</a></li>
92 102
 					
93  
-					<li><a href="#M000022">#execute_phase</a></li>
  103
+					<li><a href="#M000032">#execute_phase</a></li>
94 104
 					
95  
-					<li><a href="#M000013">#id</a></li>
  105
+					<li><a href="#M000027">#id</a></li>
96 106
 					
97  
-					<li><a href="#M000018">#interpolated_description</a></li>
  107
+					<li><a href="#M000030">#interpolated_description</a></li>
98 108
 					
99  
-					<li><a href="#M000017">#skip</a></li>
  109
+					<li><a href="#M000029">#skip</a></li>
100 110
 					
101  
-					<li><a href="#M000016">#skipped?</a></li>
  111
+					<li><a href="#M000028">#skipped?</a></li>
102 112
 					
103 113
 				</ul>
104 114
 			</div>
@@ -232,17 +242,21 @@ <h1 class="class">BareTest::Assertion</h1>
232 242
 scenarios. The following are test helpers:
233 243
 </p>
234 244
 <ul>
235  
-<li>Kernel#raises(exception_class=StandardError)
236  
-
  245
+<li><p>
  246
+Kernel#raises(exception_class=StandardError)
  247
+</p>
237 248
 </li>
238  
-<li>Kernel#within_delta(a, b, delta)
239  
-
  249
+<li><p>
  250
+Kernel#within_delta(a, b, delta)
  251
+</p>
240 252
 </li>
241  
-<li>Kernel#equal_unordered(a,b)
242  
-
  253
+<li><p>
  254
+Kernel#equal_unordered(a,b)
  255
+</p>
243 256
 </li>
244  
-<li>Enumerable#equal_unordered(other)
245  
-
  257
+<li><p>
  258
+Enumerable#equal_unordered(other)
  259
+</p>
246 260
 </li>
247 261
 </ul>
248 262
 
@@ -413,7 +427,7 @@ <h3 class="section-header">Public Class Methods</h3>
413 427
 
414 428
 		
415 429
 			<div id="new-method" class="method-detail ">
416  
-				<a name="M000012"></a>
  430
+				<a name="M000026"></a>
417 431
 
418 432
 				<div class="method-heading">
419 433
 				
@@ -426,16 +440,19 @@ <h3 class="section-header">Public Class Methods</h3>
426 440
 				<div class="method-description">
427 441
 					
428 442
 					<table>
429  
-<tr><td valign="top">suite:</td><td>The suite the <a href="Assertion.html">Assertion</a> belongs to
430  
-
  443
+<tr><td valign="top">suite</td><td><p>
  444
+The suite the <a href="Assertion.html">Assertion</a> belongs to
  445
+</p>
431 446
 </td></tr>
432  
-<tr><td valign="top">description:</td><td>A descriptive string about what this <a href="Assertion.html">Assertion</a>
  447
+<tr><td valign="top">description</td><td><p>
  448
+A descriptive string about what this <a href="Assertion.html">Assertion</a>
433 449
 tests.
434  
-
  450
+</p>
435 451
 </td></tr>
436  
-<tr><td valign="top">&amp;block:</td><td>The block definition. Without one, the <a
  452
+<tr><td valign="top">&amp;block</td><td><p>
  453
+The block definition. Without one, the <a
437 454
 href="Assertion.html">Assertion</a> will have a :pending status.
438  
-
  455
+</p>
439 456
 </td></tr>
440 457
 </table>
441 458
 					
@@ -445,13 +462,13 @@ <h3 class="section-header">Public Class Methods</h3>
445 462
 						id="new-source">
446 463
 <pre>
447 464
     <span class="ruby-comment cmt"># File lib/baretest/assertion.rb, line 63</span>
448  
-63:     <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">suite</span>, <span class="ruby-identifier">description</span>, <span class="ruby-identifier">opt</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
  465
+63:     <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">suite</span>, <span class="ruby-identifier">description</span>, <span class="ruby-identifier">opt</span>=<span class="ruby-keyword kw">nil</span>, &amp;<span class="ruby-identifier">block</span>)
449 466
 64:       <span class="ruby-ivar">@suite</span>       = <span class="ruby-identifier">suite</span>
450 467
 65:       <span class="ruby-ivar">@description</span> = (<span class="ruby-identifier">description</span> <span class="ruby-operator">||</span> <span class="ruby-value str">&quot;No description given&quot;</span>)
451 468
 66:       <span class="ruby-ivar">@block</span>       = <span class="ruby-identifier">block</span>
452 469
 67:       <span class="ruby-ivar">@skipped</span>     = <span class="ruby-keyword kw">false</span>
453 470
 68:       <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opt</span> <span class="ruby-keyword kw">then</span>
454  
-69:         <span class="ruby-identifier">skip_reason</span> = <span class="ruby-identifier">opt</span>[<span class="ruby-identifier">:skip</span>]
  471
+69:         <span class="ruby-identifier">skip_reason</span> = <span class="ruby-identifier">opt</span>[<span class="ruby-value">:skip</span>]
455 472
 70:         <span class="ruby-identifier">skip</span>(<span class="ruby-identifier">skip_reason</span> <span class="ruby-operator">==</span> <span class="ruby-keyword kw">true</span> <span class="ruby-operator">?</span> <span class="ruby-value str">&quot;Tagged as skipped&quot;</span> <span class="ruby-operator">:</span> <span class="ruby-identifier">skip_reason</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">skip_reason</span>
456 473
 71:       <span class="ruby-keyword kw">end</span>
457 474
 72:     <span class="ruby-keyword kw">end</span></pre>
@@ -460,6 +477,8 @@ <h3 class="section-header">Public Class Methods</h3>
460 477
 				</div>
461 478
 
462 479
 				
  480
+
  481
+				
463 482
 			</div>
464 483
 
465 484
 		
@@ -470,7 +489,7 @@ <h3 class="section-header">Public Instance Methods</h3>
470 489
 
471 490
 		
472 491
 			<div id="execute-method" class="method-detail ">
473  
-				<a name="M000020"></a>
  492
+				<a name="M000031"></a>
474 493
 
475 494
 				<div class="method-heading">
476 495
 				
@@ -496,17 +515,17 @@ <h3 class="section-header">Public Instance Methods</h3>
496 515
      <span class="ruby-comment cmt"># File lib/baretest/assertion.rb, line 112</span>
497 516
 112:     <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">execute</span>(<span class="ruby-identifier">with_setup</span>=<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">and_teardown</span>=<span class="ruby-keyword kw">nil</span>)
498 517
 113:       <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@skipped</span> <span class="ruby-keyword kw">then</span>
499  
-114:         <span class="ruby-identifier">status</span> = <span class="ruby-constant">Status</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">:manually_skipped</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-ivar">@skipped</span>)
  518
+114:         <span class="ruby-identifier">status</span> = <span class="ruby-constant">Status</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-value">:manually_skipped</span>, <span class="ruby-keyword kw">nil</span>, <span class="ruby-ivar">@skipped</span>)
500 519
 115:       <span class="ruby-keyword kw">elsif</span> <span class="ruby-operator">!</span><span class="ruby-ivar">@block</span>
501  
-116:         <span class="ruby-identifier">status</span> = <span class="ruby-constant">Status</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">:pending</span>)
  520
+116:         <span class="ruby-identifier">status</span> = <span class="ruby-constant">Status</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-value">:pending</span>)
502 521
 117:       <span class="ruby-keyword kw">else</span>
503 522
 118:         <span class="ruby-identifier">handlers</span>        = <span class="ruby-ivar">@suite</span> <span class="ruby-operator">?</span> <span class="ruby-ivar">@suite</span>.<span class="ruby-identifier">ancestors</span>.<span class="ruby-identifier">inject</span>({}) { <span class="ruby-operator">|</span><span class="ruby-identifier">handlers</span>, <span class="ruby-identifier">suite</span><span class="ruby-operator">|</span> <span class="ruby-identifier">handlers</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">suite</span>.<span class="ruby-identifier">verification_exception_handlers</span>) } <span class="ruby-operator">:</span> <span class="ruby-keyword kw">nil</span>
504 523
 119:         <span class="ruby-identifier">context</span>         = <span class="ruby-operator">::</span><span class="ruby-constant">BareTest</span><span class="ruby-operator">::</span><span class="ruby-constant">Assertion</span><span class="ruby-operator">::</span><span class="ruby-constant">Context</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>)
505  
-120:         <span class="ruby-identifier">status</span>          = <span class="ruby-identifier">execute_phase</span>(<span class="ruby-identifier">:setup</span>, <span class="ruby-identifier">context</span>, <span class="ruby-identifier">with_setup</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">s</span><span class="ruby-operator">|</span> [[<span class="ruby-identifier">s</span>.<span class="ruby-identifier">value</span>], <span class="ruby-identifier">s</span>.<span class="ruby-identifier">block</span>] }) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">with_setup</span>
  524
+120:         <span class="ruby-identifier">status</span>          = <span class="ruby-identifier">execute_phase</span>(<span class="ruby-value">:setup</span>, <span class="ruby-identifier">context</span>, <span class="ruby-identifier">with_setup</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">s</span><span class="ruby-operator">|</span> [[<span class="ruby-identifier">s</span>.<span class="ruby-identifier">value</span>], <span class="ruby-identifier">s</span>.<span class="ruby-identifier">block</span>] }) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">with_setup</span>
506 525
 121:         <span class="ruby-identifier">setup_failed</span>    = <span class="ruby-identifier">status</span>
507  
-122:         <span class="ruby-identifier">status</span>          = <span class="ruby-identifier">execute_phase</span>(<span class="ruby-identifier">:exercise</span>, <span class="ruby-identifier">context</span>, <span class="ruby-ivar">@block</span>, <span class="ruby-identifier">handlers</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">status</span>
508  
-123:         <span class="ruby-identifier">teardown_status</span> = <span class="ruby-identifier">execute_phase</span>(<span class="ruby-identifier">:teardown</span>, <span class="ruby-identifier">context</span>, <span class="ruby-identifier">and_teardown</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">t</span><span class="ruby-operator">|</span> [<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">t</span>] }) <span class="ruby-keyword kw">unless</span> (<span class="ruby-identifier">setup_failed</span> <span class="ruby-operator">||</span> <span class="ruby-operator">!</span><span class="ruby-identifier">and_teardown</span>)
509  
-124:         <span class="ruby-identifier">status</span> = <span class="ruby-identifier">status</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">teardown_status</span> <span class="ruby-operator">||</span> <span class="ruby-constant">Status</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">:success</span>, <span class="ruby-identifier">context</span>)
  526
+122:         <span class="ruby-identifier">status</span>          = <span class="ruby-identifier">execute_phase</span>(<span class="ruby-value">:exercise</span>, <span class="ruby-identifier">context</span>, <span class="ruby-ivar">@block</span>, <span class="ruby-identifier">handlers</span>) <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">status</span>
  527
+123:         <span class="ruby-identifier">teardown_status</span> = <span class="ruby-identifier">execute_phase</span>(<span class="ruby-value">:teardown</span>, <span class="ruby-identifier">context</span>, <span class="ruby-identifier">and_teardown</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">t</span><span class="ruby-operator">|</span> [<span class="ruby-keyword kw">nil</span>, <span class="ruby-identifier">t</span>] }) <span class="ruby-keyword kw">unless</span> (<span class="ruby-identifier">setup_failed</span> <span class="ruby-operator">||</span> <span class="ruby-operator">!</span><span class="ruby-identifier">and_teardown</span>)
  528
+124:         <span class="ruby-identifier">status</span> = <span class="ruby-identifier">status</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">teardown_status</span> <span class="ruby-operator">||</span> <span class="ruby-constant">Status</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-value">:success</span>, <span class="ruby-identifier">context</span>)
510 529
 125:       <span class="ruby-keyword kw">end</span>
511 530
 126: 
512 531
 127:       <span class="ruby-identifier">status</span>
@@ -516,11 +535,13 @@ <h3 class="section-header">Public Instance Methods</h3>
516 535
 				</div>
517 536
 
518 537
 				
  538
+
  539
+				
519 540
 			</div>
520 541
 
521 542
 		
522 543
 			<div id="execute-phase-method" class="method-detail ">
523  
-				<a name="M000022"></a>
  544
+				<a name="M000032"></a>
524 545
 
525 546
 				<div class="method-heading">
526 547
 				
@@ -554,20 +575,20 @@ <h3 class="section-header">Public Instance Methods</h3>
554 575
 140: 
555 576
 141:       <span class="ruby-keyword kw">begin</span>
556 577
 142:         <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">code</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Array</span>) <span class="ruby-keyword kw">then</span>
557  
-143:           <span class="ruby-identifier">code</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">args</span>, <span class="ruby-identifier">block</span><span class="ruby-operator">|</span> <span class="ruby-identifier">context</span>.<span class="ruby-identifier">instance_exec</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>) <span class="ruby-keyword kw">end</span>
  578
+143:           <span class="ruby-identifier">code</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">args</span>, <span class="ruby-identifier">block</span><span class="ruby-operator">|</span> <span class="ruby-identifier">context</span>.<span class="ruby-identifier">instance_exec</span>(*<span class="ruby-identifier">args</span>, &amp;<span class="ruby-identifier">block</span>) <span class="ruby-keyword kw">end</span>
558 579
 144:         <span class="ruby-keyword kw">else</span>
559  
-145:           <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">context</span>.<span class="ruby-identifier">instance_eval</span>(<span class="ruby-operator">&amp;</span><span class="ruby-identifier">code</span>)
  580
+145:           <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">context</span>.<span class="ruby-identifier">instance_eval</span>(&amp;<span class="ruby-identifier">code</span>)
560 581
 146:             <span class="ruby-identifier">failure_reason</span> = <span class="ruby-value str">&quot;Assertion failed&quot;</span> 
561  
-147:             <span class="ruby-identifier">status</span>         = <span class="ruby-identifier">:failure</span>
  582
+147:             <span class="ruby-identifier">status</span>         = <span class="ruby-value">:failure</span>
562 583
 148:           <span class="ruby-keyword kw">end</span>
563 584
 149:         <span class="ruby-keyword kw">end</span>
564  
-150:       <span class="ruby-keyword kw">rescue</span> <span class="ruby-operator">*</span><span class="ruby-constant">PassthroughExceptions</span>
  585
+150:       <span class="ruby-keyword kw">rescue</span> *<span class="ruby-constant">PassthroughExceptions</span>
565 586
 151:         <span class="ruby-identifier">raise</span> <span class="ruby-comment cmt"># passthrough-exceptions must be passed through</span>
566 587
 152:       <span class="ruby-keyword kw">rescue</span> <span class="ruby-operator">::</span><span class="ruby-constant">BareTest</span><span class="ruby-operator">::</span><span class="ruby-constant">Assertion</span><span class="ruby-operator">::</span><span class="ruby-constant">Failure</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">failure</span>
567  
-153:         <span class="ruby-identifier">status</span>         = <span class="ruby-identifier">:failure</span>
  588
+153:         <span class="ruby-identifier">status</span>         = <span class="ruby-value">:failure</span>
568 589
 154:         <span class="ruby-identifier">failure_reason</span> = <span class="ruby-identifier">failure</span>.<span class="ruby-identifier">message</span>
569 590
 155:       <span class="ruby-keyword kw">rescue</span> <span class="ruby-operator">::</span><span class="ruby-constant">BareTest</span><span class="ruby-operator">::</span><span class="ruby-constant">Assertion</span><span class="ruby-operator">::</span><span class="ruby-constant">Skip</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">skip</span>
570  
-156:         <span class="ruby-identifier">status</span>         = <span class="ruby-identifier">:manually_skipped</span>
  591
+156:         <span class="ruby-identifier">status</span>         = <span class="ruby-value">:manually_skipped</span>
571 592
 157:         <span class="ruby-identifier">skip_reason</span>    = <span class="ruby-identifier">skip</span>.<span class="ruby-identifier">message</span>
572 593
 158:       <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Exception</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">exception</span>
573 594
 159:         <span class="ruby-identifier">exception_class</span> = <span class="ruby-identifier">exception</span>.<span class="ruby-identifier">class</span>
@@ -576,7 +597,7 @@ <h3 class="section-header">Public Instance Methods</h3>
576 597
 162:           <span class="ruby-identifier">handler</span>       = <span class="ruby-identifier">handled_by</span>.<span class="ruby-identifier">last</span>
577 598
 163:           <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">handler</span>.<span class="ruby-identifier">call</span>(<span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">context</span>, <span class="ruby-identifier">exception</span>) <span class="ruby-comment cmt"># FIXME: ugly mid-method return - work around it returning a complete Status</span>
578 599
 164:         <span class="ruby-keyword kw">end</span>
579  
-165:         <span class="ruby-identifier">status</span>         = <span class="ruby-identifier">:error</span>
  600
+165:         <span class="ruby-identifier">status</span>         = <span class="ruby-value">:error</span>
580 601
 166:         <span class="ruby-identifier">failure_reason</span> = <span class="ruby-node">&quot;An error occurred during #{name}: #{exception}&quot;</span>
581 602
 167:         <span class="ruby-identifier">exception</span>      = <span class="ruby-identifier">exception</span>
582 603
 168:       <span class="ruby-keyword kw">end</span>
@@ -588,11 +609,13 @@ <h3 class="section-header">Public Instance Methods</h3>
588 609
 				</div>
589 610
 
590 611
 				
  612
+
  613
+				
591 614
 			</div>
592 615
 
593 616
 		
594 617
 			<div id="id-method" class="method-detail ">
595  
-				<a name="M000013"></a>
  618
+				<a name="M000027"></a>
596 619
 
597 620
 				<div class="method-heading">
598 621
 				
@@ -617,7 +640,7 @@ <h3 class="section-header">Public Instance Methods</h3>
617 640
 75:     <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">id</span>
618 641
 76:       <span class="ruby-ivar">@id</span> <span class="ruby-operator">||=</span> [
619 642
 77:         <span class="ruby-ivar">@description</span>,
620  
-78:         <span class="ruby-operator">*</span>(<span class="ruby-ivar">@suite</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-ivar">@suite</span>.<span class="ruby-identifier">ancestors</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">suite</span><span class="ruby-operator">|</span> <span class="ruby-identifier">suite</span>.<span class="ruby-identifier">description</span> })
  643
+78:         *(<span class="ruby-ivar">@suite</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-ivar">@suite</span>.<span class="ruby-identifier">ancestors</span>.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">suite</span><span class="ruby-operator">|</span> <span class="ruby-identifier">suite</span>.<span class="ruby-identifier">description</span> })
621 644
 79:       ].<span class="ruby-identifier">compact</span>.<span class="ruby-identifier">join</span>(<span class="ruby-value str">&quot;\f&quot;</span>)
622 645
 80:     <span class="ruby-keyword kw">end</span></pre>
623 646
 					</div>
@@ -625,11 +648,13 @@ <h3 class="section-header">Public Instance Methods</h3>
625 648
 				</div>
626 649
 
627 650
 				
  651
+
  652
+				
628 653
 			</div>
629 654
 
630 655
 		
631 656
 			<div id="interpolated-description-method" class="method-detail ">
632  
-				<a name="M000018"></a>
  657
+				<a name="M000030"></a>
633 658
 
634 659
 				<div class="method-heading">
635 660
 				
@@ -660,7 +685,7 @@ <h3 class="section-header">Public Instance Methods</h3>
660 685
 100:         <span class="ruby-ivar">@description</span>
661 686
 101:       <span class="ruby-keyword kw">else</span>
662 687
 102:         <span class="ruby-ivar">@description</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-node">/:(?:#{substitutes.keys.join('|')})\b/</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span>
663  
-103:           <span class="ruby-identifier">substitutes</span>[<span class="ruby-identifier">m</span>[<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>].<span class="ruby-identifier">to_sym</span>]
  688
+103:           <span class="ruby-identifier">substitutes</span>[<span class="ruby-identifier">m</span>[<span class="ruby-value">1</span><span class="ruby-operator">..</span><span class="ruby-value">1</span>].<span class="ruby-identifier">to_sym</span>]
664 689
 104:         }
665 690
 105:       <span class="ruby-keyword kw">end</span>
666 691
 106:     <span class="ruby-keyword kw">end</span></pre>
@@ -669,11 +694,13 @@ <h3 class="section-header">Public Instance Methods</h3>
669 694
 				</div>
670 695
 
671 696
 				
  697
+
  698
+				
672 699
 			</div>
673 700
 
674 701
 		
675 702
 			<div id="skip-method" class="method-detail ">
676  
-				<a name="M000017"></a>
  703
+				<a name="M000029"></a>
677 704
 
678 705
 				<div class="method-heading">
679 706
 				
@@ -697,18 +724,20 @@ <h3 class="section-header">Public Instance Methods</h3>
697 724
     <span class="ruby-comment cmt"># File lib/baretest/assertion.rb, line 88</span>
698 725
 88:     <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">skip</span>(<span class="ruby-identifier">reason</span>=<span class="ruby-keyword kw">nil</span>)
699 726
 89:       <span class="ruby-ivar">@skipped</span> <span class="ruby-operator">||=</span> []
700  
-90:       <span class="ruby-ivar">@skipped</span>  <span class="ruby-operator">|=</span> <span class="ruby-identifier">reason</span> <span class="ruby-value">? </span><span class="ruby-constant">Array</span>(<span class="ruby-identifier">reason</span>) <span class="ruby-operator">:</span> [<span class="ruby-value str">'Manually skipped'</span>]
  727
+90:       <span class="ruby-ivar">@skipped</span>  <span class="ruby-operator">|=</span> <span class="ruby-identifier">reason</span> <span class="ruby-operator">?</span> <span class="ruby-constant">Array</span>(<span class="ruby-identifier">reason</span>) <span class="ruby-operator">:</span> [<span class="ruby-value str">'Manually skipped'</span>]
701 728
 91:     <span class="ruby-keyword kw">end</span></pre>
702 729
 					</div>
703 730
 					
704 731
 				</div>
705 732
 
706 733
 				
  734
+
  735
+				
707 736
 			</div>
708 737
 
709 738
 		
710 739
 			<div id="skipped--method" class="method-detail ">
711  
-				<a name="M000016"></a>
  740
+				<a name="M000028"></a>
712 741
 
713 742
 				<div class="method-heading">
714 743
 				
@@ -738,6 +767,8 @@ <h3 class="section-header">Public Instance Methods</h3>
738 767
 				</div>
739 768
 
740 769
 				
  770
+
  771
+				
741 772
 			</div>
742 773
 
743 774
 		
14  docs/BareTest/Assertion/Context.html
@@ -22,6 +22,16 @@
22 22
 <body class="class">
23 23
 
24 24
 	<div id="metadata">
  25
+		<div id="home-metadata">
  26
+			<div id="home-section" class="section">
  27
+        <h3 class="section-header">
  28
+          <a href="../../index.html">Home</a>
  29
+          <a href="../../index.html#classes">Classes</a>
  30
+          <a href="../../index.html#methods">Methods</a>
  31
+        </h3>
  32
+			</div>
  33
+		</div>
  34
+
25 35
 		<div id="file-metadata">
26 36
 			<div id="file-list-section" class="section">
27 37
 				<h3 class="section-header">In Files</h3>
@@ -191,7 +201,7 @@ <h1 class="class">BareTest::Assertion::Context</h1>
191 201
 		<div id="description">
192 202
 			<p>
193 203
 Serves as the exercise- and verify-container for Assertions. Upon <a
194  
-href="../Assertion.html#M000020">Assertion#execute</a>, a new <a
  204
+href="../Assertion.html#M000031">Assertion#execute</a>, a new <a
195 205
 href="Context.html">Context</a> is created, the setups, the
196 206
 assertions&#8217; defining block and the teardowns instance evaled.
197 207
 Components will want to extend this class.
@@ -267,6 +277,8 @@ <h3 class="section-header">Public Class Methods</h3>
267 277
 				</div>
268 278
 
269 279
 				
  280
+
  281
+				
270 282
 			</div>
271 283
 
272 284
 		
10  docs/BareTest/Assertion/Failure.html
@@ -22,6 +22,16 @@
22 22
 <body class="class">
23 23
 
24 24
 	<div id="metadata">
  25
+		<div id="home-metadata">
  26
+			<div id="home-section" class="section">
  27
+        <h3 class="section-header">
  28
+          <a href="../../index.html">Home</a>
  29
+          <a href="../../index.html#classes">Classes</a>
  30
+          <a href="../../index.html#methods">Methods</a>
  31
+        </h3>
  32
+			</div>
  33
+		</div>
  34
+
25 35
 		<div id="file-metadata">
26 36
 			<div id="file-list-section" class="section">
27 37
 				<h3 class="section-header">In Files</h3>
12  docs/BareTest/Assertion/Skip.html
@@ -22,6 +22,16 @@
22 22
 <body class="class">
23 23
 
24 24
 	<div id="metadata">
  25
+		<div id="home-metadata">
  26
+			<div id="home-section" class="section">
  27
+        <h3 class="section-header">
  28
+          <a href="../../index.html">Home</a>
  29
+          <a href="../../index.html#classes">Classes</a>
  30
+          <a href="../../index.html#methods">Methods</a>
  31
+        </h3>
  32
+			</div>
  33
+		</div>
  34
+
25 35
 		<div id="file-metadata">
26 36
 			<div id="file-list-section" class="section">
27 37
 				<h3 class="section-header">In Files</h3>
@@ -172,7 +182,7 @@ <h1 class="class">BareTest::Assertion::Skip</h1>
172 182
 exceptions, this one will not set the Assertion&#8217;s status to :error
173 183
 but to :failure. The exception&#8217;s message is used as Assertion#reason.
174 184
 Also see <a
175  
-href="Support.html#M000033">BareTest::Assertion::Support#skip</a>
  185
+href="Support.html#M000024">BareTest::Assertion::Support#skip</a>
176 186
 </p>
177 187
 
178 188
 		</div>
302  docs/BareTest/Assertion/Support.html
@@ -22,6 +22,16 @@
22 22
 <body class="module">
23 23
 
24 24
 	<div id="metadata">
  25
+		<div id="home-metadata">
  26
+			<div id="home-section" class="section">
  27
+        <h3 class="section-header">
  28
+          <a href="../../index.html">Home</a>
  29
+          <a href="../../index.html#classes">Classes</a>
  30
+          <a href="../../index.html#methods">Methods</a>
  31
+        </h3>
  32
+			</div>
  33
+		</div>
  34
+
25 35
 		<div id="file-metadata">
26 36
 			<div id="file-list-section" class="section">
27 37
 				<h3 class="section-header">In Files</h3>
@@ -52,37 +62,37 @@ <h3 class="section-header">In Files</h3>
52 62
 				<h3 class="section-header">Methods</h3>
53 63
 				<ul class="link-list">
54 64
 					
55  
-					<li><a href="#M000024">#case_equal</a></li>
  65
+					<li><a href="#M000017">#case_equal</a></li>
56 66
 					
57  
-					<li><a href="#M000023">#equal</a></li>
  67
+					<li><a href="#M000016">#equal</a></li>
58 68
 					
59  
-					<li><a href="#M000025">#equal_unordered</a></li>
  69
+					<li><a href="#M000018">#equal_unordered</a></li>
60 70
 					
61  
-					<li><a href="#M000035">#extract_args</a></li>
  71
+					<li><a href="#M000025">#extract_args</a></li>
62 72
 					
63  
-					<li><a href="#M000032">#failure</a></li>
  73
+					<li><a href="#M000023">#failure</a></li>
64 74
 					
65  
-					<li><a href="#M000031">#failure_with_optional_message</a></li>
  75
+					<li><a href="#M000022">#failure_with_optional_message</a></li>
66 76
 					
67  
-					<li><a href="#M000019">#hash_key_equal</a></li>
  77
+					<li><a href="#M000014">#hash_key_equal</a></li>
68 78
 					
69  
-					<li><a href="#M000029">#instance_of</a></li>
  79
+					<li><a href="#M000020">#instance_of</a></li>
70 80
 					
71  
-					<li><a href="#M000028">#kind_of</a></li>
  81
+					<li><a href="#M000019">#kind_of</a></li>
72 82
 					
73  
-					<li><a href="#M000014">#not_touched</a></li>
  83
+					<li><a href="#M000012">#not_touched</a></li>
74 84
 					
75  
-					<li><a href="#M000021">#order_equal</a></li>
  85
+					<li><a href="#M000015">#order_equal</a></li>
76 86
 					
77 87
 					<li><a href="#M000007">#raises</a></li>
78 88
 					
79 89
 					<li><a href="#M000008">#raises_nothing</a></li>
80 90
 					
81  
-					<li><a href="#M000030">#respond_to</a></li>
  91
+					<li><a href="#M000021">#respond_to</a></li>
82 92
 					
83  
-					<li><a href="#M000015">#same</a></li>
  93
+					<li><a href="#M000013">#same</a></li>
84 94
 					
85  
-					<li><a href="#M000033">#skip</a></li>
  95
+					<li><a href="#M000024">#skip</a></li>
86 96
 					
87 97
 					<li><a href="#M000010">#touch</a></li>
88 98
 					
@@ -227,7 +237,7 @@ <h3 class="section-header">Public Instance Methods</h3>
227 237
 
228 238
 		
229 239
 			<div id="case-equal-method" class="method-detail ">
230  
-				<a name="M000024"></a>
  240
+				<a name="M000017"></a>
231 241
 
232 242
 				<div class="method-heading">
233 243
 				
@@ -247,8 +257,7 @@ <h3 class="section-header">Public Instance Methods</h3>
247 257
 </p>
248 258
 <pre>
249 259
   equal expected, actual
250  
-  equal :expected =&gt; expected, :actual =&gt; actual
251  
-</pre>
  260
+  equal :expected =&gt; expected, :actual =&gt; actual</pre>
252 261
 					
253 262
 
254 263
 					
@@ -256,32 +265,33 @@ <h3 class="section-header">Public Instance Methods</h3>
256 265
 						id="case-equal-source">
257 266
 <pre>
258 267
      <span class="ruby-comment cmt"># File lib/baretest/assertion/support.rb, line 263</span>
259  
-263:       <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">case_equal</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
260  
-264:         <span class="ruby-identifier">expected</span>, <span class="ruby-identifier">actual</span>, <span class="ruby-identifier">message</span> = <span class="ruby-identifier">extract_args</span>(<span class="ruby-identifier">args</span>, <span class="ruby-identifier">:expected</span>, <span class="ruby-identifier">:actual</span>, <span class="ruby-identifier">:message</span>)
  268
+263:       <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">case_equal</span>(*<span class="ruby-identifier">args</span>)
  269
+264:         <span class="ruby-identifier">expected</span>, <span class="ruby-identifier">actual</span>, <span class="ruby-identifier">message</span> = <span class="ruby-identifier">extract_args</span>(<span class="ruby-identifier">args</span>, <span class="ruby-value">:expected</span>, <span class="ruby-value">:actual</span>, <span class="ruby-value">:message</span>)
261 270
 265: 
262 271
 266:         <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">expected</span> <span class="ruby-operator">===</span> <span class="ruby-identifier">actual</span> <span class="ruby-keyword kw">then</span>
263  
-267:           <span class="ruby-identifier">failure_with_optional_message</span> \
264  
-268:             <span class="ruby-value str">&quot;Expected %s to be case equal (===) to %p but was %p&quot;</span>,
265  
-269:             <span class="ruby-value str">&quot;Expected %p but got %p&quot;</span>,
266  
-270:             <span class="ruby-identifier">message</span>, <span class="ruby-identifier">expected</span>, <span class="ruby-identifier">actual</span>
267  
-271:         <span class="ruby-keyword kw">end</span>
268  
-272:         <span class="ruby-keyword kw">true</span>
269  
-273: 
270  
-274:       <span class="ruby-keyword kw">rescue</span> <span class="ruby-operator">::</span><span class="ruby-constant">BareTest</span><span class="ruby-operator">::</span><span class="ruby-constant">Assertion</span><span class="ruby-operator">::</span><span class="ruby-constant">Failure</span>, <span class="ruby-operator">*</span><span class="ruby-operator">::</span><span class="ruby-constant">BareTest</span><span class="ruby-operator">::</span><span class="ruby-constant">Assertion</span><span class="ruby-operator">::</span><span class="ruby-constant">PassthroughExceptions</span>
271  
-275:         <span class="ruby-operator">::</span><span class="ruby-constant">Kernel</span>.<span class="ruby-identifier">raise</span>
272  
-276:       <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Exception</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">e</span>
273  
-277:         <span class="ruby-identifier">failure</span> <span class="ruby-value str">&quot;Could not compare %p with %p due to %s&quot;</span>, <span class="ruby-identifier">expected</span>, <span class="ruby-identifier">actual</span>, <span class="ruby-identifier">e</span>
274  
-278:       <span class="ruby-keyword kw">end</span></pre>
  272
+267:           <span class="ruby-identifier">failure_with_optional_message</span>              <span class="ruby-value str">&quot;Expected %s to be case equal (===) to %p but was %p&quot;</span>,
  273
+268:             <span class="ruby-value str">&quot;Expected %p but got %p&quot;</span>,
  274
+269:             <span class="ruby-identifier">message</span>, <span class="ruby-identifier">expected</span>, <span class="ruby-identifier">actual</span>
  275
+270:         <span class="ruby-keyword kw">end</span>
  276
+271:         <span class="ruby-keyword kw">true</span>
  277
+272: 
  278
+273:       <span class="ruby-keyword kw">rescue</span> <span class="ruby-operator">::</span><span class="ruby-constant">BareTest</span><span class="ruby-operator">::</span><span class="ruby-constant">Assertion</span><span class="ruby-operator">::</span><span class="ruby-constant">Failure</span>, *<span class="ruby-operator">::</span><span class="ruby-constant">BareTest</span><span class="ruby-operator">::</span><span class="ruby-constant">Assertion</span><span class="ruby-operator">::</span><span class="ruby-constant">PassthroughExceptions</span>
  279
+274:         <span class="ruby-operator">::</span><span class="ruby-constant">Kernel</span>.<span class="ruby-identifier">raise</span>
  280
+275:       <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Exception</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">e</span>
  281
+276:         <span class="ruby-identifier">failure</span> <span class="ruby-value str">&quot;Could not compare %p with %p due to %s&quot;</span>, <span class="ruby-identifier">expected</span>, <span class="ruby-identifier">actual</span>, <span class="ruby-identifier">e</span>
  282
+277:       <span class="ruby-keyword kw">end</span></pre>
275 283
 					</div>
276 284
 					
277 285
 				</div>
278 286
 
279 287
 				
  288
+
  289
+				
280 290
 			</div>
281 291
 
282 292
 		
283 293
 			<div id="equal-method" class="method-detail method-alias">
284  
-				<a name="M000023"></a>
  294
+				<a name="M000016"></a>
285 295
 
286 296
 				<div class="method-heading">
287 297
 				
@@ -293,20 +303,24 @@ <h3 class="section-header">Public Instance Methods</h3>
293 303
 
294 304
 				<div class="method-description">
295 305
 					
296  
-					<p>
297  
-Alias for <a href="Support.html#M000021">order_equal</a>
298  
-</p>
  306
+					
299 307
 					
300 308
 
301 309
 					
302 310
 				</div>
303 311
 
304 312
 				
  313
+
  314
+				
  315
+				<div class="aliases">
  316
+          Alias for: <a href="Support.html#M000015">order_equal</a>
  317
+				</div>
  318
+				
305 319
 			</div>
306 320
 
307 321
 		
308 322
 			<div id="equal-unordered-method" class="method-detail ">
309  
-				<a name="M000025"></a>
  323
+				<a name="M000018"></a>
310 324
 
311 325
 				<div class="method-heading">
312 326
 				
@@ -329,8 +343,8 @@ <h3 class="section-header">Public Instance Methods</h3>
329 343
 						id="equal-unordered-source">
330 344
 <pre>
331 345
      <span class="ruby-comment cmt"># File lib/baretest/assertion/support.rb, line 283</span>
332  
-283:       <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">equal_unordered</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
333  
-284:         <span class="ruby-identifier">expected</span>, <span class="ruby-identifier">actual</span>, <span class="ruby-identifier">message</span> = <span class="ruby-identifier">extract_args</span>(<span class="ruby-identifier">args</span>, <span class="ruby-identifier">:expected</span>, <span class="ruby-identifier">:actual</span>, <span class="ruby-identifier">:message</span>)
  346
+283:       <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">equal_unordered</span>(*<span class="ruby-identifier">args</span>)
  347
+284:         <span class="ruby-identifier">expected</span>, <span class="ruby-identifier">actual</span>, <span class="ruby-identifier">message</span> = <span class="ruby-identifier">extract_args</span>(<span class="ruby-identifier">args</span>, <span class="ruby-value">:expected</span>, <span class="ruby-value">:actual</span>, <span class="ruby-value">:message</span>)
334 348
 285: 
335 349
 286:         <span class="ruby-identifier">count</span> = <span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>(<span class="ruby-value">0</span>)
336 350
 287:         <span class="ruby-identifier">expected</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">element</span><span class="ruby-operator">|</span> <span class="ruby-identifier">count</span>[<span class="ruby-identifier">element</span>] <span class="ruby-operator">+=</span> <span class="ruby-value">1</span> }
@@ -340,32 +354,32 @@ <h3 class="section-header">Public Instance Methods</h3>
340 354
 291:           <span class="ruby-identifier">only_in_expected</span> = <span class="ruby-identifier">count</span>.<span class="ruby-identifier">select</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">ele</span>, <span class="ruby-identifier">n</span><span class="ruby-operator">|</span> <span class="ruby-identifier">n</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span> }.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">ele</span>, <span class="ruby-identifier">n</span><span class="ruby-operator">|</span> <span class="ruby-identifier">ele</span> }
341 355
 292:           <span class="ruby-identifier">only_in_actual</span>   = <span class="ruby-identifier">count</span>.<span class="ruby-identifier">select</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">ele</span>, <span class="ruby-identifier">n</span><span class="ruby-operator">|</span> <span class="ruby-identifier">n</span> <span class="ruby-operator">&lt;</span> <span class="ruby-value">0</span> }.<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">ele</span>, <span class="ruby-identifier">n</span><span class="ruby-operator">|</span> <span class="ruby-identifier">ele</span> }
342 356