cucumber 0.1.10 → 0.2.0
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.
- data/History.txt +223 -5
- data/License.txt +1 -1
- data/Manifest.txt +174 -85
- data/README.txt +2 -39
- data/Rakefile +1 -2
- data/bin/cucumber +2 -2
- data/config/hoe.rb +9 -3
- data/examples/cs/README.textile +1 -22
- data/examples/cs/Rakefile +1 -1
- data/examples/cs/compile.bat +1 -0
- data/examples/cs/features/addition.feature +16 -0
- data/examples/cs/features/step_definitons/calculator_steps.rb +19 -0
- data/examples/cs/src/demo/Calculator.cs +20 -0
- data/examples/i18n/README.textile +1 -1
- data/examples/i18n/Rakefile +20 -4
- data/examples/i18n/ar/features/addition.feature +10 -11
- data/examples/i18n/ar/features/step_definitons/calculator_steps.rb +4 -12
- data/examples/i18n/da/features/step_definitons/kalkulator_steps.rb +4 -2
- data/examples/i18n/de/features/addition.feature +10 -11
- data/examples/i18n/de/features/division.feature +0 -1
- data/examples/i18n/de/features/step_definitons/calculator_steps.rb +5 -11
- data/examples/i18n/en/features/addition.feature +10 -11
- data/examples/i18n/en/features/division.feature +0 -1
- data/examples/i18n/en/features/step_definitons/calculator_steps.rb +5 -12
- data/examples/i18n/en-lol/Rakefile +6 -0
- data/examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb +16 -0
- data/examples/i18n/en-lol/features/stuffing.feature +8 -0
- data/examples/i18n/en-lol/features/support/env.rb +8 -0
- data/examples/i18n/en-lol/lib/basket.rb +12 -0
- data/examples/i18n/en-lol/lib/belly.rb +11 -0
- data/examples/i18n/es/features/adicion.feature +11 -12
- data/examples/i18n/es/features/step_definitons/calculador_steps.rb +10 -11
- data/examples/i18n/es/lib/calculador.rb +4 -1
- data/examples/i18n/et/features/jagamine.feature +9 -0
- data/examples/i18n/et/features/liitmine.feature +10 -11
- data/examples/i18n/et/features/step_definitions/kalkulaator_steps.rb +7 -9
- data/examples/i18n/et/lib/kalkulaator.rb +5 -1
- data/examples/i18n/fi/Rakefile +6 -0
- data/examples/i18n/fi/features/jakolasku.feature +9 -0
- data/examples/i18n/fi/features/step_definitons/laskin_steps.rb +24 -0
- data/examples/i18n/fi/features/yhteenlasku.feature +16 -0
- data/examples/i18n/fi/lib/laskin.rb +14 -0
- data/examples/i18n/fr/features/addition.feature +16 -12
- data/examples/i18n/fr/features/step_definitions/calculatrice_steps.rb +14 -11
- data/examples/i18n/fr/lib/calculatrice.rb +1 -1
- data/examples/i18n/id/features/addition.feature +10 -11
- data/examples/i18n/id/features/division.feature +0 -1
- data/examples/i18n/id/features/step_definitons/calculator_steps.rb +5 -12
- data/examples/i18n/it/features/step_definitons/calcolatrice_steps.rb +4 -2
- data/examples/i18n/ja/features/addition.feature +10 -11
- data/examples/i18n/ja/features/division.feature +2 -3
- data/examples/i18n/ja/features/step_definitons/calculator_steps.rb +6 -12
- data/examples/i18n/ko/Rakefile +6 -0
- data/examples/i18n/ko/features/addition.feature +16 -0
- data/examples/i18n/ko/features/division.feature +10 -0
- data/examples/i18n/ko/features/step_definitons/calculator_steps.rb +24 -0
- data/examples/i18n/ko/lib/calculator.rb +14 -0
- data/examples/i18n/lt/features/addition.feature +11 -11
- data/examples/i18n/lt/features/division.feature +0 -1
- data/examples/i18n/lt/features/step_definitons/calculator_steps.rb +5 -12
- data/examples/i18n/no/features/step_definitons/kalkulator_steps.rb +4 -9
- data/examples/i18n/no/features/summering.feature +1 -0
- data/examples/i18n/no/features/support/env.rb +6 -0
- data/examples/i18n/pt/features/step_definitions/calculadora_steps.rb +4 -2
- data/examples/i18n/ro/features/step_definitons/calculator_steps.rb +4 -2
- data/examples/i18n/ru/Rakefile +6 -0
- data/examples/i18n/ru/features/addition.feature +10 -0
- data/examples/i18n/ru/features/consecutive_calculations.feature +16 -0
- data/examples/i18n/ru/features/division.feature +15 -0
- data/examples/i18n/ru/features/step_definitons/calculator_steps.rb +19 -0
- data/examples/i18n/ru/features/support/env.rb +6 -0
- data/examples/i18n/ru/features/support/world.rb +7 -0
- data/examples/i18n/ru/lib/calculator.rb +24 -0
- data/examples/i18n/se/features/step_definitons/kalkulator_steps.rb +4 -2
- data/examples/i18n/zh-CN/features/step_definitons/calculator_steps.rb +5 -3
- data/examples/i18n/zh-TW/Rakefile +6 -0
- data/examples/i18n/zh-TW/features/addition.feature +16 -0
- data/examples/i18n/zh-TW/features/division.feature +10 -0
- data/examples/i18n/zh-TW/features/step_definitons/calculator_steps.rb +24 -0
- data/examples/i18n/zh-TW/lib/calculator.rb +14 -0
- data/examples/java/features/step_definitons/hello_steps.rb +1 -1
- data/examples/java/features/step_definitons/tree_steps.rb +1 -1
- data/examples/jbehave/README.textile +20 -0
- data/examples/jbehave/features/support/env.rb +7 -0
- data/examples/jbehave/features/trading.feature +28 -0
- data/examples/jbehave/pom.xml +53 -0
- data/examples/jbehave/src/main/java/cukes/jbehave/examples/trader/converters/TraderConverter.java +32 -0
- data/examples/jbehave/src/main/java/cukes/jbehave/examples/trader/model/Stock.java +42 -0
- data/examples/jbehave/src/main/java/cukes/jbehave/examples/trader/model/Trader.java +29 -0
- data/examples/jbehave/src/main/java/cukes/jbehave/examples/trader/persistence/TraderPersister.java +22 -0
- data/examples/jbehave/src/main/java/cukes/jbehave/examples/trader/scenarios/TraderSteps.java +70 -0
- data/examples/selenium/features/search.feature +1 -1
- data/examples/selenium/features/step_definitons/search_steps.rb +13 -0
- data/examples/selenium/features/support/env.rb +19 -0
- data/examples/selenium_webrat/features/search.feature +9 -0
- data/examples/selenium_webrat/features/step_definitons/search_steps.rb +13 -0
- data/examples/selenium_webrat/features/support/env.rb +41 -0
- data/examples/self_test/README.textile +6 -0
- data/examples/self_test/Rakefile +6 -0
- data/examples/self_test/features/background/failing_background.feature +11 -0
- data/examples/self_test/features/background/failing_background_after_success.feature +11 -0
- data/examples/self_test/features/background/multiline_args_background.feature +32 -0
- data/examples/self_test/features/background/passing_background.feature +10 -0
- data/examples/self_test/features/background/pending_background.feature +10 -0
- data/examples/self_test/features/background/scenario_outline_failing_background.feature +16 -0
- data/examples/self_test/features/background/scenario_outline_passing_background.feature +16 -0
- data/examples/self_test/features/call_undefined_step_from_step_def.feature +7 -0
- data/examples/self_test/features/failing_expectation.feature +4 -0
- data/examples/self_test/features/lots_of_undefined.feature +8 -0
- data/examples/self_test/features/outline_sample.feature +15 -0
- data/examples/self_test/features/sample.feature +19 -0
- data/examples/self_test/features/step_definitions/sample_steps.rb +64 -0
- data/examples/self_test/features/support/env.rb +1 -0
- data/examples/self_test/features/support/tag_count_formatter.rb +25 -0
- data/examples/sinatra/Rakefile +6 -0
- data/examples/sinatra/app.rb +14 -0
- data/examples/sinatra/features/add.feature +11 -0
- data/examples/sinatra/features/step_definitions/add_steps.rb +15 -0
- data/examples/sinatra/features/support/env.rb +20 -0
- data/examples/sinatra/views/add.erb +5 -0
- data/examples/sinatra/views/layout.erb +8 -0
- data/examples/tickets/Rakefile +13 -8
- data/examples/tickets/cucumber.yml +2 -1
- data/examples/tickets/features/172.feature +28 -0
- data/examples/tickets/features/177/1.feature +29 -0
- data/examples/tickets/features/177/2.feature +21 -0
- data/examples/tickets/features/177/3.feature +18 -0
- data/examples/tickets/features/180.feature +7 -0
- data/examples/tickets/features/236.feature +13 -0
- data/examples/tickets/features/241.feature +13 -0
- data/examples/tickets/features/lib/eatting_machine.rb +18 -0
- data/examples/tickets/features/lib/pantry.rb +20 -0
- data/examples/tickets/features/scenario_outline.feature +95 -0
- data/examples/tickets/features/step_definitons/scenario_outline_steps.rb +42 -0
- data/examples/tickets/features/step_definitons/tickets_steps.rb +46 -5
- data/examples/tickets/features/tickets.feature +5 -1
- data/examples/watir/README.textile +16 -0
- data/examples/watir/features/step_definitons/search_steps.rb +24 -0
- data/examples/watir/features/support/env.rb +32 -0
- data/features/background.feature +221 -0
- data/features/cucumber_cli.feature +389 -0
- data/features/cucumber_cli_diff_disabled.feature +45 -0
- data/features/cucumber_cli_outlines.feature +81 -0
- data/features/custom_formatter.feature +11 -0
- data/features/report_called_undefined_steps.feature +34 -0
- data/features/step_definitions/cucumber_steps.rb +30 -0
- data/features/step_definitions/extra_steps.rb +2 -0
- data/features/support/env.rb +8 -0
- data/gem_tasks/deployment.rake +0 -23
- data/gem_tasks/features.rake +1 -1
- data/gem_tasks/fix_cr_lf.rake +1 -1
- data/gem_tasks/flog.rake +1 -1
- data/gem_tasks/gemspec.rake +4 -0
- data/gem_tasks/jar.rake +67 -0
- data/gem_tasks/rspec.rake +31 -15
- data/gem_tasks/yard.rake +8 -0
- data/lib/autotest/cucumber_mixin.rb +41 -25
- data/lib/cucumber/ast/background.rb +50 -0
- data/lib/cucumber/ast/comment.rb +26 -0
- data/lib/cucumber/ast/examples.rb +38 -0
- data/lib/cucumber/ast/feature.rb +62 -0
- data/lib/cucumber/ast/feature_element.rb +46 -0
- data/lib/cucumber/ast/features.rb +20 -0
- data/lib/cucumber/ast/outline_table.rb +81 -0
- data/lib/cucumber/ast/py_string.rb +58 -0
- data/lib/cucumber/ast/scenario.rb +64 -0
- data/lib/cucumber/ast/scenario_outline.rb +90 -0
- data/lib/cucumber/ast/step.rb +122 -0
- data/lib/cucumber/ast/step_collection.rb +66 -0
- data/lib/cucumber/ast/step_invocation.rb +110 -0
- data/lib/cucumber/ast/table.rb +318 -0
- data/lib/cucumber/ast/tags.rb +33 -0
- data/lib/cucumber/ast/visitor.rb +125 -0
- data/lib/cucumber/ast.rb +29 -0
- data/lib/cucumber/broadcaster.rb +2 -9
- data/lib/cucumber/cli/configuration.rb +364 -0
- data/lib/cucumber/cli/language_help_formatter.rb +59 -0
- data/lib/cucumber/cli/main.rb +109 -0
- data/lib/cucumber/core_ext/exception.rb +53 -0
- data/lib/cucumber/core_ext/instance_exec.rb +54 -0
- data/lib/cucumber/core_ext/proc.rb +29 -65
- data/lib/cucumber/core_ext/string.rb +26 -0
- data/lib/cucumber/formatter/ansicolor.rb +102 -0
- data/lib/cucumber/formatter/color_io.rb +23 -0
- data/lib/cucumber/formatter/console.rb +109 -0
- data/lib/cucumber/formatter/cucumber.css +55 -0
- data/lib/cucumber/formatter/cucumber.sass +49 -0
- data/lib/cucumber/formatter/html.rb +133 -0
- data/lib/cucumber/formatter/pretty.rb +179 -0
- data/lib/cucumber/formatter/profile.rb +77 -0
- data/lib/cucumber/formatter/progress.rb +60 -0
- data/lib/cucumber/formatter/rerun.rb +35 -0
- data/lib/cucumber/formatter/unicode.rb +35 -0
- data/lib/cucumber/formatter.rb +1 -0
- data/lib/cucumber/formatters/unicode.rb +2 -0
- data/lib/cucumber/jbehave.rb +97 -0
- data/lib/cucumber/languages.yml +214 -72
- data/lib/cucumber/parser/basic.rb +0 -0
- data/lib/cucumber/parser/feature.rb +1487 -0
- data/lib/cucumber/parser/feature.tt +193 -0
- data/lib/cucumber/parser/i18n.tt +31 -0
- data/lib/cucumber/parser/table.rb +402 -0
- data/lib/cucumber/parser/table.tt +59 -0
- data/lib/cucumber/parser/treetop_ext.rb +75 -0
- data/lib/cucumber/parser.rb +43 -0
- data/lib/cucumber/platform.rb +13 -8
- data/lib/cucumber/rails/rspec.rb +6 -10
- data/lib/cucumber/rails/world.rb +8 -8
- data/lib/cucumber/rake/task.rb +46 -9
- data/lib/cucumber/step_definition.rb +103 -0
- data/lib/cucumber/step_match.rb +49 -0
- data/lib/cucumber/step_mother.rb +184 -65
- data/lib/cucumber/version.rb +4 -3
- data/lib/cucumber/world.rb +53 -0
- data/lib/cucumber.rb +45 -21
- data/rails_generators/cucumber/cucumber_generator.rb +23 -3
- data/rails_generators/cucumber/templates/cucumber +2 -1
- data/rails_generators/cucumber/templates/cucumber.rake +13 -5
- data/rails_generators/cucumber/templates/env.rb +11 -2
- data/rails_generators/cucumber/templates/paths.rb +19 -0
- data/rails_generators/cucumber/templates/webrat_steps.rb +60 -40
- data/rails_generators/feature/feature_generator.rb +26 -2
- data/rails_generators/feature/templates/feature.erb +15 -12
- data/rails_generators/feature/templates/steps.erb +14 -16
- data/spec/cucumber/ast/background_spec.rb +49 -0
- data/spec/cucumber/ast/feature_factory.rb +63 -0
- data/spec/cucumber/ast/feature_spec.rb +37 -0
- data/spec/cucumber/ast/py_string_spec.rb +47 -0
- data/spec/cucumber/ast/scenario_outline_spec.rb +67 -0
- data/spec/cucumber/ast/scenario_spec.rb +65 -0
- data/spec/cucumber/ast/step_collection_spec.rb +8 -0
- data/spec/cucumber/ast/step_spec.rb +66 -0
- data/spec/cucumber/ast/table_spec.rb +149 -0
- data/spec/cucumber/ast/tags_spec.rb +19 -0
- data/spec/cucumber/broadcaster_spec.rb +6 -18
- data/spec/cucumber/cli/configuration_spec.rb +275 -0
- data/spec/cucumber/cli/main_spec.rb +203 -0
- data/spec/cucumber/core_ext/proc_spec.rb +27 -35
- data/spec/cucumber/core_ext/string_spec.rb +8 -0
- data/spec/cucumber/formatter/ansicolor_spec.rb +35 -0
- data/spec/cucumber/formatter/color_io_spec.rb +26 -0
- data/spec/cucumber/formatter/html/cucumber.css +37 -0
- data/spec/cucumber/formatter/html/cucumber.js +13 -0
- data/spec/cucumber/formatter/html/index.html +45 -0
- data/spec/cucumber/formatter/html/jquery-1.3.min.js +19 -0
- data/spec/cucumber/formatter/html/jquery.uitableedit.js +100 -0
- data/spec/cucumber/formatters/profile_formatter_spec.rb +22 -16
- data/spec/cucumber/parser/feature_parser_spec.rb +282 -0
- data/spec/cucumber/parser/table_parser_spec.rb +48 -0
- data/spec/cucumber/rails/stubs/mini_rails.rb +4 -3
- data/spec/cucumber/step_definition_spec.rb +81 -0
- data/spec/cucumber/step_mother_spec.rb +50 -51
- data/spec/cucumber/treetop_parser/empty_feature.feature +1 -1
- data/spec/cucumber/treetop_parser/empty_scenario_outline.feature +3 -0
- data/spec/cucumber/treetop_parser/invalid_scenario_outlines.feature +7 -0
- data/spec/cucumber/treetop_parser/multiple_tables.feature +6 -8
- data/spec/cucumber/treetop_parser/scenario_outline.feature +16 -0
- data/spec/cucumber/treetop_parser/spaces.feature +3 -1
- data/spec/cucumber/treetop_parser/with_comments.feature +1 -1
- data/spec/cucumber/treetop_parser/with_tags.feature +18 -0
- data/spec/cucumber/world/pending_spec.rb +47 -0
- data/spec/spec_helper.rb +4 -3
- metadata +192 -95
- data/TODO.txt +0 -26
- data/examples/calculator_ruby_features/features/addition.rb +0 -23
- data/examples/calculator_ruby_features/features/step_definitons/calculator_steps.rb +0 -43
- data/examples/cs/features/hello.feature +0 -11
- data/examples/cs/features/step_definitons/hello_steps.rb +0 -25
- data/examples/cs/features/step_definitons/tree_steps.rb +0 -14
- data/examples/cs/features/tree.feature +0 -9
- data/examples/cs/src/Hello.cs +0 -18
- data/examples/i18n/ja/README.txt +0 -5
- data/examples/selenium/features/step_definitons/stories_steps.rb +0 -41
- data/examples/watir/features/step_definitons/stories_steps.rb +0 -51
- data/features/see_features.feature +0 -8
- data/features/steps/features_steps.rb +0 -9
- data/gem_tasks/treetop.rake +0 -41
- data/lib/cucumber/cli.rb +0 -279
- data/lib/cucumber/executor.rb +0 -190
- data/lib/cucumber/formatters/ansicolor.rb +0 -109
- data/lib/cucumber/formatters/autotest_formatter.rb +0 -23
- data/lib/cucumber/formatters/cucumber.css +0 -132
- data/lib/cucumber/formatters/cucumber.js +0 -11
- data/lib/cucumber/formatters/html_formatter.rb +0 -128
- data/lib/cucumber/formatters/jquery.js +0 -32
- data/lib/cucumber/formatters/pretty_formatter.rb +0 -234
- data/lib/cucumber/formatters/profile_formatter.rb +0 -92
- data/lib/cucumber/formatters/progress_formatter.rb +0 -58
- data/lib/cucumber/formatters.rb +0 -1
- data/lib/cucumber/model/table.rb +0 -28
- data/lib/cucumber/model.rb +0 -1
- data/lib/cucumber/step_methods.rb +0 -49
- data/lib/cucumber/tree/feature.rb +0 -63
- data/lib/cucumber/tree/features.rb +0 -21
- data/lib/cucumber/tree/given_scenario.rb +0 -13
- data/lib/cucumber/tree/scenario.rb +0 -174
- data/lib/cucumber/tree/step.rb +0 -134
- data/lib/cucumber/tree/table.rb +0 -26
- data/lib/cucumber/tree/top_down_visitor.rb +0 -23
- data/lib/cucumber/tree.rb +0 -18
- data/lib/cucumber/treetop_parser/feature.treetop.erb +0 -206
- data/lib/cucumber/treetop_parser/feature_ar.rb +0 -1591
- data/lib/cucumber/treetop_parser/feature_cy.rb +0 -1591
- data/lib/cucumber/treetop_parser/feature_da.rb +0 -1591
- data/lib/cucumber/treetop_parser/feature_de.rb +0 -1591
- data/lib/cucumber/treetop_parser/feature_en-tx.rb +0 -1591
- data/lib/cucumber/treetop_parser/feature_en.rb +0 -1591
- data/lib/cucumber/treetop_parser/feature_es.rb +0 -1591
- data/lib/cucumber/treetop_parser/feature_et.rb +0 -1591
- data/lib/cucumber/treetop_parser/feature_fr.rb +0 -1591
- data/lib/cucumber/treetop_parser/feature_id.rb +0 -1591
- data/lib/cucumber/treetop_parser/feature_it.rb +0 -1591
- data/lib/cucumber/treetop_parser/feature_ja.rb +0 -1591
- data/lib/cucumber/treetop_parser/feature_lt.rb +0 -1591
- data/lib/cucumber/treetop_parser/feature_nl.rb +0 -1591
- data/lib/cucumber/treetop_parser/feature_no.rb +0 -1591
- data/lib/cucumber/treetop_parser/feature_parser.rb +0 -34
- data/lib/cucumber/treetop_parser/feature_pl.rb +0 -1591
- data/lib/cucumber/treetop_parser/feature_pt.rb +0 -1591
- data/lib/cucumber/treetop_parser/feature_ro.rb +0 -1591
- data/lib/cucumber/treetop_parser/feature_ro2.rb +0 -1591
- data/lib/cucumber/treetop_parser/feature_ru.rb +0 -1591
- data/lib/cucumber/treetop_parser/feature_se.rb +0 -1591
- data/lib/cucumber/treetop_parser/feature_zh-CN.rb +0 -1591
- data/script/console +0 -10
- data/script/console.cmd +0 -1
- data/script/destroy +0 -14
- data/script/destroy.cmd +0 -1
- data/script/generate +0 -14
- data/script/generate.cmd +0 -1
- data/script/txt2html +0 -74
- data/script/txt2html.cmd +0 -1
- data/setup.rb +0 -1585
- data/spec/cucumber/cli_spec.rb +0 -274
- data/spec/cucumber/executor_spec.rb +0 -298
- data/spec/cucumber/formatters/ansicolor_spec.rb +0 -35
- data/spec/cucumber/formatters/autotest_formatter_spec.rb +0 -26
- data/spec/cucumber/formatters/features.html +0 -269
- data/spec/cucumber/formatters/html_formatter_spec.rb +0 -74
- data/spec/cucumber/formatters/pretty_formatter_spec.rb +0 -204
- data/spec/cucumber/formatters/progress_formatter_spec.rb +0 -65
- data/spec/cucumber/model/table_spec.rb +0 -20
- data/spec/cucumber/tree/feature_spec.rb +0 -43
- data/spec/cucumber/tree/row_scenario_spec.rb +0 -55
- data/spec/cucumber/tree/scenario_spec.rb +0 -76
- data/spec/cucumber/tree/step_spec.rb +0 -50
- data/spec/cucumber/treetop_parser/feature_parser_spec.rb +0 -98
- /data/examples/{calculator_ruby_features → selenium_webrat}/Rakefile +0 -0
data/History.txt
CHANGED
|
@@ -1,3 +1,222 @@
|
|
|
1
|
+
== 0.2.0 2009-03-18
|
|
2
|
+
|
|
3
|
+
This release sports a bunch of new and exciting features, as well a major rewrite of Cucumber's internals.
|
|
4
|
+
The rewrite was done to address technical debt and to have a code base that is easier to evolve and maintain.
|
|
5
|
+
|
|
6
|
+
There are some changes to the Gherkin language that breaks backwards compatible with the 0.1.x series.
|
|
7
|
+
Most importantly, "GivenScenario" and "More Examples" no longer exist. See the "Removed features" section
|
|
8
|
+
below for more details on how to use alternatives.
|
|
9
|
+
|
|
10
|
+
Since the grammar has changed, there are some new keywords. We have to rely on the community
|
|
11
|
+
to provide updated translations. This is much easier than before - just update languages.yml.
|
|
12
|
+
There is no static code generation anymore. To list all languages:
|
|
13
|
+
|
|
14
|
+
cucumber --lang help
|
|
15
|
+
|
|
16
|
+
And to list the keywords for a particular language:
|
|
17
|
+
|
|
18
|
+
cucumber --lang en-lol help
|
|
19
|
+
|
|
20
|
+
There are some really awesome new features in this release: Tagging, Autoformatting, automatic
|
|
21
|
+
aliasing of keywords in all languages, full Ruby 1.9 support and improved output
|
|
22
|
+
for multiline arguments are some of the highlights.
|
|
23
|
+
|
|
24
|
+
== Bugfixes
|
|
25
|
+
* New StepInvocation breaks console formatter for pending steps. (#241 Jacob Radford)
|
|
26
|
+
* Within Scenario Outlines when replacing with a nil in a step name use empty string instead. (#237 Joseph Wilk)
|
|
27
|
+
* Fixed bug with Scenario Outlines incorrectly replacing values in step tables with nil. (#237 Joseph Wilk)
|
|
28
|
+
* Within Scenario Outlines when replacing with a nil in multiline strings use empty string instead. (#238 Joseph Wilk)
|
|
29
|
+
* Re-structure the ast: Feature -> Background -> (Scenario|ScenarioOutline)*. Fixes bug with background being called outside transactions. (#181 Joseph Wilk)
|
|
30
|
+
* --strict always exits with status 1 (#230 Tim Cuthbertson)
|
|
31
|
+
* Fix error with nil values in tables raising an exception (#227 Joseph Wilk)
|
|
32
|
+
* Add support for using << in formatters to ensure the html formatter works (#210 Joseph Wilk)
|
|
33
|
+
* Explicitly require env.rb files first to avoid potential load order problems. (#213, Ben Mabey, Randy Harmon)
|
|
34
|
+
* Depend on polyglot version (0.2.4) to avoid masking require errors. (Aslak Hellesøy).
|
|
35
|
+
* -n option does not suppress the line info for a Scenario Outline (#175 Aslak Hellesøy)
|
|
36
|
+
* Errors with rspec-rails matchers in cucumber 0.1.99 (#173 David Chelimsky)
|
|
37
|
+
* Can't use an empty string as a table value in a scenario outline (#172 Aslak Hellesøy)
|
|
38
|
+
* Really skip skipped steps (#90 Aslak Hellesøy)
|
|
39
|
+
* No output for multi-line strings (#71 Aslak Hellesøy)
|
|
40
|
+
* Fix cucumber/formatters/unicode flaws on Windows (#145 Michael)
|
|
41
|
+
* Autotest-related Bugs: YAML missing (#136 Tobias Pape)
|
|
42
|
+
* Overeager "rescue LoadError" hides lots of errors (#137 Jonathan del Strother)
|
|
43
|
+
* Nested steps don't show mismatch (#116 Aslak Hellesøy)
|
|
44
|
+
* Pending steps in > steps called from steps (#65 Aslak Hellesøy)
|
|
45
|
+
|
|
46
|
+
=== New features
|
|
47
|
+
* Australian translation (Josh Graham)
|
|
48
|
+
* Added World#announce(announcment) which lets you output text to the formatted output (#222 Rob Kaufmann)
|
|
49
|
+
* Added Table#transpose to to allow use of vertically aligned table keys (Torbjørn Vatn, Aslak Hellesøy)
|
|
50
|
+
* Added Table#map_headers to to allow use of more readable headers (Rob Holland)
|
|
51
|
+
* New -S/--step-definitions option. Useful (among other things) for tools that implement automcompletion. (#208 Aslak Hellesøy).
|
|
52
|
+
* The cucumber.rake file defines a dummy :features task if Cucumber is not installed (#225 Josh Nichols)
|
|
53
|
+
* Added Table#map_column! to ease casting of cell values into relevant types (#223 Rob Holland)
|
|
54
|
+
* New --no-diff option (#218 Bryan Ash)
|
|
55
|
+
* Rails generators supports testunit and rspec option, defaulting to rspec (#217 Josh Nichols)
|
|
56
|
+
* Sinatra Example (#204 Rob Holland)
|
|
57
|
+
* Keywords can be aliased in languages.yml. See English for an example (examples: Examples|Scenarios)
|
|
58
|
+
* Adding support for Background (#153 Joseph Wilk)
|
|
59
|
+
* Added Česky/Czech (Vojtech Salbaba)
|
|
60
|
+
* New --no-multiline option to reduce noise in output. Useful if lots of features are failing. (Aslak Hellesøy)
|
|
61
|
+
* Added ability to pass URIs to cucumber in addition to files and directories. Useful for troubleshooting! (Aslak Hellesøy)
|
|
62
|
+
* Groups of tabular scenarios (#57 Aslak Hellesøy)
|
|
63
|
+
* Tagging scenarios and features. Pick the ones to run with --tags (#54 Aslak Hellesøy)
|
|
64
|
+
* Make the current scenario available to the steps. (#44 Aslak Hellesøy)
|
|
65
|
+
* Step definition snippets contain a 'pending' call (#84 Aslak Hellesøy)
|
|
66
|
+
* Call multiline steps from other steps (#144 Aslak Hellesøy)
|
|
67
|
+
* Run cucumber with --autoformat DIR to reformat (pretty print) all of your feature files. (Aslak Hellesøy)
|
|
68
|
+
* New --strict option exits with an error code if there are undefined steps. (#52 Aslak Hellesøy)
|
|
69
|
+
* Given, When, Then methods (used in step definitions) are automatically aliased to current language. Use $KCODE='u' in env.rb if needed.
|
|
70
|
+
* Run cucumber --language help to see all supported languages. (Aslak Hellesøy)
|
|
71
|
+
* Run cucumber --language LANG help to see keywords for a given language. (Aslak Hellesøy)
|
|
72
|
+
* Multiline arguments (tables and """ strings) are printed in the output. (Aslak Hellesøy)
|
|
73
|
+
* It's no longer necessary to compile the Treetop grammar when adding a new language. Localised parser is generated at runtime. (Aslak Hellesøy)
|
|
74
|
+
* New --guess option tries to guess the best step definition match instead of raising Cucumber::Multiple. (Jake Howerton)
|
|
75
|
+
|
|
76
|
+
=== Removed features
|
|
77
|
+
* "GivenScenario" is gone. Instead you can call Steps from Step Definitions, or use the new Background feature (#153)
|
|
78
|
+
* "More Examples" is gone. "Scenario" + "More Examples" is no longer supported. Use "Scenario Outline" + "Examples" instead.
|
|
79
|
+
* Pure Ruby features are no longer supported.
|
|
80
|
+
* Remove --color option in autotest. Can be added manually in cucumber.yml (#215 Jean-Michel Garnier)
|
|
81
|
+
|
|
82
|
+
== (0.16.4 aslakhellesoy-cucumber gem on GitHub)
|
|
83
|
+
|
|
84
|
+
Bugfix release.
|
|
85
|
+
|
|
86
|
+
IMPORTANT NOTE FOR RAILS USERS.
|
|
87
|
+
The template used to generate your features/support/env.rb has changed. You have to apply a minor change
|
|
88
|
+
manually for existing Rails projects when you upgrade to this version. Change this:
|
|
89
|
+
|
|
90
|
+
require 'webrat/rspec-rails'
|
|
91
|
+
|
|
92
|
+
to this:
|
|
93
|
+
|
|
94
|
+
require 'webrat/core/matchers'
|
|
95
|
+
|
|
96
|
+
=== New features
|
|
97
|
+
* Finnish translation (Tero Tilus)
|
|
98
|
+
* Use Webrat's #contain matcher in generated "I should (not) see" step definitions (Bryan Helmkamp)
|
|
99
|
+
|
|
100
|
+
== Bugfixes
|
|
101
|
+
* Escaped quotes - \" - inside multiline strings will be unescaped.
|
|
102
|
+
* Flush output in HTML formatter since JRuby doesnt do it automatically (Diego Carrion)
|
|
103
|
+
* Better handling of ARGV (#169 David Chelimsky, Ben Mabey)
|
|
104
|
+
* Compatibility with ruby-debug (do ARGV.dup in bin/cucumber so it can restart ruby with same args) (Aslak Hellesøy)
|
|
105
|
+
|
|
106
|
+
== 0.1.16 2009-01-19
|
|
107
|
+
|
|
108
|
+
This is a small bugfix release. The most notable improvement is compatibility with Webrat 0.4. Rails/Webrat users should
|
|
109
|
+
upgrade both Cucumber and Webrat gems.
|
|
110
|
+
|
|
111
|
+
=== New features
|
|
112
|
+
* Allow argument placeholders in step tables and multiline comments (#121 Joseph Wilk)
|
|
113
|
+
* Scenario Outline can be followed by several named Examples sections (#123 Aslak Hellesøy)
|
|
114
|
+
* Add the #binary= method back to the Rake task. It is needed by merb_cucumber for running the features of a merb app with it's bundled gems. (Thomas Marek)
|
|
115
|
+
* Added a /^When I go to (.+)$/ step definition to webrat_steps.rb and a simple page name to path mapping method (Bryan Helmkamp)
|
|
116
|
+
|
|
117
|
+
=== Bugfixes
|
|
118
|
+
* Fix to run single scenarios when the line number specified doesn't correspond to a step (i.e. blank lines or rows) (#160 Luismi Cavallé)
|
|
119
|
+
|
|
120
|
+
=== Removed features
|
|
121
|
+
|
|
122
|
+
== 0.1.15 2009-01-08
|
|
123
|
+
|
|
124
|
+
Bugfix release
|
|
125
|
+
|
|
126
|
+
=== New features
|
|
127
|
+
* 한국어! (Korean!) (John Hwang)
|
|
128
|
+
|
|
129
|
+
=== Bugfixes
|
|
130
|
+
* --dry-run skips running before/after/steps (#147 Ian Dees)
|
|
131
|
+
* Fix a minor bug in the console formatter's summary (David Chelimsky)
|
|
132
|
+
* Better quoting of Scenario names in Autotest (Peter Jaros)
|
|
133
|
+
* Added some small workarounds for unicode handling on Windows (Aslak Hellesøy)
|
|
134
|
+
|
|
135
|
+
== 0.1.14 2009-01-04
|
|
136
|
+
|
|
137
|
+
This is the first release of Cucumber that runs on Ruby 1.9. There are still some encoding-related issues
|
|
138
|
+
with Arabic (ar), Japanese (ja) and Simplified Chinese (zh-CN). Patches are welcome. Other than that -
|
|
139
|
+
a couple of minor bug fixes and polishing.
|
|
140
|
+
|
|
141
|
+
=== New features
|
|
142
|
+
* Pretty formatter shows number of scenarios (#139 Joseph Wilk)
|
|
143
|
+
* Rudimentary support for Ruby 1.9. Now it's ok to file Ruby 1.9-related bugs.
|
|
144
|
+
|
|
145
|
+
=== Bugfixes
|
|
146
|
+
* Fixed "No such file or directory -- cucumber (LoadError)" bug with AutoTest (Aslak Hellesøy)
|
|
147
|
+
* Fixed `load_missing_constant': uninitialized constant Dispatcher error with Rails (Aslak Hellesøy)
|
|
148
|
+
|
|
149
|
+
=== Removed features
|
|
150
|
+
* The #binary= method is gone from the Rake task. It will always point to the binary in the current gem. (Aslak Hellesøy)
|
|
151
|
+
|
|
152
|
+
== 0.1.13 2008-12-20
|
|
153
|
+
|
|
154
|
+
It's time for some new features again. Output is now much better since you can use diffing, tweak
|
|
155
|
+
the output colours and get the full --backtrace if you want. Managing your support/* files became
|
|
156
|
+
a little easier since they are now always loaded before the step definitions. Life became easier
|
|
157
|
+
for Windows users in Norway (and other countries using unicode in the features). Plus several other
|
|
158
|
+
bug fixes.
|
|
159
|
+
|
|
160
|
+
Enjoy!
|
|
161
|
+
|
|
162
|
+
=== New features
|
|
163
|
+
* Console output is no longer bold, but regular. Step arguments are bold instead of blold+underlined. (Aslak Hellesøy)
|
|
164
|
+
* Console output can be configured with CUCUMBER_COLORS in your shell. (Aslak Hellesøy)
|
|
165
|
+
* Added new --backtrace option to show full backtrace (Aslak Hellesøy)
|
|
166
|
+
* Enable RSpec's diffing automatically if RSpec is loaded (Aslak Hellesøy)
|
|
167
|
+
* Files in support directories are loaded before any other file (i.e. step definitions.) (#120, Ben Mabey)
|
|
168
|
+
* The Rails features generator got some love and is now tested: http://github.com/aslakhellesoy/cucumber_rails (Aslak Hellesøy)
|
|
169
|
+
* --language is aliased to -l instead of -a (-l became available when --line was refactored) (Aslak Hellesøy)
|
|
170
|
+
* Scenario Outlines which through placeholders in the steps allow control of how scenario table values are used. (#57 Joseph Wilk)
|
|
171
|
+
* Scenario Outlines are now usable in pure ruby (Joseph Wilk)
|
|
172
|
+
* Add support for calling 'pending' from step definitions. (#112 Joseph Wilk)
|
|
173
|
+
|
|
174
|
+
=== Bugfixes
|
|
175
|
+
* Make rails before filters work correctly (#122, #129 Guillermo Álvarez Fernández)
|
|
176
|
+
* Proper Unicode support for Windows command shells: Just require cucumber/formatter/unicode in env.rb (Aslak Hellesøy)
|
|
177
|
+
* Fixed disappearing "a" on Windows (#81 Aslak Hellesøy)
|
|
178
|
+
* Fixed a bug where row step outlines were loosing step tables. (#121 Joseph Wilk, Ben Mabey)
|
|
179
|
+
* The Cucumber Autotest plugin now launches JRuby if autotest is run with JRuby (Aslak Hellesøy)
|
|
180
|
+
* Provide helpful and non-confusing error message when specified profile is blank. (#118, Ben Mabey)
|
|
181
|
+
* Improve handling and error messages for malformed cucumber.yml files. (#117, Ben Mabey)
|
|
182
|
+
* document :x run option in command line help (#114, Aslak Hellesøy)
|
|
183
|
+
* Change 'visits' to 'visit' in features generator to comply with new Webrat API (Darius Roberts)
|
|
184
|
+
|
|
185
|
+
=== Removed features
|
|
186
|
+
|
|
187
|
+
== 0.1.12 2008-12-04
|
|
188
|
+
|
|
189
|
+
This is the "getting serious with IronRuby release" - largely based on
|
|
190
|
+
"Patrick Gannon":http://www.patrickgannon.net/archive/2008/10/23/bdd-style-feature-tests-using-ironruby-and-rspeccucumber.aspx's
|
|
191
|
+
blog entry.
|
|
192
|
+
|
|
193
|
+
== New features
|
|
194
|
+
* Cucumber works with IronRuby/.NET - http://github.com/aslakhellesoy/cucumber/wikis/ironruby-and-net (Aslak Hellesøy)
|
|
195
|
+
|
|
196
|
+
== Bugfixes
|
|
197
|
+
* Fixed bug which was preventing coloring under Autotest (#111, Alan Larkin)
|
|
198
|
+
|
|
199
|
+
== Removed features
|
|
200
|
+
None
|
|
201
|
+
|
|
202
|
+
== 0.1.11 2008-12-02
|
|
203
|
+
|
|
204
|
+
Bugfix release with a couple of minor additional features to the command line options.
|
|
205
|
+
|
|
206
|
+
=== New features
|
|
207
|
+
* Capture output from cucumber in Autotest (Alan Larkin)
|
|
208
|
+
* Update cucumber generator to work with latest Webrat (Bryan Helkamp)
|
|
209
|
+
* CUCUMBR LIKEZ 2 SPEEK WIF KATS. KTHXBAI (Aimee Daniells)
|
|
210
|
+
* Support for dynamically pluggable formatters (#99 Joseph Wilk)
|
|
211
|
+
* --verbose mode to see ruby files and feature files loaded by Cucumber (#106 Joseph Wilk)
|
|
212
|
+
|
|
213
|
+
=== Bugfixes
|
|
214
|
+
* The jcode library is not loaded on JRuby/Rails. Workaround for http://tinyurl.com/55uu3u. (Aslak Hellesøy)
|
|
215
|
+
* Support including modules for class passed to --format (#109 Joseph Wilk)
|
|
216
|
+
|
|
217
|
+
=== Removed features
|
|
218
|
+
* The cucumber gem no longer depends on the rspec gem. It must be downloaded manually if RSpec is used. (Jeff Rafter)
|
|
219
|
+
|
|
1
220
|
== 0.1.10 2008-11-25
|
|
2
221
|
|
|
3
222
|
This release mostly has smaller bugfixes. The most significant new feature is how
|
|
@@ -129,13 +348,12 @@ Tables used to define more examples after a scenario must now be prefixed. In En
|
|
|
129
348
|
And I have entered 70 into the calculator
|
|
130
349
|
When I press add
|
|
131
350
|
Then the result should be 120 on the screen
|
|
132
|
-
And the result class should be Fixnum
|
|
133
351
|
|
|
134
352
|
More Examples:
|
|
135
|
-
| input_1 | input_2 | button | output |
|
|
136
|
-
| 20 | 30 | add | 50 |
|
|
137
|
-
| 2 | 5 | add | 7 |
|
|
138
|
-
| 0 | 40 | add | 40 |
|
|
353
|
+
| input_1 | input_2 | button | output |
|
|
354
|
+
| 20 | 30 | add | 50 |
|
|
355
|
+
| 2 | 5 | add | 7 |
|
|
356
|
+
| 0 | 40 | add | 40 |
|
|
139
357
|
|
|
140
358
|
Languages that are not updated yet will have to use "More Examples" until we get the translations.
|
|
141
359
|
|
data/License.txt
CHANGED
data/Manifest.txt
CHANGED
|
@@ -3,21 +3,16 @@ License.txt
|
|
|
3
3
|
Manifest.txt
|
|
4
4
|
README.txt
|
|
5
5
|
Rakefile
|
|
6
|
-
TODO.txt
|
|
7
6
|
bin/cucumber
|
|
8
7
|
config/hoe.rb
|
|
9
8
|
config/requirements.rb
|
|
10
9
|
cucumber.yml
|
|
11
|
-
examples/calculator_ruby_features/Rakefile
|
|
12
|
-
examples/calculator_ruby_features/features/addition.rb
|
|
13
|
-
examples/calculator_ruby_features/features/step_definitons/calculator_steps.rb
|
|
14
10
|
examples/cs/README.textile
|
|
15
11
|
examples/cs/Rakefile
|
|
16
|
-
examples/cs/
|
|
17
|
-
examples/cs/features/
|
|
18
|
-
examples/cs/features/step_definitons/
|
|
19
|
-
examples/cs/
|
|
20
|
-
examples/cs/src/Hello.cs
|
|
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
|
|
21
16
|
examples/dos_line_endings/Rakefile
|
|
22
17
|
examples/dos_line_endings/features/dos_line_endings.feature
|
|
23
18
|
examples/i18n/README.textile
|
|
@@ -35,6 +30,12 @@ examples/i18n/de/features/addition.feature
|
|
|
35
30
|
examples/i18n/de/features/division.feature
|
|
36
31
|
examples/i18n/de/features/step_definitons/calculator_steps.rb
|
|
37
32
|
examples/i18n/de/lib/calculator.rb
|
|
33
|
+
examples/i18n/en-lol/Rakefile
|
|
34
|
+
examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb
|
|
35
|
+
examples/i18n/en-lol/features/stuffing.feature
|
|
36
|
+
examples/i18n/en-lol/features/support/env.rb
|
|
37
|
+
examples/i18n/en-lol/lib/basket.rb
|
|
38
|
+
examples/i18n/en-lol/lib/belly.rb
|
|
38
39
|
examples/i18n/en/Rakefile
|
|
39
40
|
examples/i18n/en/features/addition.feature
|
|
40
41
|
examples/i18n/en/features/division.feature
|
|
@@ -45,9 +46,15 @@ examples/i18n/es/features/adicion.feature
|
|
|
45
46
|
examples/i18n/es/features/step_definitons/calculador_steps.rb
|
|
46
47
|
examples/i18n/es/lib/calculador.rb
|
|
47
48
|
examples/i18n/et/Rakefile
|
|
49
|
+
examples/i18n/et/features/jagamine.feature
|
|
48
50
|
examples/i18n/et/features/liitmine.feature
|
|
49
51
|
examples/i18n/et/features/step_definitions/kalkulaator_steps.rb
|
|
50
52
|
examples/i18n/et/lib/kalkulaator.rb
|
|
53
|
+
examples/i18n/fi/Rakefile
|
|
54
|
+
examples/i18n/fi/features/jakolasku.feature
|
|
55
|
+
examples/i18n/fi/features/step_definitons/laskin_steps.rb
|
|
56
|
+
examples/i18n/fi/features/yhteenlasku.feature
|
|
57
|
+
examples/i18n/fi/lib/laskin.rb
|
|
51
58
|
examples/i18n/fr/Rakefile
|
|
52
59
|
examples/i18n/fr/features/addition.feature
|
|
53
60
|
examples/i18n/fr/features/step_definitions/calculatrice_steps.rb
|
|
@@ -61,12 +68,16 @@ examples/i18n/it/Rakefile
|
|
|
61
68
|
examples/i18n/it/features/somma.feature
|
|
62
69
|
examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
|
|
63
70
|
examples/i18n/it/lib/calcolatrice.rb
|
|
64
|
-
examples/i18n/ja/README.txt
|
|
65
71
|
examples/i18n/ja/Rakefile
|
|
66
72
|
examples/i18n/ja/features/addition.feature
|
|
67
73
|
examples/i18n/ja/features/division.feature
|
|
68
74
|
examples/i18n/ja/features/step_definitons/calculator_steps.rb
|
|
69
75
|
examples/i18n/ja/lib/calculator.rb
|
|
76
|
+
examples/i18n/ko/Rakefile
|
|
77
|
+
examples/i18n/ko/features/addition.feature
|
|
78
|
+
examples/i18n/ko/features/division.feature
|
|
79
|
+
examples/i18n/ko/features/step_definitons/calculator_steps.rb
|
|
80
|
+
examples/i18n/ko/lib/calculator.rb
|
|
70
81
|
examples/i18n/lt/Rakefile
|
|
71
82
|
examples/i18n/lt/features/addition.feature
|
|
72
83
|
examples/i18n/lt/features/division.feature
|
|
@@ -75,6 +86,7 @@ examples/i18n/lt/lib/calculator.rb
|
|
|
75
86
|
examples/i18n/no/Rakefile
|
|
76
87
|
examples/i18n/no/features/step_definitons/kalkulator_steps.rb
|
|
77
88
|
examples/i18n/no/features/summering.feature
|
|
89
|
+
examples/i18n/no/features/support/env.rb
|
|
78
90
|
examples/i18n/no/lib/kalkulator.rb
|
|
79
91
|
examples/i18n/pt/Rakefile
|
|
80
92
|
examples/i18n/pt/features/adicao.feature
|
|
@@ -84,6 +96,14 @@ examples/i18n/ro/Rakefile
|
|
|
84
96
|
examples/i18n/ro/features/step_definitons/calculator_steps.rb
|
|
85
97
|
examples/i18n/ro/features/suma.feature
|
|
86
98
|
examples/i18n/ro/lib/calculator.rb
|
|
99
|
+
examples/i18n/ru/Rakefile
|
|
100
|
+
examples/i18n/ru/features/addition.feature
|
|
101
|
+
examples/i18n/ru/features/consecutive_calculations.feature
|
|
102
|
+
examples/i18n/ru/features/division.feature
|
|
103
|
+
examples/i18n/ru/features/step_definitons/calculator_steps.rb
|
|
104
|
+
examples/i18n/ru/features/support/env.rb
|
|
105
|
+
examples/i18n/ru/features/support/world.rb
|
|
106
|
+
examples/i18n/ru/lib/calculator.rb
|
|
87
107
|
examples/i18n/se/Rakefile
|
|
88
108
|
examples/i18n/se/features/step_definitons/kalkulator_steps.rb
|
|
89
109
|
examples/i18n/se/features/summering.feature
|
|
@@ -92,6 +112,11 @@ examples/i18n/zh-CN/Rakefile
|
|
|
92
112
|
examples/i18n/zh-CN/features/addition.feature
|
|
93
113
|
examples/i18n/zh-CN/features/step_definitons/calculator_steps.rb
|
|
94
114
|
examples/i18n/zh-CN/lib/calculator.rb
|
|
115
|
+
examples/i18n/zh-TW/Rakefile
|
|
116
|
+
examples/i18n/zh-TW/features/addition.feature
|
|
117
|
+
examples/i18n/zh-TW/features/division.feature
|
|
118
|
+
examples/i18n/zh-TW/features/step_definitons/calculator_steps.rb
|
|
119
|
+
examples/i18n/zh-TW/lib/calculator.rb
|
|
95
120
|
examples/java/README.textile
|
|
96
121
|
examples/java/Rakefile
|
|
97
122
|
examples/java/features/hello.feature
|
|
@@ -99,29 +124,88 @@ examples/java/features/step_definitons/hello_steps.rb
|
|
|
99
124
|
examples/java/features/step_definitons/tree_steps.rb
|
|
100
125
|
examples/java/features/tree.feature
|
|
101
126
|
examples/java/src/cucumber/demo/Hello.java
|
|
127
|
+
examples/jbehave/README.textile
|
|
128
|
+
examples/jbehave/features/support/env.rb
|
|
129
|
+
examples/jbehave/features/trading.feature
|
|
130
|
+
examples/jbehave/pom.xml
|
|
131
|
+
examples/jbehave/src/main/java/cukes/jbehave/examples/trader/converters/TraderConverter.java
|
|
132
|
+
examples/jbehave/src/main/java/cukes/jbehave/examples/trader/model/Stock.java
|
|
133
|
+
examples/jbehave/src/main/java/cukes/jbehave/examples/trader/model/Trader.java
|
|
134
|
+
examples/jbehave/src/main/java/cukes/jbehave/examples/trader/persistence/TraderPersister.java
|
|
135
|
+
examples/jbehave/src/main/java/cukes/jbehave/examples/trader/scenarios/TraderSteps.java
|
|
102
136
|
examples/selenium/Rakefile
|
|
103
137
|
examples/selenium/features/search.feature
|
|
104
|
-
examples/selenium/features/step_definitons/
|
|
138
|
+
examples/selenium/features/step_definitons/search_steps.rb
|
|
139
|
+
examples/selenium/features/support/env.rb
|
|
140
|
+
examples/selenium_webrat/Rakefile
|
|
141
|
+
examples/selenium_webrat/features/search.feature
|
|
142
|
+
examples/selenium_webrat/features/step_definitons/search_steps.rb
|
|
143
|
+
examples/selenium_webrat/features/support/env.rb
|
|
144
|
+
examples/self_test/README.textile
|
|
145
|
+
examples/self_test/Rakefile
|
|
146
|
+
examples/self_test/features/background/failing_background.feature
|
|
147
|
+
examples/self_test/features/background/failing_background_after_success.feature
|
|
148
|
+
examples/self_test/features/background/multiline_args_background.feature
|
|
149
|
+
examples/self_test/features/background/passing_background.feature
|
|
150
|
+
examples/self_test/features/background/pending_background.feature
|
|
151
|
+
examples/self_test/features/background/scenario_outline_failing_background.feature
|
|
152
|
+
examples/self_test/features/background/scenario_outline_passing_background.feature
|
|
153
|
+
examples/self_test/features/call_undefined_step_from_step_def.feature
|
|
154
|
+
examples/self_test/features/failing_expectation.feature
|
|
155
|
+
examples/self_test/features/lots_of_undefined.feature
|
|
156
|
+
examples/self_test/features/outline_sample.feature
|
|
157
|
+
examples/self_test/features/sample.feature
|
|
158
|
+
examples/self_test/features/step_definitions/sample_steps.rb
|
|
159
|
+
examples/self_test/features/support/env.rb
|
|
160
|
+
examples/self_test/features/support/tag_count_formatter.rb
|
|
161
|
+
examples/sinatra/Rakefile
|
|
162
|
+
examples/sinatra/app.rb
|
|
163
|
+
examples/sinatra/features/add.feature
|
|
164
|
+
examples/sinatra/features/step_definitions/add_steps.rb
|
|
165
|
+
examples/sinatra/features/support/env.rb
|
|
166
|
+
examples/sinatra/views/add.erb
|
|
167
|
+
examples/sinatra/views/layout.erb
|
|
105
168
|
examples/test_unit/Rakefile
|
|
106
169
|
examples/test_unit/features/step_definitions/test_unit_steps.rb
|
|
107
170
|
examples/test_unit/features/test_unit.feature
|
|
108
171
|
examples/tickets/Rakefile
|
|
109
172
|
examples/tickets/cucumber.yml
|
|
173
|
+
examples/tickets/features/172.feature
|
|
174
|
+
examples/tickets/features/177/1.feature
|
|
175
|
+
examples/tickets/features/177/2.feature
|
|
176
|
+
examples/tickets/features/177/3.feature
|
|
177
|
+
examples/tickets/features/180.feature
|
|
178
|
+
examples/tickets/features/236.feature
|
|
179
|
+
examples/tickets/features/241.feature
|
|
180
|
+
examples/tickets/features/lib/eatting_machine.rb
|
|
181
|
+
examples/tickets/features/lib/pantry.rb
|
|
182
|
+
examples/tickets/features/scenario_outline.feature
|
|
183
|
+
examples/tickets/features/step_definitons/scenario_outline_steps.rb
|
|
110
184
|
examples/tickets/features/step_definitons/tickets_steps.rb
|
|
111
185
|
examples/tickets/features/tickets.feature
|
|
186
|
+
examples/watir/README.textile
|
|
112
187
|
examples/watir/Rakefile
|
|
113
188
|
examples/watir/features/search.feature
|
|
114
|
-
examples/watir/features/step_definitons/
|
|
115
|
-
features/
|
|
116
|
-
features/
|
|
189
|
+
examples/watir/features/step_definitons/search_steps.rb
|
|
190
|
+
examples/watir/features/support/env.rb
|
|
191
|
+
features/background.feature
|
|
192
|
+
features/cucumber_cli.feature
|
|
193
|
+
features/cucumber_cli_diff_disabled.feature
|
|
194
|
+
features/cucumber_cli_outlines.feature
|
|
195
|
+
features/custom_formatter.feature
|
|
196
|
+
features/report_called_undefined_steps.feature
|
|
197
|
+
features/step_definitions/cucumber_steps.rb
|
|
198
|
+
features/step_definitions/extra_steps.rb
|
|
199
|
+
features/support/env.rb
|
|
117
200
|
gem_tasks/deployment.rake
|
|
118
201
|
gem_tasks/environment.rake
|
|
119
202
|
gem_tasks/features.rake
|
|
120
203
|
gem_tasks/fix_cr_lf.rake
|
|
121
204
|
gem_tasks/flog.rake
|
|
122
205
|
gem_tasks/gemspec.rake
|
|
206
|
+
gem_tasks/jar.rake
|
|
123
207
|
gem_tasks/rspec.rake
|
|
124
|
-
gem_tasks/
|
|
208
|
+
gem_tasks/yard.rake
|
|
125
209
|
lib/autotest/cucumber.rb
|
|
126
210
|
lib/autotest/cucumber_mixin.rb
|
|
127
211
|
lib/autotest/cucumber_rails.rb
|
|
@@ -129,113 +213,118 @@ lib/autotest/cucumber_rails_rspec.rb
|
|
|
129
213
|
lib/autotest/cucumber_rspec.rb
|
|
130
214
|
lib/autotest/discover.rb
|
|
131
215
|
lib/cucumber.rb
|
|
216
|
+
lib/cucumber/ast.rb
|
|
217
|
+
lib/cucumber/ast/background.rb
|
|
218
|
+
lib/cucumber/ast/comment.rb
|
|
219
|
+
lib/cucumber/ast/examples.rb
|
|
220
|
+
lib/cucumber/ast/feature.rb
|
|
221
|
+
lib/cucumber/ast/feature_element.rb
|
|
222
|
+
lib/cucumber/ast/features.rb
|
|
223
|
+
lib/cucumber/ast/outline_table.rb
|
|
224
|
+
lib/cucumber/ast/py_string.rb
|
|
225
|
+
lib/cucumber/ast/scenario.rb
|
|
226
|
+
lib/cucumber/ast/scenario_outline.rb
|
|
227
|
+
lib/cucumber/ast/step.rb
|
|
228
|
+
lib/cucumber/ast/step_collection.rb
|
|
229
|
+
lib/cucumber/ast/step_invocation.rb
|
|
230
|
+
lib/cucumber/ast/table.rb
|
|
231
|
+
lib/cucumber/ast/tags.rb
|
|
232
|
+
lib/cucumber/ast/visitor.rb
|
|
132
233
|
lib/cucumber/broadcaster.rb
|
|
133
|
-
lib/cucumber/cli.rb
|
|
234
|
+
lib/cucumber/cli/configuration.rb
|
|
235
|
+
lib/cucumber/cli/language_help_formatter.rb
|
|
236
|
+
lib/cucumber/cli/main.rb
|
|
237
|
+
lib/cucumber/core_ext/exception.rb
|
|
238
|
+
lib/cucumber/core_ext/instance_exec.rb
|
|
134
239
|
lib/cucumber/core_ext/proc.rb
|
|
135
240
|
lib/cucumber/core_ext/string.rb
|
|
136
|
-
lib/cucumber/
|
|
137
|
-
lib/cucumber/
|
|
138
|
-
lib/cucumber/
|
|
139
|
-
lib/cucumber/
|
|
140
|
-
lib/cucumber/
|
|
141
|
-
lib/cucumber/
|
|
142
|
-
lib/cucumber/
|
|
143
|
-
lib/cucumber/
|
|
144
|
-
lib/cucumber/
|
|
145
|
-
lib/cucumber/
|
|
146
|
-
lib/cucumber/
|
|
241
|
+
lib/cucumber/formatter.rb
|
|
242
|
+
lib/cucumber/formatter/ansicolor.rb
|
|
243
|
+
lib/cucumber/formatter/color_io.rb
|
|
244
|
+
lib/cucumber/formatter/console.rb
|
|
245
|
+
lib/cucumber/formatter/cucumber.css
|
|
246
|
+
lib/cucumber/formatter/cucumber.sass
|
|
247
|
+
lib/cucumber/formatter/html.rb
|
|
248
|
+
lib/cucumber/formatter/pretty.rb
|
|
249
|
+
lib/cucumber/formatter/profile.rb
|
|
250
|
+
lib/cucumber/formatter/progress.rb
|
|
251
|
+
lib/cucumber/formatter/rerun.rb
|
|
252
|
+
lib/cucumber/formatter/unicode.rb
|
|
253
|
+
lib/cucumber/formatters/unicode.rb
|
|
254
|
+
lib/cucumber/jbehave.rb
|
|
147
255
|
lib/cucumber/languages.yml
|
|
148
|
-
lib/cucumber/
|
|
149
|
-
lib/cucumber/
|
|
256
|
+
lib/cucumber/parser.rb
|
|
257
|
+
lib/cucumber/parser/basic.rb
|
|
258
|
+
lib/cucumber/parser/feature.rb
|
|
259
|
+
lib/cucumber/parser/feature.tt
|
|
260
|
+
lib/cucumber/parser/i18n.tt
|
|
261
|
+
lib/cucumber/parser/table.rb
|
|
262
|
+
lib/cucumber/parser/table.tt
|
|
263
|
+
lib/cucumber/parser/treetop_ext.rb
|
|
150
264
|
lib/cucumber/platform.rb
|
|
151
265
|
lib/cucumber/rails/rspec.rb
|
|
152
266
|
lib/cucumber/rails/world.rb
|
|
153
267
|
lib/cucumber/rake/task.rb
|
|
154
|
-
lib/cucumber/
|
|
268
|
+
lib/cucumber/step_definition.rb
|
|
269
|
+
lib/cucumber/step_match.rb
|
|
155
270
|
lib/cucumber/step_mother.rb
|
|
156
|
-
lib/cucumber/tree.rb
|
|
157
|
-
lib/cucumber/tree/feature.rb
|
|
158
|
-
lib/cucumber/tree/features.rb
|
|
159
|
-
lib/cucumber/tree/given_scenario.rb
|
|
160
|
-
lib/cucumber/tree/scenario.rb
|
|
161
|
-
lib/cucumber/tree/step.rb
|
|
162
|
-
lib/cucumber/tree/table.rb
|
|
163
|
-
lib/cucumber/tree/top_down_visitor.rb
|
|
164
|
-
lib/cucumber/treetop_parser/feature.treetop.erb
|
|
165
|
-
lib/cucumber/treetop_parser/feature_ar.rb
|
|
166
|
-
lib/cucumber/treetop_parser/feature_cy.rb
|
|
167
|
-
lib/cucumber/treetop_parser/feature_da.rb
|
|
168
|
-
lib/cucumber/treetop_parser/feature_de.rb
|
|
169
|
-
lib/cucumber/treetop_parser/feature_en-tx.rb
|
|
170
|
-
lib/cucumber/treetop_parser/feature_en.rb
|
|
171
|
-
lib/cucumber/treetop_parser/feature_es.rb
|
|
172
|
-
lib/cucumber/treetop_parser/feature_et.rb
|
|
173
|
-
lib/cucumber/treetop_parser/feature_fr.rb
|
|
174
|
-
lib/cucumber/treetop_parser/feature_id.rb
|
|
175
|
-
lib/cucumber/treetop_parser/feature_it.rb
|
|
176
|
-
lib/cucumber/treetop_parser/feature_ja.rb
|
|
177
|
-
lib/cucumber/treetop_parser/feature_lt.rb
|
|
178
|
-
lib/cucumber/treetop_parser/feature_nl.rb
|
|
179
|
-
lib/cucumber/treetop_parser/feature_no.rb
|
|
180
|
-
lib/cucumber/treetop_parser/feature_parser.rb
|
|
181
|
-
lib/cucumber/treetop_parser/feature_pl.rb
|
|
182
|
-
lib/cucumber/treetop_parser/feature_pt.rb
|
|
183
|
-
lib/cucumber/treetop_parser/feature_ro.rb
|
|
184
|
-
lib/cucumber/treetop_parser/feature_ro2.rb
|
|
185
|
-
lib/cucumber/treetop_parser/feature_ru.rb
|
|
186
|
-
lib/cucumber/treetop_parser/feature_se.rb
|
|
187
|
-
lib/cucumber/treetop_parser/feature_zh-CN.rb
|
|
188
271
|
lib/cucumber/version.rb
|
|
272
|
+
lib/cucumber/world.rb
|
|
189
273
|
rails_generators/cucumber/USAGE
|
|
190
274
|
rails_generators/cucumber/cucumber_generator.rb
|
|
191
275
|
rails_generators/cucumber/templates/cucumber
|
|
192
276
|
rails_generators/cucumber/templates/cucumber.rake
|
|
193
277
|
rails_generators/cucumber/templates/env.rb
|
|
278
|
+
rails_generators/cucumber/templates/paths.rb
|
|
194
279
|
rails_generators/cucumber/templates/webrat_steps.rb
|
|
195
280
|
rails_generators/feature/USAGE
|
|
196
281
|
rails_generators/feature/feature_generator.rb
|
|
197
282
|
rails_generators/feature/templates/feature.erb
|
|
198
283
|
rails_generators/feature/templates/steps.erb
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
284
|
+
spec/cucumber/ast/background_spec.rb
|
|
285
|
+
spec/cucumber/ast/feature_factory.rb
|
|
286
|
+
spec/cucumber/ast/feature_spec.rb
|
|
287
|
+
spec/cucumber/ast/py_string_spec.rb
|
|
288
|
+
spec/cucumber/ast/scenario_outline_spec.rb
|
|
289
|
+
spec/cucumber/ast/scenario_spec.rb
|
|
290
|
+
spec/cucumber/ast/step_collection_spec.rb
|
|
291
|
+
spec/cucumber/ast/step_spec.rb
|
|
292
|
+
spec/cucumber/ast/table_spec.rb
|
|
293
|
+
spec/cucumber/ast/tags_spec.rb
|
|
208
294
|
spec/cucumber/broadcaster_spec.rb
|
|
209
|
-
spec/cucumber/
|
|
295
|
+
spec/cucumber/cli/configuration_spec.rb
|
|
296
|
+
spec/cucumber/cli/main_spec.rb
|
|
210
297
|
spec/cucumber/core_ext/proc_spec.rb
|
|
211
298
|
spec/cucumber/core_ext/string_spec.rb
|
|
212
|
-
spec/cucumber/
|
|
213
|
-
spec/cucumber/
|
|
214
|
-
spec/cucumber/
|
|
215
|
-
spec/cucumber/
|
|
216
|
-
spec/cucumber/
|
|
217
|
-
spec/cucumber/
|
|
299
|
+
spec/cucumber/formatter/ansicolor_spec.rb
|
|
300
|
+
spec/cucumber/formatter/color_io_spec.rb
|
|
301
|
+
spec/cucumber/formatter/html/cucumber.css
|
|
302
|
+
spec/cucumber/formatter/html/cucumber.js
|
|
303
|
+
spec/cucumber/formatter/html/index.html
|
|
304
|
+
spec/cucumber/formatter/html/jquery-1.3.min.js
|
|
305
|
+
spec/cucumber/formatter/html/jquery.uitableedit.js
|
|
218
306
|
spec/cucumber/formatters/profile_formatter_spec.rb
|
|
219
|
-
spec/cucumber/
|
|
220
|
-
spec/cucumber/
|
|
307
|
+
spec/cucumber/parser/feature_parser_spec.rb
|
|
308
|
+
spec/cucumber/parser/table_parser_spec.rb
|
|
221
309
|
spec/cucumber/rails/stubs/mini_rails.rb
|
|
222
310
|
spec/cucumber/rails/stubs/test_help.rb
|
|
223
311
|
spec/cucumber/rails/world_spec.rb
|
|
224
312
|
spec/cucumber/sell_cucumbers.feature
|
|
313
|
+
spec/cucumber/step_definition_spec.rb
|
|
225
314
|
spec/cucumber/step_mother_spec.rb
|
|
226
|
-
spec/cucumber/tree/feature_spec.rb
|
|
227
|
-
spec/cucumber/tree/row_scenario_spec.rb
|
|
228
|
-
spec/cucumber/tree/scenario_spec.rb
|
|
229
|
-
spec/cucumber/tree/step_spec.rb
|
|
230
315
|
spec/cucumber/treetop_parser/empty_feature.feature
|
|
231
316
|
spec/cucumber/treetop_parser/empty_scenario.feature
|
|
232
|
-
spec/cucumber/treetop_parser/
|
|
317
|
+
spec/cucumber/treetop_parser/empty_scenario_outline.feature
|
|
233
318
|
spec/cucumber/treetop_parser/fit_scenario.feature
|
|
234
319
|
spec/cucumber/treetop_parser/given_scenario.feature
|
|
320
|
+
spec/cucumber/treetop_parser/invalid_scenario_outlines.feature
|
|
235
321
|
spec/cucumber/treetop_parser/multiline_steps.feature
|
|
236
322
|
spec/cucumber/treetop_parser/multiple_tables.feature
|
|
323
|
+
spec/cucumber/treetop_parser/scenario_outline.feature
|
|
237
324
|
spec/cucumber/treetop_parser/spaces.feature
|
|
238
325
|
spec/cucumber/treetop_parser/test_dos.feature
|
|
239
326
|
spec/cucumber/treetop_parser/with_comments.feature
|
|
327
|
+
spec/cucumber/treetop_parser/with_tags.feature
|
|
328
|
+
spec/cucumber/world/pending_spec.rb
|
|
240
329
|
spec/spec.opts
|
|
241
330
|
spec/spec_helper.rb
|