Permalink
Browse files

Version 0.4.0.pre1

  • Loading branch information...
1 parent e71e036 commit 3e785cfa989411f854656f8f861e2388e29209ca @apeiros committed Feb 14, 2010
Showing with 26,548 additions and 2,042 deletions.
  1. +6 −8 .gitignore
  2. +6 −6 LICENSE.txt
  3. +40 −18 MANIFEST.txt
  4. +8 −1 README.rdoc
  5. +1 −0 Rakefile
  6. +126 −118 bin/baretest
  7. +66 −0 dev/CurrentVersion/NEWS.rdoc
  8. +38 −0 dev/CurrentVersion/ToDo.txt
  9. +77 −0 dev/FutureVersion/BetterDetectionOfSource.txt
  10. 0 dev/{Flags.txt → FutureVersion/CommandLineOptions.txt}
  11. +3 −4 dev/{LAYOUT.markdown → FutureVersion/Layout.txt}
  12. +3 −0 dev/FutureVersion/ToDo.txt
  13. 0 dev/{ → FutureVersion}/Variants with Results.txt
  14. 0 dev/{ → FutureVersion}/mockhardening.txt
  15. 0 dev/{ → FutureVersion}/open_questions.txt
  16. 0 dev/{ → FutureVersion}/testdouble.markdown
  17. +13 −0 dev/{ → Implemented/baretest-0.2}/notes.markdown
  18. 0 dev/{ → Implemented/baretest-0.3}/Variants.txt
  19. 0 dev/{ → Implemented/baretest-0.3}/setup_variants.rb
  20. +54 −0 dev/Implemented/baretest-0.4/Status.txt
  21. +35 −16 dev/RoadMap.txt
  22. 0 dev/{ → Workflow}/Rake - Release Project
  23. +0 −80 dev/beat/cleverly-short-test.rb
  24. +0 −406 dev/beat/minitest-unit.rb
  25. +18 −0 dev/doc/Strategies.markdown
  26. +0 −34 dev/features/dependencies/example.rb
  27. +107 −0 doc/announcements/baretest-0.3.0.txt
  28. +8 −0 doc/announcements/structure.txt
  29. +1 −1 doc/baretest.rdoc
  30. +31 −3 doc/mocking_stubbing_test_doubles.rdoc
  31. +7 −0 doc/news/news-0.3.0.rdoc
  32. +74 −28 doc/quickref.rdoc
  33. +5 −0 doc/whats_going_on.rdoc
  34. +25 −13 doc/writing_tests.rdoc
  35. +871 −0 docs/BareTest.html
  36. +758 −0 docs/BareTest/Assertion.html
  37. +295 −0 docs/BareTest/Assertion/Context.html
  38. +209 −0 docs/BareTest/Assertion/Failure.html
  39. +208 −0 docs/BareTest/Assertion/Skip.html
  40. +1,203 −0 docs/BareTest/Assertion/Support.html
  41. +197 −0 docs/BareTest/Assertion/Support/SetupAndTeardown.html
  42. +1,095 −0 docs/BareTest/CommandLine.html
  43. +386 −0 docs/BareTest/Formatter.html
  44. +213 −0 docs/BareTest/IRBMode.html
  45. +879 −0 docs/BareTest/IRBMode/IRBContext.html
  46. +227 −0 docs/BareTest/InvalidSelectors.html
  47. +518 −0 docs/BareTest/Persistence.html
  48. +809 −0 docs/BareTest/Run.html
  49. +199 −0 docs/BareTest/Run/CLI.html
  50. +198 −0 docs/BareTest/Run/Minimal.html
  51. +198 −0 docs/BareTest/Run/None.html
  52. +199 −0 docs/BareTest/Run/Profile.html
  53. +199 −0 docs/BareTest/Run/Spec.html
  54. +200 −0 docs/BareTest/Run/TAP.html
  55. +217 −0 docs/BareTest/Run/XML.html
  56. +478 −0 docs/BareTest/Status.html
  57. +1,398 −0 docs/BareTest/Suite.html
  58. +382 −0 docs/BareTest/UID.html
  59. +330 −0 docs/BareTest/VERSION.html
  60. +371 −0 docs/Command.html
  61. +435 −0 docs/Command/DecoratingHash.html
  62. +1,197 −0 docs/Command/Definition.html
  63. +200 −0 docs/Command/DirectoryNotFoundError.html
  64. +200 −0 docs/Command/FileNotFoundError.html
  65. +200 −0 docs/Command/NoDirectoryError.html
  66. +200 −0 docs/Command/NoFileError.html
  67. +684 −0 docs/Command/Parser.html
  68. +273 −0 docs/Command/VERSION.html
  69. +520 −0 docs/Kernel.html
  70. +196 −0 docs/LICENSE_txt.html
  71. +218 −0 docs/MANIFEST_txt.html
  72. +498 −0 docs/README_rdoc.html
  73. +56 −0 docs/bin/baretest.html
  74. +1 −0 docs/created.rid
  75. +250 −0 docs/doc/baretest_rdoc.html
  76. +178 −0 docs/doc/mocking_stubbing_test_doubles_rdoc.html
  77. +565 −0 docs/doc/quickref_rdoc.html
  78. +187 −0 docs/doc/whats_going_on_rdoc.html
  79. +327 −0 docs/doc/writing_tests_rdoc.html
  80. BIN docs/images/brick.png
  81. BIN docs/images/brick_link.png
  82. BIN docs/images/bug.png
  83. BIN docs/images/bullet_black.png
  84. BIN docs/images/bullet_toggle_minus.png
  85. BIN docs/images/bullet_toggle_plus.png
  86. BIN docs/images/date.png
  87. BIN docs/images/find.png
  88. BIN docs/images/loadingAnimation.gif
  89. BIN docs/images/macFFBgHack.png
  90. BIN docs/images/package.png
  91. BIN docs/images/page_green.png
  92. BIN docs/images/page_white_text.png
  93. BIN docs/images/page_white_width.png
  94. BIN docs/images/plugin.png
  95. BIN docs/images/ruby.png
  96. BIN docs/images/tag_green.png
  97. BIN docs/images/wrench.png
  98. BIN docs/images/wrench_orange.png
  99. BIN docs/images/zoom.png
  100. +436 −0 docs/index.html
  101. +116 −0 docs/js/darkfish.js
  102. +32 −0 docs/js/jquery.js
  103. +114 −0 docs/js/quicksearch.js
  104. +10 −0 docs/js/thickbox-compressed.js
  105. +58 −0 docs/lib/baretest/assertion/context_rb.html
  106. +52 −0 docs/lib/baretest/assertion/failure_rb.html
  107. +52 −0 docs/lib/baretest/assertion/skip_rb.html
  108. +58 −0 docs/lib/baretest/assertion/support_rb.html
  109. +60 −0 docs/lib/baretest/assertion_rb.html
  110. +58 −0 docs/lib/baretest/commandline_rb.html
  111. +52 −0 docs/lib/baretest/formatter_rb.html
  112. +52 −0 docs/lib/baretest/invalidselectors_rb.html
  113. +54 −0 docs/lib/baretest/irb_mode_rb.html
  114. +58 −0 docs/lib/baretest/layout_rb.html
  115. +58 −0 docs/lib/baretest/persistence_rb.html
  116. +52 −0 docs/lib/baretest/run/cli_rb.html
  117. +52 −0 docs/lib/baretest/run/minimal_rb.html
  118. +52 −0 docs/lib/baretest/run/none_rb.html
  119. +55 −0 docs/lib/baretest/run/profile_rb.html
  120. +52 −0 docs/lib/baretest/run/spec_rb.html
  121. +52 −0 docs/lib/baretest/run/tap_rb.html
  122. +52 −0 docs/lib/baretest/run/xml_rb.html
  123. +54 −0 docs/lib/baretest/run_rb.html
  124. +52 −0 docs/lib/baretest/safe_rb.html
  125. +52 −0 docs/lib/baretest/setup_rb.html
  126. +52 −0 docs/lib/baretest/status_rb.html
  127. +54 −0 docs/lib/baretest/suite_rb.html
  128. +52 −0 docs/lib/baretest/uid_rb.html
  129. +57 −0 docs/lib/baretest/use/mocha_rb.html
  130. +56 −0 docs/lib/baretest/use/rack_test_rb.html
  131. +57 −0 docs/lib/baretest/use/rr_rb.html
  132. +52 −0 docs/lib/baretest/version_rb.html
  133. +72 −0 docs/lib/baretest_rb.html
  134. +52 −0 docs/lib/command/argument_rb.html
  135. +52 −0 docs/lib/command/decoratinghash_rb.html
  136. +52 −0 docs/lib/command/definition_rb.html
  137. +52 −0 docs/lib/command/directorynotfounderror_rb.html
  138. +52 −0 docs/lib/command/env_rb.html
  139. +52 −0 docs/lib/command/filenotfounderror_rb.html
  140. +52 −0 docs/lib/command/kernel_rb.html
  141. +52 −0 docs/lib/command/nodirectoryerror_rb.html
  142. +52 −0 docs/lib/command/nofileerror_rb.html
  143. +52 −0 docs/lib/command/option_rb.html
  144. +52 −0 docs/lib/command/parser_rb.html
  145. +52 −0 docs/lib/command/result_rb.html
  146. +54 −0 docs/lib/command/types_rb.html
  147. +52 −0 docs/lib/command/version_rb.html
  148. +78 −0 docs/lib/command_rb.html
  149. +52 −0 docs/lib/ruby/kernel_rb.html
  150. +696 −0 docs/rdoc.css
  151. +17 −0 examples/components/rack-test.rb
  152. 0 examples/{tests → }/irb_mode/failures.rb
  153. +40 −0 examples/rake/test.rake
  154. +0 −65 examples/test.rake
  155. +34 −0 examples/tests/01_basics_I.rb
  156. +25 −0 examples/tests/02_basics_II_helpers.rb
  157. +53 −0 examples/tests/03_basics_III_setup_and_teardown.rb
  158. +31 −0 examples/tests/04_advanced_I_dependencies.rb
  159. +12 −0 examples/tests/05_advanced_II_tags.rb
  160. +21 −0 examples/tests/06_advanced_III_requires.rb
  161. +48 −0 examples/tests/07_advanced_IV_components.rb
  162. +46 −0 examples/tests/08_expert_I_setup_variants.rb
  163. 0 examples/tests/mock_developer/test/helper/mocks.rb
  164. +0 −57 examples/tests/mock_developer/test/setup.rb
  165. +0 −19 examples/tests/mock_developer/test/suite/mock_demo.rb
  166. +0 −89 examples/tests/overview/test.rb
  167. +0 −14 examples/tests/variations/variations_01.rb
  168. +0 −19 examples/tests/variations/variations_02.rb
  169. +0 −19 examples/tests/variations/variations_03.rb
  170. +142 −21 lib/baretest.rb
  171. +83 −92 lib/baretest/assertion.rb
  172. +9 −0 lib/baretest/assertion/context.rb
  173. +88 −61 lib/baretest/assertion/support.rb
  174. +268 −0 lib/baretest/commandline.rb
  175. +58 −0 lib/baretest/formatter.rb
  176. +24 −0 lib/baretest/invalidselectors.rb
  177. +100 −58 lib/baretest/irb_mode.rb
  178. +0 −18 lib/baretest/mocha.rb
  179. +94 −0 lib/baretest/persistence.rb
  180. +0 −16 lib/baretest/rr.rb
  181. +138 −37 lib/baretest/run.rb
  182. +97 −43 lib/baretest/run/cli.rb
  183. +0 −49 lib/baretest/run/errors.rb
  184. +2 −1 lib/baretest/run/minimal.rb
  185. +21 −0 lib/baretest/run/none.rb
  186. +21 −19 lib/baretest/run/xml.rb
  187. +2 −0 lib/baretest/setup.rb
  188. +0 −15 lib/baretest/skipped.rb
  189. +0 −20 lib/baretest/skipped/assertion.rb
  190. +0 −49 lib/baretest/skipped/suite.rb
  191. +93 −0 lib/baretest/status.rb
  192. +185 −59 lib/baretest/suite.rb
  193. +51 −0 lib/baretest/uid.rb
  194. +24 −0 lib/baretest/use/mocha.rb
  195. +9 −0 lib/baretest/use/rack_test.rb
  196. +17 −0 lib/baretest/use/rr.rb
  197. +18 −4 lib/baretest/version.rb
  198. +36 −0 lib/command.rb
  199. +11 −0 lib/command/argument.rb
  200. +31 −0 lib/command/decoratinghash.rb
  201. +294 −0 lib/command/definition.rb
  202. +11 −0 lib/command/directorynotfounderror.rb
  203. +11 −0 lib/command/env.rb
  204. +11 −0 lib/command/filenotfounderror.rb
  205. +14 −0 lib/command/kernel.rb
  206. +11 −0 lib/command/nodirectoryerror.rb
  207. +11 −0 lib/command/nofileerror.rb
  208. +16 −0 lib/command/option.rb
  209. +145 −0 lib/command/parser.rb
  210. +11 −0 lib/command/result.rb
  211. +33 −0 lib/command/types.rb
  212. +28 −0 lib/command/version.rb
  213. +1 −1 rake/tasks/rdoc.rake
  214. +11 −36 rake/tasks/test.rake
  215. +0 −5 test/external/bootstraptest.rb
  216. +0 −2 test/external/bootstrapwrap.rb
  217. 0 test/helper/mocks.rb
  218. +3 −0 test/setup.rb
  219. +0 −178 test/suite/lib/baretest.rb
  220. +133 −112 test/suite/lib/baretest/assertion.rb
  221. +40 −0 test/suite/lib/baretest/assertion/context.rb
  222. +19 −0 test/suite/lib/baretest/assertion/failure.rb
  223. +19 −0 test/suite/lib/baretest/assertion/skip.rb
  224. +366 −84 test/suite/lib/baretest/assertion/support.rb
  225. +114 −15 test/suite/lib/baretest/run.rb
  226. +70 −29 test/suite/lib/baretest/suite.rb
View
@@ -1,10 +1,8 @@
-# We don't care about OS X' littering
-.DS_Store
-._*
-
-# BBedit Projectfile doesn't need versioning
-/baretest.bbprojectd
-
# We don't care about build products
-/docs/*
/pkg/*
+
+# Keeping 'command' gem currently inlined - this task facilitates synchronization
+/rake/tasks/sync.rake
+
+# The locale baretest id is not of interest to others
+/.baretest_id_*
View
@@ -11,26 +11,26 @@ below (also known as the 'Ruby License'):
a) place your modifications in the Public Domain or otherwise
make them Freely Available, such as by posting said
- modifications to Usenet or an equivalent medium, or by allowing
- the author to include your modifications in the software.
+ modifications to Usenet or an equivalent medium, or by allowing
+ the author to include your modifications in the software.
b) use the modified software only within your corporation or
organization.
c) rename any non-standard executables so the names do not conflict
- with standard executables, which must also be provided.
+ with standard executables, which must also be provided.
d) make other distribution arrangements with the author.
3. You may distribute the software in object code or executable
form, provided that you do at least ONE of the following:
a) distribute the executables and library files of the software,
- together with instructions (in the manual page or equivalent)
- on where to get the original distribution.
+ together with instructions (in the manual page or equivalent)
+ on where to get the original distribution.
b) accompany the distribution with the machine-readable source of
- the software.
+ the software.
c) give non-standard executables non-standard names, with
instructions on where to get the original software distribution.
View
@@ -4,49 +4,71 @@ README.rdoc
bin/baretest
doc/baretest.rdoc
doc/mocking_stubbing_test_doubles.rdoc
+doc/news/news-0.3.0.rdoc
doc/quickref.rdoc
doc/whats_going_on.rdoc
doc/writing_tests.rdoc
-examples/test.rake
-examples/tests/irb_mode/failures.rb
-examples/tests/mock_developer/test/helper/mocks.rb
-examples/tests/mock_developer/test/setup.rb
-examples/tests/mock_developer/test/suite/mock_demo.rb
-examples/tests/overview/test.rb
-examples/tests/variations/variations_01.rb
-examples/tests/variations/variations_02.rb
-examples/tests/variations/variations_03.rb
+examples/components/rack-test.rb
+examples/irb_mode/failures.rb
+examples/rake/test.rake
+examples/tests/01_basics_I.rb
+examples/tests/02_basics_II_helpers.rb
+examples/tests/03_basics_III_setup_and_teardown.rb
+examples/tests/04_advanced_I_dependencies.rb
+examples/tests/05_advanced_II_tags.rb
+examples/tests/06_advanced_III_requires.rb
+examples/tests/07_advanced_IV_components.rb
+examples/tests/08_expert_I_setup_variants.rb
lib/baretest.rb
lib/baretest/assertion.rb
lib/baretest/assertion/context.rb
lib/baretest/assertion/failure.rb
lib/baretest/assertion/skip.rb
lib/baretest/assertion/support.rb
+lib/baretest/commandline.rb
+lib/baretest/formatter.rb
+lib/baretest/invalidselectors.rb
lib/baretest/irb_mode.rb
lib/baretest/layout.rb
-lib/baretest/mocha.rb
-lib/baretest/rr.rb
+lib/baretest/persistence.rb
lib/baretest/run.rb
lib/baretest/run/cli.rb
-lib/baretest/run/errors.rb
lib/baretest/run/minimal.rb
+lib/baretest/run/none.rb
lib/baretest/run/profile.rb
lib/baretest/run/spec.rb
lib/baretest/run/tap.rb
lib/baretest/run/xml.rb
lib/baretest/setup.rb
-lib/baretest/skipped.rb
-lib/baretest/skipped/assertion.rb
-lib/baretest/skipped/suite.rb
+lib/baretest/status.rb
lib/baretest/suite.rb
+lib/baretest/uid.rb
+lib/baretest/use/mocha.rb
+lib/baretest/use/rack_test.rb
+lib/baretest/use/rr.rb
lib/baretest/version.rb
+lib/command.rb
+lib/command/argument.rb
+lib/command/decoratinghash.rb
+lib/command/definition.rb
+lib/command/directorynotfounderror.rb
+lib/command/env.rb
+lib/command/filenotfounderror.rb
+lib/command/kernel.rb
+lib/command/nodirectoryerror.rb
+lib/command/nofileerror.rb
+lib/command/option.rb
+lib/command/parser.rb
+lib/command/result.rb
+lib/command/types.rb
+lib/command/version.rb
lib/ruby/kernel.rb
-test/external/bootstraptest.rb
-test/external/bootstrapwrap.rb
-test/helper/mocks.rb
test/setup.rb
test/suite/lib/baretest.rb
test/suite/lib/baretest/assertion.rb
+test/suite/lib/baretest/assertion/context.rb
+test/suite/lib/baretest/assertion/failure.rb
+test/suite/lib/baretest/assertion/skip.rb
test/suite/lib/baretest/assertion/support.rb
test/suite/lib/baretest/irb_mode.rb
test/suite/lib/baretest/run.rb
View
@@ -1,11 +1,13 @@
-= Bare Test
+= BareTest
== Summary
A testframework that doesn't stand in your way or forces you to learn a new
language. Two methods is all that is required to know.
+If you need it, it provides you with all kinds of features to support you
+writing your tests.
@@ -70,6 +72,11 @@ To get baretest edge, use:
2. Change into the baretest directory: `cd the/baretest/directory`
3. Run the installation task: `rake gem:install` (alternatively `rake install:lib`)
+IMPORTANT: if the gem:install task fails, it might be because I forgot to update
+the MANIFEST.txt. Simply delete MANIFEST.txt, then run `rake manifest:create`
+and then retry `rake gem:install`.
+Also notice that you should have the gems 'nokogiri' and 'rdoc' installed.
+
If you have multiple ruby versions installed parallely, this might pick the wrong gem
executable to install the gem. You can set the GEM env variable to ensure it uses the
right one: `rake gem:install GEM=gem1.9`
View
@@ -26,6 +26,7 @@ Project.manifest.ignore = %w[
dev/**/*
doc/announcements/**/*
docs/**/*
+ lib/baretest/safe.rb
pkg/**/*
rake/**/*
web/**/*
Oops, something went wrong.

0 comments on commit 3e785cf

Please sign in to comment.