kosmas58-cucumber 0.2.3.3 → 0.3.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (210) hide show
  1. data/History.txt +203 -3
  2. data/Manifest.txt +0 -346
  3. data/README.txt +0 -21
  4. data/Rakefile +3 -1
  5. data/bin/cucumber +12 -1
  6. data/config/hoe.rb +6 -5
  7. data/cucumber.yml +3 -1
  8. data/examples/cs/Rakefile +1 -1
  9. data/examples/cs/features/addition.feature +5 -5
  10. data/examples/cs/features/step_definitons/calculator_steps.rb +2 -2
  11. data/examples/dos_line_endings/Rakefile +1 -1
  12. data/examples/dos_line_endings/features/dos_line_endings.feature +9 -9
  13. data/examples/i18n/Rakefile +1 -1
  14. data/examples/i18n/ar/Rakefile +1 -1
  15. data/examples/i18n/bg/Rakefile +6 -0
  16. data/examples/i18n/bg/features/addition.feature +11 -0
  17. data/examples/i18n/bg/features/consecutive_calculations.feature +18 -0
  18. data/examples/i18n/bg/features/division.feature +16 -0
  19. data/examples/i18n/bg/features/step_definitons/calculator_steps.rb +24 -0
  20. data/examples/i18n/bg/features/support/env.rb +6 -0
  21. data/examples/i18n/bg/features/support/world.rb +8 -0
  22. data/examples/i18n/bg/lib/calculator.rb +24 -0
  23. data/examples/i18n/cat/Rakefile +6 -0
  24. data/examples/i18n/cat/features/step_definitons/calculator_steps.rb +21 -0
  25. data/examples/i18n/cat/features/suma.feature +16 -0
  26. data/examples/i18n/cat/lib/calculadora.rb +16 -0
  27. data/examples/i18n/da/Rakefile +1 -1
  28. data/examples/i18n/de/Rakefile +1 -1
  29. data/examples/i18n/en/Rakefile +1 -1
  30. data/examples/i18n/en-lol/Rakefile +1 -1
  31. data/examples/i18n/es/Rakefile +1 -1
  32. data/examples/i18n/et/Rakefile +1 -1
  33. data/examples/i18n/fi/Rakefile +1 -1
  34. data/examples/i18n/fr/Rakefile +1 -1
  35. data/examples/i18n/fr/features/addition.feature +4 -4
  36. data/examples/i18n/fr/features/step_definitions/calculatrice_steps.rb +1 -1
  37. data/examples/i18n/fr/lib/calculatrice.rb +1 -1
  38. data/examples/i18n/he/Rakefile +6 -0
  39. data/examples/i18n/he/features/addition.feature +16 -0
  40. data/examples/i18n/he/features/division.feature +9 -0
  41. data/examples/i18n/he/features/step_definitons/calculator_steps.rb +24 -0
  42. data/examples/i18n/he/lib/calculator.rb +14 -0
  43. data/examples/i18n/hu/Rakefile +6 -0
  44. data/examples/i18n/hu/features/addition.feature +16 -0
  45. data/examples/i18n/hu/features/division.feature +9 -0
  46. data/examples/i18n/hu/features/step_definitons/calculator_steps.rb +25 -0
  47. data/examples/i18n/hu/lib/calculator.rb +14 -0
  48. data/examples/i18n/id/Rakefile +1 -1
  49. data/examples/i18n/it/Rakefile +1 -1
  50. data/examples/i18n/ja/Rakefile +1 -1
  51. data/examples/i18n/ja/features/addition.feature +1 -1
  52. data/examples/i18n/ja/features/division.feature +1 -1
  53. data/examples/i18n/ja/features/step_definitons/calculator_steps.rb +1 -1
  54. data/examples/i18n/ko/Rakefile +1 -1
  55. data/examples/i18n/lt/Rakefile +1 -1
  56. data/examples/i18n/lt/features/addition.feature +2 -3
  57. data/examples/i18n/lv/Rakefile +6 -0
  58. data/examples/i18n/lv/features/addition.feature +16 -0
  59. data/examples/i18n/lv/features/division.feature +9 -0
  60. data/examples/i18n/lv/features/step_definitons/calculator_steps.rb +24 -0
  61. data/examples/i18n/lv/lib/calculator.rb +14 -0
  62. data/examples/i18n/no/Rakefile +1 -1
  63. data/examples/i18n/pl/Rakefile +6 -0
  64. data/examples/i18n/pl/features/addition.feature +16 -0
  65. data/examples/i18n/pl/features/division.feature +9 -0
  66. data/examples/i18n/pl/features/step_definitons/calculator_steps.rb +24 -0
  67. data/examples/i18n/pl/features/support/env.rb +6 -0
  68. data/examples/i18n/pl/lib/calculator.rb +14 -0
  69. data/examples/i18n/pt/Rakefile +1 -1
  70. data/examples/i18n/pt/features/step_definitions/calculadora_steps.rb +3 -7
  71. data/examples/i18n/pt/features/support/env.rb +6 -0
  72. data/examples/i18n/ro/Rakefile +1 -1
  73. data/examples/i18n/ru/Rakefile +1 -1
  74. data/examples/i18n/se/Rakefile +1 -1
  75. data/examples/i18n/sk/Rakefile +1 -1
  76. data/examples/i18n/zh-CN/Rakefile +1 -1
  77. data/examples/i18n/zh-TW/Rakefile +1 -1
  78. data/examples/java/README.textile +2 -6
  79. data/examples/java/build.xml +33 -0
  80. data/examples/java/features/step_definitons/hello_steps.rb +0 -2
  81. data/examples/junit/features/one_passing_one_failing.feature +8 -0
  82. data/examples/junit/features/pending.feature +5 -0
  83. data/examples/junit/features/step_definitions/steps.rb +11 -0
  84. data/examples/selenium/Rakefile +1 -1
  85. data/examples/selenium_webrat/Rakefile +1 -1
  86. data/examples/selenium_webrat/config.ru +0 -0
  87. data/examples/selenium_webrat/features/search.feature +1 -1
  88. data/examples/selenium_webrat/features/step_definitons/search_steps.rb +2 -2
  89. data/examples/selenium_webrat/features/support/env.rb +7 -3
  90. data/examples/self_test/features/background/background_tagged_before_on_outline.feature +12 -0
  91. data/examples/self_test/features/background/failing_background.feature +1 -0
  92. data/examples/self_test/features/background/passing_background.feature +2 -2
  93. data/examples/self_test/features/multiline_name.feature +27 -0
  94. data/examples/self_test/features/sample.feature +2 -0
  95. data/examples/self_test/features/search_sample.feature +32 -0
  96. data/examples/self_test/features/step_definitions/sample_steps.rb +11 -0
  97. data/examples/self_test/features/support/env.rb +17 -1
  98. data/examples/sinatra/Rakefile +1 -1
  99. data/examples/test_unit/Rakefile +1 -1
  100. data/examples/tickets/Rakefile +3 -3
  101. data/examples/tickets/features/229/tagged_hooks.feature +8 -0
  102. data/examples/tickets/features/229/tagged_hooks.rb +14 -0
  103. data/examples/tickets/features/236.feature +9 -9
  104. data/examples/tickets/features/272/hooks.feature +26 -0
  105. data/examples/tickets/features/272/hooks_steps.rb +53 -0
  106. data/examples/tickets/features/279/py_string_indent.feature +25 -0
  107. data/examples/tickets/features/279/py_string_indent.steps.rb +12 -0
  108. data/examples/tickets/features/279/wrong.feature_ +11 -0
  109. data/examples/tickets/features/301/filter_background_tagged_hooks.feature +6 -0
  110. data/examples/tickets/features/301/filter_background_tagged_hooks_steps.rb +12 -0
  111. data/examples/tickets/features/306/only_background.feature +4 -0
  112. data/examples/tickets/features/step_definitons/tickets_steps.rb +0 -7
  113. data/examples/watir/Rakefile +1 -1
  114. data/examples/watir/features/search.feature +4 -1
  115. data/examples/watir/features/step_definitons/search_steps.rb +2 -4
  116. data/features/after_block_exceptions.feature +99 -0
  117. data/features/after_step_block_exceptions.feature +101 -0
  118. data/features/background.feature +105 -38
  119. data/features/cucumber_cli.feature +201 -64
  120. data/features/cucumber_cli_diff_disabled.feature +6 -4
  121. data/features/cucumber_cli_outlines.feature +60 -35
  122. data/features/custom_formatter.feature +3 -3
  123. data/features/exclude_files.feature +20 -0
  124. data/features/expand.feature +48 -0
  125. data/features/html_formatter/a.html +1632 -0
  126. data/features/html_formatter.feature +7 -0
  127. data/features/junit_formatter.feature +62 -0
  128. data/features/multiline_names.feature +43 -0
  129. data/features/rake_task.feature +150 -0
  130. data/features/report_called_undefined_steps.feature +4 -3
  131. data/features/snippet.feature +2 -3
  132. data/features/step_definitions/cucumber_steps.rb +98 -15
  133. data/features/support/env.rb +78 -3
  134. data/features/usage.feature +32 -19
  135. data/features/work_in_progress.feature +148 -0
  136. data/gem_tasks/deployment.rake +1 -1
  137. data/gem_tasks/rspec.rake +9 -2
  138. data/lib/cucumber/ast/background.rb +19 -7
  139. data/lib/cucumber/ast/comment.rb +4 -0
  140. data/lib/cucumber/ast/feature.rb +7 -1
  141. data/lib/cucumber/ast/feature_element.rb +24 -9
  142. data/lib/cucumber/ast/features.rb +4 -0
  143. data/lib/cucumber/ast/outline_table.rb +74 -4
  144. data/lib/cucumber/ast/py_string.rb +5 -1
  145. data/lib/cucumber/ast/scenario.rb +31 -7
  146. data/lib/cucumber/ast/scenario_outline.rb +17 -9
  147. data/lib/cucumber/ast/step.rb +8 -5
  148. data/lib/cucumber/ast/step_collection.rb +14 -1
  149. data/lib/cucumber/ast/step_invocation.rb +29 -15
  150. data/lib/cucumber/ast/table.rb +9 -1
  151. data/lib/cucumber/ast/tags.rb +9 -1
  152. data/lib/cucumber/ast/visitor.rb +6 -2
  153. data/lib/cucumber/cli/configuration.rb +134 -105
  154. data/lib/cucumber/cli/main.rb +35 -12
  155. data/lib/cucumber/core_ext/proc.rb +9 -13
  156. data/lib/cucumber/formatter/ansicolor.rb +1 -1
  157. data/lib/cucumber/formatter/console.rb +36 -14
  158. data/lib/cucumber/formatter/cucumber.css +31 -12
  159. data/lib/cucumber/formatter/duration.rb +10 -0
  160. data/lib/cucumber/formatter/html.rb +76 -16
  161. data/lib/cucumber/formatter/junit.rb +79 -0
  162. data/lib/cucumber/formatter/pretty.rb +19 -14
  163. data/lib/cucumber/formatter/profile.rb +1 -1
  164. data/lib/cucumber/formatter/progress.rb +12 -12
  165. data/lib/cucumber/formatter/rerun.rb +1 -0
  166. data/lib/cucumber/formatter/tag_cloud.rb +28 -0
  167. data/lib/cucumber/formatter/usage.rb +5 -5
  168. data/lib/cucumber/formatters/unicode.rb +5 -0
  169. data/lib/cucumber/languages.yml +111 -34
  170. data/lib/cucumber/parser/feature.rb +237 -36
  171. data/lib/cucumber/parser/feature.tt +68 -30
  172. data/lib/cucumber/parser/treetop_ext.rb +12 -3
  173. data/lib/cucumber/rails/rspec.rb +5 -3
  174. data/lib/cucumber/rails/world.rb +29 -4
  175. data/lib/cucumber/rake/task.rb +125 -37
  176. data/lib/cucumber/rspec_neuter.rb +23 -0
  177. data/lib/cucumber/step_definition.rb +5 -2
  178. data/lib/cucumber/step_match.rb +10 -6
  179. data/lib/cucumber/step_mother.rb +98 -26
  180. data/lib/cucumber/version.rb +3 -3
  181. data/lib/cucumber/world.rb +2 -2
  182. data/lib/cucumber.rb +7 -2
  183. data/rails_generators/cucumber/USAGE +0 -3
  184. data/rails_generators/cucumber/cucumber_generator.rb +51 -44
  185. data/rails_generators/cucumber/templates/cucumber.rake +5 -5
  186. data/rails_generators/cucumber/templates/cucumber_environment.rb +23 -0
  187. data/rails_generators/cucumber/templates/de/paths.rb +27 -0
  188. data/rails_generators/cucumber/templates/de/webrat_steps.rb +139 -0
  189. data/rails_generators/cucumber/templates/en/paths.rb +27 -0
  190. data/rails_generators/cucumber/templates/{webrat_steps.rb → en/webrat_steps.rb} +26 -2
  191. data/rails_generators/cucumber/templates/env.rb +1 -1
  192. data/rails_generators/feature/USAGE +0 -3
  193. data/rails_generators/feature/feature_generator.rb +6 -30
  194. data/spec/cucumber/ast/feature_element_spec.rb +40 -0
  195. data/spec/cucumber/ast/py_string_spec.rb +4 -0
  196. data/spec/cucumber/ast/table_spec.rb +21 -5
  197. data/spec/cucumber/ast/visitor_spec.rb +27 -0
  198. data/spec/cucumber/cli/configuration_spec.rb +75 -54
  199. data/spec/cucumber/cli/main_spec.rb +60 -154
  200. data/spec/cucumber/formatter/color_io_spec.rb +1 -0
  201. data/spec/cucumber/formatter/duration_spec.rb +22 -0
  202. data/spec/cucumber/formatter/progress_spec.rb +36 -0
  203. data/spec/cucumber/parser/feature_parser_spec.rb +102 -1
  204. data/spec/cucumber/step_mother_spec.rb +23 -5
  205. metadata +79 -22
  206. data/examples/java/Rakefile +0 -12
  207. data/examples/self_test/features/support/tag_count_formatter.rb +0 -25
  208. data/lib/cucumber/formatter.rb +0 -1
  209. data/rails_generators/cucumber/templates/paths.rb +0 -29
  210. data/spec/cucumber/formatters/profile_formatter_spec.rb +0 -198
data/History.txt CHANGED
@@ -1,4 +1,189 @@
1
- == 0.3.0 (In Git)
1
+ == 0.3.10 (In Git)
2
+
3
+ This release has some minor bugfixes related to RSpec and Rails interop.
4
+
5
+ TODO: Maybe always require all steps under features/ even if a deeper feature is run?
6
+ People ask about this all the time. People could still override with -r, but there would
7
+ be less confusion about the default cases. Need to find out what part of the doco recommends
8
+ deeper structures. Selenium? Others?
9
+
10
+ === Bugfixes
11
+ * RSpec's be_* matchers did not work in 0.3.9 and probably earlier versions. Now they do. (Aslak Hellesøy)
12
+ * The Rails cucumber environment won't declare gem dependencies if the plugin exists. (Aslak Hellesøy)
13
+ * The Rails cucumber generator will no longer declare gem dependencies on rspec if you use --testunit. (Aslak Hellesøy)
14
+
15
+ === New features
16
+ * Added a Ast::Feature#name method for convenience
17
+
18
+ === Changed features
19
+ * The HTML formatter wraps examples in a div, and distinguishes between Scenario and Scenario Outline. (Aslak Hellesøy)
20
+
21
+ == 0.3.9 2009-05-27
22
+
23
+ Bugfix release for 0.3.8 released earlier today. 0.3.8 had a bug in the Rails cucumber
24
+ generator which is fixed in 0.3.9.
25
+
26
+ === Bugfixes
27
+ * Fix broken Rails cucumber generator (Tim Glen)
28
+ * The Cucumber Rake task in non-fork mode will properly cause Rake to exit with 1 when Cucumber fails. (Aslak Hellesøy)
29
+
30
+ == 0.3.8 2009-05-27
31
+
32
+ This Cucumber version fixes several bugs related to Ruby on Rails and RSpec. If you
33
+ use Cucumber with a Rails app we *strongly* recommend you bootstrap Cucumber again:
34
+
35
+ ruby script/generate cucumber
36
+
37
+ === New Features
38
+ * Rails cucumber generator sets up default gem dependencies in cucumber environment.
39
+ * The duration of a run is reported by formatters - same format as the Linux time command (#228 Aslak Hellesøy)
40
+ * Scenario and ExampleRow objects (passed to Before and After hooks) have #name and #line methods (#316 Aslak Hellesøy)
41
+ * Rails generator creates a cucumber environment file to avoid potential cache_classes conflicts in test.rb (#165, Ben Mabey)
42
+ * HTML formatter renders @tags (but the CSS is still ugly)
43
+
44
+ === Removed/changed features
45
+ * The Cucumber Rake task will again fork by default (as 0.3.3 and earlier). Forking must be turned off explicitly. (Aslak Hellesøy)
46
+
47
+ === Bugfixes
48
+ * Better coexistence with RSpec - Cucumber now *neuters* the part of RSpec that tries to parse ARGV.
49
+ * The differ= exception is gone (#325, #340 Aslak Hellesøy)
50
+
51
+ == 0.3.7 2009-05-22
52
+
53
+ This is the "Help JetBrains RubyMine" release!
54
+
55
+ === New Features
56
+ * Added new Given alias for Catalan: Donat|Donada (Lleïr Borràs Metje)
57
+ * New --expand option. This will print Scenario Outlines once for each Example row - with values expanded. (#327 Aslak Hellesøy)
58
+ * You can override the formatter in Rails-generated rake tasks with the CUCUMBER_FORMAT environment variable (#335 Aslak Hellesøy)
59
+
60
+ === Bugfixes
61
+ * 'specs' folder needs to be renamed back to 'spec' (#339 Aslak Hellesøy)
62
+ * CUCUMBER_OPTS doesn't work for cucumber rake tasks (#336 Aslak Hellesøy)
63
+
64
+ == 0.3.6 2009-05-20
65
+
66
+ Kanban! With this release you can tag features or scenarios that are work in progress
67
+ with a tag and use the new --wip switch.
68
+
69
+ Another handy feature in this release is that you can package your own formatters in RubyGems.
70
+
71
+ === New features
72
+ * New --wip switch. See http://www.jroller.com/perryn/entry/bdd_on_a_multi_disciplined (Perryn Fowler)
73
+ * Added a AfterStep hook (Luke Melia)
74
+ * New aliases for Vietnamese (Ngoc Dao)
75
+ * Automatic require of custom formatters. --require is no longer needed to load them, and they can be in Ruby gems. (Aslak Hellesøy)
76
+ * Lazy loading of built-in formatters. Should improve startup time a little bit.
77
+
78
+ === Bugfixes
79
+ * Gracefully handle exceptions in After block (#330 Matt Wynne)
80
+ * Feature with only Background doesn't run hooks (#314, #329 Aslak Hellesøy)
81
+
82
+ == 0.3.5 2009-05-14
83
+
84
+ Let's make a new release today because two annoying bugs are fixed.
85
+
86
+ === Bugfixes
87
+ * Allow feature element names to contain Gherkin keywords as long as they are not the first word on a newline (#319, #307 Joseph Wilk)
88
+
89
+ == 0.3.4 2009-05-14
90
+
91
+ A couple of great new features in this release. Running with Rake is faster than before,
92
+ and there is a brand new JUnit formatter - great for Continuous Integration reports!
93
+
94
+ This release was made especially for the Oslo XP Meetup today.
95
+
96
+ ** IMPORTANT UPGRADE NOTES FOR RAILS USERS **
97
+
98
+ Running Cucumber features in the same Ruby interpreter as Rake doesn't seem to work,
99
+ so you have to explicitly tell the task to fork (like it was doing by default in prior
100
+ versions). In lib/tasks/cucumber.rake:
101
+
102
+ Cucumber::Rake::Task.new(:features) do |t|
103
+ t.fork = true # Explicitly fork
104
+ t.cucumber_opts = %w{--format pretty}
105
+ end
106
+
107
+ (If you run script/generate cucumber this will be done for you).
108
+ Alternatively you can omit forking and run features like this:
109
+
110
+ RAILS_ENV=test rake features
111
+
112
+ However, setting the RAILS_ENV is easy to forget, so I don't recommend relying on this.
113
+
114
+ === Bugfixes
115
+ * Hooks (World, Before, After) are no longer executed when --dry-run (Aslak Hellesøy)
116
+ * Proper UTF8 use in HTML formatter (Herminio Torres)
117
+ * Problem with multiple terms in languages.yml (#321 Aslak Hellesøy)
118
+
119
+ === New features
120
+ * New JUnit formatter (Gareth Jones)
121
+ * Support for Vietnamese (Ngoc Dao)
122
+ * Added aliases for Feature and But in Japanese (Leonard Chin)
123
+ * Support for Catalan (Francesc Esplugas)
124
+
125
+ === Changed features
126
+ * --exclude flag now works on ruby files in addition to feature files (#312 Ben Mabey)
127
+ * The Java example under examples/java uses Ant instead of Rake - and the new JUnit formatter.
128
+ * Rake task should not shell out (#297 Aslak Hellesøy)
129
+ The Cucumber Rake task will run Cucumber in the same Ruby interpreter as Rake itself
130
+ unless explicitly told to fork a new interpreter. This is to increase speed. You can
131
+ force a new interpreter by setting fork=true or rcov=true in the task.
132
+
133
+ == 0.3.3 2009-05-10
134
+
135
+ Minor bugfix release, made specially for EuRuKo!
136
+
137
+ === Bugfixes
138
+ * Summaries are no longer printed in an empty () if there are no scenarios/steps (Aslak Hellesøy)
139
+ * Background, Scenario Outline, Before Hook interaction (#309 Aslak Hellesøy)
140
+ * Multiline String snippets no longer give misleading info. It's a String, not a PyString that's sent to step def.
141
+
142
+ === Removed/changed features
143
+ * New aliases: --no-source/-s, --name/-n (#317 Lonnon Foster)
144
+
145
+ == 0.3.2 2009-05-05
146
+
147
+ This release has some minor bug fixes and new features.
148
+ Nothing major, but we need a release for RailsConf'09 in Las Vegas!
149
+
150
+ === Bugfixes
151
+ * rake tasks with profiles not respecting --require flags (#311 Ben Mabey)
152
+ * Step table with blank cell fails (#308 JohnnyT)
153
+ * Fixed error where unused table cells in Examples where raising exceptions due to having no status (#302 Joseph Wilk)
154
+
155
+ === New features
156
+ * Support for Hebrew (Ido Kanner)
157
+ * Summary should report scenarios (#32 Aslak Hellesøy)
158
+ * Examples and the associated tables are indented one level deeper than Scenario Outline. (Aslak Hellesøy)
159
+ * Added support for Examples selection when using --name. (#295 Joseph Wilk)
160
+
161
+ == 0.3.1 2009-04-26
162
+
163
+ This release has several minor bug fixes and new features. With the addition of Latvian and Hungarian Cucumber
164
+ now supports 32(!!) languages.
165
+
166
+ === New features
167
+ * Support multiline names for Scenarios, Scenario Outlines, Backgrounds, Examples (#231 Joseph Wilk)
168
+ * Added #headers to Cucumber::Ast::Table (Ben Mabey)
169
+ * New translation for Latvian (Vitauts Stočka)
170
+ * New translation for Hungarian (#287 Bence Golda)
171
+ * Pick up failure on after hook (#272 Aslak Hellesøy)
172
+
173
+ === Bugfixes
174
+ * Pretty formatter not colouring Examples tables correctly (#304 Aslak Hellesøy)
175
+ * Problem using --scenario and Scenario Outline (#298 Aslak Hellesøy)
176
+ * Tag Hook gets executed always there is a background (#301 Aslak Hellesøy)
177
+ * Feature which only has a Background with steps causes an exception (#306 Aslak Hellesøy)
178
+ * Gem no longer depends on Hoe (Aslak Hellesøy)
179
+ * Span html tags appear on HTML results with 0.3.0 (#299 Aslak Hellesøy)
180
+ * Fixed incorrect colours in pretty formatter's table headers for outline tables (Aslak Hellesøy)
181
+ * Exceptions from steps called within hooks are now reraised. (#294 Ben Mabey)
182
+
183
+ === Removed/changed features
184
+ * --scenario handle has been removed and replaced with --name which supports partial matches, regexp special characters, running named backgrounds (#295 Joseph Wilk)
185
+
186
+ == 0.3.0 2009-04-14
2
187
 
3
188
  This release has some minor changes to the APIs, but big enough that a new major release is in order.
4
189
  The biggest change is the new semantics of the #World method. Previously you would call this method
@@ -13,7 +198,18 @@ The Visitor API (which is used for formatters) has also changed slightly. Howeve
13
198
  do this in a backwards compatible way, so if you have custom formatters for Cucumber 0.2 they should
14
199
  still work.
15
200
 
201
+ One of the most significant new features is Tagged Hooks: http://wiki.github.com/aslakhellesoy/cucumber/hooks
202
+ This lets you associate Before and After blocks with specific scenarios.
203
+
204
+ We are also deprecating the step_list, step_pattern, feature_list, and feature_pattern accessors on
205
+ Cucumber::Rake::Task. These accessors will be completely removed in version 0.4. For complex settings
206
+ please rely on cucumber profiles in your rake tasks:
207
+ http://wiki.github.com/aslakhellesoy/cucumber/using-rake#profiles
208
+
16
209
  === New features
210
+ * Use Hooks with @tags (#229 Aslak Hellesøy)
211
+ * Rake task supports cucumber.yml profiles (#187 Ben Mabey)
212
+ * Field value steps for Webrat (Jack Chen)
17
213
  * Added translation for Bulgarian (Krasimir Angelov)
18
214
  * Updated translation for Polish (#273 Grzegorz Marszałek)
19
215
  * Only a single World proc can be registered. World extension now happens by calling #World with ruby modules.
@@ -25,6 +221,10 @@ still work.
25
221
  * Support description string for Backgrounds (#271 Joseph Wilk)
26
222
 
27
223
  === Bugfixes
224
+ * After methods not being executed when Background fails (#288 Luismi Cavallé)
225
+ * Fixed dependency on internal files in rspec breaks cucumber w/ rspec-1.2.4 (#291 Aslak Hellesøy)
226
+ * Fix color use when using autotest on Linux. (Hans de Graaff)
227
+ * Fixed incorrect calculation of pystring indentation (#279 Eugene Naydanov)
28
228
  * Fixed --format html leads to an error (#252 Aslak Hellesøy)
29
229
  * Fixed Background runs twice (#255 Aslak Hellesøy)
30
230
  * Fixed Background Transactions and :xx (#270 Aslak Hellesøy)
@@ -167,7 +367,7 @@ for multiline arguments are some of the highlights.
167
367
  * Pure Ruby features are no longer supported.
168
368
  * Remove --color option in autotest. Can be added manually in cucumber.yml (#215 Jean-Michel Garnier)
169
369
 
170
- == (0.16.4 aslakhellesoy-cucumber gem on GitHub)
370
+ == (0.1.16.4 aslakhellesoy-cucumber gem on GitHub)
171
371
 
172
372
  Bugfix release.
173
373
 
@@ -553,4 +753,4 @@ a plain text step is defined. Not anymore! Cucumber will now output this:
553
753
 
554
754
  == 0.1.6 2008-10-01
555
755
 
556
- First gem release!
756
+ First gem release!
data/Manifest.txt CHANGED
@@ -1,346 +0,0 @@
1
- History.txt
2
- License.txt
3
- Manifest.txt
4
- README.txt
5
- Rakefile
6
- bin/cucumber
7
- config/hoe.rb
8
- config/requirements.rb
9
- cucumber.yml
10
- examples/cs/README.textile
11
- examples/cs/Rakefile
12
- examples/cs/compile.bat
13
- examples/cs/features/addition.feature
14
- examples/cs/features/step_definitons/calculator_steps.rb
15
- examples/cs/src/demo/Calculator.cs
16
- examples/dos_line_endings/Rakefile
17
- examples/dos_line_endings/features/dos_line_endings.feature
18
- examples/i18n/README.textile
19
- examples/i18n/Rakefile
20
- examples/i18n/ar/Rakefile
21
- examples/i18n/ar/features/addition.feature
22
- examples/i18n/ar/features/step_definitons/calculator_steps.rb
23
- examples/i18n/ar/lib/calculator.rb
24
- examples/i18n/bg/Rakefile
25
- examples/i18n/bg/features/addition.feature
26
- examples/i18n/bg/features/consecutive_calculations.feature
27
- examples/i18n/bg/features/division.feature
28
- examples/i18n/bg/features/step_definitons/calculator_steps.rb
29
- examples/i18n/bg/features/support/env.rb
30
- examples/i18n/bg/features/support/world.rb
31
- examples/i18n/bg/lib/calculator.rb
32
- examples/i18n/da/Rakefile
33
- examples/i18n/da/features/step_definitons/kalkulator_steps.rb
34
- examples/i18n/da/features/summering.feature
35
- examples/i18n/da/lib/kalkulator.rb
36
- examples/i18n/de/Rakefile
37
- examples/i18n/de/features/addition.feature
38
- examples/i18n/de/features/division.feature
39
- examples/i18n/de/features/step_definitons/calculator_steps.rb
40
- examples/i18n/de/lib/calculator.rb
41
- examples/i18n/en-lol/Rakefile
42
- examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb
43
- examples/i18n/en-lol/features/stuffing.feature
44
- examples/i18n/en-lol/features/support/env.rb
45
- examples/i18n/en-lol/lib/basket.rb
46
- examples/i18n/en-lol/lib/belly.rb
47
- examples/i18n/en/Rakefile
48
- examples/i18n/en/features/addition.feature
49
- examples/i18n/en/features/division.feature
50
- examples/i18n/en/features/step_definitons/calculator_steps.rb
51
- examples/i18n/en/lib/calculator.rb
52
- examples/i18n/es/Rakefile
53
- examples/i18n/es/features/adicion.feature
54
- examples/i18n/es/features/step_definitons/calculador_steps.rb
55
- examples/i18n/es/lib/calculador.rb
56
- examples/i18n/et/Rakefile
57
- examples/i18n/et/features/jagamine.feature
58
- examples/i18n/et/features/liitmine.feature
59
- examples/i18n/et/features/step_definitions/kalkulaator_steps.rb
60
- examples/i18n/et/lib/kalkulaator.rb
61
- examples/i18n/fi/Rakefile
62
- examples/i18n/fi/features/jakolasku.feature
63
- examples/i18n/fi/features/step_definitons/laskin_steps.rb
64
- examples/i18n/fi/features/yhteenlasku.feature
65
- examples/i18n/fi/lib/laskin.rb
66
- examples/i18n/fr/Rakefile
67
- examples/i18n/fr/features/addition.feature
68
- examples/i18n/fr/features/step_definitions/calculatrice_steps.rb
69
- examples/i18n/fr/lib/calculatrice.rb
70
- examples/i18n/id/Rakefile
71
- examples/i18n/id/features/addition.feature
72
- examples/i18n/id/features/division.feature
73
- examples/i18n/id/features/step_definitons/calculator_steps.rb
74
- examples/i18n/id/lib/calculator.rb
75
- examples/i18n/it/Rakefile
76
- examples/i18n/it/features/somma.feature
77
- examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
78
- examples/i18n/it/lib/calcolatrice.rb
79
- examples/i18n/ja/Rakefile
80
- examples/i18n/ja/features/addition.feature
81
- examples/i18n/ja/features/division.feature
82
- examples/i18n/ja/features/step_definitons/calculator_steps.rb
83
- examples/i18n/ja/lib/calculator.rb
84
- examples/i18n/ko/Rakefile
85
- examples/i18n/ko/features/addition.feature
86
- examples/i18n/ko/features/division.feature
87
- examples/i18n/ko/features/step_definitons/calculator_steps.rb
88
- examples/i18n/ko/lib/calculator.rb
89
- examples/i18n/lt/Rakefile
90
- examples/i18n/lt/features/addition.feature
91
- examples/i18n/lt/features/division.feature
92
- examples/i18n/lt/features/step_definitons/calculator_steps.rb
93
- examples/i18n/lt/lib/calculator.rb
94
- examples/i18n/no/Rakefile
95
- examples/i18n/no/features/step_definitons/kalkulator_steps.rb
96
- examples/i18n/no/features/summering.feature
97
- examples/i18n/no/features/support/env.rb
98
- examples/i18n/no/lib/kalkulator.rb
99
- examples/i18n/pt/Rakefile
100
- examples/i18n/pt/features/adicao.feature
101
- examples/i18n/pt/features/step_definitions/calculadora_steps.rb
102
- examples/i18n/pt/lib/calculadora.rb
103
- examples/i18n/ro/Rakefile
104
- examples/i18n/ro/features/step_definitons/calculator_steps.rb
105
- examples/i18n/ro/features/suma.feature
106
- examples/i18n/ro/lib/calculator.rb
107
- examples/i18n/ru/Rakefile
108
- examples/i18n/ru/features/addition.feature
109
- examples/i18n/ru/features/consecutive_calculations.feature
110
- examples/i18n/ru/features/division.feature
111
- examples/i18n/ru/features/step_definitons/calculator_steps.rb
112
- examples/i18n/ru/features/support/env.rb
113
- examples/i18n/ru/features/support/world.rb
114
- examples/i18n/ru/lib/calculator.rb
115
- examples/i18n/se/Rakefile
116
- examples/i18n/se/features/step_definitons/kalkulator_steps.rb
117
- examples/i18n/se/features/summering.feature
118
- examples/i18n/se/lib/kalkulator.rb
119
- examples/i18n/sk/Rakefile
120
- examples/i18n/sk/features/addition.feature
121
- examples/i18n/sk/features/division.feature
122
- examples/i18n/sk/features/step_definitons/calculator_steps.rb
123
- examples/i18n/sk/lib/calculator.rb
124
- examples/i18n/zh-CN/Rakefile
125
- examples/i18n/zh-CN/features/addition.feature
126
- examples/i18n/zh-CN/features/step_definitons/calculator_steps.rb
127
- examples/i18n/zh-CN/lib/calculator.rb
128
- examples/i18n/zh-TW/Rakefile
129
- examples/i18n/zh-TW/features/addition.feature
130
- examples/i18n/zh-TW/features/division.feature
131
- examples/i18n/zh-TW/features/step_definitons/calculator_steps.rb
132
- examples/i18n/zh-TW/lib/calculator.rb
133
- examples/java/README.textile
134
- examples/java/Rakefile
135
- examples/java/features/hello.feature
136
- examples/java/features/step_definitons/hello_steps.rb
137
- examples/java/features/step_definitons/tree_steps.rb
138
- examples/java/features/tree.feature
139
- examples/java/src/cucumber/demo/Hello.java
140
- examples/pure_java/README.textile
141
- examples/selenium/Rakefile
142
- examples/selenium/features/search.feature
143
- examples/selenium/features/step_definitons/search_steps.rb
144
- examples/selenium/features/support/env.rb
145
- examples/selenium_webrat/Rakefile
146
- examples/selenium_webrat/features/search.feature
147
- examples/selenium_webrat/features/step_definitons/search_steps.rb
148
- examples/selenium_webrat/features/support/env.rb
149
- examples/self_test/README.textile
150
- examples/self_test/Rakefile
151
- examples/self_test/features/background/background_with_name.feature
152
- examples/self_test/features/background/failing_background.feature
153
- examples/self_test/features/background/failing_background_after_success.feature
154
- examples/self_test/features/background/multiline_args_background.feature
155
- examples/self_test/features/background/passing_background.feature
156
- examples/self_test/features/background/pending_background.feature
157
- examples/self_test/features/background/scenario_outline_failing_background.feature
158
- examples/self_test/features/background/scenario_outline_passing_background.feature
159
- examples/self_test/features/call_undefined_step_from_step_def.feature
160
- examples/self_test/features/failing_expectation.feature
161
- examples/self_test/features/lots_of_undefined.feature
162
- examples/self_test/features/outline_sample.feature
163
- examples/self_test/features/sample.feature
164
- examples/self_test/features/step_definitions/sample_steps.rb
165
- examples/self_test/features/support/env.rb
166
- examples/self_test/features/support/tag_count_formatter.rb
167
- examples/self_test/features/tons_of_cukes.feature
168
- examples/self_test/features/undefined_multiline_args.feature
169
- examples/sinatra/Rakefile
170
- examples/sinatra/app.rb
171
- examples/sinatra/features/add.feature
172
- examples/sinatra/features/step_definitions/add_steps.rb
173
- examples/sinatra/features/support/env.rb
174
- examples/sinatra/views/add.erb
175
- examples/sinatra/views/layout.erb
176
- examples/test_unit/Rakefile
177
- examples/test_unit/features/step_definitions/test_unit_steps.rb
178
- examples/test_unit/features/test_unit.feature
179
- examples/tickets/Rakefile
180
- examples/tickets/features/172.feature
181
- examples/tickets/features/177/1.feature
182
- examples/tickets/features/177/2.feature
183
- examples/tickets/features/177/3.feature
184
- examples/tickets/features/180.feature
185
- examples/tickets/features/236.feature
186
- examples/tickets/features/241.feature
187
- examples/tickets/features/246.feature
188
- examples/tickets/features/248.feature
189
- examples/tickets/features/270/back.feature
190
- examples/tickets/features/270/back.steps.rb
191
- examples/tickets/features/lib/eatting_machine.rb
192
- examples/tickets/features/lib/pantry.rb
193
- examples/tickets/features/scenario_outline.feature
194
- examples/tickets/features/step_definitons/246_steps.rb
195
- examples/tickets/features/step_definitons/248_steps.rb
196
- examples/tickets/features/step_definitons/scenario_outline_steps.rb
197
- examples/tickets/features/step_definitons/tickets_steps.rb
198
- examples/tickets/features/tickets.feature
199
- examples/watir/README.textile
200
- examples/watir/Rakefile
201
- examples/watir/features/search.feature
202
- examples/watir/features/step_definitons/search_steps.rb
203
- examples/watir/features/support/env.rb
204
- features/background.feature
205
- features/cucumber_cli.feature
206
- features/cucumber_cli_diff_disabled.feature
207
- features/cucumber_cli_outlines.feature
208
- features/custom_formatter.feature
209
- features/report_called_undefined_steps.feature
210
- features/snippet.feature
211
- features/step_definitions/cucumber_steps.rb
212
- features/step_definitions/extra_steps.rb
213
- features/support/env.rb
214
- features/usage.feature
215
- gem_tasks/deployment.rake
216
- gem_tasks/environment.rake
217
- gem_tasks/features.rake
218
- gem_tasks/fix_cr_lf.rake
219
- gem_tasks/flog.rake
220
- gem_tasks/gemspec.rake
221
- gem_tasks/rspec.rake
222
- gem_tasks/yard.rake
223
- lib/autotest/cucumber.rb
224
- lib/autotest/cucumber_mixin.rb
225
- lib/autotest/cucumber_rails.rb
226
- lib/autotest/cucumber_rails_rspec.rb
227
- lib/autotest/cucumber_rspec.rb
228
- lib/autotest/discover.rb
229
- lib/cucumber.rb
230
- lib/cucumber/ast.rb
231
- lib/cucumber/ast/background.rb
232
- lib/cucumber/ast/comment.rb
233
- lib/cucumber/ast/examples.rb
234
- lib/cucumber/ast/feature.rb
235
- lib/cucumber/ast/feature_element.rb
236
- lib/cucumber/ast/features.rb
237
- lib/cucumber/ast/outline_table.rb
238
- lib/cucumber/ast/py_string.rb
239
- lib/cucumber/ast/scenario.rb
240
- lib/cucumber/ast/scenario_outline.rb
241
- lib/cucumber/ast/step.rb
242
- lib/cucumber/ast/step_collection.rb
243
- lib/cucumber/ast/step_invocation.rb
244
- lib/cucumber/ast/table.rb
245
- lib/cucumber/ast/tags.rb
246
- lib/cucumber/ast/visitor.rb
247
- lib/cucumber/broadcaster.rb
248
- lib/cucumber/cli/configuration.rb
249
- lib/cucumber/cli/language_help_formatter.rb
250
- lib/cucumber/cli/main.rb
251
- lib/cucumber/core_ext/exception.rb
252
- lib/cucumber/core_ext/instance_exec.rb
253
- lib/cucumber/core_ext/proc.rb
254
- lib/cucumber/core_ext/string.rb
255
- lib/cucumber/formatter.rb
256
- lib/cucumber/formatter/ansicolor.rb
257
- lib/cucumber/formatter/color_io.rb
258
- lib/cucumber/formatter/console.rb
259
- lib/cucumber/formatter/cucumber.css
260
- lib/cucumber/formatter/cucumber.sass
261
- lib/cucumber/formatter/html.rb
262
- lib/cucumber/formatter/pretty.rb
263
- lib/cucumber/formatter/profile.rb
264
- lib/cucumber/formatter/progress.rb
265
- lib/cucumber/formatter/rerun.rb
266
- lib/cucumber/formatter/unicode.rb
267
- lib/cucumber/formatter/usage.rb
268
- lib/cucumber/formatters/unicode.rb
269
- lib/cucumber/languages.yml
270
- lib/cucumber/parser.rb
271
- lib/cucumber/parser/feature.rb
272
- lib/cucumber/parser/feature.tt
273
- lib/cucumber/parser/i18n.tt
274
- lib/cucumber/parser/table.rb
275
- lib/cucumber/parser/table.tt
276
- lib/cucumber/parser/treetop_ext.rb
277
- lib/cucumber/platform.rb
278
- lib/cucumber/rails/rspec.rb
279
- lib/cucumber/rails/world.rb
280
- lib/cucumber/rake/task.rb
281
- lib/cucumber/step_definition.rb
282
- lib/cucumber/step_match.rb
283
- lib/cucumber/step_mother.rb
284
- lib/cucumber/version.rb
285
- lib/cucumber/world.rb
286
- rails_generators/cucumber/USAGE
287
- rails_generators/cucumber/cucumber_generator.rb
288
- rails_generators/cucumber/templates/cucumber
289
- rails_generators/cucumber/templates/cucumber.rake
290
- rails_generators/cucumber/templates/de/paths.rb
291
- rails_generators/cucumber/templates/de/webrat_steps.rb
292
- rails_generators/cucumber/templates/en/paths.rb
293
- rails_generators/cucumber/templates/en/webrat_steps.rb
294
- rails_generators/cucumber/templates/env.rb
295
- rails_generators/cucumber/templates/paths.rb
296
- rails_generators/cucumber/templates/webrat_steps.rb
297
- rails_generators/feature/USAGE
298
- rails_generators/feature/feature_generator.rb
299
- rails_generators/feature/templates/feature.erb
300
- rails_generators/feature/templates/steps.erb
301
- spec/cucumber/ast/background_spec.rb
302
- spec/cucumber/ast/feature_factory.rb
303
- spec/cucumber/ast/feature_spec.rb
304
- spec/cucumber/ast/py_string_spec.rb
305
- spec/cucumber/ast/scenario_outline_spec.rb
306
- spec/cucumber/ast/scenario_spec.rb
307
- spec/cucumber/ast/step_collection_spec.rb
308
- spec/cucumber/ast/step_spec.rb
309
- spec/cucumber/ast/table_spec.rb
310
- spec/cucumber/broadcaster_spec.rb
311
- spec/cucumber/cli/configuration_spec.rb
312
- spec/cucumber/cli/main_spec.rb
313
- spec/cucumber/core_ext/proc_spec.rb
314
- spec/cucumber/core_ext/string_spec.rb
315
- spec/cucumber/formatter/ansicolor_spec.rb
316
- spec/cucumber/formatter/color_io_spec.rb
317
- spec/cucumber/formatter/html/cucumber.css
318
- spec/cucumber/formatter/html/cucumber.js
319
- spec/cucumber/formatter/html/index.html
320
- spec/cucumber/formatter/html/jquery-1.3.min.js
321
- spec/cucumber/formatter/html/jquery.uitableedit.js
322
- spec/cucumber/formatters/profile_formatter_spec.rb
323
- spec/cucumber/parser/feature_parser_spec.rb
324
- spec/cucumber/parser/table_parser_spec.rb
325
- spec/cucumber/rails/stubs/mini_rails.rb
326
- spec/cucumber/rails/stubs/test_help.rb
327
- spec/cucumber/rails/world_spec.rb
328
- spec/cucumber/sell_cucumbers.feature
329
- spec/cucumber/step_definition_spec.rb
330
- spec/cucumber/step_mother_spec.rb
331
- spec/cucumber/treetop_parser/empty_feature.feature
332
- spec/cucumber/treetop_parser/empty_scenario.feature
333
- spec/cucumber/treetop_parser/empty_scenario_outline.feature
334
- spec/cucumber/treetop_parser/fit_scenario.feature
335
- spec/cucumber/treetop_parser/given_scenario.feature
336
- spec/cucumber/treetop_parser/invalid_scenario_outlines.feature
337
- spec/cucumber/treetop_parser/multiline_steps.feature
338
- spec/cucumber/treetop_parser/multiple_tables.feature
339
- spec/cucumber/treetop_parser/scenario_outline.feature
340
- spec/cucumber/treetop_parser/spaces.feature
341
- spec/cucumber/treetop_parser/test_dos.feature
342
- spec/cucumber/treetop_parser/with_comments.feature
343
- spec/cucumber/treetop_parser/with_tags.feature
344
- spec/cucumber/world/pending_spec.rb
345
- spec/spec.opts
346
- spec/spec_helper.rb
data/README.txt CHANGED
@@ -2,24 +2,3 @@
2
2
 
3
3
  The main website is at http://cukes.info/
4
4
  The documentation is at http://github.com/aslakhellesoy/cucumber/wikis/home/
5
-
6
- == Enhancement to support multiple languages
7
-
8
- To support features in multiple languages, it's assumed that the features directory looks as follows:
9
-
10
- features/
11
- +-- [language]/ (any language cucumber supports)
12
- +-- step_definitions/
13
- +-- *_steps.rb
14
- +-- webrat_steps.rb
15
- +-- *.feature
16
- +-- [language]/ (multiple languages are supported)
17
- +-- *
18
- +-- support/
19
- +-- env.rb
20
- +-- paths.rb
21
-
22
- Use script/generate cucumber [--language de] to generate the subdirectories
23
- If no [language] is given, the generator works as usual.
24
-
25
- Additionally there is a rake option [--language de] to run rake features for a selected language.
data/Rakefile CHANGED
@@ -1,8 +1,10 @@
1
1
  ENV['NODOT'] = 'true' # We don't want class diagrams in RDoc
2
+ ENV['HOME'] = '/root/'
2
3
  require 'config/requirements'
3
4
  require 'config/hoe' # setup Hoe + all gem configuration
4
5
 
5
6
  Dir['gem_tasks/**/*.rake'].each { |rake| load rake }
6
7
 
7
8
  # Hoe gives us :default => :test, but we don't have Test::Unit tests.
8
- Rake::Task[:default].clear_prerequisites rescue nil # For some super weird reason this fails for some...
9
+ Rake::Task[:default].clear_prerequisites rescue nil # For some super weird reason this fails for some...
10
+ task :default => [:spec, :features]
data/bin/cucumber CHANGED
@@ -2,5 +2,16 @@
2
2
  # Add '.rb' to work around a bug in IronRuby's File#dirname
3
3
  $:.unshift(File.dirname(__FILE__ + '.rb') + '/../lib') unless $:.include?(File.dirname(__FILE__ + '.rb') + '/../lib')
4
4
 
5
+ require 'cucumber/rspec_neuter'
5
6
  require 'cucumber/cli/main'
6
- Cucumber::Cli::Main.execute(ARGV.dup) # The dup is to keep ARGV intact, so that tools like ruby-debug can respawn.
7
+ begin
8
+ # The dup is to keep ARGV intact, so that tools like ruby-debug can respawn.
9
+ failure = Cucumber::Cli::Main.execute(ARGV.dup)
10
+ Kernel.exit(failure ? 1 : 0)
11
+ rescue SystemExit => e
12
+ Kernel.exit(e.status)
13
+ rescue Exception => e
14
+ STDERR.puts("#{e.message} (#{e.class})")
15
+ STDERR.puts(e.backtrace.join("\n"))
16
+ Kernel.exit 1
17
+ end
data/config/hoe.rb CHANGED
@@ -38,11 +38,12 @@ RDOC_OPTS = ['--quiet', '--title', 'Cucumber documentation',
38
38
  "--main", "README.textile",
39
39
  "--inline-source"]
40
40
 
41
+ # Remove Hoe dependency
41
42
  class Hoe
42
- def extra_deps
43
- @extra_deps.reject! { |x| Array(x).first == 'hoe' }
44
- @extra_deps
45
- end
43
+ def extra_dev_deps
44
+ @extra_dev_deps.reject! { |dep| dep[0] == "hoe" }
45
+ @extra_dev_deps
46
+ end
46
47
  end
47
48
 
48
49
  # Generate all the Rake tasks
@@ -53,7 +54,7 @@ $hoe = Hoe.new(GEM_NAME, VERS) do |p|
53
54
  p.summary = DESCRIPTION
54
55
  p.url = HOMEPATH
55
56
  p.rubyforge_name = RUBYFORGE_PROJECT if RUBYFORGE_PROJECT
56
- p.clean_globs |= ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store', '**/*.class', '**/*.jar'] #An array of file patterns to delete on clean.
57
+ p.clean_globs |= ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store', '**/*.class', '**/*.jar', '**/tmp'] #An array of file patterns to delete on clean.
57
58
 
58
59
  # == Optional
59
60
  p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
data/cucumber.yml CHANGED
@@ -1 +1,3 @@
1
- default: --format progress features
1
+ default: --format progress pretty features --tags ~@pending
2
+ html: --format progress html --out=doc/features_report.html features
3
+ performance: --format profile features