Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated web presence.

  • Loading branch information...
commit 348bf22738845ec87a670ad35574ecd3a9e67560 1 parent 0fd05a0
@apeiros authored
Showing with 23,553 additions and 8 deletions.
  1. BIN  dev/Web/header.psd
  2. 0  web/{docs-0.2.0 → docs/version-0.2.0}/BareTest.html
  3. 0  web/{docs-0.2.0 → docs/version-0.2.0}/BareTest/Assertion.html
  4. 0  web/{docs-0.2.0 → docs/version-0.2.0}/BareTest/Assertion/Failure.html
  5. 0  web/{docs-0.2.0 → docs/version-0.2.0}/BareTest/Assertion/Support.html
  6. 0  web/{docs-0.2.0 → docs/version-0.2.0}/BareTest/Assertion/Support/SetupAndTeardown.html
  7. 0  web/{docs-0.2.0 → docs/version-0.2.0}/BareTest/IRBMode.html
  8. 0  web/{docs-0.2.0 → docs/version-0.2.0}/BareTest/IRBMode/AssertionContext.html
  9. 0  web/{docs-0.2.0 → docs/version-0.2.0}/BareTest/Run.html
  10. 0  web/{docs-0.2.0 → docs/version-0.2.0}/BareTest/Run/CLI.html
  11. 0  web/{docs-0.2.0 → docs/version-0.2.0}/BareTest/Run/Errors.html
  12. 0  web/{docs-0.2.0 → docs/version-0.2.0}/BareTest/Run/Minimal.html
  13. 0  web/{docs-0.2.0 → docs/version-0.2.0}/BareTest/Run/Spec.html
  14. 0  web/{docs-0.2.0 → docs/version-0.2.0}/BareTest/Run/TAP.html
  15. 0  web/{docs-0.2.0 → docs/version-0.2.0}/BareTest/Run/XML.html
  16. 0  web/{docs-0.2.0 → docs/version-0.2.0}/BareTest/Skipped.html
  17. 0  web/{docs-0.2.0 → docs/version-0.2.0}/BareTest/Skipped/Assertion.html
  18. 0  web/{docs-0.2.0 → docs/version-0.2.0}/BareTest/Skipped/Suite.html
  19. 0  web/{docs-0.2.0 → docs/version-0.2.0}/BareTest/Suite.html
  20. 0  web/{docs-0.2.0 → docs/version-0.2.0}/BareTest/VERSION.html
  21. 0  web/{docs-0.2.0 → docs/version-0.2.0}/Enumerable.html
  22. 0  web/{docs-0.2.0 → docs/version-0.2.0}/Kernel.html
  23. 0  web/{docs-0.2.0 → docs/version-0.2.0}/MANIFEST_txt.html
  24. 0  web/{docs-0.2.0 → docs/version-0.2.0}/README_rdoc.html
  25. 0  web/{docs-0.2.0 → docs/version-0.2.0}/bin/baretest.html
  26. 0  web/{docs-0.2.0 → docs/version-0.2.0}/created.rid
  27. 0  web/{docs-0.2.0 → docs/version-0.2.0}/doc/baretest_rdoc.html
  28. 0  web/{docs-0.2.0 → docs/version-0.2.0}/doc/mocking_stubbing_test_doubles_rdoc.html
  29. 0  web/{docs-0.2.0 → docs/version-0.2.0}/images/brick.png
  30. 0  web/{docs-0.2.0 → docs/version-0.2.0}/images/brick_link.png
  31. 0  web/{docs-0.2.0 → docs/version-0.2.0}/images/bug.png
  32. 0  web/{docs-0.2.0 → docs/version-0.2.0}/images/bullet_black.png
  33. 0  web/{docs-0.2.0 → docs/version-0.2.0}/images/bullet_toggle_minus.png
  34. 0  web/{docs-0.2.0 → docs/version-0.2.0}/images/bullet_toggle_plus.png
  35. 0  web/{docs-0.2.0 → docs/version-0.2.0}/images/date.png
  36. 0  web/{docs-0.2.0 → docs/version-0.2.0}/images/find.png
  37. 0  web/{docs-0.2.0 → docs/version-0.2.0}/images/loadingAnimation.gif
  38. 0  web/{docs-0.2.0 → docs/version-0.2.0}/images/macFFBgHack.png
  39. 0  web/{docs-0.2.0 → docs/version-0.2.0}/images/package.png
  40. 0  web/{docs-0.2.0 → docs/version-0.2.0}/images/page_green.png
  41. 0  web/{docs-0.2.0 → docs/version-0.2.0}/images/page_white_text.png
  42. 0  web/{docs-0.2.0 → docs/version-0.2.0}/images/page_white_width.png
  43. 0  web/{docs-0.2.0 → docs/version-0.2.0}/images/plugin.png
  44. 0  web/{docs-0.2.0 → docs/version-0.2.0}/images/ruby.png
  45. 0  web/{docs-0.2.0 → docs/version-0.2.0}/images/tag_green.png
  46. 0  web/{docs-0.2.0 → docs/version-0.2.0}/images/wrench.png
  47. 0  web/{docs-0.2.0 → docs/version-0.2.0}/images/wrench_orange.png
  48. 0  web/{docs-0.2.0 → docs/version-0.2.0}/images/zoom.png
  49. 0  web/{docs-0.2.0 → docs/version-0.2.0}/index.html
  50. 0  web/{docs-0.2.0 → docs/version-0.2.0}/js/darkfish.js
  51. 0  web/{docs-0.2.0 → docs/version-0.2.0}/js/jquery.js
  52. 0  web/{docs-0.2.0 → docs/version-0.2.0}/js/quicksearch.js
  53. 0  web/{docs-0.2.0 → docs/version-0.2.0}/js/thickbox-compressed.js
  54. 0  web/{docs-0.2.0 → docs/version-0.2.0}/lib/baretest/assertion/failure_rb.html
  55. 0  web/{docs-0.2.0 → docs/version-0.2.0}/lib/baretest/assertion/support_rb.html
  56. 0  web/{docs-0.2.0 → docs/version-0.2.0}/lib/baretest/assertion_rb.html
  57. 0  web/{docs-0.2.0 → docs/version-0.2.0}/lib/baretest/irb_mode_rb.html
  58. 0  web/{docs-0.2.0 → docs/version-0.2.0}/lib/baretest/layout_rb.html
  59. 0  web/{docs-0.2.0 → docs/version-0.2.0}/lib/baretest/mocha_rb.html
  60. 0  web/{docs-0.2.0 → docs/version-0.2.0}/lib/baretest/run/cli_rb.html
  61. 0  web/{docs-0.2.0 → docs/version-0.2.0}/lib/baretest/run/errors_rb.html
  62. 0  web/{docs-0.2.0 → docs/version-0.2.0}/lib/baretest/run/minimal_rb.html
  63. 0  web/{docs-0.2.0 → docs/version-0.2.0}/lib/baretest/run/spec_rb.html
  64. 0  web/{docs-0.2.0 → docs/version-0.2.0}/lib/baretest/run/tap_rb.html
  65. 0  web/{docs-0.2.0 → docs/version-0.2.0}/lib/baretest/run/xml_rb.html
  66. 0  web/{docs-0.2.0 → docs/version-0.2.0}/lib/baretest/run_rb.html
  67. 0  web/{docs-0.2.0 → docs/version-0.2.0}/lib/baretest/safe_rb.html
  68. 0  web/{docs-0.2.0 → docs/version-0.2.0}/lib/baretest/skipped/assertion_rb.html
  69. 0  web/{docs-0.2.0 → docs/version-0.2.0}/lib/baretest/skipped/suite_rb.html
  70. 0  web/{docs-0.2.0 → docs/version-0.2.0}/lib/baretest/skipped_rb.html
  71. 0  web/{docs-0.2.0 → docs/version-0.2.0}/lib/baretest/suite_rb.html
  72. 0  web/{docs-0.2.0 → docs/version-0.2.0}/lib/baretest/utilities_rb.html
  73. 0  web/{docs-0.2.0 → docs/version-0.2.0}/lib/baretest/version_rb.html
  74. 0  web/{docs-0.2.0 → docs/version-0.2.0}/lib/baretest_rb.html
  75. 0  web/{docs-0.2.0 → docs/version-0.2.0}/rdoc.css
  76. +1,011 −0 web/docs/version-0.4.1/BareTest.html
  77. +795 −0 web/docs/version-0.4.1/BareTest/Assertion.html
  78. +305 −0 web/docs/version-0.4.1/BareTest/Assertion/Context.html
  79. +217 −0 web/docs/version-0.4.1/BareTest/Assertion/Failure.html
  80. +216 −0 web/docs/version-0.4.1/BareTest/Assertion/Skip.html
  81. +1,232 −0 web/docs/version-0.4.1/BareTest/Assertion/Support.html
  82. +1,225 −0 web/docs/version-0.4.1/BareTest/CommandLine.html
  83. +400 −0 web/docs/version-0.4.1/BareTest/Formatter.html
  84. +221 −0 web/docs/version-0.4.1/BareTest/IRBMode.html
  85. +979 −0 web/docs/version-0.4.1/BareTest/IRBMode/IRBContext.html
  86. +235 −0 web/docs/version-0.4.1/BareTest/InvalidSelectors.html
  87. +702 −0 web/docs/version-0.4.1/BareTest/Persistence.html
  88. +843 −0 web/docs/version-0.4.1/BareTest/Run.html
  89. +207 −0 web/docs/version-0.4.1/BareTest/Run/CLI.html
  90. +206 −0 web/docs/version-0.4.1/BareTest/Run/Minimal.html
  91. +206 −0 web/docs/version-0.4.1/BareTest/Run/None.html
  92. +207 −0 web/docs/version-0.4.1/BareTest/Run/Spec.html
  93. +208 −0 web/docs/version-0.4.1/BareTest/Run/TAP.html
  94. +224 −0 web/docs/version-0.4.1/BareTest/Run/XML.html
  95. +502 −0 web/docs/version-0.4.1/BareTest/Status.html
  96. +1,464 −0 web/docs/version-0.4.1/BareTest/Suite.html
  97. +394 −0 web/docs/version-0.4.1/BareTest/UID.html
  98. +342 −0 web/docs/version-0.4.1/BareTest/VERSION.html
  99. +383 −0 web/docs/version-0.4.1/Command.html
  100. +461 −0 web/docs/version-0.4.1/Command/DecoratingHash.html
  101. +1,265 −0 web/docs/version-0.4.1/Command/Definition.html
  102. +208 −0 web/docs/version-0.4.1/Command/DirectoryNotFoundError.html
  103. +208 −0 web/docs/version-0.4.1/Command/FileNotFoundError.html
  104. +208 −0 web/docs/version-0.4.1/Command/NoDirectoryError.html
  105. +208 −0 web/docs/version-0.4.1/Command/NoFileError.html
  106. +710 −0 web/docs/version-0.4.1/Command/Parser.html
  107. +283 −0 web/docs/version-0.4.1/Command/VERSION.html
  108. +626 −0 web/docs/version-0.4.1/Kernel.html
  109. +203 −0 web/docs/version-0.4.1/LICENSE_txt.html
  110. +228 −0 web/docs/version-0.4.1/MANIFEST_txt.html
  111. +543 −0 web/docs/version-0.4.1/README_rdoc.html
  112. +56 −0 web/docs/version-0.4.1/bin/baretest.html
  113. +55 −0 web/docs/version-0.4.1/created.rid
  114. +265 −0 web/docs/version-0.4.1/doc/baretest_rdoc.html
  115. +185 −0 web/docs/version-0.4.1/doc/mocking_stubbing_test_doubles_rdoc.html
  116. +620 −0 web/docs/version-0.4.1/doc/quickref_rdoc.html
  117. +194 −0 web/docs/version-0.4.1/doc/whats_going_on_rdoc.html
  118. +348 −0 web/docs/version-0.4.1/doc/writing_tests_rdoc.html
  119. BIN  web/docs/version-0.4.1/images/brick.png
  120. BIN  web/docs/version-0.4.1/images/brick_link.png
  121. BIN  web/docs/version-0.4.1/images/bug.png
  122. BIN  web/docs/version-0.4.1/images/bullet_black.png
  123. BIN  web/docs/version-0.4.1/images/bullet_toggle_minus.png
  124. BIN  web/docs/version-0.4.1/images/bullet_toggle_plus.png
  125. BIN  web/docs/version-0.4.1/images/date.png
  126. BIN  web/docs/version-0.4.1/images/find.png
  127. BIN  web/docs/version-0.4.1/images/loadingAnimation.gif
  128. BIN  web/docs/version-0.4.1/images/macFFBgHack.png
  129. BIN  web/docs/version-0.4.1/images/package.png
  130. BIN  web/docs/version-0.4.1/images/page_green.png
  131. BIN  web/docs/version-0.4.1/images/page_white_text.png
  132. BIN  web/docs/version-0.4.1/images/page_white_width.png
  133. BIN  web/docs/version-0.4.1/images/plugin.png
  134. BIN  web/docs/version-0.4.1/images/ruby.png
  135. BIN  web/docs/version-0.4.1/images/tag_green.png
  136. BIN  web/docs/version-0.4.1/images/wrench.png
  137. BIN  web/docs/version-0.4.1/images/wrench_orange.png
  138. BIN  web/docs/version-0.4.1/images/zoom.png
  139. +456 −0 web/docs/version-0.4.1/index.html
  140. +116 −0 web/docs/version-0.4.1/js/darkfish.js
  141. +32 −0 web/docs/version-0.4.1/js/jquery.js
  142. +114 −0 web/docs/version-0.4.1/js/quicksearch.js
  143. +10 −0 web/docs/version-0.4.1/js/thickbox-compressed.js
  144. +52 −0 web/docs/version-0.4.1/lib/baretest/assertion/context_rb.html
  145. +52 −0 web/docs/version-0.4.1/lib/baretest/assertion/failure_rb.html
  146. +52 −0 web/docs/version-0.4.1/lib/baretest/assertion/skip_rb.html
  147. +58 −0 web/docs/version-0.4.1/lib/baretest/assertion/support_rb.html
  148. +60 −0 web/docs/version-0.4.1/lib/baretest/assertion_rb.html
  149. +58 −0 web/docs/version-0.4.1/lib/baretest/commandline_rb.html
  150. +52 −0 web/docs/version-0.4.1/lib/baretest/formatter_rb.html
  151. +52 −0 web/docs/version-0.4.1/lib/baretest/invalidselectors_rb.html
  152. +60 −0 web/docs/version-0.4.1/lib/baretest/irb_mode_rb.html
  153. +52 −0 web/docs/version-0.4.1/lib/baretest/layout_rb.html
  154. +58 −0 web/docs/version-0.4.1/lib/baretest/persistence_rb.html
  155. +52 −0 web/docs/version-0.4.1/lib/baretest/run/cli_rb.html
  156. +52 −0 web/docs/version-0.4.1/lib/baretest/run/minimal_rb.html
  157. +52 −0 web/docs/version-0.4.1/lib/baretest/run/none_rb.html
  158. +52 −0 web/docs/version-0.4.1/lib/baretest/run/spec_rb.html
  159. +52 −0 web/docs/version-0.4.1/lib/baretest/run/tap_rb.html
  160. +52 −0 web/docs/version-0.4.1/lib/baretest/run/xml_rb.html
  161. +54 −0 web/docs/version-0.4.1/lib/baretest/run_rb.html
  162. +52 −0 web/docs/version-0.4.1/lib/baretest/safe_rb.html
  163. +52 −0 web/docs/version-0.4.1/lib/baretest/setup_rb.html
  164. +52 −0 web/docs/version-0.4.1/lib/baretest/status_rb.html
  165. +54 −0 web/docs/version-0.4.1/lib/baretest/suite_rb.html
  166. +52 −0 web/docs/version-0.4.1/lib/baretest/uid_rb.html
  167. +57 −0 web/docs/version-0.4.1/lib/baretest/use/mocha_rb.html
  168. +56 −0 web/docs/version-0.4.1/lib/baretest/use/rack_test_rb.html
  169. +54 −0 web/docs/version-0.4.1/lib/baretest/use/rr_rb.html
  170. +54 −0 web/docs/version-0.4.1/lib/baretest/use/support_rb.html
  171. +52 −0 web/docs/version-0.4.1/lib/baretest/version_rb.html
  172. +74 −0 web/docs/version-0.4.1/lib/baretest_rb.html
  173. +52 −0 web/docs/version-0.4.1/lib/command/argument_rb.html
  174. +52 −0 web/docs/version-0.4.1/lib/command/decoratinghash_rb.html
  175. +52 −0 web/docs/version-0.4.1/lib/command/definition_rb.html
  176. +52 −0 web/docs/version-0.4.1/lib/command/directorynotfounderror_rb.html
  177. +52 −0 web/docs/version-0.4.1/lib/command/env_rb.html
  178. +52 −0 web/docs/version-0.4.1/lib/command/filenotfounderror_rb.html
  179. +52 −0 web/docs/version-0.4.1/lib/command/kernel_rb.html
  180. +52 −0 web/docs/version-0.4.1/lib/command/nodirectoryerror_rb.html
  181. +52 −0 web/docs/version-0.4.1/lib/command/nofileerror_rb.html
  182. +52 −0 web/docs/version-0.4.1/lib/command/option_rb.html
  183. +52 −0 web/docs/version-0.4.1/lib/command/parser_rb.html
  184. +52 −0 web/docs/version-0.4.1/lib/command/result_rb.html
  185. +54 −0 web/docs/version-0.4.1/lib/command/types_rb.html
  186. +52 −0 web/docs/version-0.4.1/lib/command/version_rb.html
  187. +78 −0 web/docs/version-0.4.1/lib/command_rb.html
  188. +52 −0 web/docs/version-0.4.1/lib/ruby/kernel_rb.html
  189. +701 −0 web/docs/version-0.4.1/rdoc.css
  190. BIN  web/images/background.png
  191. BIN  web/images/header.png
  192. +16 −0 web/index-old.html
  193. +69 −8 web/index.html
View
BIN  dev/Web/header.psd
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0  web/docs-0.2.0/BareTest.html → web/docs/version-0.2.0/BareTest.html
File renamed without changes
View
0  web/docs-0.2.0/BareTest/Assertion.html → ...ocs/version-0.2.0/BareTest/Assertion.html
File renamed without changes
View
0  ...ocs-0.2.0/BareTest/Assertion/Failure.html → ...ion-0.2.0/BareTest/Assertion/Failure.html
File renamed without changes
View
0  ...ocs-0.2.0/BareTest/Assertion/Support.html → ...ion-0.2.0/BareTest/Assertion/Support.html
File renamed without changes
View
0  ...t/Assertion/Support/SetupAndTeardown.html → ...t/Assertion/Support/SetupAndTeardown.html
File renamed without changes
View
0  web/docs-0.2.0/BareTest/IRBMode.html → web/docs/version-0.2.0/BareTest/IRBMode.html
File renamed without changes
View
0  ....0/BareTest/IRBMode/AssertionContext.html → ....0/BareTest/IRBMode/AssertionContext.html
File renamed without changes
View
0  web/docs-0.2.0/BareTest/Run.html → web/docs/version-0.2.0/BareTest/Run.html
File renamed without changes
View
0  web/docs-0.2.0/BareTest/Run/CLI.html → web/docs/version-0.2.0/BareTest/Run/CLI.html
File renamed without changes
View
0  web/docs-0.2.0/BareTest/Run/Errors.html → ...cs/version-0.2.0/BareTest/Run/Errors.html
File renamed without changes
View
0  web/docs-0.2.0/BareTest/Run/Minimal.html → ...s/version-0.2.0/BareTest/Run/Minimal.html
File renamed without changes
View
0  web/docs-0.2.0/BareTest/Run/Spec.html → ...docs/version-0.2.0/BareTest/Run/Spec.html
File renamed without changes
View
0  web/docs-0.2.0/BareTest/Run/TAP.html → web/docs/version-0.2.0/BareTest/Run/TAP.html
File renamed without changes
View
0  web/docs-0.2.0/BareTest/Run/XML.html → web/docs/version-0.2.0/BareTest/Run/XML.html
File renamed without changes
View
0  web/docs-0.2.0/BareTest/Skipped.html → web/docs/version-0.2.0/BareTest/Skipped.html
File renamed without changes
View
0  ...ocs-0.2.0/BareTest/Skipped/Assertion.html → ...ion-0.2.0/BareTest/Skipped/Assertion.html
File renamed without changes
View
0  web/docs-0.2.0/BareTest/Skipped/Suite.html → ...version-0.2.0/BareTest/Skipped/Suite.html
File renamed without changes
View
0  web/docs-0.2.0/BareTest/Suite.html → web/docs/version-0.2.0/BareTest/Suite.html
File renamed without changes
View
0  web/docs-0.2.0/BareTest/VERSION.html → web/docs/version-0.2.0/BareTest/VERSION.html
File renamed without changes
View
0  web/docs-0.2.0/Enumerable.html → web/docs/version-0.2.0/Enumerable.html
File renamed without changes
View
0  web/docs-0.2.0/Kernel.html → web/docs/version-0.2.0/Kernel.html
File renamed without changes
View
0  web/docs-0.2.0/MANIFEST_txt.html → web/docs/version-0.2.0/MANIFEST_txt.html
File renamed without changes
View
0  web/docs-0.2.0/README_rdoc.html → web/docs/version-0.2.0/README_rdoc.html
File renamed without changes
View
0  web/docs-0.2.0/bin/baretest.html → web/docs/version-0.2.0/bin/baretest.html
File renamed without changes
View
0  web/docs-0.2.0/created.rid → web/docs/version-0.2.0/created.rid
File renamed without changes
View
0  web/docs-0.2.0/doc/baretest_rdoc.html → ...docs/version-0.2.0/doc/baretest_rdoc.html
File renamed without changes
View
0  ...c/mocking_stubbing_test_doubles_rdoc.html → ...c/mocking_stubbing_test_doubles_rdoc.html
File renamed without changes
View
0  web/docs-0.2.0/images/brick.png → web/docs/version-0.2.0/images/brick.png
File renamed without changes
View
0  web/docs-0.2.0/images/brick_link.png → web/docs/version-0.2.0/images/brick_link.png
File renamed without changes
View
0  web/docs-0.2.0/images/bug.png → web/docs/version-0.2.0/images/bug.png
File renamed without changes
View
0  web/docs-0.2.0/images/bullet_black.png → ...ocs/version-0.2.0/images/bullet_black.png
File renamed without changes
View
0  ...docs-0.2.0/images/bullet_toggle_minus.png → ...sion-0.2.0/images/bullet_toggle_minus.png
File renamed without changes
View
0  web/docs-0.2.0/images/bullet_toggle_plus.png → ...rsion-0.2.0/images/bullet_toggle_plus.png
File renamed without changes
View
0  web/docs-0.2.0/images/date.png → web/docs/version-0.2.0/images/date.png
File renamed without changes
View
0  web/docs-0.2.0/images/find.png → web/docs/version-0.2.0/images/find.png
File renamed without changes
View
0  web/docs-0.2.0/images/loadingAnimation.gif → ...version-0.2.0/images/loadingAnimation.gif
File renamed without changes
View
0  web/docs-0.2.0/images/macFFBgHack.png → ...docs/version-0.2.0/images/macFFBgHack.png
File renamed without changes
View
0  web/docs-0.2.0/images/package.png → web/docs/version-0.2.0/images/package.png
File renamed without changes
View
0  web/docs-0.2.0/images/page_green.png → web/docs/version-0.2.0/images/page_green.png
File renamed without changes
View
0  web/docs-0.2.0/images/page_white_text.png → .../version-0.2.0/images/page_white_text.png
File renamed without changes
View
0  web/docs-0.2.0/images/page_white_width.png → ...version-0.2.0/images/page_white_width.png
File renamed without changes
View
0  web/docs-0.2.0/images/plugin.png → web/docs/version-0.2.0/images/plugin.png
File renamed without changes
View
0  web/docs-0.2.0/images/ruby.png → web/docs/version-0.2.0/images/ruby.png
File renamed without changes
View
0  web/docs-0.2.0/images/tag_green.png → web/docs/version-0.2.0/images/tag_green.png
File renamed without changes
View
0  web/docs-0.2.0/images/wrench.png → web/docs/version-0.2.0/images/wrench.png
File renamed without changes
View
0  web/docs-0.2.0/images/wrench_orange.png → ...cs/version-0.2.0/images/wrench_orange.png
File renamed without changes
View
0  web/docs-0.2.0/images/zoom.png → web/docs/version-0.2.0/images/zoom.png
File renamed without changes
View
0  web/docs-0.2.0/index.html → web/docs/version-0.2.0/index.html
File renamed without changes
View
0  web/docs-0.2.0/js/darkfish.js → web/docs/version-0.2.0/js/darkfish.js
File renamed without changes
View
0  web/docs-0.2.0/js/jquery.js → web/docs/version-0.2.0/js/jquery.js
File renamed without changes
View
0  web/docs-0.2.0/js/quicksearch.js → web/docs/version-0.2.0/js/quicksearch.js
File renamed without changes
View
0  web/docs-0.2.0/js/thickbox-compressed.js → ...s/version-0.2.0/js/thickbox-compressed.js
File renamed without changes
View
0  ....0/lib/baretest/assertion/failure_rb.html → ....0/lib/baretest/assertion/failure_rb.html
File renamed without changes
View
0  ....0/lib/baretest/assertion/support_rb.html → ....0/lib/baretest/assertion/support_rb.html
File renamed without changes
View
0  ...docs-0.2.0/lib/baretest/assertion_rb.html → ...sion-0.2.0/lib/baretest/assertion_rb.html
File renamed without changes
View
0  web/docs-0.2.0/lib/baretest/irb_mode_rb.html → ...rsion-0.2.0/lib/baretest/irb_mode_rb.html
File renamed without changes
View
0  web/docs-0.2.0/lib/baretest/layout_rb.html → ...version-0.2.0/lib/baretest/layout_rb.html
File renamed without changes
View
0  web/docs-0.2.0/lib/baretest/mocha_rb.html → .../version-0.2.0/lib/baretest/mocha_rb.html
File renamed without changes
View
0  web/docs-0.2.0/lib/baretest/run/cli_rb.html → ...ersion-0.2.0/lib/baretest/run/cli_rb.html
File renamed without changes
View
0  ...ocs-0.2.0/lib/baretest/run/errors_rb.html → ...ion-0.2.0/lib/baretest/run/errors_rb.html
File renamed without changes
View
0  ...cs-0.2.0/lib/baretest/run/minimal_rb.html → ...on-0.2.0/lib/baretest/run/minimal_rb.html
File renamed without changes
View
0  web/docs-0.2.0/lib/baretest/run/spec_rb.html → ...rsion-0.2.0/lib/baretest/run/spec_rb.html
File renamed without changes
View
0  web/docs-0.2.0/lib/baretest/run/tap_rb.html → ...ersion-0.2.0/lib/baretest/run/tap_rb.html
File renamed without changes
View
0  web/docs-0.2.0/lib/baretest/run/xml_rb.html → ...ersion-0.2.0/lib/baretest/run/xml_rb.html
File renamed without changes
View
0  web/docs-0.2.0/lib/baretest/run_rb.html → ...cs/version-0.2.0/lib/baretest/run_rb.html
File renamed without changes
View
0  web/docs-0.2.0/lib/baretest/safe_rb.html → ...s/version-0.2.0/lib/baretest/safe_rb.html
File renamed without changes
View
0  ....0/lib/baretest/skipped/assertion_rb.html → ....0/lib/baretest/skipped/assertion_rb.html
File renamed without changes
View
0  ...-0.2.0/lib/baretest/skipped/suite_rb.html → ...-0.2.0/lib/baretest/skipped/suite_rb.html
File renamed without changes
View
0  web/docs-0.2.0/lib/baretest/skipped_rb.html → ...ersion-0.2.0/lib/baretest/skipped_rb.html
File renamed without changes
View
0  web/docs-0.2.0/lib/baretest/suite_rb.html → .../version-0.2.0/lib/baretest/suite_rb.html
File renamed without changes
View
0  ...docs-0.2.0/lib/baretest/utilities_rb.html → ...sion-0.2.0/lib/baretest/utilities_rb.html
File renamed without changes
View
0  web/docs-0.2.0/lib/baretest/version_rb.html → ...ersion-0.2.0/lib/baretest/version_rb.html
File renamed without changes
View
0  web/docs-0.2.0/lib/baretest_rb.html → web/docs/version-0.2.0/lib/baretest_rb.html
File renamed without changes
View
0  web/docs-0.2.0/rdoc.css → web/docs/version-0.2.0/rdoc.css
File renamed without changes
View
1,011 web/docs/version-0.4.1/BareTest.html
@@ -0,0 +1,1011 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
+
+ <title>Module: BareTest</title>
+
+ <link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
+
+ <script src="./js/jquery.js" type="text/javascript"
+ charset="utf-8"></script>
+ <script src="./js/thickbox-compressed.js" type="text/javascript"
+ charset="utf-8"></script>
+ <script src="./js/quicksearch.js" type="text/javascript"
+ charset="utf-8"></script>
+ <script src="./js/darkfish.js" type="text/javascript"
+ charset="utf-8"></script>
+
+</head>
+<body class="module">
+
+ <div id="metadata">
+ <div id="home-metadata">
+ <div id="home-section" class="section">
+ <h3 class="section-header">
+ <a href="./index.html">Home</a>
+ <a href="./index.html#classes">Classes</a>
+ <a href="./index.html#methods">Methods</a>
+ </h3>
+ </div>
+ </div>
+
+ <div id="file-metadata">
+ <div id="file-list-section" class="section">
+ <h3 class="section-header">In Files</h3>
+ <div class="section-body">
+ <ul>
+
+ <li><a href="./lib/baretest/assertion/context_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/assertion/context.rb">lib/baretest/assertion/context.rb</a></li>
+
+ <li><a href="./lib/baretest/assertion/failure_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/assertion/failure.rb">lib/baretest/assertion/failure.rb</a></li>
+
+ <li><a href="./lib/baretest/assertion/skip_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/assertion/skip.rb">lib/baretest/assertion/skip.rb</a></li>
+
+ <li><a href="./lib/baretest/assertion/support_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/assertion/support.rb">lib/baretest/assertion/support.rb</a></li>
+
+ <li><a href="./lib/baretest/assertion_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/assertion.rb">lib/baretest/assertion.rb</a></li>
+
+ <li><a href="./lib/baretest/commandline_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/commandline.rb">lib/baretest/commandline.rb</a></li>
+
+ <li><a href="./lib/baretest/formatter_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/formatter.rb">lib/baretest/formatter.rb</a></li>
+
+ <li><a href="./lib/baretest/invalidselectors_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/invalidselectors.rb">lib/baretest/invalidselectors.rb</a></li>
+
+ <li><a href="./lib/baretest/irb_mode_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/irb_mode.rb">lib/baretest/irb_mode.rb</a></li>
+
+ <li><a href="./lib/baretest/layout_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/layout.rb">lib/baretest/layout.rb</a></li>
+
+ <li><a href="./lib/baretest/persistence_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/persistence.rb">lib/baretest/persistence.rb</a></li>
+
+ <li><a href="./lib/baretest/run/cli_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/run/cli.rb">lib/baretest/run/cli.rb</a></li>
+
+ <li><a href="./lib/baretest/run/minimal_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/run/minimal.rb">lib/baretest/run/minimal.rb</a></li>
+
+ <li><a href="./lib/baretest/run/none_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/run/none.rb">lib/baretest/run/none.rb</a></li>
+
+ <li><a href="./lib/baretest/run/spec_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/run/spec.rb">lib/baretest/run/spec.rb</a></li>
+
+ <li><a href="./lib/baretest/run/tap_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/run/tap.rb">lib/baretest/run/tap.rb</a></li>
+
+ <li><a href="./lib/baretest/run/xml_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/run/xml.rb">lib/baretest/run/xml.rb</a></li>
+
+ <li><a href="./lib/baretest/run_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/run.rb">lib/baretest/run.rb</a></li>
+
+ <li><a href="./lib/baretest/safe_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/safe.rb">lib/baretest/safe.rb</a></li>
+
+ <li><a href="./lib/baretest/setup_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/setup.rb">lib/baretest/setup.rb</a></li>
+
+ <li><a href="./lib/baretest/status_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/status.rb">lib/baretest/status.rb</a></li>
+
+ <li><a href="./lib/baretest/suite_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/suite.rb">lib/baretest/suite.rb</a></li>
+
+ <li><a href="./lib/baretest/uid_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/uid.rb">lib/baretest/uid.rb</a></li>
+
+ <li><a href="./lib/baretest/version_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/version.rb">lib/baretest/version.rb</a></li>
+
+ <li><a href="./lib/baretest_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest.rb">lib/baretest.rb</a></li>
+
+ </ul>
+ </div>
+ </div>
+
+
+ </div>
+
+ <div id="class-metadata">
+
+ <!-- Parent Class -->
+
+
+ <!-- Namespace Contents -->
+
+ <div id="namespace-list-section" class="section">
+ <h3 class="section-header">Namespace</h3>
+ <ul class="link-list">
+
+ <li><span class="type">MODULE</span> <a href="BareTest/CommandLine.html">BareTest::CommandLine</a></li>
+
+ <li><span class="type">MODULE</span> <a href="BareTest/Formatter.html">BareTest::Formatter</a></li>
+
+ <li><span class="type">MODULE</span> <a href="BareTest/IRBMode.html">BareTest::IRBMode</a></li>
+
+ <li><span class="type">MODULE</span> <a href="BareTest/VERSION.html">BareTest::VERSION</a></li>
+
+ <li><span class="type">CLASS</span> <a href="BareTest/Assertion.html">BareTest::Assertion</a></li>
+
+ <li><span class="type">CLASS</span> <a href="BareTest/InvalidSelectors.html">BareTest::InvalidSelectors</a></li>
+
+ <li><span class="type">CLASS</span> <a href="BareTest/Persistence.html">BareTest::Persistence</a></li>
+
+ <li><span class="type">CLASS</span> <a href="BareTest/Run.html">BareTest::Run</a></li>
+
+ <li><span class="type">CLASS</span> <a href="BareTest/Status.html">BareTest::Status</a></li>
+
+ <li><span class="type">CLASS</span> <a href="BareTest/Suite.html">BareTest::Suite</a></li>
+
+ <li><span class="type">CLASS</span> <a href="BareTest/UID.html">BareTest::UID</a></li>
+
+ </ul>
+ </div>
+
+
+ <!-- Method Quickref -->
+
+ <div id="method-list-section" class="section">
+ <h3 class="section-header">Methods</h3>
+ <ul class="link-list">
+
+ <li><a href="#M000129">::component</a></li>
+
+ <li><a href="#M000134">::external</a></li>
+
+ <li><a href="#M000125">::load_standard_test_files</a></li>
+
+ <li><a href="#M000126">::most_important_status</a></li>
+
+ <li><a href="#M000131">::new_component</a></li>
+
+ <li><a href="#M000127">::process_selectors</a></li>
+
+ <li><a href="#M000133">::require</a></li>
+
+ <li><a href="#M000123">::require_baretest</a></li>
+
+ <li><a href="#M000124">::require_ruby</a></li>
+
+ <li><a href="#M000130">::suite</a></li>
+
+ <li><a href="#M000135">::test_directory</a></li>
+
+ <li><a href="#M000132">::use</a></li>
+
+ </ul>
+ </div>
+
+
+ <!-- Included Modules -->
+
+ </div>
+
+ <div id="project-metadata">
+
+
+ <div id="fileindex-section" class="section project-section">
+ <h3 class="section-header">Files</h3>
+ <ul>
+
+ <li class="file"><a href="./LICENSE_txt.html">LICENSE.txt</a></li>
+
+ <li class="file"><a href="./MANIFEST_txt.html">MANIFEST.txt</a></li>
+
+ <li class="file"><a href="./README_rdoc.html">README.rdoc</a></li>
+
+ <li class="file"><a href="./doc/baretest_rdoc.html">baretest.rdoc</a></li>
+
+ <li class="file"><a href="./doc/mocking_stubbing_test_doubles_rdoc.html">mocking_stubbing_test_doubles.rdoc</a></li>
+
+ <li class="file"><a href="./doc/quickref_rdoc.html">quickref.rdoc</a></li>
+
+ <li class="file"><a href="./doc/whats_going_on_rdoc.html">whats_going_on.rdoc</a></li>
+
+ <li class="file"><a href="./doc/writing_tests_rdoc.html">writing_tests.rdoc</a></li>
+
+ </ul>
+ </div>
+
+
+ <div id="classindex-section" class="section project-section">
+ <h3 class="section-header">Class Index
+ <span class="search-toggle"><img src="./images/find.png"
+ height="16" width="16" alt="[+]"
+ title="show/hide quicksearch" /></span></h3>
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
+ <fieldset>
+ <legend>Quicksearch</legend>
+ <input type="text" name="quicksearch" value=""
+ class="quicksearch-field" />
+ </fieldset>
+ </form>
+
+ <ul class="link-list">
+
+ <li><a href="./BareTest.html">BareTest</a></li>
+
+ <li><a href="./BareTest/Assertion.html">BareTest::Assertion</a></li>
+
+ <li><a href="./BareTest/Assertion/Context.html">BareTest::Assertion::Context</a></li>
+
+ <li><a href="./BareTest/Assertion/Failure.html">BareTest::Assertion::Failure</a></li>
+
+ <li><a href="./BareTest/Assertion/Skip.html">BareTest::Assertion::Skip</a></li>
+
+ <li><a href="./BareTest/Assertion/Support.html">BareTest::Assertion::Support</a></li>
+
+ <li><a href="./BareTest/CommandLine.html">BareTest::CommandLine</a></li>
+
+ <li><a href="./BareTest/Formatter.html">BareTest::Formatter</a></li>
+
+ <li><a href="./BareTest/IRBMode/IRBContext.html">BareTest::IRBMode::IRBContext</a></li>
+
+ <li><a href="./BareTest/InvalidSelectors.html">BareTest::InvalidSelectors</a></li>
+
+ <li><a href="./BareTest/Persistence.html">BareTest::Persistence</a></li>
+
+ <li><a href="./BareTest/Run.html">BareTest::Run</a></li>
+
+ <li><a href="./BareTest/Status.html">BareTest::Status</a></li>
+
+ <li><a href="./BareTest/Suite.html">BareTest::Suite</a></li>
+
+ <li><a href="./BareTest/UID.html">BareTest::UID</a></li>
+
+ <li><a href="./BareTest/VERSION.html">BareTest::VERSION</a></li>
+
+ <li><a href="./Command.html">Command</a></li>
+
+ <li><a href="./Command/DecoratingHash.html">Command::DecoratingHash</a></li>
+
+ <li><a href="./Command/Definition.html">Command::Definition</a></li>
+
+ <li><a href="./Command/DirectoryNotFoundError.html">Command::DirectoryNotFoundError</a></li>
+
+ <li><a href="./Command/FileNotFoundError.html">Command::FileNotFoundError</a></li>
+
+ <li><a href="./Command/NoDirectoryError.html">Command::NoDirectoryError</a></li>
+
+ <li><a href="./Command/NoFileError.html">Command::NoFileError</a></li>
+
+ <li><a href="./Command/Parser.html">Command::Parser</a></li>
+
+ <li><a href="./Command/VERSION.html">Command::VERSION</a></li>
+
+ <li><a href="./Kernel.html">Kernel</a></li>
+
+ </ul>
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
+ </div>
+
+
+ </div>
+ </div>
+
+ <div id="documentation">
+ <h1 class="module">BareTest</h1>
+
+ <div id="description">
+
+ </div>
+
+ <!-- Constants -->
+
+ <div id="constants-list" class="section">
+ <h3 class="section-header">Constants</h3>
+ <dl>
+
+ <dt><a name="Setup">Setup</a></dt>
+
+ <dd class="description"><p>
+Encapsulates a single setup block and associated information. Relevant for
+setup variants.
+</p></dd>
+
+
+ <dt><a name="MoreImportantStatus">MoreImportantStatus</a></dt>
+
+ <dd class="description"><p>
+A lookup table to test which of two states is more important
+(MoreImportantStatus[[a,b]] # => a or b)
+</p></dd>
+
+
+ <dt><a name="StatusOrder">StatusOrder</a></dt>
+
+ <dd class="description"><p>
+All states in the order of relevance, more relevant states first
+</p></dd>
+
+
+ </dl>
+ </div>
+
+
+ <!-- Attributes -->
+
+ <div id="attribute-method-details" class="method-section section">
+ <h3 class="section-header">Attributes</h3>
+
+
+ <div id="components-attribute-method" class="method-detail">
+ <a name="components"></a>
+
+ <div class="method-heading attribute-method-heading">
+ <span class="method-name">components</span><span
+ class="attribute-access-type">[R]</span>
+ </div>
+
+ <div class="method-description">
+
+ <p>
+A hash of components - available via BareTest::use(name) and <a
+href="BareTest/Suite.html#M000102">Suite#suite</a> :use => name
+</p>
+
+ </div>
+ </div>
+
+ <div id="format-attribute-method" class="method-detail">
+ <a name="format"></a>
+
+ <div class="method-heading attribute-method-heading">
+ <span class="method-name">format</span><span
+ class="attribute-access-type">[R]</span>
+ </div>
+
+ <div class="method-description">
+
+ <p>
+A hash of formatters (require-string => module) to be used with Test::Run.
+</p>
+
+ </div>
+ </div>
+
+ <div id="extender-attribute-method" class="method-detail">
+ <a name="extender"></a>
+
+ <div class="method-heading attribute-method-heading">
+ <span class="method-name">extender</span><span
+ class="attribute-access-type">[R]</span>
+ </div>
+
+ <div class="method-description">
+
+ <p>
+For mock integration and others, append modules that should extend the
+Test::Run instance.
+</p>
+
+ </div>
+ </div>
+
+ <div id="toplevel-suite-attribute-method" class="method-detail">
+ <a name="toplevel_suite"></a>
+
+ <div class="method-heading attribute-method-heading">
+ <span class="method-name">toplevel_suite</span><span
+ class="attribute-access-type">[R]</span>
+ </div>
+
+ <div class="method-description">
+
+ <p>
+The toplevel suite. That&#8217;s the one run_if_mainfile and define add
+suites and assertions to.
+</p>
+
+ </div>
+ </div>
+
+ </div>
+
+
+ <!-- Methods -->
+
+ <div id="public-class-method-details" class="method-section section">
+ <h3 class="section-header">Public Class Methods</h3>
+
+
+ <div id="component-method" class="method-detail ">
+ <a name="M000129"></a>
+
+ <div class="method-heading">
+
+ <span class="method-name">component</span><span
+ class="method-args">(name)</span>
+ <span class="method-click-advice">click to toggle source</span>
+
+ </div>
+
+ <div class="method-description">
+
+
+
+
+
+ <div class="method-source-code"
+ id="component-source">
+<pre>
+ <span class="ruby-comment cmt"># File lib/baretest.rb, line 213</span>
+213: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">component</span>(<span class="ruby-identifier">name</span>)
+214: <span class="ruby-identifier">component</span> = <span class="ruby-ivar">@components</span>[<span class="ruby-identifier">name</span>]
+215: <span class="ruby-keyword kw">begin</span>
+216: <span class="ruby-identifier">require</span> <span class="ruby-node">&quot;baretest/use/#{name}&quot;</span>
+217: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">LoadError</span>
+218: <span class="ruby-keyword kw">else</span>
+219: <span class="ruby-identifier">component</span> = <span class="ruby-ivar">@components</span>[<span class="ruby-identifier">name</span>]
+220: <span class="ruby-keyword kw">end</span>
+221: <span class="ruby-identifier">component</span>
+222: <span class="ruby-keyword kw">end</span></pre>
+ </div>
+
+ </div>
+
+
+
+
+ </div>
+
+
+ <div id="external-method" class="method-detail ">
+ <a name="M000134"></a>
+
+ <div class="method-heading">
+
+ <span class="method-name">external</span><span
+ class="method-args">(*path)</span>
+ <span class="method-click-advice">click to toggle source</span>
+
+ </div>
+
+ <div class="method-description">
+
+ <p>
+Returns the absolute path to the external file Example
+</p>
+<pre>
+ suite &quot;#mkdir&quot; do
+ setup do
+ @base = BareTest.external('suite_mkdir') # =&gt; &quot;/.../PROJECT/test/external/suite_mkdir&quot;</pre>
+
+
+
+ <div class="method-source-code"
+ id="external-source">
+<pre>
+ <span class="ruby-comment cmt"># File lib/baretest.rb, line 269</span>
+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>)
+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>)
+271: <span class="ruby-keyword kw">end</span></pre>
+ </div>
+
+ </div>
+
+
+
+
+ </div>
+
+
+ <div id="load-standard-test-files-method" class="method-detail ">
+ <a name="M000125"></a>
+
+ <div class="method-heading">
+
+ <span class="method-name">load_standard_test_files</span><span
+ class="method-args">(opts={})</span>
+ <span class="method-click-advice">click to toggle source</span>
+
+ </div>
+
+ <div class="method-description">
+
+ <p>
+Loads all files in a test directory in order to load the suites and
+assertions. Used by the &#8216;baretest&#8217; executable and the standard
+rake task.
+</p>
+<p>
+Options:
+</p>
+<table>
+<tr><td valign="top">:verbose</td><td><p>
+Will print information about the load process (default: false)
+</p>
+</td></tr>
+<tr><td valign="top">:setup_path</td><td><p>
+The path to the setup file, the first loaded file (default:
+&#8216;test/setup.rb&#8217;)
+</p>
+</td></tr>
+<tr><td valign="top">:chdir</td><td><p>
+The directory this routine chdirs before loading, will jump back to the
+original directory after loading (default: &#8217;.&#8217;)
+</p>
+</td></tr>
+</table>
+
+
+
+ <div class="method-source-code"
+ id="load-standard-test-files-source">
+<pre>
+ <span class="ruby-comment cmt"># File lib/baretest.rb, line 108</span>
+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>={})
+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>)
+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>
+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>
+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>
+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>)
+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>)
+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>
+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>)
+117: <span class="ruby-identifier">load</span>(<span class="ruby-identifier">setup_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">setup_path</span>)
+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>
+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>)
+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>
+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>)
+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>))
+123: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">verbose</span> <span class="ruby-keyword kw">then</span>
+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>
+125: <span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;Could not resolve helper path for path #{path}&quot;</span>
+126: <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">exists</span>
+127: <span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;Loading helper file #{helper_path}&quot;</span>
+128: <span class="ruby-keyword kw">else</span>
+129: <span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;No helper file #{helper_path} to load&quot;</span>
+130: <span class="ruby-keyword kw">end</span>
+131: <span class="ruby-keyword kw">end</span>
+132: <span class="ruby-identifier">load</span>(<span class="ruby-identifier">helper_path</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">exists</span>
+133: <span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;Loading test file #{path}&quot;</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">verbose</span>
+134: <span class="ruby-identifier">load</span>(<span class="ruby-identifier">path</span>)
+135: }
+136: <span class="ruby-keyword kw">end</span>
+137: <span class="ruby-keyword kw">end</span>
+138: <span class="ruby-keyword kw">end</span></pre>
+ </div>
+
+ </div>
+
+
+
+
+ </div>
+
+
+ <div id="most-important-status-method" class="method-detail ">
+ <a name="M000126"></a>
+
+ <div class="method-heading">
+
+ <span class="method-name">most_important_status</span><span
+ class="method-args">(states)</span>
+ <span class="method-click-advice">click to toggle source</span>
+
+ </div>
+
+ <div class="method-description">
+
+ <p>
+Determine which of the named states is the most important one (see <a
+href="BareTest.html#StatusOrder">StatusOrder</a>)
+</p>
+
+
+
+ <div class="method-source-code"
+ id="most-important-status-source">
+<pre>
+ <span class="ruby-comment cmt"># File lib/baretest.rb, line 142</span>
+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>)
+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>
+144: <span class="ruby-keyword kw">end</span></pre>
+ </div>
+
+ </div>
+
+
+
+
+ </div>
+
+
+ <div id="new-component-method" class="method-detail ">
+ <a name="M000131"></a>
+
+ <div class="method-heading">
+
+ <span class="method-name">new_component</span><span
+ class="method-args">(name, &block)</span>
+ <span class="method-click-advice">click to toggle source</span>
+
+ </div>
+
+ <div class="method-description">
+
+ <p>
+Create a new component for Suite&#8217;s :use option (see
+BareTest::Suite::new)
+</p>
+
+
+
+ <div class="method-source-code"
+ id="new-component-source">
+<pre>
+ <span class="ruby-comment cmt"># File lib/baretest.rb, line 238</span>
+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>)
+239: <span class="ruby-identifier">name</span> = <span class="ruby-identifier">name</span>.<span class="ruby-identifier">to_sym</span>
+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>)
+241: <span class="ruby-ivar">@components</span>[<span class="ruby-identifier">name</span>] = <span class="ruby-identifier">block</span>
+242: <span class="ruby-keyword kw">end</span></pre>
+ </div>
+
+ </div>
+
+
+
+
+ </div>
+
+
+ <div id="process-selectors-method" class="method-detail ">
+ <a name="M000127"></a>
+
+ <div class="method-heading">
+
+ <span class="method-name">process_selectors</span><span
+ class="method-args">(selectors, base_directory=".", default_initial_positive_glob=nil)</span>
+ <span class="method-click-advice">click to toggle source</span>
+
+ </div>
+
+ <div class="method-description">
+
+ <p>
+Convert an array of selectors into a hash with those selectors preprocessed
+as far as possible. Example:
+</p>
+<pre>
+ BareTest.process_selectors %w[-some/**/glob/*.rb %failure :tag1 -:tag2]
+ # =&gt; {
+ # :files =&gt; ...an array with paths...,
+ # :include_tags =&gt; [:tag1],
+ # :exclude_tags =&gt; [:tag2],
+ # :include_states =&gt; [:failure]
+ # :exclude_states =&gt; nil,
+ # }</pre>
+
+
+
+ <div class="method-source-code"
+ id="process-selectors-source">
+<pre>
+ <span class="ruby-comment cmt"># File lib/baretest.rb, line 157</span>
+157: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">process_selectors</span>(<span class="ruby-identifier">selectors</span>, <span class="ruby-identifier">base_directory</span>=<span class="ruby-value str">&quot;.&quot;</span>, <span class="ruby-identifier">default_initial_positive_glob</span>=<span class="ruby-keyword kw">nil</span>)
+158: <span class="ruby-identifier">files</span> = []
+159: <span class="ruby-identifier">include_tags</span> = []
+160: <span class="ruby-identifier">exclude_tags</span> = []
+161: <span class="ruby-identifier">include_states</span> = []
+162: <span class="ruby-identifier">exclude_states</span> = []
+163:
+164: <span class="ruby-identifier">default_initial_positive_glob</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">DefaultInitialPositiveGlob</span>
+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>
+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>
+167: <span class="ruby-keyword kw">case</span> <span class="ruby-identifier">selector</span>
+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>
+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>
+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>
+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>
+172: <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/\A-(.*)/</span> <span class="ruby-keyword kw">then</span>
+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>
+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>
+175: <span class="ruby-identifier">files</span> <span class="ruby-operator">-=</span> <span class="ruby-constant">Dir</span>[<span class="ruby-identifier">glob</span>]
+176: <span class="ruby-keyword kw">when</span> <span class="ruby-regexp re">/\A\+?(.*)/</span> <span class="ruby-keyword kw">then</span>
+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>
+178: <span class="ruby-identifier">files</span> <span class="ruby-operator">|=</span> <span class="ruby-constant">Dir</span>[<span class="ruby-identifier">glob</span>]
+179: <span class="ruby-keyword kw">else</span>
+180: <span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;Should never reach else - selector: #{selector.inspect}&quot;</span>
+181: <span class="ruby-keyword kw">end</span>
+182: <span class="ruby-keyword kw">end</span>
+183: <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>
+184: <span class="ruby-identifier">files</span>.<span class="ruby-identifier">map!</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">path</span><span class="ruby-operator">|</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-identifier">path</span>) <span class="ruby-keyword kw">end</span>
+185: <span class="ruby-keyword kw">end</span>
+186:
+187: <span class="ruby-identifier">invalid_states</span> = (<span class="ruby-identifier">include_states</span><span class="ruby-operator">|</span><span class="ruby-identifier">exclude_states</span>)<span class="ruby-operator">-</span><span class="ruby-constant">ValidStateSelectors</span>
+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>
+189:
+190: <span class="ruby-keyword kw">return</span> {
+191: <span class="ruby-value">:files</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">files</span>,
+192: <span class="ruby-value">:include_tags</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">include_tags</span>,
+193: <span class="ruby-value">:exclude_tags</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">exclude_tags</span>,
+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>,
+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>
+196: }
+197: <span class="ruby-keyword kw">end</span></pre>
+ </div>
+
+ </div>
+
+
+
+
+ </div>
+
+
+ <div id="require-method" class="method-detail ">
+ <a name="M000133"></a>
+
+ <div class="method-heading">
+
+ <span class="method-name">require</span><span
+ class="method-args">(*paths)</span>
+ <span class="method-click-advice">click to toggle source</span>
+
+ </div>
+
+ <div class="method-description">
+
+ <p>
+Tries to require a file, if it fails, it will require rubygems and retries
+</p>
+
+
+
+ <div class="method-source-code"
+ id="require-source">
+<pre>
+ <span class="ruby-comment cmt"># File lib/baretest.rb, line 250</span>
+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>)
+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>
+252: <span class="ruby-keyword kw">begin</span>
+253: <span class="ruby-constant">Kernel</span>.<span class="ruby-identifier">require</span> <span class="ruby-identifier">path</span>
+254: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">LoadError</span>
+255: <span class="ruby-keyword kw">begin</span>
+256: <span class="ruby-constant">Kernel</span>.<span class="ruby-identifier">require</span> <span class="ruby-value str">'rubygems'</span>
+257: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">LoadError</span>
+258: <span class="ruby-keyword kw">end</span>
+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>
+260: <span class="ruby-keyword kw">end</span>
+261: <span class="ruby-keyword kw">end</span>
+262: <span class="ruby-keyword kw">end</span></pre>
+ </div>
+
+ </div>
+
+
+
+
+ </div>
+
+
+ <div id="require-baretest-method" class="method-detail ">
+ <a name="M000123"></a>
+
+ <div class="method-heading">
+
+ <span class="method-name">require_baretest</span><span
+ class="method-args">(version)</span>
+ <span class="method-click-advice">click to toggle source</span>
+
+ </div>
+
+ <div class="method-description">
+
+ <p>
+Enure that the suite is run wiht a minimal version of baretest
+</p>
+
+
+
+ <div class="method-source-code"
+ id="require-baretest-source">
+<pre>
+ <span class="ruby-comment cmt"># File lib/baretest.rb, line 86</span>
+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>)
+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>
+88: <span class="ruby-identifier">abort</span> <span class="ruby-node">&quot;Requires baretest version #{version}, you have #{BareTest::VERSION}&quot;</span>
+89: <span class="ruby-keyword kw">end</span>
+90: <span class="ruby-keyword kw">end</span></pre>
+ </div>
+
+ </div>
+
+
+
+
+ </div>
+
+
+ <div id="require-ruby-method" class="method-detail ">
+ <a name="M000124"></a>
+
+ <div class="method-heading">
+
+ <span class="method-name">require_ruby</span><span
+ class="method-args">(version)</span>
+ <span class="method-click-advice">click to toggle source</span>
+
+ </div>
+
+ <div class="method-description">
+
+ <p>
+Ensure that the suite is run with a minimal version of ruby
+</p>
+
+
+
+ <div class="method-source-code"
+ id="require-ruby-source">
+<pre>
+ <span class="ruby-comment cmt"># File lib/baretest.rb, line 93</span>
+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>)
+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>
+95: <span class="ruby-identifier">abort</span> <span class="ruby-node">&quot;Requires ruby version #{version}, you have #{RUBY_VERSION}&quot;</span>
+96: <span class="ruby-keyword kw">end</span>
+97: <span class="ruby-keyword kw">end</span></pre>
+ </div>
+
+ </div>
+
+
+
+
+ </div>
+
+
+ <div id="suite-method" class="method-detail ">
+ <a name="M000130"></a>
+
+ <div class="method-heading">
+
+ <span class="method-name">suite</span><span
+ class="method-args">(description=nil, opts={}, &block)</span>
+ <span class="method-click-advice">click to toggle source</span>
+
+ </div>
+
+ <div class="method-description">
+
+ <p>
+If no description was given, it adds the contained assertions and suites to
+the toplevel suite, if a description was given, a suite with the given
+description is created, added to the toplevel suite, and all the contained
+assertions and suites are added to the created suite.
+</p>
+
+
+
+ <div class="method-source-code"
+ id="suite-source">
+<pre>
+ <span class="ruby-comment cmt"># File lib/baretest.rb, line 227</span>
+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>)
+228: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">description</span> <span class="ruby-keyword kw">then</span>
+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>)
+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>
+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>
+232: <span class="ruby-keyword kw">else</span>
+233: <span class="ruby-ivar">@toplevel_suite</span>.<span class="ruby-identifier">instance_eval</span>(&amp;<span class="ruby-identifier">block</span>)
+234: <span class="ruby-keyword kw">end</span>
+235: <span class="ruby-keyword kw">end</span></pre>
+ </div>
+
+ </div>
+
+
+
+
+ </div>
+
+
+ <div id="test-directory-method" class="method-detail ">
+ <a name="M000135"></a>
+
+ <div class="method-heading">
+
+ <span class="method-name">test_directory</span><span
+ class="method-args">()</span>
+ <span class="method-click-advice">click to toggle source</span>
+
+ </div>
+
+ <div class="method-description">
+
+ <p>
+Returns the absolute path to the test directory
+</p>
+
+
+
+ <div class="method-source-code"
+ id="test-directory-source">
+<pre>
+ <span class="ruby-comment cmt"># File lib/baretest.rb, line 274</span>
+274: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">test_directory</span>
+275: <span class="ruby-constant">File</span>.<span class="ruby-identifier">expand_path</span>(<span class="ruby-identifier">path</span>, <span class="ruby-value str">'test'</span>)
+276: <span class="ruby-keyword kw">end</span></pre>
+ </div>
+
+ </div>
+
+
+
+
+ </div>
+
+
+ <div id="use-method" class="method-detail ">
+ <a name="M000132"></a>
+
+ <div class="method-heading">
+
+ <span class="method-name">use</span><span
+ class="method-args">(component)</span>
+ <span class="method-click-advice">click to toggle source</span>
+
+ </div>
+
+ <div class="method-description">
+
+ <p>
+Shortcut for toplevel_suite.use. Preferably use the :use option instead.
+</p>
+
+
+
+ <div class="method-source-code"
+ id="use-source">
+<pre>
+ <span class="ruby-comment cmt"># File lib/baretest.rb, line 245</span>
+245: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">use</span>(<span class="ruby-identifier">component</span>)
+246: <span class="ruby-ivar">@toplevel_suite</span>.<span class="ruby-identifier">use</span>(<span class="ruby-identifier">component</span>)
+247: <span class="ruby-keyword kw">end</span></pre>
+ </div>
+
+ </div>
+
+
+
+
+ </div>
+
+
+ </div>
+
+
+ </div>
+
+
+ <div id="rdoc-debugging-section-dump" class="debugging-section">
+
+ <p>Disabled; run with --debug to generate this.</p>
+
+ </div>
+
+ <div id="validator-badges">
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
+ <p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
+ Rdoc Generator</a> 1.1.6</small>.</p>
+ </div>
+
+</body>
+</html>
+
View
795 web/docs/version-0.4.1/BareTest/Assertion.html
@@ -0,0 +1,795 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
+
+ <title>Class: BareTest::Assertion</title>
+
+ <link rel="stylesheet" href="../rdoc.css" type="text/css" media="screen" />
+
+ <script src="../js/jquery.js" type="text/javascript"
+ charset="utf-8"></script>
+ <script src="../js/thickbox-compressed.js" type="text/javascript"
+ charset="utf-8"></script>
+ <script src="../js/quicksearch.js" type="text/javascript"
+ charset="utf-8"></script>
+ <script src="../js/darkfish.js" type="text/javascript"
+ charset="utf-8"></script>
+
+</head>
+<body class="class">
+
+ <div id="metadata">
+ <div id="home-metadata">
+ <div id="home-section" class="section">
+ <h3 class="section-header">
+ <a href="../index.html">Home</a>
+ <a href="../index.html#classes">Classes</a>
+ <a href="../index.html#methods">Methods</a>
+ </h3>
+ </div>
+ </div>
+
+ <div id="file-metadata">
+ <div id="file-list-section" class="section">
+ <h3 class="section-header">In Files</h3>
+ <div class="section-body">
+ <ul>
+
+ <li><a href="../lib/baretest/assertion/context_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/assertion/context.rb">lib/baretest/assertion/context.rb</a></li>
+
+ <li><a href="../lib/baretest/assertion/failure_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/assertion/failure.rb">lib/baretest/assertion/failure.rb</a></li>
+
+ <li><a href="../lib/baretest/assertion/skip_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/assertion/skip.rb">lib/baretest/assertion/skip.rb</a></li>
+
+ <li><a href="../lib/baretest/assertion/support_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/assertion/support.rb">lib/baretest/assertion/support.rb</a></li>
+
+ <li><a href="../lib/baretest/assertion_rb.html?TB_iframe=true&amp;height=550&amp;width=785"
+ class="thickbox" title="lib/baretest/assertion.rb">lib/baretest/assertion.rb</a></li>
+
+ </ul>
+ </div>
+ </div>
+
+
+ </div>
+
+ <div id="class-metadata">
+
+ <!-- Parent Class -->
+
+ <div id="parent-class-section" class="section">
+ <h3 class="section-header">Parent</h3>
+
+ <p class="link">Object</p>
+
+ </div>
+
+
+ <!-- Namespace Contents -->
+
+ <div id="namespace-list-section" class="section">
+ <h3 class="section-header">Namespace</h3>
+ <ul class="link-list">
+
+ <li><span class="type">MODULE</span> <a href="Assertion/Support.html">BareTest::Assertion::Support</a></li>
+
+ <li><span class="type">CLASS</span> <a href="Assertion/Context.html">BareTest::Assertion::Context</a></li>
+
+ <li><span class="type">CLASS</span> <a href="Assertion/Failure.html">BareTest::Assertion::Failure</a></li>
+
+ <li><span class="type">CLASS</span> <a href="Assertion/Skip.html">BareTest::Assertion::Skip</a></li>
+
+ </ul>
+ </div>
+
+
+ <!-- Method Quickref -->
+
+ <div id="method-list-section" class="section">
+ <h3 class="section-header">Methods</h3>
+ <ul class="link-list">
+
+ <li><a href="#M000026">::new</a></li>
+
+ <li><a href="#M000031">#execute</a></li>
+
+ <li><a href="#M000032">#execute_phase</a></li>
+
+ <li><a href="#M000027">#id</a></li>
+
+ <li><a href="#M000030">#interpolated_description</a></li>
+
+ <li><a href="#M000029">#skip</a></li>
+
+ <li><a href="#M000028">#skipped?</a></li>
+
+ </ul>
+ </div>
+
+
+ <!-- Included Modules -->
+
+ </div>
+
+ <div id="project-metadata">
+
+
+ <div id="fileindex-section" class="section project-section">
+ <h3 class="section-header">Files</h3>
+ <ul>
+
+ <li class="file"><a href="../LICENSE_txt.html">LICENSE.txt</a></li>
+
+ <li class="file"><a href="../MANIFEST_txt.html">MANIFEST.txt</a></li>
+
+ <li class="file"><a href="../README_rdoc.html">README.rdoc</a></li>
+
+ <li class="file"><a href="../doc/baretest_rdoc.html">baretest.rdoc</a></li>
+
+ <li class="file"><a href="../doc/mocking_stubbing_test_doubles_rdoc.html">mocking_stubbing_test_doubles.rdoc</a></li>
+
+ <li class="file"><a href="../doc/quickref_rdoc.html">quickref.rdoc</a></li>
+
+ <li class="file"><a href="../doc/whats_going_on_rdoc.html">whats_going_on.rdoc</a></li>
+
+ <li class="file"><a href="../doc/writing_tests_rdoc.html">writing_tests.rdoc</a></li>
+
+ </ul>
+ </div>
+
+
+ <div id="classindex-section" class="section project-section">
+ <h3 class="section-header">Class Index
+ <span class="search-toggle"><img src="../images/find.png"
+ height="16" width="16" alt="[+]"
+ title="show/hide quicksearch" /></span></h3>
+ <form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
+ <fieldset>
+ <legend>Quicksearch</legend>
+ <input type="text" name="quicksearch" value=""
+ class="quicksearch-field" />
+ </fieldset>
+ </form>
+
+ <ul class="link-list">
+
+ <li><a href="../BareTest.html">BareTest</a></li>
+
+ <li><a href="../BareTest/Assertion.html">BareTest::Assertion</a></li>
+
+ <li><a href="../BareTest/Assertion/Context.html">BareTest::Assertion::Context</a></li>
+
+ <li><a href="../BareTest/Assertion/Failure.html">BareTest::Assertion::Failure</a></li>
+
+ <li><a href="../BareTest/Assertion/Skip.html">BareTest::Assertion::Skip</a></li>
+
+ <li><a href="../BareTest/Assertion/Support.html">BareTest::Assertion::Support</a></li>
+
+ <li><a href="../BareTest/CommandLine.html">BareTest::CommandLine</a></li>
+
+ <li><a href="../BareTest/Formatter.html">BareTest::Formatter</a></li>
+
+ <li><a href="../BareTest/IRBMode/IRBContext.html">BareTest::IRBMode::IRBContext</a></li>
+
+ <li><a href="../BareTest/InvalidSelectors.html">BareTest::InvalidSelectors</a></li>
+
+ <li><a href="../BareTest/Persistence.html">BareTest::Persistence</a></li>
+
+ <li><a href="../BareTest/Run.html">BareTest::Run</a></li>
+
+ <li><a href="../BareTest/Status.html">BareTest::Status</a></li>
+
+ <li><a href="../BareTest/Suite.html">BareTest::Suite</a></li>
+
+ <li><a href="../BareTest/UID.html">BareTest::UID</a></li>
+
+ <li><a href="../BareTest/VERSION.html">BareTest::VERSION</a></li>
+
+ <li><a href="../Command.html">Command</a></li>
+
+ <li><a href="../Command/DecoratingHash.html">Command::DecoratingHash</a></li>
+
+ <li><a href="../Command/Definition.html">Command::Definition</a></li>
+
+ <li><a href="../Command/DirectoryNotFoundError.html">Command::DirectoryNotFoundError</a></li>
+
+ <li><a href="../Command/FileNotFoundError.html">Command::FileNotFoundError</a></li>
+
+ <li><a href="../Command/NoDirectoryError.html">Command::NoDirectoryError</a></li>
+
+ <li><a href="../Command/NoFileError.html">Command::NoFileError</a></li>
+
+ <li><a href="../Command/Parser.html">Command::Parser</a></li>
+
+ <li><a href="../Command/VERSION.html">Command::VERSION</a></li>
+
+ <li><a href="../Kernel.html">Kernel</a></li>
+
+ </ul>
+ <div id="no-class-search-results" style="display: none;">No matching classes.</div>
+ </div>
+
+
+ </div>
+ </div>
+
+ <div id="documentation">
+ <h1 class="class">BareTest::Assertion</h1>
+
+ <div id="description">
+ <p>
+Defines an assertion An assertion belongs to a suite and consists of a
+description and a block. To verify the assertion, the suite&#8217;s (and
+its ancestors) setup blocks are executed, then the assertions block is
+executed and after that, the suite&#8217;s (and ancestors) teardown blocks
+are invoked.
+</p>
+<p>
+An assertion has 5 possible states, see Assertion#status for a list of
+them.
+</p>
+<p>
+There are various helper methods in <a
+href="Assertion/Support.html">BareTest::Assertion::Support</a> which help
+you defining nicer diagnostics or just easier ways to test common
+scenarios. The following are test helpers:
+</p>
+<ul>
+<li><p>
+Kernel#raises(exception_class=StandardError)
+</p>
+</li>
+<li><p>
+Kernel#within_delta(a, b, delta)
+</p>
+</li>
+<li><p>
+Kernel#equal_unordered(a,b)
+</p>
+</li>
+<li><p>
+Enumerable#equal_unordered(other)
+</p>
+</li>
+</ul>
+
+ </div>
+
+ <!-- Constants -->
+
+ <div id="constants-list" class="section">
+ <h3 class="section-header">Constants</h3>
+ <dl>
+
+ <dt><a name="PassthroughExceptions">PassthroughExceptions</a></dt>
+
+ <dd class="description"><p>
+The exceptions baretest will not rescue (NoMemoryError, SignalException,
+Interrupt and SystemExit)
+</p></dd>
+
+
+ </dl>
+ </div>
+
+
+ <!-- Attributes -->
+
+ <div id="attribute-method-details" class="method-section section">
+ <h3 class="section-header">Attributes</h3>
+
+
+ <div id="description-attribute-method" class="method-detail">
+ <a name="description"></a>
+
+ <div class="method-heading attribute-method-heading">
+ <span class="method-name">description</span><span
+ class="attribute-access-type">[R]</span>
+ </div>
+
+ <div class="method-description">
+
+ <p>
+The description of this assertion.
+</p>
+
+ </div>
+ </div>
+
+ <div id="suite-attribute-method" class="method-detail">
+ <a name="suite"></a>
+
+ <div class="method-heading attribute-method-heading">
+ <span class="method-name">suite</span><span
+ class="attribute-access-type">[R]</span>
+ </div>
+
+ <div class="method-description">
+
+ <p>
+The suite this assertion belongs to
+</p>
+
+ </div>
+ </div>
+
+ <div id="block-attribute-method" class="method-detail">
+ <a name="block"></a>
+
+ <div class="method-heading attribute-method-heading">
+ <span class="method-name">block</span><span
+ class="attribute-access-type">[R]</span>
+ </div>
+
+ <div class="method-description">
+
+ <p>
+The block specifying the assertion
+</p>
+
+ </div>
+ </div>
+
+ <div id="code-attribute-method" class="method-detail">
+ <a name="code"></a>
+
+ <a name="code="></a>
+
+ <div class="method-heading attribute-method-heading">
+ <span class="method-name">code</span><span
+ class="attribute-access-type">[RW]</span>
+ </div>
+
+ <div class="method-description">
+
+ <p>
+The file this assertion is specified in. Not contructed by <a
+href="Assertion.html">Assertion</a> itself.
+</p>
+
+ </div>
+ </div>
+
+ <div id="file-attribute-method" class="method-detail">
+ <a name="file"></a>
+
+ <a name="file="></a>
+
+ <div class="method-heading attribute-method-heading">
+ <span class="method-name">file</span><span
+ class="attribute-access-type">[RW]</span>
+ </div>
+
+ <div class="method-description">
+
+ <p>
+The file this assertion is specified in. Not contructed by <a
+href="Assertion.html">Assertion</a> itself.
+</p>
+
+ </div>
+ </div>
+
+ <div id="line-attribute-method" class="method-detail">
+ <a name="line"></a>
+
+ <a name="line="></a>
+
+ <div class="method-heading attribute-method-heading">
+ <span class="method-name">line</span><span
+ class="attribute-access-type">[RW]</span>
+ </div>
+
+ <div class="method-description">
+
+ <p>
+The line this assertion is specified on. Not contructed by <a
+href="Assertion.html">Assertion</a> itself.
+</p>
+
+ </div>
+ </div>
+
+ <div id="lines-attribute-method" class="method-detail">
+ <a name="lines"></a>
+
+ <a name="lines="></a>
+
+ <div class="method-heading attribute-method-heading">
+ <span class="method-name">lines</span><span
+ class="attribute-access-type">[RW]</span>
+ </div>
+
+ <div class="method-description">
+
+ <p>
+The lines this assertion spans. Not contructed by <a
+href="Assertion.html">Assertion</a> itself.
+</p>
+
+ </div>
+ </div>
+
+ </div>
+
+
+ <!-- Methods -->
+
+ <div id="public-class-method-details" class="method-section section">
+ <h3 class="section-header">Public Class Methods</h3>
+
+
+ <div id="new-method" class="method-detail ">
+ <a name="M000026"></a>
+
+ <div class="method-heading">
+
+ <span class="method-name">new</span><span
+ class="method-args">(suite, description, opt=nil, &block)</span>
+ <span class="method-click-advice">click to toggle source</span>
+
+ </div>
+
+ <div class="method-description">
+
+ <table>
+<tr><td valign="top">suite</td><td><p>
+The suite the <a href="Assertion.html">Assertion</a> belongs to
+</p>
+</td></tr>
+<tr><td valign="top">description</td><td><p>
+A descriptive string about what this <a href="Assertion.html">Assertion</a>
+tests.
+</p>
+</td></tr>
+<tr><td valign="top">&amp;block</td><td><p>
+The block definition. Without one, the <a
+href="Assertion.html">Assertion</a> will have a :pending status.
+</p>
+</td></tr>
+</table>
+
+
+
+ <div class="method-source-code"
+ id="new-source">
+<pre>
+ <span class="ruby-comment cmt"># File lib/baretest/assertion.rb, line 63</span>
+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>)
+64: <span class="ruby-ivar">@suite</span> = <span class="ruby-identifier">suite</span>
+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>)
+66: <span class="ruby-ivar">@block</span> = <span class="ruby-identifier">block</span>
+67: <span class="ruby-ivar">@skipped</span> = <span class="ruby-keyword kw">false</span>
+68: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">opt</span> <span class="ruby-keyword kw">then</span>
+69: <span class="ruby-identifier">skip_reason</span> = <span class="ruby-identifier">opt</span>[<span class="ruby-value">:skip</span>]
+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>
+71: <span class="ruby-keyword kw">end</span>
+72: <span class="ruby-keyword kw">end</span></pre>
+ </div>