vim-jar 0.0.3 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (926) hide show
  1. data/.gitignore +2 -0
  2. data/Gemfile.lock +21 -1
  3. data/README.md +35 -1
  4. data/autotest/discover.rb +2 -0
  5. data/bundler/ruby/1.8/bin/autotest +4 -6
  6. data/bundler/ruby/1.8/bin/cdiff +19 -0
  7. data/bundler/ruby/1.8/bin/cucumber +19 -0
  8. data/bundler/ruby/1.8/bin/decolor +19 -0
  9. data/bundler/ruby/1.8/bin/edit_json.rb +19 -0
  10. data/bundler/ruby/1.8/bin/prettify_json.rb +19 -0
  11. data/bundler/ruby/1.8/bin/unit_diff +4 -6
  12. data/bundler/ruby/1.8/gems/aruba-0.2.6/.document +5 -0
  13. data/bundler/ruby/1.8/gems/aruba-0.2.6/.gitignore +23 -0
  14. data/bundler/ruby/1.8/gems/aruba-0.2.6/.rvmrc +1 -0
  15. data/bundler/ruby/1.8/gems/aruba-0.2.6/Gemfile +10 -0
  16. data/bundler/ruby/1.8/gems/aruba-0.2.6/History.txt +123 -0
  17. data/bundler/ruby/1.8/gems/aruba-0.2.6/LICENSE +20 -0
  18. data/bundler/ruby/1.8/gems/aruba-0.2.6/README.rdoc +41 -0
  19. data/bundler/ruby/1.8/gems/aruba-0.2.6/Rakefile +13 -0
  20. data/bundler/ruby/1.8/gems/aruba-0.2.6/aruba.gemspec +24 -0
  21. data/bundler/ruby/1.8/gems/aruba-0.2.6/config/.gitignore +1 -0
  22. data/bundler/ruby/1.8/gems/aruba-0.2.6/cucumber.yml +2 -0
  23. data/bundler/ruby/1.8/gems/aruba-0.2.6/features/exit_statuses.feature +29 -0
  24. data/bundler/ruby/1.8/gems/aruba-0.2.6/features/file_system_commands.feature +128 -0
  25. data/bundler/ruby/1.8/gems/aruba-0.2.6/features/flushing.feature +23 -0
  26. data/bundler/ruby/1.8/gems/aruba-0.2.6/features/interactive.feature +38 -0
  27. data/bundler/ruby/1.8/gems/aruba-0.2.6/features/output.feature +171 -0
  28. data/bundler/ruby/1.8/gems/aruba-0.2.6/features/step_definitions/aruba_dev_steps.rb +24 -0
  29. data/bundler/ruby/1.8/gems/aruba-0.2.6/features/support/env.rb +15 -0
  30. data/bundler/ruby/1.8/gems/aruba-0.2.6/lib/aruba/api.rb +297 -0
  31. data/bundler/ruby/1.8/gems/aruba-0.2.6/lib/aruba/cucumber.rb +273 -0
  32. data/bundler/ruby/1.8/gems/aruba-0.2.6/lib/aruba/process.rb +46 -0
  33. data/bundler/ruby/1.8/gems/aruba-0.2.6/lib/aruba.rb +1 -0
  34. data/bundler/ruby/1.8/gems/autotest-4.4.5/.autotest +18 -0
  35. data/bundler/ruby/1.8/gems/autotest-4.4.5/.gitignore +1 -0
  36. data/bundler/ruby/1.8/gems/autotest-4.4.5/Gemfile +7 -0
  37. data/bundler/ruby/1.8/gems/autotest-4.4.5/Gemfile.lock +38 -0
  38. data/bundler/ruby/1.8/gems/autotest-4.4.5/History.txt +709 -0
  39. data/bundler/ruby/1.8/gems/autotest-4.4.5/Rakefile +67 -0
  40. data/bundler/ruby/1.8/gems/autotest-4.4.5/Readme.md +95 -0
  41. data/bundler/ruby/1.8/gems/autotest-4.4.5/VERSION +1 -0
  42. data/bundler/ruby/1.8/gems/autotest-4.4.5/articles/getting_started_with_autotest.html +533 -0
  43. data/bundler/ruby/1.8/gems/autotest-4.4.5/autotest.gemspec +62 -0
  44. data/bundler/ruby/1.8/gems/autotest-4.4.5/bin/autotest +67 -0
  45. data/bundler/ruby/1.8/gems/autotest-4.4.5/bin/unit_diff +44 -0
  46. data/bundler/ruby/1.8/gems/autotest-4.4.5/example_dot_autotest.rb +12 -0
  47. data/bundler/ruby/1.8/gems/autotest-4.4.5/lib/autotest/autoupdate.rb +26 -0
  48. data/bundler/ruby/1.8/gems/autotest-4.4.5/lib/autotest/once.rb +9 -0
  49. data/bundler/ruby/1.8/gems/autotest-4.4.5/lib/autotest/rcov.rb +27 -0
  50. data/bundler/ruby/1.8/gems/autotest-4.4.5/lib/autotest/restart.rb +12 -0
  51. data/bundler/ruby/1.8/gems/autotest-4.4.5/lib/autotest/timestamp.rb +9 -0
  52. data/bundler/ruby/1.8/gems/autotest-4.4.5/lib/autotest.rb +724 -0
  53. data/bundler/ruby/1.8/gems/autotest-4.4.5/lib/unit_diff.rb +274 -0
  54. data/bundler/ruby/1.8/gems/autotest-4.4.5/test/helper.rb +6 -0
  55. data/bundler/ruby/1.8/gems/autotest-4.4.5/test/test_autotest.rb +515 -0
  56. data/bundler/ruby/1.8/gems/autotest-4.4.5/test/test_autotest_integration.rb +95 -0
  57. data/bundler/ruby/1.8/gems/autotest-4.4.5/test/test_unit_diff.rb +335 -0
  58. data/bundler/ruby/1.8/gems/background_process-1.2/MIT-LICENSE +20 -0
  59. data/bundler/ruby/1.8/gems/background_process-1.2/README.textile +82 -0
  60. data/bundler/ruby/1.8/gems/background_process-1.2/lib/background_process/background_process.rb +114 -0
  61. data/bundler/ruby/1.8/gems/background_process-1.2/lib/background_process/io_helpers.rb +24 -0
  62. data/bundler/ruby/1.8/gems/background_process-1.2/lib/background_process/pty_background_process.rb +64 -0
  63. data/bundler/ruby/1.8/gems/background_process-1.2/lib/background_process.rb +3 -0
  64. data/bundler/ruby/1.8/gems/background_process-1.2/spec/background_process/background_process_spec.rb +129 -0
  65. data/bundler/ruby/1.8/gems/background_process-1.2/spec/background_process/io_helpers_spec.rb +30 -0
  66. data/bundler/ruby/1.8/gems/background_process-1.2/spec/background_process/pty_background_process_spec.rb +49 -0
  67. data/bundler/ruby/1.8/gems/background_process-1.2/spec/spec_helper.rb +1 -0
  68. data/bundler/ruby/1.8/gems/builder-2.1.2/CHANGES +85 -0
  69. data/bundler/ruby/1.8/gems/builder-2.1.2/README +210 -0
  70. data/bundler/ruby/1.8/gems/builder-2.1.2/Rakefile +263 -0
  71. data/bundler/ruby/1.8/gems/builder-2.1.2/doc/releases/builder-1.2.4.rdoc +31 -0
  72. data/bundler/ruby/1.8/gems/builder-2.1.2/doc/releases/builder-2.0.0.rdoc +46 -0
  73. data/bundler/ruby/1.8/gems/builder-2.1.2/doc/releases/builder-2.1.1.rdoc +58 -0
  74. data/bundler/ruby/1.8/gems/builder-2.1.2/lib/blankslate.rb +113 -0
  75. data/bundler/ruby/1.8/gems/builder-2.1.2/lib/builder/blankslate.rb +20 -0
  76. data/bundler/ruby/1.8/gems/builder-2.1.2/lib/builder/xchar.rb +115 -0
  77. data/bundler/ruby/1.8/gems/builder-2.1.2/lib/builder/xmlbase.rb +139 -0
  78. data/bundler/ruby/1.8/gems/builder-2.1.2/lib/builder/xmlevents.rb +63 -0
  79. data/bundler/ruby/1.8/gems/builder-2.1.2/lib/builder/xmlmarkup.rb +328 -0
  80. data/bundler/ruby/1.8/gems/builder-2.1.2/lib/builder.rb +13 -0
  81. data/bundler/ruby/1.8/gems/builder-2.1.2/scripts/publish.rb +17 -0
  82. data/bundler/ruby/1.8/gems/builder-2.1.2/test/performance.rb +30 -0
  83. data/bundler/ruby/1.8/gems/builder-2.1.2/test/preload.rb +29 -0
  84. data/bundler/ruby/1.8/gems/builder-2.1.2/test/test_xchar.rb +37 -0
  85. data/bundler/ruby/1.8/gems/builder-2.1.2/test/testblankslate.rb +183 -0
  86. data/bundler/ruby/1.8/gems/builder-2.1.2/test/testeventbuilder.rb +133 -0
  87. data/bundler/ruby/1.8/gems/builder-2.1.2/test/testmarkupbuilder.rb +449 -0
  88. data/bundler/ruby/1.8/gems/cucumber-0.9.4/.gitattributes +1 -0
  89. data/bundler/ruby/1.8/gems/cucumber-0.9.4/.gitignore +24 -0
  90. data/bundler/ruby/1.8/gems/cucumber-0.9.4/.rspec +1 -0
  91. data/bundler/ruby/1.8/gems/cucumber-0.9.4/Gemfile +7 -0
  92. data/bundler/ruby/1.8/gems/cucumber-0.9.4/History.txt +1597 -0
  93. data/bundler/ruby/1.8/gems/cucumber-0.9.4/LICENSE +22 -0
  94. data/bundler/ruby/1.8/gems/cucumber-0.9.4/README.rdoc +26 -0
  95. data/bundler/ruby/1.8/gems/cucumber-0.9.4/Rakefile +12 -0
  96. data/bundler/ruby/1.8/gems/cucumber-0.9.4/bin/cucumber +16 -0
  97. data/bundler/ruby/1.8/gems/cucumber-0.9.4/cucumber.gemspec +49 -0
  98. data/bundler/ruby/1.8/gems/cucumber-0.9.4/cucumber.yml +20 -0
  99. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/README.textile +18 -0
  100. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/Rakefile +33 -0
  101. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ar/Rakefile +6 -0
  102. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ar/features/addition.feature +17 -0
  103. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ar/features/step_definitons/calculator_steps.rb +24 -0
  104. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ar/lib/calculator.rb +11 -0
  105. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/bg/Rakefile +6 -0
  106. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/bg/features/addition.feature +12 -0
  107. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/bg/features/consecutive_calculations.feature +19 -0
  108. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/bg/features/division.feature +17 -0
  109. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/bg/features/step_definitons/calculator_steps.rb +24 -0
  110. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/bg/features/support/env.rb +5 -0
  111. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/bg/features/support/world.rb +8 -0
  112. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/bg/lib/calculator.rb +24 -0
  113. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ca/Rakefile +6 -0
  114. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ca/features/step_definitons/calculator_steps.rb +21 -0
  115. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ca/features/suma.feature +17 -0
  116. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ca/lib/calculadora.rb +16 -0
  117. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/da/Rakefile +6 -0
  118. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/da/features/sammenlaegning.feature +18 -0
  119. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/da/features/step_definitons/lommeregner_steps.rb +24 -0
  120. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/da/lib/lommeregner.rb +11 -0
  121. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/de/.gitignore +1 -0
  122. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/de/Rakefile +6 -0
  123. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/de/features/addition.feature +17 -0
  124. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/de/features/division.feature +10 -0
  125. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/de/features/step_definitons/calculator_steps.rb +24 -0
  126. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/de/lib/calculator.rb +14 -0
  127. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en/.gitignore +1 -0
  128. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en/Rakefile +6 -0
  129. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en/features/addition.feature +17 -0
  130. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en/features/division.feature +10 -0
  131. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en/features/step_definitons/calculator_steps.rb +24 -0
  132. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en/lib/calculator.rb +14 -0
  133. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en-lol/Rakefile +4 -0
  134. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb +16 -0
  135. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en-lol/features/stuffing.feature +8 -0
  136. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en-lol/features/support/env.rb +7 -0
  137. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en-lol/lib/basket.rb +12 -0
  138. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/en-lol/lib/belly.rb +11 -0
  139. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/eo/.gitignore +1 -0
  140. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/eo/Rakefile +6 -0
  141. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/eo/features/adicio.feature +17 -0
  142. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/eo/features/divido.feature +10 -0
  143. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/eo/features/step_definitons/calculator_steps.rb +24 -0
  144. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/eo/lib/calculator.rb +14 -0
  145. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/es/Rakefile +6 -0
  146. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/es/features/adicion.feature +17 -0
  147. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/es/features/step_definitons/calculador_steps.rb +21 -0
  148. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/es/lib/calculador.rb +14 -0
  149. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/et/Rakefile +6 -0
  150. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/et/features/jagamine.feature +10 -0
  151. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/et/features/liitmine.feature +17 -0
  152. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/et/features/step_definitions/kalkulaator_steps.rb +24 -0
  153. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/et/lib/kalkulaator.rb +14 -0
  154. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fi/.gitignore +1 -0
  155. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fi/Rakefile +6 -0
  156. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fi/features/jakolasku.feature +10 -0
  157. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fi/features/step_definitons/laskin_steps.rb +24 -0
  158. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fi/features/yhteenlasku.feature +17 -0
  159. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fi/lib/laskin.rb +14 -0
  160. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fr/Rakefile +6 -0
  161. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fr/features/addition.feature +18 -0
  162. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fr/features/addition2.feature +17 -0
  163. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fr/features/step_definitions/calculatrice_steps.rb +32 -0
  164. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fr/features/support/env.rb +5 -0
  165. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/fr/lib/calculatrice.rb +10 -0
  166. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/he/Rakefile +6 -0
  167. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/he/features/addition.feature +17 -0
  168. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/he/features/division.feature +10 -0
  169. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/he/features/step_definitons/calculator_steps.rb +24 -0
  170. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/he/lib/calculator.rb +15 -0
  171. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/hu/.gitignore +1 -0
  172. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/hu/Rakefile +6 -0
  173. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/hu/features/osszeadas.feature +17 -0
  174. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/hu/features/osztas.feature +10 -0
  175. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/hu/features/step_definitons/calculator_steps.rb +25 -0
  176. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/hu/lib/calculator.rb +14 -0
  177. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/id/.gitignore +1 -0
  178. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/id/Rakefile +6 -0
  179. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/id/features/addition.feature +17 -0
  180. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/id/features/division.feature +10 -0
  181. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/id/features/step_definitons/calculator_steps.rb +24 -0
  182. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/id/lib/calculator.rb +14 -0
  183. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/it/Rakefile +6 -0
  184. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/it/features/somma.feature +11 -0
  185. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/it/features/step_definitons/calcolatrice_steps.rb +24 -0
  186. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/it/lib/calcolatrice.rb +11 -0
  187. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ja/.gitignore +1 -0
  188. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ja/Rakefile +6 -0
  189. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ja/features/addition.feature +17 -0
  190. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ja/features/division.feature +10 -0
  191. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ja/features/step_definitons/calculator_steps.rb +19 -0
  192. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ja/features/support/env.rb +5 -0
  193. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ja/lib/calculator.rb +14 -0
  194. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ko/.gitignore +1 -0
  195. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ko/Rakefile +6 -0
  196. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ko/features/addition.feature +17 -0
  197. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ko/features/division.feature +11 -0
  198. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ko/features/step_definitons/calculator_steps.rb +24 -0
  199. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ko/lib/calculator.rb +14 -0
  200. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/lt/.gitignore +1 -0
  201. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/lt/Rakefile +6 -0
  202. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/lt/features/addition.feature +17 -0
  203. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/lt/features/division.feature +10 -0
  204. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/lt/features/step_definitons/calculator_steps.rb +24 -0
  205. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/lt/lib/calculator.rb +14 -0
  206. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/lv/Rakefile +6 -0
  207. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/lv/features/addition.feature +17 -0
  208. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/lv/features/division.feature +10 -0
  209. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/lv/features/step_definitons/calculator_steps.rb +24 -0
  210. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/lv/lib/calculator.rb +14 -0
  211. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/no/Rakefile +6 -0
  212. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/no/features/step_definitons/kalkulator_steps.rb +17 -0
  213. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/no/features/summering.feature +19 -0
  214. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/no/features/support/env.rb +6 -0
  215. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/no/lib/kalkulator.rb +11 -0
  216. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pl/.gitignore +1 -0
  217. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pl/Rakefile +6 -0
  218. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pl/features/addition.feature +17 -0
  219. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pl/features/division.feature +10 -0
  220. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pl/features/step_definitons/calculator_steps.rb +24 -0
  221. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pl/features/support/env.rb +5 -0
  222. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pl/lib/calculator.rb +14 -0
  223. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pt/Rakefile +6 -0
  224. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pt/features/adicao.feature +11 -0
  225. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pt/features/step_definitions/calculadora_steps.rb +20 -0
  226. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pt/features/support/env.rb +5 -0
  227. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/pt/lib/calculadora.rb +10 -0
  228. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ro/Rakefile +6 -0
  229. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ro/features/step_definitons/calculator_steps.rb +24 -0
  230. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ro/features/suma.feature +11 -0
  231. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ro/lib/calculator.rb +11 -0
  232. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ru/Rakefile +6 -0
  233. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ru/features/addition.feature +11 -0
  234. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ru/features/consecutive_calculations.feature +17 -0
  235. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ru/features/division.feature +16 -0
  236. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ru/features/step_definitons/calculator_steps.rb +19 -0
  237. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ru/features/support/env.rb +5 -0
  238. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ru/features/support/world.rb +8 -0
  239. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/ru/lib/calculator.rb +24 -0
  240. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sk/.gitignore +1 -0
  241. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sk/Rakefile +6 -0
  242. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sk/features/addition.feature +17 -0
  243. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sk/features/division.feature +10 -0
  244. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sk/features/step_definitons/calculator_steps.rb +24 -0
  245. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sk/lib/calculator.rb +14 -0
  246. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sr-Cyrl/Rakefile +6 -0
  247. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sr-Cyrl/features/sabiranje.feature +18 -0
  248. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sr-Cyrl/features/step_definitons/calculator_steps.rb +20 -0
  249. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sr-Cyrl/features/support/env.rb +5 -0
  250. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sr-Cyrl/lib/calculator.rb +12 -0
  251. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sr-Latn/Rakefile +6 -0
  252. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sr-Latn/features/sabiranje.feature +18 -0
  253. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sr-Latn/features/step_definitons/calculator_steps.rb +24 -0
  254. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sr-Latn/lib/calculator.rb +12 -0
  255. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sv/Rakefile +6 -0
  256. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sv/features/step_definitons/kalkulator_steps.rb +24 -0
  257. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sv/features/summering.feature +18 -0
  258. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/sv/lib/kalkulator.rb +11 -0
  259. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/tr/.gitignore +1 -0
  260. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/tr/Rakefile +6 -0
  261. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/tr/features/bolme.feature +10 -0
  262. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/tr/features/step_definitons/hesap_makinesi_adimlari.rb +24 -0
  263. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/tr/features/toplama.feature +18 -0
  264. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/tr/lib/hesap_makinesi.rb +15 -0
  265. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uk/Rakefile +6 -0
  266. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uk/features/addition.feature +11 -0
  267. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uk/features/consecutive_calculations.feature +17 -0
  268. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uk/features/division.feature +16 -0
  269. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uk/features/step_definitons/calculator_steps.rb +19 -0
  270. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uk/features/support/env.rb +5 -0
  271. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uk/features/support/world.rb +8 -0
  272. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uk/lib/calculator.rb +24 -0
  273. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uz/Rakefile +6 -0
  274. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uz/features/addition.feature +10 -0
  275. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uz/features/consecutive_calculations.feature +17 -0
  276. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uz/features/division.feature +17 -0
  277. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uz/features/step_definitons/calculator_steps.rb +19 -0
  278. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uz/features/support/env.rb +5 -0
  279. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uz/features/support/world.rb +8 -0
  280. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/uz/lib/calculator.rb +24 -0
  281. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/zh-CN/Rakefile +4 -0
  282. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/zh-CN/features/addition.feature +18 -0
  283. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/zh-CN/features/step_definitons/calculator_steps.rb +26 -0
  284. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/zh-CN/lib/calculator.rb +10 -0
  285. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/zh-TW/.gitignore +1 -0
  286. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/zh-TW/Rakefile +4 -0
  287. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/zh-TW/features/addition.feature +17 -0
  288. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/zh-TW/features/division.feature +11 -0
  289. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/zh-TW/features/step_definitons/calculator_steps.rb +24 -0
  290. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/i18n/zh-TW/lib/calculator.rb +14 -0
  291. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/python/README.textile +7 -0
  292. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/python/Rakefile +4 -0
  293. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/python/features/fibonacci.feature +19 -0
  294. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/python/features/step_definitions/fib_steps.py +11 -0
  295. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/python/lib/.gitignore +1 -0
  296. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/python/lib/fib.py +7 -0
  297. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ramaze/README.textile +7 -0
  298. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ramaze/Rakefile +6 -0
  299. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ramaze/app.rb +21 -0
  300. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ramaze/features/add.feature +11 -0
  301. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ramaze/features/step_definitions/add_steps.rb +15 -0
  302. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ramaze/features/support/env.rb +32 -0
  303. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ramaze/layout/default.html.erb +8 -0
  304. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ramaze/view/index.html.erb +5 -0
  305. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/rspec_doubles/Rakefile +4 -0
  306. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/rspec_doubles/features/mocking.feature +9 -0
  307. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/rspec_doubles/features/step_definitions/calvin_steps.rb +19 -0
  308. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/rspec_doubles/features/support/env.rb +12 -0
  309. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ruby2python/README.textile +7 -0
  310. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ruby2python/Rakefile +4 -0
  311. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ruby2python/features/fibonacci.feature +19 -0
  312. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ruby2python/features/step_definitions/fib_steps.rb +7 -0
  313. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ruby2python/features/support/env.rb +21 -0
  314. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ruby2python/lib/.gitignore +1 -0
  315. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/ruby2python/lib/fib.py +7 -0
  316. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/sinatra/README.textile +13 -0
  317. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/sinatra/Rakefile +6 -0
  318. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/sinatra/app.rb +14 -0
  319. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/sinatra/features/add.feature +11 -0
  320. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/sinatra/features/step_definitions/add_steps.rb +15 -0
  321. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/sinatra/features/support/env.rb +13 -0
  322. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/sinatra/views/add.erb +7 -0
  323. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/sinatra/views/layout.erb +8 -0
  324. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/tcl/README.textile +11 -0
  325. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/tcl/Rakefile +6 -0
  326. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/tcl/features/fibonnacci.feature +17 -0
  327. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/tcl/features/step_definitions/fib_steps.rb +7 -0
  328. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/tcl/features/support/env.rb +6 -0
  329. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/tcl/src/fib.tcl +3 -0
  330. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/test_unit/Rakefile +6 -0
  331. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/test_unit/features/step_definitions/test_unit_steps.rb +23 -0
  332. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/test_unit/features/test_unit.feature +9 -0
  333. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/v8/Rakefile +6 -0
  334. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/v8/features/fibonacci.feature +43 -0
  335. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/v8/features/step_definitions/fib_steps.js +49 -0
  336. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/v8/features/support/env.js +14 -0
  337. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/v8/lib/fibonacci.js +19 -0
  338. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/watir/.gitignore +2 -0
  339. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/watir/README.textile +16 -0
  340. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/watir/Rakefile +12 -0
  341. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/watir/cucumber.yml +1 -0
  342. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/watir/features/search.feature +12 -0
  343. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/watir/features/step_definitions/search_steps.rb +26 -0
  344. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/watir/features/support/env.rb +32 -0
  345. data/bundler/ruby/1.8/gems/cucumber-0.9.4/examples/watir/features/support/screenshots.rb +47 -0
  346. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/announce.feature +164 -0
  347. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/api/list_step_defs_as_json.feature +50 -0
  348. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/api/run_cli_main_with_existing_runtime.feature +34 -0
  349. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/around_hooks.feature +232 -0
  350. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/background.feature +309 -0
  351. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/bug_371.feature +32 -0
  352. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/bug_464.feature +16 -0
  353. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/bug_475.feature +42 -0
  354. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/bug_585_tab_indentation.feature +22 -0
  355. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/bug_600.feature +67 -0
  356. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/call_steps_from_stepdefs.feature +154 -0
  357. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/cucumber_cli.feature +591 -0
  358. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/cucumber_cli_outlines.feature +117 -0
  359. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/custom_formatter.feature +111 -0
  360. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/default_snippets.feature +42 -0
  361. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/diffing.feature +25 -0
  362. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/drb_server_integration.feature +174 -0
  363. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/exception_in_after_block.feature +127 -0
  364. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/exception_in_after_step_block.feature +104 -0
  365. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/exception_in_before_block.feature +98 -0
  366. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/exclude_files.feature +20 -0
  367. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/expand.feature +60 -0
  368. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/html_formatter/a.html +582 -0
  369. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/html_formatter.feature +8 -0
  370. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/json_formatter.feature +333 -0
  371. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/junit_formatter.feature +92 -0
  372. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/language_from_header.feature +30 -0
  373. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/language_help.feature +78 -0
  374. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/listener_debugger_formatter.feature +42 -0
  375. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/multiline_names.feature +44 -0
  376. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/negative_tagged_hooks.feature +60 -0
  377. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/post_configuration_hook.feature +50 -0
  378. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/profiles.feature +126 -0
  379. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/rake_task.feature +152 -0
  380. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/report_called_undefined_steps.feature +34 -0
  381. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/rerun_formatter.feature +45 -0
  382. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/simplest.feature +11 -0
  383. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/snippet.feature +23 -0
  384. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/snippets_when_using_star_keyword.feature +36 -0
  385. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/step_definitions/cucumber_steps.rb +166 -0
  386. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/step_definitions/extra_steps.rb +2 -0
  387. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/step_definitions/simplest_steps.rb +3 -0
  388. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/step_definitions/wire_steps.rb +33 -0
  389. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/support/env.rb +157 -0
  390. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/support/env.rb.simplest +7 -0
  391. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/support/fake_wire_server.rb +77 -0
  392. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/table_diffing.feature +45 -0
  393. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/table_mapping.feature +34 -0
  394. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/tag_logic.feature +258 -0
  395. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/transform.feature +245 -0
  396. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/unicode_table.feature +35 -0
  397. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/usage_and_stepdefs_formatter.feature +169 -0
  398. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/wire_protocol.feature +332 -0
  399. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/wire_protocol_table_diffing.feature +119 -0
  400. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/wire_protocol_tags.feature +87 -0
  401. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/wire_protocol_timeouts.feature +63 -0
  402. data/bundler/ruby/1.8/gems/cucumber-0.9.4/features/work_in_progress.feature +156 -0
  403. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/json/features/background.feature +7 -0
  404. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/json/features/embed.feature +4 -0
  405. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/json/features/one_passing_one_failing.feature +11 -0
  406. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/json/features/pystring.feature +8 -0
  407. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/json/features/step_definitions/steps.rb +32 -0
  408. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/json/features/tables.feature +13 -0
  409. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/junit/features/one_passing_one_failing.feature +8 -0
  410. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/junit/features/pending.feature +5 -0
  411. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/junit/features/step_definitions/steps.rb +11 -0
  412. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/.gitignore +1 -0
  413. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/README.textile +6 -0
  414. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/Rakefile +6 -0
  415. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/background/background_tagged_before_on_outline.feature +12 -0
  416. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/background/background_with_name.feature +7 -0
  417. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/background/failing_background.feature +12 -0
  418. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/background/failing_background_after_success.feature +11 -0
  419. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/background/multiline_args_background.feature +32 -0
  420. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/background/passing_background.feature +10 -0
  421. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/background/pending_background.feature +10 -0
  422. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/background/scenario_outline_failing_background.feature +16 -0
  423. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/background/scenario_outline_passing_background.feature +16 -0
  424. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/call_undefined_step_from_step_def.feature +7 -0
  425. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/failing_expectation.feature +4 -0
  426. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/lots_of_undefined.feature +8 -0
  427. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/multiline_name.feature +27 -0
  428. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/outline_sample.feature +15 -0
  429. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/sample.feature +21 -0
  430. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/search_sample.feature +32 -0
  431. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/step_definitions/sample_steps.rb +84 -0
  432. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/support/env.rb +18 -0
  433. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/tags_sample.feature +17 -0
  434. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/tons_of_cukes.feature +52 -0
  435. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/features/undefined_multiline_args.feature +12 -0
  436. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/self_test/list-of-features.txt +1 -0
  437. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/steps_library/features/step_definitions/steps_lib1.rb +8 -0
  438. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/steps_library/features/step_definitions/steps_lib2.rb +8 -0
  439. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/Rakefile +20 -0
  440. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/172.feature +28 -0
  441. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/177/1.feature +28 -0
  442. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/177/2.feature +20 -0
  443. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/177/3.feature +18 -0
  444. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/180.feature +7 -0
  445. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/229/tagged_hooks.feature +8 -0
  446. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/229/tagged_hooks.rb +14 -0
  447. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/236.feature +13 -0
  448. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/241.feature +12 -0
  449. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/246.feature +4 -0
  450. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/248.feature +11 -0
  451. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/270/back.feature +14 -0
  452. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/270/back.steps.rb +14 -0
  453. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/272/hooks.feature +26 -0
  454. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/272/hooks_steps.rb +53 -0
  455. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/279/py_string_indent.feature +25 -0
  456. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/279/py_string_indent.steps.rb +12 -0
  457. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/279/wrong.feature_ +11 -0
  458. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/301/filter_background_tagged_hooks.feature +6 -0
  459. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/301/filter_background_tagged_hooks_steps.rb +12 -0
  460. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/306/only_background.feature +4 -0
  461. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/around_timeout.feature +6 -0
  462. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/gherkin_67.feature +12 -0
  463. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/gherkin_68.feature +4 -0
  464. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/half_manual.feature +11 -0
  465. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/lib/eatting_machine.rb +18 -0
  466. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/lib/pantry.rb +20 -0
  467. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/scenario_outline.feature +95 -0
  468. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/step_definitons/246_steps.rb +3 -0
  469. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/step_definitons/248_steps.rb +15 -0
  470. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/step_definitons/around_timeout_steps.rb +9 -0
  471. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/step_definitons/half_manual_steps.rb +11 -0
  472. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/step_definitons/scenario_outline_steps.rb +42 -0
  473. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/step_definitons/tickets_steps.rb +88 -0
  474. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/table_diffing.feature +13 -0
  475. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features/tickets.feature +28 -0
  476. data/bundler/ruby/1.8/gems/cucumber-0.9.4/fixtures/tickets/features.html +138 -0
  477. data/bundler/ruby/1.8/gems/cucumber-0.9.4/gem_tasks/contributors.rake +15 -0
  478. data/bundler/ruby/1.8/gems/cucumber-0.9.4/gem_tasks/environment.rake +7 -0
  479. data/bundler/ruby/1.8/gems/cucumber-0.9.4/gem_tasks/examples.rake +11 -0
  480. data/bundler/ruby/1.8/gems/cucumber-0.9.4/gem_tasks/features.rake +14 -0
  481. data/bundler/ruby/1.8/gems/cucumber-0.9.4/gem_tasks/fix_cr_lf.rake +10 -0
  482. data/bundler/ruby/1.8/gems/cucumber-0.9.4/gem_tasks/flog.rake +4 -0
  483. data/bundler/ruby/1.8/gems/cucumber-0.9.4/gem_tasks/rspec.rake +8 -0
  484. data/bundler/ruby/1.8/gems/cucumber-0.9.4/gem_tasks/sass.rake +4 -0
  485. data/bundler/ruby/1.8/gems/cucumber-0.9.4/gem_tasks/sdoc.rake +12 -0
  486. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/README.rdoc +12 -0
  487. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/autotest/cucumber.rb +6 -0
  488. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/autotest/cucumber_mixin.rb +135 -0
  489. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/autotest/cucumber_rails.rb +6 -0
  490. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/autotest/cucumber_rails_rspec.rb +6 -0
  491. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/autotest/cucumber_rails_rspec2.rb +6 -0
  492. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/autotest/cucumber_rspec.rb +6 -0
  493. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/autotest/cucumber_rspec2.rb +6 -0
  494. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/autotest/discover.rb +9 -0
  495. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/background.rb +99 -0
  496. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/comment.rb +31 -0
  497. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/examples.rb +38 -0
  498. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/feature.rb +98 -0
  499. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/feature_element.rb +73 -0
  500. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/features.rb +35 -0
  501. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/outline_table.rb +187 -0
  502. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/py_string.rb +80 -0
  503. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/scenario.rb +117 -0
  504. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/scenario_outline.rb +117 -0
  505. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/step.rb +121 -0
  506. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/step_collection.rb +76 -0
  507. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/step_invocation.rb +195 -0
  508. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/table.rb +688 -0
  509. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/tags.rb +28 -0
  510. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/tree_walker.rb +222 -0
  511. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast/visitor.rb +11 -0
  512. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/ast.rb +30 -0
  513. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/broadcaster.rb +13 -0
  514. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/cli/configuration.rb +209 -0
  515. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/cli/drb_client.rb +43 -0
  516. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/cli/main.rb +83 -0
  517. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/cli/options.rb +407 -0
  518. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/cli/profile_loader.rb +91 -0
  519. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/configuration.rb +49 -0
  520. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/constantize.rb +34 -0
  521. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/core_ext/disable_mini_unit_autorun.rb +14 -0
  522. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/core_ext/instance_exec.rb +98 -0
  523. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/core_ext/proc.rb +34 -0
  524. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/core_ext/string.rb +9 -0
  525. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/errors.rb +40 -0
  526. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/feature_file.rb +62 -0
  527. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/ansicolor.rb +162 -0
  528. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/color_io.rb +23 -0
  529. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/console.rb +177 -0
  530. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/cucumber.css +275 -0
  531. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/cucumber.sass +271 -0
  532. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/debug.rb +33 -0
  533. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/duration.rb +13 -0
  534. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/html.rb +644 -0
  535. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/io.rb +33 -0
  536. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/jquery-min.js +154 -0
  537. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/json.rb +166 -0
  538. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/json_pretty.rb +14 -0
  539. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/junit.rb +150 -0
  540. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/ordered_xml_markup.rb +24 -0
  541. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/pdf.rb +244 -0
  542. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/pretty.rb +237 -0
  543. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/progress.rb +92 -0
  544. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/rerun.rb +55 -0
  545. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/stepdefs.rb +14 -0
  546. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/steps.rb +49 -0
  547. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/summary.rb +35 -0
  548. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/tag_cloud.rb +35 -0
  549. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/unicode.rb +58 -0
  550. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/formatter/usage.rb +127 -0
  551. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/js_support/js_dsl.js +57 -0
  552. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/js_support/js_language.rb +185 -0
  553. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/js_support/js_snippets.rb +27 -0
  554. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/language_support/language_methods.rb +129 -0
  555. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/language_support.rb +30 -0
  556. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/parser/gherkin_builder.rb +124 -0
  557. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/parser.rb +2 -0
  558. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/platform.rb +29 -0
  559. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/py_support/py_dsl.py +10 -0
  560. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/py_support/py_language.py +10 -0
  561. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/py_support/py_language.rb +84 -0
  562. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/rake/task.rb +170 -0
  563. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/rb_support/rb_dsl.rb +112 -0
  564. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/rb_support/rb_hook.rb +18 -0
  565. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/rb_support/rb_language.rb +195 -0
  566. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/rb_support/rb_step_definition.rb +82 -0
  567. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/rb_support/rb_transform.rb +37 -0
  568. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/rb_support/rb_world.rb +95 -0
  569. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/rb_support/regexp_argument_matcher.rb +21 -0
  570. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/rspec/disable_option_parser.rb +23 -0
  571. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/rspec/doubles.rb +16 -0
  572. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/runtime/features_loader.rb +62 -0
  573. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/runtime/for_programming_languages.rb +65 -0
  574. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/runtime/results.rb +64 -0
  575. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/runtime/support_code.rb +203 -0
  576. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/runtime/user_interface.rb +80 -0
  577. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/runtime.rb +145 -0
  578. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/step_argument.rb +9 -0
  579. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/step_definition_light.rb +20 -0
  580. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/step_definitions.rb +14 -0
  581. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/step_match.rb +111 -0
  582. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/step_mother.rb +10 -0
  583. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/wire_support/configuration.rb +30 -0
  584. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/wire_support/connection.rb +55 -0
  585. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/wire_support/request_handler.rb +32 -0
  586. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/wire_support/wire_exception.rb +32 -0
  587. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/wire_support/wire_language.rb +54 -0
  588. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/wire_support/wire_packet.rb +32 -0
  589. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/wire_support/wire_protocol/requests.rb +123 -0
  590. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/wire_support/wire_protocol.rb +44 -0
  591. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber/wire_support/wire_step_definition.rb +26 -0
  592. data/bundler/ruby/1.8/gems/cucumber-0.9.4/lib/cucumber.rb +27 -0
  593. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/ast/background_spec.rb +110 -0
  594. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/ast/feature_factory.rb +60 -0
  595. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/ast/feature_spec.rb +63 -0
  596. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/ast/outline_table_spec.rb +21 -0
  597. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/ast/py_string_spec.rb +40 -0
  598. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/ast/scenario_outline_spec.rb +65 -0
  599. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/ast/scenario_spec.rb +43 -0
  600. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/ast/step_spec.rb +66 -0
  601. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/ast/table_spec.rb +465 -0
  602. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/ast/tree_walker_spec.rb +11 -0
  603. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/broadcaster_spec.rb +15 -0
  604. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/cli/configuration_spec.rb +431 -0
  605. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/cli/drb_client_spec.rb +77 -0
  606. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/cli/main_spec.rb +134 -0
  607. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/cli/options_spec.rb +351 -0
  608. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/cli/profile_loader_spec.rb +35 -0
  609. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/configuration_spec.rb +23 -0
  610. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/core_ext/proc_spec.rb +68 -0
  611. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/formatter/ansicolor_spec.rb +31 -0
  612. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/formatter/color_io_spec.rb +29 -0
  613. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/formatter/duration_spec.rb +22 -0
  614. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/formatter/html_spec.rb +258 -0
  615. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/formatter/junit_spec.rb +111 -0
  616. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/formatter/progress_spec.rb +38 -0
  617. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/formatter/spec_helper.rb +51 -0
  618. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/rb_support/rb_language_spec.rb +283 -0
  619. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/rb_support/rb_step_definition_spec.rb +99 -0
  620. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/rb_support/regexp_argument_matcher_spec.rb +18 -0
  621. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/runtime/support_code_spec.rb +112 -0
  622. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/runtime_spec.rb +41 -0
  623. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/sell_cucumbers.feature +19 -0
  624. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/step_match_spec.rb +69 -0
  625. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/wire_support/configuration_spec.rb +51 -0
  626. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/wire_support/connection_spec.rb +46 -0
  627. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/wire_support/wire_exception_spec.rb +44 -0
  628. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/wire_support/wire_language_spec.rb +47 -0
  629. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/wire_support/wire_packet_spec.rb +40 -0
  630. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/wire_support/wire_step_definition_spec.rb +20 -0
  631. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/cucumber/world/pending_spec.rb +46 -0
  632. data/bundler/ruby/1.8/gems/cucumber-0.9.4/spec/spec_helper.rb +10 -0
  633. data/bundler/ruby/1.8/gems/gherkin-2.2.9/.gitattributes +2 -0
  634. data/bundler/ruby/1.8/gems/gherkin-2.2.9/.gitignore +11 -0
  635. data/bundler/ruby/1.8/gems/gherkin-2.2.9/.mailmap +2 -0
  636. data/bundler/ruby/1.8/gems/gherkin-2.2.9/.rspec +1 -0
  637. data/bundler/ruby/1.8/gems/gherkin-2.2.9/.rvmrc +1 -0
  638. data/bundler/ruby/1.8/gems/gherkin-2.2.9/Gemfile +5 -0
  639. data/bundler/ruby/1.8/gems/gherkin-2.2.9/History.txt +327 -0
  640. data/bundler/ruby/1.8/gems/gherkin-2.2.9/LICENSE +20 -0
  641. data/bundler/ruby/1.8/gems/gherkin-2.2.9/README.rdoc +59 -0
  642. data/bundler/ruby/1.8/gems/gherkin-2.2.9/Rakefile +16 -0
  643. data/bundler/ruby/1.8/gems/gherkin-2.2.9/VERSION +1 -0
  644. data/bundler/ruby/1.8/gems/gherkin-2.2.9/build_native_gems.sh +8 -0
  645. data/bundler/ruby/1.8/gems/gherkin-2.2.9/cucumber.yml +3 -0
  646. data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/escaped_pipes.feature +8 -0
  647. data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/feature_parser.feature +237 -0
  648. data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/json_formatter.feature +278 -0
  649. data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/json_parser.feature +318 -0
  650. data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/native_lexer.feature +19 -0
  651. data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/parser_with_native_lexer.feature +205 -0
  652. data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/pretty_formatter.feature +15 -0
  653. data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/step_definitions/eyeball_steps.rb +3 -0
  654. data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/step_definitions/gherkin_steps.rb +29 -0
  655. data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/step_definitions/json_formatter_steps.rb +28 -0
  656. data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/step_definitions/json_parser_steps.rb +22 -0
  657. data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/step_definitions/pretty_formatter_steps.rb +84 -0
  658. data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/steps_parser.feature +46 -0
  659. data/bundler/ruby/1.8/gems/gherkin-2.2.9/features/support/env.rb +39 -0
  660. data/bundler/ruby/1.8/gems/gherkin-2.2.9/gherkin.gemspec +58 -0
  661. data/bundler/ruby/1.8/gems/gherkin-2.2.9/ikvm/.gitignore +3 -0
  662. data/bundler/ruby/1.8/gems/gherkin-2.2.9/java/.gitignore +5 -0
  663. data/bundler/ruby/1.8/gems/gherkin-2.2.9/java/src/main/java/gherkin/lexer/i18n/.gitignore +1 -0
  664. data/bundler/ruby/1.8/gems/gherkin-2.2.9/java/src/main/resources/gherkin/.gitignore +1 -0
  665. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/.gitignore +4 -0
  666. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/c_lexer.rb +17 -0
  667. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/argument.rb +15 -0
  668. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/colors.rb +116 -0
  669. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/escaping.rb +15 -0
  670. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/filter_formatter.rb +136 -0
  671. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/json_formatter.rb +72 -0
  672. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/line_filter.rb +26 -0
  673. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/model.rb +239 -0
  674. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/pretty_formatter.rb +217 -0
  675. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/regexp_filter.rb +21 -0
  676. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/step_printer.rb +17 -0
  677. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/tag_count_formatter.rb +47 -0
  678. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/formatter/tag_filter.rb +19 -0
  679. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/i18n.rb +180 -0
  680. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/i18n.yml +601 -0
  681. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/json_parser.rb +88 -0
  682. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/lexer/i18n_lexer.rb +47 -0
  683. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/listener/event.rb +45 -0
  684. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/listener/formatter_listener.rb +113 -0
  685. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/native/ikvm.rb +55 -0
  686. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/native/java.rb +55 -0
  687. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/native/null.rb +9 -0
  688. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/native.rb +7 -0
  689. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/parser/meta.txt +5 -0
  690. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/parser/parser.rb +164 -0
  691. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/parser/root.txt +11 -0
  692. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/parser/steps.txt +4 -0
  693. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/rb_lexer/.gitignore +1 -0
  694. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/rb_lexer/README.rdoc +8 -0
  695. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/rb_lexer.rb +8 -0
  696. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/rubify.rb +24 -0
  697. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/tag_expression.rb +62 -0
  698. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin/version.rb +3 -0
  699. data/bundler/ruby/1.8/gems/gherkin-2.2.9/lib/gherkin.rb +2 -0
  700. data/bundler/ruby/1.8/gems/gherkin-2.2.9/ragel/i18n/.gitignore +1 -0
  701. data/bundler/ruby/1.8/gems/gherkin-2.2.9/ragel/lexer.c.rl.erb +459 -0
  702. data/bundler/ruby/1.8/gems/gherkin-2.2.9/ragel/lexer.java.rl.erb +224 -0
  703. data/bundler/ruby/1.8/gems/gherkin-2.2.9/ragel/lexer.rb.rl.erb +179 -0
  704. data/bundler/ruby/1.8/gems/gherkin-2.2.9/ragel/lexer_common.rl.erb +50 -0
  705. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/c_lexer_spec.rb +21 -0
  706. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/1.feature +8 -0
  707. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/comments_in_table.feature +9 -0
  708. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/complex.feature +45 -0
  709. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/complex.json +143 -0
  710. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/complex_for_filtering.feature +60 -0
  711. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/complex_with_tags.feature +61 -0
  712. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/dos_line_endings.feature +45 -0
  713. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/hantu_pisang.feature +35 -0
  714. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/i18n_fr.feature +14 -0
  715. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/i18n_no.feature +7 -0
  716. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/i18n_zh-CN.feature +9 -0
  717. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/scenario_outline_with_tags.feature +13 -0
  718. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/scenario_without_steps.feature +5 -0
  719. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/simple_with_comments.feature +7 -0
  720. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/simple_with_tags.feature +11 -0
  721. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/fixtures/with_bom.feature +3 -0
  722. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/formatter/colors_spec.rb +18 -0
  723. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/formatter/filter_formatter_spec.rb +167 -0
  724. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/formatter/model_spec.rb +15 -0
  725. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/formatter/pretty_formatter_spec.rb +147 -0
  726. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/formatter/spaces.feature +9 -0
  727. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/formatter/step_printer_spec.rb +55 -0
  728. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/formatter/tabs.feature +9 -0
  729. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/formatter/tag_count_formatter_spec.rb +30 -0
  730. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/i18n_spec.rb +153 -0
  731. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/java_lexer_spec.rb +20 -0
  732. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/java_libs.rb +13 -0
  733. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/json.rb +5 -0
  734. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/json_parser_spec.rb +67 -0
  735. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/lexer/i18n_lexer_spec.rb +43 -0
  736. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/output_stream_string_io.rb +20 -0
  737. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/parser/parser_spec.rb +16 -0
  738. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/rb_lexer_spec.rb +19 -0
  739. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/sexp_recorder.rb +56 -0
  740. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/shared/lexer_group.rb +592 -0
  741. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/shared/py_string_group.rb +153 -0
  742. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/shared/row_group.rb +120 -0
  743. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/shared/tags_group.rb +54 -0
  744. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/gherkin/tag_expression_spec.rb +137 -0
  745. data/bundler/ruby/1.8/gems/gherkin-2.2.9/spec/spec_helper.rb +69 -0
  746. data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/bench/feature_builder.rb +49 -0
  747. data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/bench/generated/.gitignore +1 -0
  748. data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/bench/null_listener.rb +4 -0
  749. data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/bench.rake +184 -0
  750. data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/compile.rake +102 -0
  751. data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/cucumber.rake +18 -0
  752. data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/gems.rake +42 -0
  753. data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/ikvm.rake +54 -0
  754. data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/ragel_task.rb +70 -0
  755. data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/rdoc.rake +9 -0
  756. data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/release.rake +30 -0
  757. data/bundler/ruby/1.8/gems/gherkin-2.2.9/tasks/rspec.rake +8 -0
  758. data/bundler/ruby/1.8/gems/json-1.4.6/.require_paths +4 -0
  759. data/bundler/ruby/1.8/gems/json-1.4.6/CHANGES +179 -0
  760. data/bundler/ruby/1.8/gems/json-1.4.6/COPYING +58 -0
  761. data/bundler/ruby/1.8/gems/json-1.4.6/GPL +340 -0
  762. data/bundler/ruby/1.8/gems/json-1.4.6/README +356 -0
  763. data/bundler/ruby/1.8/gems/json-1.4.6/Rakefile +292 -0
  764. data/bundler/ruby/1.8/gems/json-1.4.6/TODO +1 -0
  765. data/bundler/ruby/1.8/gems/json-1.4.6/VERSION +1 -0
  766. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkComparison.log +52 -0
  767. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast-autocorrelation.dat +1000 -0
  768. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_fast.dat +1001 -0
  769. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty-autocorrelation.dat +900 -0
  770. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_pretty.dat +901 -0
  771. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe-autocorrelation.dat +1000 -0
  772. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt#generator_safe.dat +1001 -0
  773. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkExt.log +261 -0
  774. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast-autocorrelation.dat +1000 -0
  775. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_fast.dat +1001 -0
  776. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty-autocorrelation.dat +1000 -0
  777. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_pretty.dat +1001 -0
  778. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe-autocorrelation.dat +1000 -0
  779. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure#generator_safe.dat +1001 -0
  780. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkPure.log +262 -0
  781. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator-autocorrelation.dat +1000 -0
  782. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails#generator.dat +1001 -0
  783. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/GeneratorBenchmarkRails.log +82 -0
  784. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkComparison.log +34 -0
  785. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser-autocorrelation.dat +900 -0
  786. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt#parser.dat +901 -0
  787. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkExt.log +81 -0
  788. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser-autocorrelation.dat +1000 -0
  789. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure#parser.dat +1001 -0
  790. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkPure.log +82 -0
  791. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser-autocorrelation.dat +1000 -0
  792. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails#parser.dat +1001 -0
  793. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkRails.log +82 -0
  794. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser-autocorrelation.dat +1000 -0
  795. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML#parser.dat +1001 -0
  796. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/data-p4-3GHz-ruby18/ParserBenchmarkYAML.log +82 -0
  797. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/generator2_benchmark.rb +222 -0
  798. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/generator_benchmark.rb +224 -0
  799. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/ohai.json +1216 -0
  800. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/ohai.ruby +1 -0
  801. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/parser2_benchmark.rb +251 -0
  802. data/bundler/ruby/1.8/gems/json-1.4.6/benchmarks/parser_benchmark.rb +259 -0
  803. data/bundler/ruby/1.8/gems/json-1.4.6/bin/edit_json.rb +9 -0
  804. data/bundler/ruby/1.8/gems/json-1.4.6/bin/prettify_json.rb +75 -0
  805. data/bundler/ruby/1.8/gems/json-1.4.6/data/example.json +1 -0
  806. data/bundler/ruby/1.8/gems/json-1.4.6/data/index.html +38 -0
  807. data/bundler/ruby/1.8/gems/json-1.4.6/data/prototype.js +4184 -0
  808. data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/generator/Makefile +157 -0
  809. data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/generator/extconf.rb +20 -0
  810. data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/generator/generator.bundle +0 -0
  811. data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/generator/generator.c +1417 -0
  812. data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/generator/generator.h +197 -0
  813. data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/generator/generator.o +0 -0
  814. data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/generator/mkmf.log +10 -0
  815. data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/json/ext/generator.bundle +0 -0
  816. data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/json/ext/parser.bundle +0 -0
  817. data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/parser/Makefile +157 -0
  818. data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/parser/extconf.rb +15 -0
  819. data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/parser/mkmf.log +10 -0
  820. data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/parser/parser.bundle +0 -0
  821. data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/parser/parser.c +1935 -0
  822. data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/parser/parser.h +71 -0
  823. data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/parser/parser.o +0 -0
  824. data/bundler/ruby/1.8/gems/json-1.4.6/ext/json/ext/parser/parser.rl +792 -0
  825. data/bundler/ruby/1.8/gems/json-1.4.6/install.rb +26 -0
  826. data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/Array.xpm +21 -0
  827. data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/FalseClass.xpm +21 -0
  828. data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/Hash.xpm +21 -0
  829. data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/Key.xpm +73 -0
  830. data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/NilClass.xpm +21 -0
  831. data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/Numeric.xpm +28 -0
  832. data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/String.xpm +96 -0
  833. data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/TrueClass.xpm +21 -0
  834. data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/add/core.rb +148 -0
  835. data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/add/rails.rb +58 -0
  836. data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/common.rb +391 -0
  837. data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/editor.rb +1371 -0
  838. data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/ext.rb +15 -0
  839. data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/json.xpm +1499 -0
  840. data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/pure/generator.rb +439 -0
  841. data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/pure/parser.rb +309 -0
  842. data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/pure.rb +77 -0
  843. data/bundler/ruby/1.8/gems/json-1.4.6/lib/json/version.rb +8 -0
  844. data/bundler/ruby/1.8/gems/json-1.4.6/lib/json.rb +10 -0
  845. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail1.json +1 -0
  846. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail10.json +1 -0
  847. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail11.json +1 -0
  848. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail12.json +1 -0
  849. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail13.json +1 -0
  850. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail14.json +1 -0
  851. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail18.json +1 -0
  852. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail19.json +1 -0
  853. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail2.json +1 -0
  854. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail20.json +1 -0
  855. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail21.json +1 -0
  856. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail22.json +1 -0
  857. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail23.json +1 -0
  858. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail24.json +1 -0
  859. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail25.json +1 -0
  860. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail27.json +2 -0
  861. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail28.json +2 -0
  862. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail3.json +1 -0
  863. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail4.json +1 -0
  864. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail5.json +1 -0
  865. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail6.json +1 -0
  866. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail7.json +1 -0
  867. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail8.json +1 -0
  868. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/fail9.json +1 -0
  869. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/pass1.json +56 -0
  870. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/pass15.json +1 -0
  871. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/pass16.json +1 -0
  872. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/pass17.json +1 -0
  873. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/pass2.json +1 -0
  874. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/pass26.json +1 -0
  875. data/bundler/ruby/1.8/gems/json-1.4.6/tests/fixtures/pass3.json +6 -0
  876. data/bundler/ruby/1.8/gems/json-1.4.6/tests/test_json.rb +394 -0
  877. data/bundler/ruby/1.8/gems/json-1.4.6/tests/test_json_addition.rb +162 -0
  878. data/bundler/ruby/1.8/gems/json-1.4.6/tests/test_json_encoding.rb +68 -0
  879. data/bundler/ruby/1.8/gems/json-1.4.6/tests/test_json_fixtures.rb +34 -0
  880. data/bundler/ruby/1.8/gems/json-1.4.6/tests/test_json_generate.rb +181 -0
  881. data/bundler/ruby/1.8/gems/json-1.4.6/tests/test_json_rails.rb +144 -0
  882. data/bundler/ruby/1.8/gems/json-1.4.6/tests/test_json_unicode.rb +76 -0
  883. data/bundler/ruby/1.8/gems/json-1.4.6/tools/fuzz.rb +139 -0
  884. data/bundler/ruby/1.8/gems/json-1.4.6/tools/server.rb +61 -0
  885. data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/CHANGES +28 -0
  886. data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/COPYING +340 -0
  887. data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/README +137 -0
  888. data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/Rakefile +88 -0
  889. data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/VERSION +1 -0
  890. data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/bin/cdiff +19 -0
  891. data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/bin/decolor +12 -0
  892. data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/examples/example.rb +90 -0
  893. data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/install.rb +15 -0
  894. data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/lib/term/ansicolor/version.rb +10 -0
  895. data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/lib/term/ansicolor.rb +102 -0
  896. data/bundler/ruby/1.8/gems/term-ansicolor-1.0.5/tests/ansicolor_test.rb +66 -0
  897. data/bundler/ruby/1.8/specifications/aruba-0.2.6.gemspec +39 -0
  898. data/bundler/ruby/1.8/specifications/autotest-4.4.5.gemspec +28 -0
  899. data/bundler/ruby/1.8/specifications/background_process-1.2.gemspec +31 -0
  900. data/bundler/ruby/1.8/specifications/builder-2.1.2.gemspec +33 -0
  901. data/bundler/ruby/1.8/specifications/cucumber-0.9.4.gemspec +78 -0
  902. data/bundler/ruby/1.8/specifications/gherkin-2.2.9.gemspec +53 -0
  903. data/bundler/ruby/1.8/specifications/json-1.4.6.gemspec +34 -0
  904. data/bundler/ruby/1.8/specifications/term-ansicolor-1.0.5.gemspec +32 -0
  905. data/cucumber.yml +6 -0
  906. data/features/init.feature +31 -0
  907. data/features/install.feature +25 -0
  908. data/features/list.feature +6 -0
  909. data/features/step_definitions/command_steps.rb +9 -0
  910. data/features/step_definitions/environment_steps.rb +31 -0
  911. data/features/step_definitions/file_check_steps.rb +16 -0
  912. data/features/step_definitions/message_steps.rb +28 -0
  913. data/features/step_definitions/plugin_steps.rb +4 -0
  914. data/features/support/env.rb +20 -0
  915. data/features/support/hook.rb +8 -0
  916. data/features/support/stubs.rb +0 -0
  917. data/features/uninstall.feature +13 -0
  918. data/lib/vim-jar/cli.rb +1 -25
  919. data/lib/vim-jar/config.rb +65 -11
  920. data/lib/vim-jar/pathogen/pathogen_v1.2.vim +139 -0
  921. data/lib/vim-jar/plugin.rb +2 -0
  922. data/lib/vim-jar/plugins.yml +5 -0
  923. data/lib/vim-jar/version.rb +1 -1
  924. data/spec/vim-jar/config_spec.rb +33 -4
  925. data/vim-jar.gemspec +4 -0
  926. metadata +972 -5
@@ -0,0 +1,533 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xml:lang="en-US" lang="en-US" xmlns=
4
+ "http://www.w3.org/1999/xhtml">
5
+ <head>
6
+ <title>PH7 - Getting started with Autotest - Continuous
7
+ Testing</title>
8
+ <link href="Article.css" media="all" rel="Stylesheet" type="text/css" />
9
+ </head>
10
+ <body>
11
+ <div class="content">
12
+ <h1>NOTE: This article was written in 2007. It is out of date.</h1>
13
+ <h1 style="text-align: center;">Getting started with Autotest -
14
+ Continuous Testing</h1>
15
+ <div id="abstract" class="Abstract">
16
+ <p class="first">Why manually run your tests, when the computer can
17
+ do it for you! <a href=
18
+ "http://www.zenspider.com/ZSS/Products/ZenTest/">Autotest</a> is a
19
+ great tool to speed up test-driven development with Ruby or Ruby on
20
+ Rails. Autotest makes your coding session even more productive as
21
+ <strong>it automatically runs a subset of your test suite each time
22
+ you change a file. Autotest is smart -- it figures out which subset
23
+ to run based on the files you've changed.</strong> Think of it as
24
+ <strong><q>Continuous Testing</q></strong>.</p>
25
+ <p>Autotest source code is well-documented (<a href=
26
+ "http://zentest.rubyforge.org/ZenTest/" title=
27
+ "ZenTest documentation">rdoc</a>) but finding a high level overview
28
+ online is a little more challenging. This article will get you up
29
+ and running in no time, so that you may concentrate on writing
30
+ code. <a href="getting_started_with_autotest">Let's get
31
+ started!</a></p>
32
+ </div>
33
+ <h2 id="why_autotest">Why Autotest?</h2>
34
+ <h3 id="continuous_testing">Continuous Testing</h3>
35
+ <p>The cool thing about Autotest is that you have <strong>instant
36
+ feedback on your code</strong> (tests run within a second). Even
37
+ better, <strong>the testing happens on its own</strong> so
38
+ <strong>you no longer have to switch back and forth</strong> from
39
+ the coding context to the testing context anymore (both wise
40
+ cognitively and from a <acronym title="User Interface">UI</acronym>
41
+ perspective). This effortless and immediate feedback on your code
42
+ as well as the automated and unattended test runs are quite similar
43
+ to the characteristics of <a href=
44
+ "http://www.martinfowler.com/articles/continuousIntegration.html"
45
+ title=
46
+ "Martin Fowler's legendary introduction to Continuous Integration">Continuous
47
+ Integration</a> at the team level. However, continuous integration
48
+ concentrates on improving <em>integration</em> at a <em>team</em>
49
+ level while Autotest concentrates on facilitating the
50
+ <em>development</em> for a <em>single</em> developer (or
51
+ programming-pair) <em>before</em> the code gets integrated -- hence
52
+ the term <strong><dfn>Continuous Testing</dfn></strong>.</p>
53
+ <p>As this is highly visual, <strong>have a look at Nuby on Rails'
54
+ <a href="http://topfunky.com/clients/blog/autotest-tm.mov">autotest
55
+ screencast</a></strong>.</p>
56
+ <h3 id="quicker_test_runs">Quicker Test Runs</h3>
57
+ <p>Autotest can also provide <strong>quicker test runs</strong>
58
+ than standard convention since it intelligently monitors the
59
+ changes and only runs the tests that are impacted by these changes.
60
+ In practice this is relevant only for <q>classic</q> Rails
61
+ applications because:</p>
62
+ <ul>
63
+ <li><strong>Rails conventions provide good heuristics</strong> for
64
+ Autotest to decide which tests to run when a file changes. If your
65
+ application does not stick to the classic Rails layout and naming
66
+ conventions the <q>magic</q> does not work so well anymore. In this
67
+ case, it is probably better to have Autotest <a href=
68
+ "getting_started_with_autotest#running_whole_test_suite">run your
69
+ whole test suite for all changes</a>.</li>
70
+ <li>There is value in running a <em>subset</em> of the whole test
71
+ suite <strong>only because running <q>classic</q> Rails unit tests
72
+ can be slow</strong>. This is mostly since Rails approach to unit
73
+ testing is quite unconventional and involves database access. This
74
+ approach goes against general <q>agile</q> wisdom that you should
75
+ make sure your unit tests run quickly, and do not have any
76
+ dependency for external systems. Also note that there are <a href=
77
+ "http://jayfields.blogspot.com/2006/06/ruby-on-rails-unit-tests.html">
78
+ well-documented ways</a> to have your Rails unit tests not depend
79
+ on the database and have them run blazing fast!</li>
80
+ </ul>
81
+ <h3 id="lack_of_proper_ide">Make Up for a Lack of a Proper Ruby
82
+ IDE</h3>
83
+ <p>Autotest can come in handy if your favorite IDE has limited Ruby
84
+ support, or if you prefer a more ligthweight development
85
+ environment (text editor + terminal + Autotest): it gives you an
86
+ easy and automated way to run your tests.</p>
87
+ <h2 id="install_autotest">Install Autotest</h2>
88
+ <h3>Make Sure You Already have RubyGem Installed</h3>
89
+ <p>The easiest way to install <code>Autotest</code> is to use the
90
+ <strong>ZenTest gem</strong>. If you have no idea of what a
91
+ <dfn>gem</dfn> is, or you have not installed the RubyGem packaging
92
+ system yet, please have a look at the <a href=
93
+ "http://rubygems.org/">RubyGem official website</a>. If you are
94
+ serious about Ruby development, it will be hard <em>not</em> to use
95
+ RubyGem.</p>
96
+ <h3 id="install_osx_ubuntu">OS X and Ubuntu</h3>
97
+ <p>On OS X or Ubuntu launch from a terminal:</p>
98
+ <pre class="command-box">
99
+ $ sudo gem install ZenTest
100
+ </pre>
101
+ <h3 id="install_other_unix">Other Unix flavors</h3>
102
+ <p>For other *Nix flavors, try</p>
103
+ <pre class="command-box">
104
+ $ suPassword:<span class=
105
+ "placeholder">Type root password here</span>$ gem install ZenTest
106
+ </pre>
107
+ <h2 id="run_autotest">Run autotest</h2>
108
+ <h3 id="run_rails">Ruby on Rails project</h3>
109
+ <p>Consistent with Rails principles, Autotest does not require any
110
+ configuration to run. Provided you follow classic Rails
111
+ conventions, Autotest will figure things out on its own.
112
+ <strong>Simply launch Autotest from the base directory of your Ruby
113
+ on Rails project.</strong></p>
114
+ <pre class="command-box">
115
+ $ cd <span class=
116
+ "placeholder">base directory of your Ruby on Rails project</span>$ autotest
117
+ </pre>
118
+ <p>Autotest will then run all your tests (the first time), and wait
119
+ for you to modify some code:</p>
120
+ <pre class="command-box">
121
+ $ autotest
122
+ /usr/bin/ruby1.8 -I.:lib:test -rtest/unit -e "%w[test/functional/tasks_controller_test.rb test/unit/quarter_test.rb test/unit/task_test.rb].each { |f| require f }" | unit_diff -u
123
+ Loaded suite -e
124
+ Started
125
+ .......................
126
+ Finished in 0.672928 seconds.
127
+
128
+ ================================================================================
129
+ <strong>23 tests, 60 assertions, 0 failures, 0 errors</strong>
130
+ </pre>
131
+ <p>Go ahead and <strong>modify some code in your project so that a
132
+ test fails.</strong> Save the modified file to disk and Autotest
133
+ will automatically rerun some of the tests:</p>
134
+ <pre class="command-box">
135
+ /usr/bin/ruby1.8 -I.:lib:test -rtest/unit -e "%w[test/functional/tasks_controller_test.rb test/unit/task_test.rb].each { |f| require f }" | unit_diff -u
136
+ Loaded suite -e
137
+ Started
138
+ ...F........
139
+ Finished in 0.42272 seconds.
140
+
141
+ 1) Failure:
142
+ test_should_be_found(TaskTest) [<strong>./test/unit/task_test.rb:22</strong>]:
143
+ --- /tmp/diff6647.0 2006-11-15 20:46:43.000000000 -0800
144
+ +++ /tmp/diff6647.1 2006-11-15 20:46:43.000000000 -0800
145
+ @@ -1 +1 @@
146
+ <strong>
147
+ -Expected result
148
+ +Actual result</strong>
149
+
150
+ ================================================================================
151
+ <strong>4 tests, 9 assertions, 1 failures, 0 errors</strong>
152
+ </pre>
153
+ <p>Note that autotest ran only a <em>subset</em> of your test suite
154
+ this time (4 tests out of 23 in my case). Also note that
155
+ <strong>Autotest is especially good in providing brief and relevant
156
+ feedback on the test failures</strong>.</p>
157
+ <p>Autotest focuses on running previous failures until you have
158
+ fixed them. So <strong>test failures are run until they have all
159
+ passed. Then the full test suite is run</strong> to ensure that
160
+ nothing else was inadvertently broken.</p>
161
+ <h3 id="run_ruby">Ruby Project</h3>
162
+ <p>In theory you would run Autotest the same way as you would for
163
+ any Ruby project -- even if it is not based on Rails:</p>
164
+ <pre class="command-box">
165
+ $ cd <span class=
166
+ "placeholder">base directory of your Ruby project</span>$ autotest
167
+ </pre>
168
+ <p>In practice, Autotest might have problems finding your tests or
169
+ figuring out which tests to run when you change some code. If this
170
+ is the case, take a look at the <a href=
171
+ "getting_started_with_autotest#troubleshoot_test_detection"><q>troubleshooting
172
+ test detection</q></a> section.</p>
173
+ <h3 id="full_test_run">Forcing a Full Test Run and Stopping
174
+ Autotest</h3>
175
+ <p><strong>If you want to force Autotest to run the <em>entire</em>
176
+ test suite</strong> <strong>hit <kbd>Ctrl - C</kbd> once</strong>
177
+ in the terminal running Autotest. Hitting <kbd>Ctrl - C</kbd> twice
178
+ will stop Autotest.</p>
179
+ <h2 id="configure_plugins">Configure Plugins</h2>
180
+ <p>Autotest also provides some cool plugins that enable you to
181
+ <strong>get feedback the way you want</strong>.</p>
182
+ <h3 id="create_dot_autotest">Create a <code>.autotest</code>
183
+ file</h3>
184
+ <p><strong>You configure plugins by creating a
185
+ <code>.autotest</code> file in your project base
186
+ directory</strong>. You can also provide a default configuration
187
+ for all your projects by creating a <code>.autotest</code> file in
188
+ your home directory (when present, project configuration files
189
+ override user default configuration file).</p>
190
+ <p><strong>You enable a plugin by adding a line requiring the
191
+ plugin in the <code>.autotest</code> file</strong>. For instance,
192
+ to enable the <q>Growl</q> plugin, you would add the following
193
+ line:</p>
194
+ <pre class="source-code-box">
195
+ require 'autotest/growl'
196
+ </pre>
197
+ <p>Below you will find a description of the most popular plugins
198
+ and how to enable them.</p>
199
+ <h3 id="red_green_plugin">Red / Green Plugin</h3>
200
+ <p>The <q>Red / Green</q> plugin provides color to
201
+ <code>Autotest</code> messages in the terminal window. As expected,
202
+ output is green if all the tests pass, red if some test fails.
203
+ Having red / green visual output makes it easier for one to scan
204
+ the output and quickly determine whether everything is OK or
205
+ something went wrong.</p>
206
+ <p>Visually, the <q>Red /Green</q> plugin turns</p>
207
+ <pre class="command-box">
208
+ ================================================================================
209
+ 200 tests, 520 assertions, 0 failures, 0 errors
210
+ </pre>
211
+ <p>into</p>
212
+ <pre class="command-box" style="color: green;">
213
+ ================================================================================
214
+ 200 tests, 520 assertions, 0 failures, 0 errors
215
+ </pre>
216
+ <p>or</p>
217
+ <pre class="command-box" style="color: red;">
218
+ ================================================================================
219
+ 5 tests, 20 assertions, 1 failures, 0 errors
220
+ </pre>
221
+ <p>To enable the <q>Red / Green</q> plugin add the following line
222
+ to your <code>.autotest</code> file:</p>
223
+ <pre class="source-code-box">
224
+ require 'autotest/redgreen'
225
+ </pre>
226
+ <h3 id="desktop_notification_plugins">Desktop Notification
227
+ Plugins</h3>
228
+ <p>You might not even have to look at <code>the Autotest</code>
229
+ terminal output to figure out the result of a test run.
230
+ <strong>Several plugins provide desktop notification messages
231
+ capabilities</strong>. In this way you can run Autotest in the
232
+ background and see popup messages when something fails.</p>
233
+ <h4 id="growl_plugin">Growl Plugin (OS X)</h4>
234
+ <p><a href="http://growl.info/">Growl</a> is a popular desktop
235
+ notification system for OSX. If you are developing on a Mac, enable
236
+ the Growl plugin by adding</p>
237
+ <pre class="source-code-box">
238
+ require 'autotest/growl'
239
+ </pre>
240
+ <p>to your <code>.autotest</code> file. Note that for this plugin
241
+ to work, you not only need to install <a href="http://growl.info/"
242
+ title="Growl website">Growl</a> <strong>but also its command line
243
+ interface: <a href=
244
+ "http://growl.info/documentation/growlnotify.php">growlnotify</a>.</strong></p>
245
+ <h4 id="snarl_plugin">Snarl Plugin (Windows)</h4>
246
+ <p><a href="http://www.fullphat.net/">Snarl</a> is a notification
247
+ system for Windows largely inspired by Growl. Autotest will use it
248
+ if you enable the Snarl plugin in your <code>.autotest</code>
249
+ file:</p>
250
+ <pre class="source-code-box">
251
+ require 'autotest/snarl'
252
+ </pre>
253
+ <h4 id="kde_notify_plugin">KDE Notify Plugin (Linux)</h4>
254
+ <p>If you are running Linux and use KDE as your desktop
255
+ environment, you will get desktop notification by adding to your
256
+ <code>.autotest</code> file:</p>
257
+ <pre class="source-code-box">
258
+ require 'autotest/kdenotify'
259
+ </pre>
260
+ <h4 id="gnome_notify_plugin">Gnome Notify plugin (Linux)</h4>
261
+ <p>If you are running Linux and use Gnome as your desktop
262
+ environment, unfortunately there is no official plugin for desktop
263
+ notification. You can still get desktop notifications by adding the
264
+ following code snipet in your <code>.autotest</code> file:</p>
265
+ <pre class="source-code-box">
266
+ module Autotest::GnomeNotify
267
+
268
+ # Time notification will be displayed before disappearing automatically
269
+ EXPIRATION_IN_SECONDS = 2
270
+ ERROR_STOCK_ICON = "gtk-dialog-error"
271
+ SUCCESS_STOCK_ICON = "gtk-dialog-info"
272
+
273
+ # Convenience method to send an error notification message
274
+ #
275
+ # [stock_icon] Stock icon name of icon to display
276
+ # [title] Notification message title
277
+ # [message] Core message for the notification
278
+ def self.notify stock_icon, title, message
279
+ options = "-t #{EXPIRATION_IN_SECONDS * 1000} -i #{stock_icon}"
280
+ system "notify-send #{options} '#{title}' '#{message}'"
281
+ end
282
+
283
+ Autotest.add_hook :red do |at|
284
+ notify ERROR_STOCK_ICON, "Tests failed", "#{at.files_to_test.size} tests failed"
285
+ end
286
+
287
+ Autotest.add_hook :green do |at|
288
+ notify SUCCESS_STOCK_ICON, "All tests passed, good job!", ""
289
+ end
290
+
291
+ end
292
+ </pre>
293
+ <p>For this to work <strong>you need to have <a href=
294
+ "http://trac.galago-project.org/wiki/DesktopNotifications">libnotify</a>
295
+ installed on your system and a program named
296
+ <code>notify-send</code> in your <code>PATH</code></strong>. For
297
+ most Linux distributions this simply means that you should install
298
+ the <code>libnotify-bin</code> package. If you are running Ubuntu,
299
+ run</p>
300
+ <pre class="command-box">
301
+ sudo apt-get install libnotify-bin
302
+ </pre>
303
+ <h3 id="pretty_plugin">Pretty Plugin</h3>
304
+ <p>If you are running Autotest on a Mac you can enable the
305
+ <q>pretty</q> plugin to <strong>visualize your Autotest status
306
+ history</strong> as a sequence of red and green squares:</p>
307
+ <p class="figure"><img alt="Autotest Pretty Plugin Screenshot" src=
308
+ "http://blog.zenspider.com/img/autotest_pretty.png" /></p>
309
+ <p>Of course a green square indicates passing tests while a red
310
+ square signals some test failures. If you want to get a feel of
311
+ what a session is like with this plugin enabled, ZenSpider has a
312
+ <a href=
313
+ "http://vanity.zenspider.com.nyud.net:8090/~ryan/autotest_plugins.mov"
314
+ title="ZenSpider pretty plugin video">nice video</a> demonstrating
315
+ the pretty plugin in action.</p>
316
+ <p>To enable this plugin <strong>you will need to install <a href=
317
+ "http://rubycocoa.sourceforge.net/doc/" title=
318
+ "Ruby Cocoa documentation">RubyCocoa</a></strong> and add the
319
+ folowing line to your <code>.autotest</code> file:</p>
320
+ <pre class="source-code-box">
321
+ require 'autotest/pretty'
322
+ </pre>
323
+ <h3 id="html_report_plugin">HTML Report Plugin</h3>
324
+ <p>The <q>HTML report</q> plugin <strong>publishes most recent
325
+ Autotest statuses as a web page</strong> under
326
+ <code>~/Sites/autotest.html</code>. You can then point a browser to
327
+ this page and see something like:</p>
328
+ <div class="sample-box">
329
+ <div style="COLOR:green">Sat Feb 03 14:34:09 PST 2007: 0</div>
330
+ <div style="COLOR:red">Sat Feb 03 14:33:50 PST 2007: 1</div>
331
+ <div style="COLOR:green">Sat Feb 03 14:33:45 PST 2007: 0</div>
332
+ <div style="COLOR:red">Sat Feb 03 14:33:29 PST 2007: 4</div>
333
+ <div style="COLOR:green">Sat Feb 03 14:33:19 PST 2007: 0</div>
334
+ </div>
335
+ <p>Of course the content of the web page is updated while you work.
336
+ Note that <strong>you need to have an an existing
337
+ <code>~/Sites</code> directory</strong> <em>before</em> you enable
338
+ the plugin with the following line:</p>
339
+ <pre class="source-code-box">
340
+ require 'autotest/html_report'
341
+ </pre>
342
+ <h3 id="menu_plugin">Menu Plugin</h3>
343
+ <p>Remember that, by default, hitting <code>Ctrl - C</code> once
344
+ will force Autotest to run the entire test suite, and hitting
345
+ <code>Ctrl - C</code> twice will stop Autotest? The <q>menu</q>
346
+ plugin changes this behavior: each time you hit <code>Ctrl -
347
+ C</code> it will explicitly ask you whether you want to quit,
348
+ restart or just keep going.</p>
349
+ <pre class="command-box">
350
+ c: continue q: quit r: restart menu&gt;
351
+ </pre>
352
+ <p>Enable the menu plugin by adding the following line to your
353
+ <code>.autotest</code> file.</p>
354
+ <pre class="source-code-box">
355
+ require 'autotest/menu'
356
+ </pre>
357
+ <h3 id="timestamp_plugin">Timestamp Plugin</h3>
358
+ <p>While Autotest waits for you to save a file, the timestamp
359
+ plugin prints a message with the current time. Messages look
360
+ like:</p>
361
+ <pre class="command-box">
362
+ # waiting... Sat Feb 03 15:56:23 EST 2007
363
+ </pre>
364
+ <p>To enable the timestamp plugin add the following to your
365
+ <code>.autotest</code> file:</p>
366
+ <pre class="source-code-box">
367
+ require 'autotest/timestamp'
368
+ </pre>
369
+ <h3>Getting More Information</h3>
370
+ <p>Your Autotest install comes with a sample <code>.autotest</code>
371
+ file listing all available plugins. It is named
372
+ <code>example_dot_autotest.rb</code>. You will find it in the gems
373
+ install directory. Most likely this directory will look like:</p>
374
+ <ul>
375
+ <li><code>/usr/local/lib/ruby/gems/1.8/gems/ZenTest-3.4.3/</code>
376
+ on OS X.</li>
377
+ <li><code>/usr/lib/ruby/gems/1.8/gems/ZenTest-3.4.3/</code> on
378
+ other Unix platforms</li>
379
+ </ul>
380
+ <p>Interesting plugins that are not distributed with Autotest can
381
+ also be found within <a href=
382
+ "http://rubyforge.org/tracker/?atid=1680&amp;group_id=419&amp;func=browse">
383
+ autotest pending patches</a>. The <a href=
384
+ "http://rspec.rubyforge.org/" title=
385
+ "RSpec project website">RSpec</a> patches you will find there will
386
+ be of particular interest to those of you that enjoy <a href=
387
+ "http://behaviour-driven.org/" title=
388
+ "Official Behavior Driven Development website">behavior-driven
389
+ development</a>.</p>
390
+ <h2 id="troubleshoot_test_detection">Troubleshooting Autotest Test
391
+ Detection</h2>
392
+ <p>Whether Autotest does not work out of the box for you or its
393
+ magics eludes you, it is always good to get some understanding of
394
+ the heuristics that Autotest uses to figure which test(s) to
395
+ run.</p>
396
+ <h3 id="rails_heuristics">Heuristics for Rails</h3>
397
+ <p>Autotest automatically discovers Ruby on Rails projects by
398
+ checking for a <code>config/environment.rb</code> file. If there is
399
+ one, Autotest will base its logic on standard Rails file mappings
400
+ and conventions.</p>
401
+ <p>If for some reason you want to force Ruby on Rails mode you can
402
+ always launch Autotest it with the <code>-rails</code> option:</p>
403
+ <pre class="command-box">
404
+ $ autotest -rails
405
+ </pre>
406
+ <p>A <em>simplified</em> version of Autotest heuristics in this
407
+ mode would be:</p>
408
+ <ul>
409
+ <li>When changing a test file, only this file is run (e.g.
410
+ <code>test/unit/foo_test.rb</code> &rarr;
411
+ <code>test/unit/foo_test.rb</code>).</li>
412
+ <li>When changing a model file, only associated unit test file is
413
+ run (e.g. <code>app/models/foo.rb</code> &rarr;
414
+ <code>test/unit/foo_test.rb</code>).</li>
415
+ <li>When changing a controller file, associated functional test
416
+ file is run (e.g. <code>app/controllers/foo_controller.rb</code>
417
+ &rarr; <code>test/functional/foo_controller_test.rb</code>).</li>
418
+ <li>When changing a fixture file, associated unit test and
419
+ functional test are run (e.g. <code>app/fixtures/foos.yml</code>
420
+ &rarr; <code>test/unit/foo_test.rb</code> +
421
+ <code>test/functional/foo_controller_test.rb</code>).</li>
422
+ <li>When changing a helper file, associated functional test file is
423
+ run (e.g. <code>app/helpers/foo_helper.rb</code> &rarr;
424
+ <code>test/functional/foo_controller_test.rb</code>).</li>
425
+ <li>When changing <code>application_helper.rb</code> file all
426
+ functional test files are run (e.g.
427
+ <code>application_helper.rb</code> &rarr;
428
+ <code>test/functional/*_test.rb</code>).</li>
429
+ <li>When changing a file under the <code>config</code> directory,
430
+ all tests are run.</li>
431
+ </ul>
432
+ <p>You've got the idea. Actual heuristics are a little more complex
433
+ and also handle the concept of <code>view</code> and
434
+ <code>controller</code> tests. <strong>For a more thourough
435
+ understanding have look at the <code>rails_autotest.rb</code>
436
+ file</strong> in ZenTest gem install directory.</p>
437
+ <p>In case these heuristics do not play well with your own
438
+ conventions, do not give up yet: <strong>you can always configure
439
+ Autotest to <a href=
440
+ "getting_started_with_autotest#running_whole_test_suite">run the
441
+ whole test suite for all changes</a></strong>.</p>
442
+ <h3 id="ruby_heuristics">Heuristics for Non Rails Projects</h3>
443
+ <p>For non Rails project, Autotest uses a simple naming scheme to
444
+ map implementation files to test files:</p>
445
+ <ul>
446
+ <li>Test files must be stored in the <code>test</code>
447
+ directory</li>
448
+ <li>Implementation files must be stored in the <code>lib</code>
449
+ directory</li>
450
+ <li>Test files names must start with <code>test_</code></li>
451
+ <li>Test class names must start with <code>Test</code></li>
452
+ <li>Test files corresponding to a specific implementation file must
453
+ be named <code>test_*<span class="placeholder">name of
454
+ implementation file</span>.rb</code></li>
455
+ </ul>
456
+ <p>If you can live with these conventions, Autotest will work
457
+ out-of-the-box for you. If these conventions are not your cup of
458
+ tea and you have your own, the next paragraph explains how to
459
+ configure Autotest so that it runs the whole test suite each time
460
+ you save a file.</p>
461
+ <h3 id="running_whole_test_suite">Running the Whole Test Suite for
462
+ All Changes</h3>
463
+ <p>If for some reason Autotest heuristics do not work for you, you
464
+ can customize them in your <code>.autotest</code> file with a
465
+ little bit of work.</p>
466
+ <p>For instance, if your entire test suite runs quickly (as it
467
+ should), you can easily configure Autotest to run the whole test
468
+ suite for any change by adding the following code to your
469
+ <code>.autotest</code> file:</p>
470
+ <pre class="command-box">
471
+ #
472
+ # Override autotest default magic deciding which test to run when
473
+ # a file is changed : enable more flexible naming conventions
474
+ # trading some of the efficiency: we rerun all the tests each time.
475
+ #
476
+ class Autotest
477
+
478
+ def test_files_for(filename)
479
+ return Dir["test/**/*.rb"]
480
+ end
481
+
482
+ end
483
+ </pre>
484
+ <h2>Conclusion</h2>
485
+ <p>Autotest provides an easy and effortless way to run your tests:
486
+ just save a file. This is a great way to get quick feedback on your
487
+ code and avoid any context switch. Autotest automated test runs are
488
+ also extremelly valuable if your favorite IDE has poor Ruby
489
+ support, or if you prefer a more ligthweight development
490
+ environment (text editor + terminal + Autotest).</p>
491
+ <p>Autotest also tries hard to be smart on deciding which tests to
492
+ run:</p>
493
+ <ul>
494
+ <li>It only runs the tests affected by your latest code
495
+ changes.</li>
496
+ <li>When some tests fail, Autotest focuses on running previous
497
+ failures until you have fixed them. Once they pass, the full test
498
+ suite is run to ensure that nothing else was inadvertently
499
+ broken.</li>
500
+ </ul>
501
+ <p>On deciding which tests to run, Autotest <q>magic</q> works out
502
+ of the box if your application follows classic Ruby on Rails
503
+ conventions. If this is not your cup of tea, it is extremely easy
504
+ to customize Autotest to fit your conventions.</p>
505
+ <p>Via its plugins Autotest also offers a lot of interesting
506
+ feedback options, from terminal output to html publishing to
507
+ desktop notifications. The pretty plugin offers a highly visual
508
+ representation of your test runs history, which could be useful
509
+ when teaching Test Driven Development (green, red, green, red,
510
+ ...).</p>
511
+ <p>On the flip side, It is important to note that Autotest does not
512
+ fit all developement styles: Some developers like better control on
513
+ which tests they are running. While working on a piece of code,
514
+ they will typically focuss on a few tests (which they know they
515
+ could have broken), and then run the whole test suite just before
516
+ committing. Autotest emulates this as well as it can with his focus
517
+ on running previous failures; but ultimately a human will always
518
+ have a better intuition, especially if your project does not follow
519
+ classic Rails conventions.</p>
520
+ <p>In all cases, it is worth spending some time playing with
521
+ Autotest and experiment with its innovative, lightweight and
522
+ effortless approach to test runs, what I have been calling
523
+ <q>continuous testing</q>.</p>
524
+ </div>
525
+ <p class="Copyright">&copy; Copyright Philippe Hanrigou, all rights
526
+ reserved.</p>
527
+ <p class="License">This work is licensed under a <a rel="license"
528
+ href="http://creativecommons.org/licenses/by/2.5/">Creative Commons
529
+ Attribution 2.5 License</a>.</p>
530
+ <p class="License">Used and distributed with permission from
531
+ Philippe Hanrigou.</p>
532
+ </body>
533
+ </html>
@@ -0,0 +1,62 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{autotest}
8
+ s.version = "4.4.5"
9
+
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
+ s.authors = ["Ryan Davis"]
12
+ s.date = %q{2010-11-20}
13
+ s.executables = ["autotest", "unit_diff"]
14
+ s.files = [
15
+ ".autotest",
16
+ ".gitignore",
17
+ "Gemfile",
18
+ "Gemfile.lock",
19
+ "History.txt",
20
+ "Rakefile",
21
+ "Readme.md",
22
+ "VERSION",
23
+ "articles/getting_started_with_autotest.html",
24
+ "autotest.gemspec",
25
+ "bin/autotest",
26
+ "bin/unit_diff",
27
+ "example_dot_autotest.rb",
28
+ "lib/autotest.rb",
29
+ "lib/autotest/autoupdate.rb",
30
+ "lib/autotest/once.rb",
31
+ "lib/autotest/rcov.rb",
32
+ "lib/autotest/restart.rb",
33
+ "lib/autotest/timestamp.rb",
34
+ "lib/unit_diff.rb",
35
+ "test/helper.rb",
36
+ "test/test_autotest.rb",
37
+ "test/test_autotest_integration.rb",
38
+ "test/test_unit_diff.rb"
39
+ ]
40
+ s.homepage = %q{http://github.com/grosser/autotest}
41
+ s.rdoc_options = ["--charset=UTF-8"]
42
+ s.require_paths = ["lib"]
43
+ s.rubygems_version = %q{1.3.7}
44
+ s.summary = %q{Autotest, without ZenTest}
45
+ s.test_files = [
46
+ "test/test_autotest_integration.rb",
47
+ "test/helper.rb",
48
+ "test/test_autotest.rb",
49
+ "test/test_unit_diff.rb"
50
+ ]
51
+
52
+ if s.respond_to? :specification_version then
53
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
54
+ s.specification_version = 3
55
+
56
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
57
+ else
58
+ end
59
+ else
60
+ end
61
+ end
62
+
@@ -0,0 +1,67 @@
1
+ #!/usr/bin/env ruby
2
+ require 'rubygems'
3
+ require 'optparse'
4
+
5
+ options = {}
6
+ OptionParser.new do |opts|
7
+ opts.banner = <<BANNER
8
+ Continuous testing for your ruby app.
9
+
10
+ Usage:
11
+ autotest [options]
12
+ BANNER
13
+ opts.on("-f", "--fast-start","Do not run full tests at start") do
14
+ options[:no_full_after_start] = true
15
+ end
16
+ opts.on("-p", "--parallel","Run tests (Test::Unit only) in parallel -- gem install parallel_tests") do
17
+ options[:parallel] = true
18
+ require 'parallel_tests'
19
+ end
20
+ opts.on("-c", "--no-full-after-failed","Do not run full tests after failed test passed") { options[:no_full_after_failed] = true }
21
+ opts.on("-v", "--verbose","Be verbose. Prints files that autotest doesn't know how to map to tests") { options[:verbose] = true }
22
+ opts.on("-q", "--quiet","Be quiet.") { options[:quiet] = true }
23
+ opts.on("-r", "--rc CONFIG", String, "Path to config file. (Defaults to ~/.autotest or current_dir/.autotest)") do |opt|
24
+ options[:rc] = opt
25
+ end
26
+ opts.on("-s", "--style STYLE", "Which style to use, e.g. rspec, rspec2") do |style|
27
+ options[:style] = style
28
+ end
29
+ opts.on("-b", "--bundle-exec", "Use bundle exec to run tests") do
30
+ options[:bundle_exec] = true
31
+ end
32
+ opts.on("-h", "--help","Show this.") { puts opts;exit }
33
+ end.parse!
34
+
35
+ # remove warnings from Dir.[]
36
+ class Dir
37
+ class << self
38
+ alias :old_index :[]
39
+ def [](*args)
40
+ $-w, old_warn = false, $-w
41
+ old_index(*args)
42
+ ensure
43
+ $-w = old_warn
44
+ end
45
+ end
46
+ end
47
+
48
+ #run the correct Autotest variant fitting to the local structure
49
+ $LOAD_PATH.unshift(File.expand_path("#{File.dirname(__FILE__)}/../lib"))
50
+ require 'autotest'
51
+
52
+ Autotest.options.merge!(options)
53
+ target = Autotest
54
+ style = (options[:style] ? [options[:style]] : Autotest.autodiscover)
55
+
56
+ unless style.empty?
57
+ mod = "autotest/#{style.join("_")}"
58
+ puts "loading #{mod}" unless options[:quiet]
59
+ begin
60
+ require mod
61
+ rescue LoadError => e
62
+ abort "Error loading Autotest style #{mod} (#{e.to_s}). Aborting."
63
+ end
64
+ puts "style: #{style.map {|s| s.capitalize}.join}"
65
+ target = Autotest.const_get(style.map {|s| s.capitalize}.join)
66
+ end
67
+ target.run