cucumber 2.0.0.rc.4 → 4.0.0.rc.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/{History.md → CHANGELOG.md} +734 -283
- data/CONTRIBUTING.md +26 -23
- data/LICENSE +1 -1
- data/README.md +25 -8
- data/bin/cucumber +3 -3
- data/lib/autotest/cucumber.rb +2 -0
- data/lib/autotest/cucumber_mixin.rb +45 -48
- data/lib/autotest/cucumber_rails.rb +2 -0
- data/lib/autotest/cucumber_rails_rspec.rb +2 -0
- data/lib/autotest/cucumber_rails_rspec2.rb +2 -0
- data/lib/autotest/cucumber_rspec.rb +2 -0
- data/lib/autotest/cucumber_rspec2.rb +2 -0
- data/lib/autotest/discover.rb +4 -2
- data/lib/cucumber.rb +3 -9
- data/lib/cucumber/cli/configuration.rb +23 -106
- data/lib/cucumber/cli/main.rb +45 -25
- data/lib/cucumber/cli/options.rb +411 -223
- data/lib/cucumber/cli/profile_loader.rb +64 -38
- data/lib/cucumber/cli/rerun_file.rb +31 -0
- data/lib/cucumber/configuration.rb +240 -8
- data/lib/cucumber/constantize.rb +9 -10
- data/lib/cucumber/core_ext/string.rb +3 -1
- data/lib/cucumber/deprecate.rb +30 -0
- data/lib/cucumber/encoding.rb +7 -0
- data/lib/cucumber/errors.rb +17 -8
- data/lib/cucumber/events.rb +40 -0
- data/lib/cucumber/events/gherkin_source_parsed.rb +11 -0
- data/lib/cucumber/events/gherkin_source_read.rb +14 -0
- data/lib/cucumber/events/step_activated.rb +26 -0
- data/lib/cucumber/events/step_definition_registered.rb +20 -0
- data/lib/cucumber/events/test_case_finished.rb +14 -0
- data/lib/cucumber/events/test_case_started.rb +11 -0
- data/lib/cucumber/events/test_run_finished.rb +11 -0
- data/lib/cucumber/events/test_run_started.rb +14 -0
- data/lib/cucumber/events/test_step_finished.rb +14 -0
- data/lib/cucumber/events/test_step_started.rb +11 -0
- data/lib/cucumber/file_specs.rb +8 -6
- data/lib/cucumber/filters.rb +4 -0
- data/lib/cucumber/filters/activate_steps.rb +48 -7
- data/lib/cucumber/filters/apply_after_hooks.rb +2 -0
- data/lib/cucumber/filters/apply_after_step_hooks.rb +2 -0
- data/lib/cucumber/filters/apply_around_hooks.rb +2 -0
- data/lib/cucumber/filters/apply_before_hooks.rb +2 -0
- data/lib/cucumber/filters/broadcast_test_run_started_event.rb +28 -0
- data/lib/cucumber/filters/gated_receiver.rb +2 -2
- data/lib/cucumber/filters/prepare_world.rb +13 -11
- data/lib/cucumber/filters/quit.rb +4 -7
- data/lib/cucumber/filters/randomizer.rb +10 -5
- data/lib/cucumber/filters/retry.rb +32 -0
- data/lib/cucumber/filters/tag_limits.rb +6 -5
- data/lib/cucumber/filters/tag_limits/test_case_index.rb +2 -2
- data/lib/cucumber/filters/tag_limits/verifier.rb +5 -7
- data/lib/cucumber/formatter/ansicolor.rb +39 -45
- data/lib/cucumber/formatter/ast_lookup.rb +165 -0
- data/lib/cucumber/formatter/backtrace_filter.rb +54 -0
- data/lib/cucumber/formatter/console.rb +93 -115
- data/lib/cucumber/formatter/console_counts.rb +39 -0
- data/lib/cucumber/formatter/console_issues.rb +61 -0
- data/lib/cucumber/formatter/duration.rb +3 -1
- data/lib/cucumber/formatter/duration_extractor.rb +31 -0
- data/lib/cucumber/formatter/fail_fast.rb +23 -0
- data/lib/cucumber/formatter/fanout.rb +4 -3
- data/lib/cucumber/formatter/ignore_missing_messages.rb +3 -4
- data/lib/cucumber/formatter/interceptor.rb +13 -14
- data/lib/cucumber/formatter/io.rb +10 -5
- data/lib/cucumber/formatter/json.rb +310 -8
- data/lib/cucumber/formatter/junit.rb +175 -110
- data/lib/cucumber/formatter/pretty.rb +359 -154
- data/lib/cucumber/formatter/progress.rb +78 -72
- data/lib/cucumber/formatter/rerun.rb +34 -17
- data/lib/cucumber/formatter/stepdefs.rb +3 -2
- data/lib/cucumber/formatter/steps.rb +7 -7
- data/lib/cucumber/formatter/summary.rb +50 -20
- data/lib/cucumber/formatter/unicode.rb +17 -18
- data/lib/cucumber/formatter/usage.rb +61 -54
- data/lib/cucumber/gherkin/data_table_parser.rb +44 -0
- data/lib/cucumber/gherkin/formatter/ansi_escapes.rb +97 -0
- data/lib/cucumber/gherkin/formatter/escaping.rb +19 -0
- data/lib/cucumber/gherkin/i18n.rb +17 -0
- data/lib/cucumber/gherkin/steps_parser.rb +42 -0
- data/lib/cucumber/{rb_support/rb_dsl.rb → glue/dsl.rb} +47 -26
- data/lib/cucumber/glue/hook.rb +51 -0
- data/lib/cucumber/glue/invoke_in_world.rb +65 -0
- data/lib/cucumber/glue/proto_world.rb +219 -0
- data/lib/cucumber/glue/registry_and_more.rb +192 -0
- data/lib/cucumber/glue/snippet.rb +205 -0
- data/lib/cucumber/glue/step_definition.rb +142 -0
- data/lib/cucumber/glue/world_factory.rb +21 -0
- data/lib/cucumber/hooks.rb +34 -21
- data/lib/cucumber/load_path.rb +2 -0
- data/lib/cucumber/multiline_argument.rb +10 -24
- data/lib/cucumber/multiline_argument/data_table.rb +157 -253
- data/lib/cucumber/multiline_argument/data_table/diff_matrices.rb +154 -0
- data/lib/cucumber/multiline_argument/doc_string.rb +3 -2
- data/lib/cucumber/platform.rb +7 -10
- data/lib/cucumber/project_initializer.rb +44 -0
- data/lib/cucumber/rake/task.rb +37 -29
- data/lib/cucumber/rspec/disable_option_parser.rb +11 -8
- data/lib/cucumber/rspec/doubles.rb +3 -1
- data/lib/cucumber/running_test_case.rb +60 -0
- data/lib/cucumber/runtime.rb +84 -78
- data/lib/cucumber/runtime/after_hooks.rb +10 -7
- data/lib/cucumber/runtime/before_hooks.rb +12 -6
- data/lib/cucumber/runtime/for_programming_languages.rb +14 -44
- data/lib/cucumber/runtime/step_hooks.rb +8 -4
- data/lib/cucumber/runtime/support_code.rb +55 -159
- data/lib/cucumber/runtime/user_interface.rb +15 -24
- data/lib/cucumber/step_definition_light.rb +10 -6
- data/lib/cucumber/step_definitions.rb +6 -4
- data/lib/cucumber/step_match.rb +58 -38
- data/lib/cucumber/step_match_search.rb +67 -0
- data/lib/cucumber/term/ansicolor.rb +40 -39
- data/lib/cucumber/unit.rb +2 -0
- data/lib/cucumber/version +1 -0
- data/{spec → lib}/simplecov_setup.rb +3 -1
- metadata +260 -607
- data/.coveralls.yml +0 -1
- data/.rspec +0 -1
- data/.ruby-gemset +0 -1
- data/.travis.yml +0 -18
- data/.yardopts +0 -1
- data/Gemfile +0 -11
- data/Rakefile +0 -22
- data/bin/cuke +0 -60
- data/cucumber.gemspec +0 -50
- data/cucumber.yml +0 -20
- data/examples/i18n/README.textile +0 -3
- data/examples/i18n/Rakefile +0 -33
- data/examples/i18n/ar/Rakefile +0 -6
- data/examples/i18n/ar/features/addition.feature +0 -17
- data/examples/i18n/ar/features/step_definitions/calculator_steps.rb +0 -24
- data/examples/i18n/ar/lib/calculator.rb +0 -11
- data/examples/i18n/bg/Rakefile +0 -6
- data/examples/i18n/bg/features/addition.feature +0 -12
- data/examples/i18n/bg/features/consecutive_calculations.feature +0 -19
- data/examples/i18n/bg/features/division.feature +0 -17
- data/examples/i18n/bg/features/step_definitions/calculator_steps.rb +0 -24
- data/examples/i18n/bg/features/support/env.rb +0 -5
- data/examples/i18n/bg/features/support/world.rb +0 -8
- data/examples/i18n/bg/lib/calculator.rb +0 -24
- data/examples/i18n/ca/Rakefile +0 -6
- data/examples/i18n/ca/features/step_definitions/calculator_steps.rb +0 -21
- data/examples/i18n/ca/features/suma.feature +0 -17
- data/examples/i18n/ca/lib/calculadora.rb +0 -16
- data/examples/i18n/cs/Rakefile +0 -6
- data/examples/i18n/cs/features/addition.feature +0 -17
- data/examples/i18n/cs/features/division.feature +0 -11
- data/examples/i18n/cs/features/step_definitions/calculator_steps.rb +0 -24
- data/examples/i18n/cs/lib/calculator.rb +0 -14
- data/examples/i18n/da/Rakefile +0 -6
- data/examples/i18n/da/features/sammenlaegning.feature +0 -18
- data/examples/i18n/da/features/step_definitions/lommeregner_steps.rb +0 -24
- data/examples/i18n/da/lib/lommeregner.rb +0 -11
- data/examples/i18n/de/Rakefile +0 -6
- data/examples/i18n/de/features/addition.feature +0 -17
- data/examples/i18n/de/features/division.feature +0 -10
- data/examples/i18n/de/features/step_definitions/calculator_steps.rb +0 -24
- data/examples/i18n/de/lib/calculator.rb +0 -14
- data/examples/i18n/el/Rakefile +0 -6
- data/examples/i18n/el/features/addition.feature +0 -17
- data/examples/i18n/el/features/division.feature +0 -10
- data/examples/i18n/el/features/step_definitions/calculator_steps.rb +0 -24
- data/examples/i18n/el/lib/calculator.rb +0 -14
- data/examples/i18n/en-lol/Rakefile +0 -4
- data/examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb +0 -16
- data/examples/i18n/en-lol/features/stuffing.feature +0 -8
- data/examples/i18n/en-lol/features/support/env.rb +0 -7
- data/examples/i18n/en-lol/lib/basket.rb +0 -12
- data/examples/i18n/en-lol/lib/belly.rb +0 -11
- data/examples/i18n/en/Rakefile +0 -6
- data/examples/i18n/en/features/addition.feature +0 -17
- data/examples/i18n/en/features/division.feature +0 -10
- data/examples/i18n/en/features/step_definitions/calculator_steps.rb +0 -24
- data/examples/i18n/en/lib/calculator.rb +0 -14
- data/examples/i18n/eo/Rakefile +0 -6
- data/examples/i18n/eo/features/adicio.feature +0 -17
- data/examples/i18n/eo/features/divido.feature +0 -10
- data/examples/i18n/eo/features/step_definitions/calculator_steps.rb +0 -24
- data/examples/i18n/eo/lib/calculator.rb +0 -14
- data/examples/i18n/es/Rakefile +0 -6
- data/examples/i18n/es/features/adicion.feature +0 -17
- data/examples/i18n/es/features/step_definitions/calculador_steps.rb +0 -21
- data/examples/i18n/es/lib/calculador.rb +0 -14
- data/examples/i18n/et/Rakefile +0 -6
- data/examples/i18n/et/features/jagamine.feature +0 -10
- data/examples/i18n/et/features/liitmine.feature +0 -17
- data/examples/i18n/et/features/step_definitions/kalkulaator_steps.rb +0 -24
- data/examples/i18n/et/lib/kalkulaator.rb +0 -14
- data/examples/i18n/fi/Rakefile +0 -6
- data/examples/i18n/fi/features/jakolasku.feature +0 -10
- data/examples/i18n/fi/features/step_definitions/laskin_steps.rb +0 -24
- data/examples/i18n/fi/features/yhteenlasku.feature +0 -17
- data/examples/i18n/fi/lib/laskin.rb +0 -14
- data/examples/i18n/fr/Rakefile +0 -8
- data/examples/i18n/fr/features/addition.feature +0 -18
- data/examples/i18n/fr/features/addition2.feature +0 -17
- data/examples/i18n/fr/features/step_definitions/calculatrice_steps.rb +0 -32
- data/examples/i18n/fr/features/support/env.rb +0 -5
- data/examples/i18n/fr/lib/calculatrice.rb +0 -10
- data/examples/i18n/he/Rakefile +0 -6
- data/examples/i18n/he/features/addition.feature +0 -17
- data/examples/i18n/he/features/division.feature +0 -10
- data/examples/i18n/he/features/step_definitions/calculator_steps.rb +0 -24
- data/examples/i18n/he/lib/calculator.rb +0 -15
- data/examples/i18n/hi/Rakefile +0 -6
- data/examples/i18n/hi/features/addition.feature +0 -16
- data/examples/i18n/hi/features/division.feature +0 -10
- data/examples/i18n/hi/features/step_definitions/calculator_steps.rb +0 -24
- data/examples/i18n/hi/lib/calculator.rb +0 -15
- data/examples/i18n/hu/Rakefile +0 -6
- data/examples/i18n/hu/features/osszeadas.feature +0 -17
- data/examples/i18n/hu/features/osztas.feature +0 -10
- data/examples/i18n/hu/features/step_definitions/calculator_steps.rb +0 -25
- data/examples/i18n/hu/lib/calculator.rb +0 -14
- data/examples/i18n/id/Rakefile +0 -6
- data/examples/i18n/id/features/addition.feature +0 -17
- data/examples/i18n/id/features/division.feature +0 -10
- data/examples/i18n/id/features/step_definitions/calculator_steps.rb +0 -24
- data/examples/i18n/id/lib/calculator.rb +0 -14
- data/examples/i18n/it/Rakefile +0 -6
- data/examples/i18n/it/features/somma.feature +0 -11
- data/examples/i18n/it/features/step_definitions/calcolatrice_steps.rb +0 -24
- data/examples/i18n/it/lib/calcolatrice.rb +0 -11
- data/examples/i18n/ja/Rakefile +0 -6
- data/examples/i18n/ja/features/addition.feature +0 -17
- data/examples/i18n/ja/features/division.feature +0 -10
- data/examples/i18n/ja/features/step_definitions/calculator_steps.rb +0 -19
- data/examples/i18n/ja/features/support/env.rb +0 -5
- data/examples/i18n/ja/lib/calculator.rb +0 -14
- data/examples/i18n/ko/Rakefile +0 -6
- data/examples/i18n/ko/features/addition.feature +0 -17
- data/examples/i18n/ko/features/division.feature +0 -11
- data/examples/i18n/ko/features/step_definitions/calculator_steps.rb +0 -24
- data/examples/i18n/ko/lib/calculator.rb +0 -14
- data/examples/i18n/lt/Rakefile +0 -6
- data/examples/i18n/lt/features/addition.feature +0 -17
- data/examples/i18n/lt/features/division.feature +0 -10
- data/examples/i18n/lt/features/step_definitions/calculator_steps.rb +0 -24
- data/examples/i18n/lt/lib/calculator.rb +0 -14
- data/examples/i18n/lv/Rakefile +0 -6
- data/examples/i18n/lv/features/addition.feature +0 -17
- data/examples/i18n/lv/features/division.feature +0 -10
- data/examples/i18n/lv/features/step_definitions/calculator_steps.rb +0 -24
- data/examples/i18n/lv/lib/calculator.rb +0 -14
- data/examples/i18n/no/Rakefile +0 -6
- data/examples/i18n/no/features/step_definitions/kalkulator_steps.rb +0 -17
- data/examples/i18n/no/features/summering.feature +0 -19
- data/examples/i18n/no/features/support/env.rb +0 -6
- data/examples/i18n/no/lib/kalkulator.rb +0 -11
- data/examples/i18n/pl/Rakefile +0 -6
- data/examples/i18n/pl/features/addition.feature +0 -17
- data/examples/i18n/pl/features/division.feature +0 -10
- data/examples/i18n/pl/features/step_definitions/calculator_steps.rb +0 -24
- data/examples/i18n/pl/features/support/env.rb +0 -5
- data/examples/i18n/pl/lib/calculator.rb +0 -14
- data/examples/i18n/pt/Rakefile +0 -6
- data/examples/i18n/pt/features/adicao.feature +0 -11
- data/examples/i18n/pt/features/step_definitions/calculadora_steps.rb +0 -20
- data/examples/i18n/pt/features/support/env.rb +0 -5
- data/examples/i18n/pt/lib/calculadora.rb +0 -10
- data/examples/i18n/ro/Rakefile +0 -6
- data/examples/i18n/ro/features/adunare.feature +0 -12
- data/examples/i18n/ro/features/step_definitions/calculator_steps.rb +0 -21
- data/examples/i18n/ro/lib/calculator.rb +0 -11
- data/examples/i18n/ru/Rakefile +0 -6
- data/examples/i18n/ru/features/addition.feature +0 -11
- data/examples/i18n/ru/features/consecutive_calculations.feature +0 -17
- data/examples/i18n/ru/features/division.feature +0 -16
- data/examples/i18n/ru/features/step_definitions/calculator_steps.rb +0 -19
- data/examples/i18n/ru/features/support/env.rb +0 -5
- data/examples/i18n/ru/features/support/world.rb +0 -8
- data/examples/i18n/ru/lib/calculator.rb +0 -24
- data/examples/i18n/sk/Rakefile +0 -6
- data/examples/i18n/sk/features/addition.feature +0 -17
- data/examples/i18n/sk/features/division.feature +0 -10
- data/examples/i18n/sk/features/step_definitions/calculator_steps.rb +0 -24
- data/examples/i18n/sk/lib/calculator.rb +0 -14
- data/examples/i18n/sr-Cyrl/Rakefile +0 -6
- data/examples/i18n/sr-Cyrl/features/sabiranje.feature +0 -18
- data/examples/i18n/sr-Cyrl/features/step_definitions/calculator_steps.rb +0 -20
- data/examples/i18n/sr-Cyrl/features/support/env.rb +0 -5
- data/examples/i18n/sr-Cyrl/lib/calculator.rb +0 -12
- data/examples/i18n/sr-Latn/Rakefile +0 -6
- data/examples/i18n/sr-Latn/features/sabiranje.feature +0 -18
- data/examples/i18n/sr-Latn/features/step_definitions/calculator_steps.rb +0 -24
- data/examples/i18n/sr-Latn/lib/calculator.rb +0 -12
- data/examples/i18n/sv/Rakefile +0 -6
- data/examples/i18n/sv/features/step_definitions/kalkulator_steps.rb +0 -24
- data/examples/i18n/sv/features/summering.feature +0 -18
- data/examples/i18n/sv/lib/kalkulator.rb +0 -11
- data/examples/i18n/tr/Rakefile +0 -6
- data/examples/i18n/tr/features/bolme.feature +0 -10
- data/examples/i18n/tr/features/step_definitions/hesap_makinesi_adimlari.rb +0 -24
- data/examples/i18n/tr/features/toplama.feature +0 -18
- data/examples/i18n/tr/lib/hesap_makinesi.rb +0 -15
- data/examples/i18n/uk/Rakefile +0 -6
- data/examples/i18n/uk/features/addition.feature +0 -11
- data/examples/i18n/uk/features/consecutive_calculations.feature +0 -17
- data/examples/i18n/uk/features/division.feature +0 -16
- data/examples/i18n/uk/features/step_definitions/calculator_steps.rb +0 -19
- data/examples/i18n/uk/features/support/env.rb +0 -5
- data/examples/i18n/uk/features/support/world.rb +0 -8
- data/examples/i18n/uk/lib/calculator.rb +0 -24
- data/examples/i18n/uz/Rakefile +0 -6
- data/examples/i18n/uz/features/addition.feature +0 -10
- data/examples/i18n/uz/features/consecutive_calculations.feature +0 -17
- data/examples/i18n/uz/features/division.feature +0 -17
- data/examples/i18n/uz/features/step_definitions/calculator_steps.rb +0 -19
- data/examples/i18n/uz/features/support/env.rb +0 -5
- data/examples/i18n/uz/features/support/world.rb +0 -8
- data/examples/i18n/uz/lib/calculator.rb +0 -24
- data/examples/i18n/zh-CN/Rakefile +0 -4
- data/examples/i18n/zh-CN/features/addition.feature +0 -18
- data/examples/i18n/zh-CN/features/step_definitions/calculator_steps.rb +0 -26
- data/examples/i18n/zh-CN/lib/calculator.rb +0 -10
- data/examples/i18n/zh-TW/Rakefile +0 -4
- data/examples/i18n/zh-TW/features/addition.feature +0 -17
- data/examples/i18n/zh-TW/features/division.feature +0 -11
- data/examples/i18n/zh-TW/features/step_definitions/calculator_steps.rb +0 -24
- data/examples/i18n/zh-TW/lib/calculator.rb +0 -14
- data/examples/rspec_doubles/Rakefile +0 -4
- data/examples/rspec_doubles/features/mocking.feature +0 -9
- data/examples/rspec_doubles/features/step_definitions/calvin_steps.rb +0 -19
- data/examples/rspec_doubles/features/support/env.rb +0 -12
- data/examples/sinatra/README.textile +0 -13
- data/examples/sinatra/Rakefile +0 -6
- data/examples/sinatra/app.rb +0 -14
- data/examples/sinatra/features/add.feature +0 -11
- data/examples/sinatra/features/step_definitions/add_steps.rb +0 -15
- data/examples/sinatra/features/support/env.rb +0 -10
- data/examples/sinatra/views/add.erb +0 -7
- data/examples/sinatra/views/layout.erb +0 -8
- data/examples/tcl/README.textile +0 -11
- data/examples/tcl/Rakefile +0 -6
- data/examples/tcl/features/fibonnacci.feature +0 -17
- data/examples/tcl/features/step_definitions/fib_steps.rb +0 -7
- data/examples/tcl/features/support/env.rb +0 -6
- data/examples/tcl/src/fib.tcl +0 -3
- data/examples/test_unit/Gemfile +0 -4
- data/examples/test_unit/Rakefile +0 -6
- data/examples/test_unit/features/step_definitions/test_unit_steps.rb +0 -20
- data/examples/test_unit/features/test_unit.feature +0 -9
- data/examples/watir/README.textile +0 -16
- data/examples/watir/Rakefile +0 -12
- data/examples/watir/cucumber.yml +0 -1
- data/examples/watir/features/search.feature +0 -12
- data/examples/watir/features/step_definitions/search_steps.rb +0 -26
- data/examples/watir/features/support/env.rb +0 -35
- data/examples/watir/features/support/screenshots.rb +0 -47
- data/features/docs/api/list_step_defs_as_json.feature +0 -50
- data/features/docs/api/run_cli_main_with_existing_runtime.feature +0 -29
- data/features/docs/cli/backtraces.feature +0 -36
- data/features/docs/cli/dry_run.feature +0 -25
- data/features/docs/cli/exclude_files.feature +0 -19
- data/features/docs/cli/execute_with_tag_filter.feature +0 -117
- data/features/docs/cli/randomize.feature +0 -46
- data/features/docs/cli/require.feature +0 -27
- data/features/docs/cli/run_scenarios_matching_name.feature +0 -104
- data/features/docs/cli/run_specific_scenarios.feature +0 -130
- data/features/docs/cli/showing_differences.feature +0 -43
- data/features/docs/cli/specifying_multiple_formatters.feature +0 -44
- data/features/docs/cli/strict_mode.feature +0 -41
- data/features/docs/defining_steps/nested_steps.feature +0 -129
- data/features/docs/defining_steps/nested_steps_i18n.feature +0 -34
- data/features/docs/defining_steps/nested_steps_with_second_arg.feature +0 -73
- data/features/docs/defining_steps/one_line_step_definitions.feature +0 -65
- data/features/docs/defining_steps/printing_messages.feature +0 -148
- data/features/docs/defining_steps/skip_scenario.feature +0 -62
- data/features/docs/defining_steps/snippets.feature +0 -56
- data/features/docs/defining_steps/table_diffing.feature +0 -50
- data/features/docs/defining_steps/transforms.feature +0 -63
- data/features/docs/exception_in_after_hook.feature +0 -126
- data/features/docs/exception_in_after_step_hook.feature +0 -102
- data/features/docs/exception_in_before_hook.feature +0 -96
- data/features/docs/extending_cucumber/custom_filter.feature +0 -29
- data/features/docs/extending_cucumber/custom_formatter.feature +0 -94
- data/features/docs/formatters/debug_formatter.feature +0 -47
- data/features/docs/formatters/formatter_step_file_colon_line.feature +0 -44
- data/features/docs/formatters/html_formatter.feature +0 -90
- data/features/docs/formatters/json_formatter.feature +0 -696
- data/features/docs/formatters/junit_formatter.feature +0 -276
- data/features/docs/formatters/pretty_formatter.feature +0 -73
- data/features/docs/formatters/progress_formatter.feature +0 -31
- data/features/docs/formatters/rerun_formatter.feature +0 -136
- data/features/docs/formatters/usage_formatter.feature +0 -102
- data/features/docs/getting_started.feature +0 -27
- data/features/docs/gherkin/background.feature +0 -559
- data/features/docs/gherkin/doc_strings.feature +0 -74
- data/features/docs/gherkin/expand_option_for_outlines.feature +0 -46
- data/features/docs/gherkin/language_from_header.feature +0 -32
- data/features/docs/gherkin/language_help.feature +0 -37
- data/features/docs/gherkin/outlines.feature +0 -158
- data/features/docs/gherkin/unicode_table.feature +0 -32
- data/features/docs/gherkin/using_descriptions.feature +0 -88
- data/features/docs/gherkin/using_star_notation.feature +0 -37
- data/features/docs/iso-8859-1.feature +0 -6
- data/features/docs/post_configuration_hook.feature +0 -49
- data/features/docs/profiles.feature +0 -120
- data/features/docs/rake_task.feature +0 -141
- data/features/docs/raketask.feature +0 -44
- data/features/docs/report_called_undefined_steps.feature +0 -57
- data/features/docs/wire_protocol.feature +0 -337
- data/features/docs/wire_protocol_erb.feature +0 -56
- data/features/docs/wire_protocol_table_diffing.feature +0 -125
- data/features/docs/wire_protocol_tags.feature +0 -86
- data/features/docs/wire_protocol_timeouts.feature +0 -63
- data/features/docs/work_in_progress.feature +0 -154
- data/features/docs/writing_support_code/after_hooks.feature +0 -56
- data/features/docs/writing_support_code/around_hooks.feature +0 -229
- data/features/docs/writing_support_code/before_hook.feature +0 -61
- data/features/docs/writing_support_code/hook_order.feature +0 -61
- data/features/docs/writing_support_code/load_path.feature +0 -17
- data/features/docs/writing_support_code/state.feature +0 -32
- data/features/docs/writing_support_code/tagged_hooks.feature +0 -57
- data/features/lib/step_definitions/aruba_steps.rb +0 -22
- data/features/lib/step_definitions/cucumber_steps.rb +0 -50
- data/features/lib/step_definitions/iso-8859-1_steps.rb +0 -12
- data/features/lib/step_definitions/json_steps.rb +0 -7
- data/features/lib/step_definitions/junit_steps.rb +0 -13
- data/features/lib/step_definitions/language_steps.rb +0 -8
- data/features/lib/step_definitions/profile_steps.rb +0 -15
- data/features/lib/step_definitions/ruby_steps.rb +0 -3
- data/features/lib/step_definitions/wire_steps.rb +0 -41
- data/features/lib/support/env.rb +0 -21
- data/features/lib/support/fake_wire_server.rb +0 -77
- data/features/lib/support/feature_factory.rb +0 -67
- data/features/lib/support/normalise_output.rb +0 -33
- data/gem_tasks/contributors.rake +0 -15
- data/gem_tasks/cov.rake +0 -5
- data/gem_tasks/cucumber.rake +0 -25
- data/gem_tasks/downloads.rb +0 -7
- data/gem_tasks/environment.rake +0 -7
- data/gem_tasks/examples.rake +0 -11
- data/gem_tasks/fix_cr_lf.rake +0 -10
- data/gem_tasks/flog.rake +0 -4
- data/gem_tasks/rspec.rake +0 -6
- data/gem_tasks/sass.rake +0 -4
- data/gem_tasks/stats +0 -16
- data/gem_tasks/versions.txt +0 -74
- data/lib/cucumber/ast.rb +0 -13
- data/lib/cucumber/ast/facade.rb +0 -117
- data/lib/cucumber/core_ext/instance_exec.rb +0 -70
- data/lib/cucumber/core_ext/proc.rb +0 -36
- data/lib/cucumber/formatter/cucumber.css +0 -285
- data/lib/cucumber/formatter/cucumber.sass +0 -247
- data/lib/cucumber/formatter/debug.rb +0 -35
- data/lib/cucumber/formatter/gherkin_formatter_adapter.rb +0 -201
- data/lib/cucumber/formatter/gpretty.rb +0 -24
- data/lib/cucumber/formatter/html.rb +0 -674
- data/lib/cucumber/formatter/jquery-min.js +0 -154
- data/lib/cucumber/formatter/json_pretty.rb +0 -10
- data/lib/cucumber/formatter/legacy_api/adapter.rb +0 -1024
- data/lib/cucumber/formatter/legacy_api/ast.rb +0 -376
- data/lib/cucumber/formatter/legacy_api/results.rb +0 -51
- data/lib/cucumber/formatter/legacy_api/runtime_facade.rb +0 -30
- data/lib/cucumber/language_support.rb +0 -30
- data/lib/cucumber/language_support/language_methods.rb +0 -71
- data/lib/cucumber/rb_support/rb_hook.rb +0 -18
- data/lib/cucumber/rb_support/rb_language.rb +0 -160
- data/lib/cucumber/rb_support/rb_step_definition.rb +0 -122
- data/lib/cucumber/rb_support/rb_transform.rb +0 -59
- data/lib/cucumber/rb_support/rb_world.rb +0 -142
- data/lib/cucumber/rb_support/regexp_argument_matcher.rb +0 -21
- data/lib/cucumber/rb_support/snippet.rb +0 -149
- data/lib/cucumber/wire_support/configuration.rb +0 -38
- data/lib/cucumber/wire_support/connection.rb +0 -61
- data/lib/cucumber/wire_support/request_handler.rb +0 -32
- data/lib/cucumber/wire_support/wire_exception.rb +0 -32
- data/lib/cucumber/wire_support/wire_language.rb +0 -68
- data/lib/cucumber/wire_support/wire_packet.rb +0 -34
- data/lib/cucumber/wire_support/wire_protocol.rb +0 -43
- data/lib/cucumber/wire_support/wire_protocol/requests.rb +0 -133
- data/lib/cucumber/wire_support/wire_step_definition.rb +0 -19
- data/spec/cucumber/cli/configuration_spec.rb +0 -503
- data/spec/cucumber/cli/main_spec.rb +0 -105
- data/spec/cucumber/cli/options_spec.rb +0 -335
- data/spec/cucumber/cli/profile_loader_spec.rb +0 -46
- data/spec/cucumber/configuration_spec.rb +0 -23
- data/spec/cucumber/constantize_spec.rb +0 -19
- data/spec/cucumber/core_ext/proc_spec.rb +0 -69
- data/spec/cucumber/file_specs_spec.rb +0 -60
- data/spec/cucumber/filters/activate_steps_spec.rb +0 -57
- data/spec/cucumber/filters/gated_receiver_spec.rb +0 -47
- data/spec/cucumber/filters/tag_limits/test_case_index_spec.rb +0 -38
- data/spec/cucumber/filters/tag_limits/verifier_spec.rb +0 -57
- data/spec/cucumber/filters/tag_limits_spec.rb +0 -59
- data/spec/cucumber/formatter/ansicolor_spec.rb +0 -32
- data/spec/cucumber/formatter/debug_spec.rb +0 -64
- data/spec/cucumber/formatter/duration_spec.rb +0 -22
- data/spec/cucumber/formatter/html_spec.rb +0 -459
- data/spec/cucumber/formatter/interceptor_spec.rb +0 -136
- data/spec/cucumber/formatter/junit_spec.rb +0 -196
- data/spec/cucumber/formatter/legacy_api/adapter_spec.rb +0 -2002
- data/spec/cucumber/formatter/pretty_spec.rb +0 -810
- data/spec/cucumber/formatter/progress_spec.rb +0 -85
- data/spec/cucumber/formatter/rerun_spec.rb +0 -107
- data/spec/cucumber/formatter/spec_helper.rb +0 -67
- data/spec/cucumber/hooks_spec.rb +0 -30
- data/spec/cucumber/multiline_argument/data_table_spec.rb +0 -514
- data/spec/cucumber/rake/forked_spec.rb +0 -53
- data/spec/cucumber/rb_support/rb_language_spec.rb +0 -279
- data/spec/cucumber/rb_support/rb_step_definition_spec.rb +0 -152
- data/spec/cucumber/rb_support/rb_transform_spec.rb +0 -46
- data/spec/cucumber/rb_support/regexp_argument_matcher_spec.rb +0 -22
- data/spec/cucumber/rb_support/snippet_spec.rb +0 -137
- data/spec/cucumber/runtime/for_programming_languages_spec.rb +0 -36
- data/spec/cucumber/runtime/support_code_spec.rb +0 -123
- data/spec/cucumber/runtime_spec.rb +0 -46
- data/spec/cucumber/sell_cucumbers.feature +0 -19
- data/spec/cucumber/step_match_spec.rb +0 -79
- data/spec/cucumber/wire_support/configuration_spec.rb +0 -64
- data/spec/cucumber/wire_support/connection_spec.rb +0 -64
- data/spec/cucumber/wire_support/wire_exception_spec.rb +0 -50
- data/spec/cucumber/wire_support/wire_language_spec.rb +0 -46
- data/spec/cucumber/wire_support/wire_packet_spec.rb +0 -44
- data/spec/cucumber/world/pending_spec.rb +0 -46
- data/spec/spec_helper.rb +0 -32
data/lib/cucumber/step_match.rb
CHANGED
@@ -1,29 +1,29 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'cucumber/multiline_argument'
|
2
4
|
|
3
5
|
module Cucumber
|
6
|
+
# Represents the match found between a Test Step and its activation
|
4
7
|
class StepMatch #:nodoc:
|
5
8
|
attr_reader :step_definition, :step_arguments
|
6
9
|
|
7
|
-
|
8
|
-
# reported, unless it's is, in which case +name_to_report+ is used instead.
|
9
|
-
#
|
10
|
-
def initialize(step_definition, name_to_match, name_to_report, step_arguments)
|
11
|
-
raise "name_to_match can't be nil" if name_to_match.nil?
|
10
|
+
def initialize(step_definition, step_name, step_arguments)
|
12
11
|
raise "step_arguments can't be nil (but it can be an empty array)" if step_arguments.nil?
|
13
|
-
@step_definition
|
12
|
+
@step_definition = step_definition
|
13
|
+
@name_to_match = step_name
|
14
|
+
@step_arguments = step_arguments
|
14
15
|
end
|
15
16
|
|
16
17
|
def args
|
17
|
-
@
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
@name_to_report
|
18
|
+
current_world = @step_definition.registry.current_world
|
19
|
+
@step_arguments.map do |arg|
|
20
|
+
arg.value(current_world)
|
21
|
+
end
|
22
22
|
end
|
23
23
|
|
24
24
|
def activate(test_step)
|
25
|
-
test_step.with_action do
|
26
|
-
invoke(MultilineArgument.from_core(test_step.
|
25
|
+
test_step.with_action(@step_definition.location) do
|
26
|
+
invoke(MultilineArgument.from_core(test_step.multiline_arg))
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
@@ -48,56 +48,62 @@ module Cucumber
|
|
48
48
|
#
|
49
49
|
# lambda { |param| "[#{param}]" }
|
50
50
|
#
|
51
|
-
def format_args(format =
|
52
|
-
|
51
|
+
def format_args(format = ->(a) { a }, &proc)
|
52
|
+
replace_arguments(@name_to_match, @step_arguments, format, &proc)
|
53
|
+
end
|
54
|
+
|
55
|
+
def location
|
56
|
+
@step_definition.location
|
53
57
|
end
|
54
58
|
|
55
59
|
def file_colon_line
|
56
|
-
|
60
|
+
location.to_s
|
57
61
|
end
|
58
62
|
|
59
63
|
def backtrace_line
|
60
|
-
"#{file_colon_line}:in `#{@step_definition.
|
64
|
+
"#{file_colon_line}:in `#{@step_definition.expression}'"
|
61
65
|
end
|
62
66
|
|
63
67
|
def text_length
|
64
|
-
@step_definition.
|
68
|
+
@step_definition.expression.source.to_s.unpack('U*').length
|
65
69
|
end
|
66
70
|
|
67
|
-
def replace_arguments(string, step_arguments, format
|
71
|
+
def replace_arguments(string, step_arguments, format)
|
68
72
|
s = string.dup
|
69
73
|
offset = past_offset = 0
|
70
74
|
step_arguments.each do |step_argument|
|
71
|
-
|
75
|
+
group = step_argument.group
|
76
|
+
next if group.value.nil? || group.start < past_offset
|
72
77
|
|
73
78
|
replacement = if block_given?
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
s[
|
82
|
-
offset += replacement.unpack('U*').length -
|
83
|
-
past_offset =
|
79
|
+
yield(group.value)
|
80
|
+
elsif Proc == format.class
|
81
|
+
format.call(group.value)
|
82
|
+
else
|
83
|
+
format % group.value
|
84
|
+
end
|
85
|
+
|
86
|
+
s[group.start + offset, group.value.length] = replacement
|
87
|
+
offset += replacement.unpack('U*').length - group.value.unpack('U*').length
|
88
|
+
past_offset = group.start + group.value.length
|
84
89
|
end
|
85
90
|
s
|
86
91
|
end
|
87
92
|
|
88
93
|
def inspect #:nodoc:
|
89
|
-
|
94
|
+
"#<#{self.class}: #{location}>"
|
90
95
|
end
|
91
96
|
|
92
97
|
private
|
98
|
+
|
93
99
|
def deep_clone_args
|
94
|
-
Marshal.load(
|
100
|
+
Marshal.load(Marshal.dump(args))
|
95
101
|
end
|
96
102
|
end
|
97
103
|
|
98
104
|
class SkippingStepMatch
|
99
105
|
def activate(test_step)
|
100
|
-
|
106
|
+
test_step.with_action { raise Core::Test::Result::Skipped }
|
101
107
|
end
|
102
108
|
end
|
103
109
|
|
@@ -109,13 +115,17 @@ module Cucumber
|
|
109
115
|
@name = name
|
110
116
|
end
|
111
117
|
|
112
|
-
def format_args(*
|
118
|
+
def format_args(*_args)
|
113
119
|
@name
|
114
120
|
end
|
115
121
|
|
122
|
+
def location
|
123
|
+
raise "No location for #{@step}" unless @step.location
|
124
|
+
@step.location
|
125
|
+
end
|
126
|
+
|
116
127
|
def file_colon_line
|
117
|
-
|
118
|
-
@step.file_colon_line
|
128
|
+
location.to_s
|
119
129
|
end
|
120
130
|
|
121
131
|
def backtrace_line
|
@@ -123,7 +133,7 @@ module Cucumber
|
|
123
133
|
end
|
124
134
|
|
125
135
|
def text_length
|
126
|
-
@step.
|
136
|
+
@step.text.length
|
127
137
|
end
|
128
138
|
|
129
139
|
def step_arguments
|
@@ -132,7 +142,17 @@ module Cucumber
|
|
132
142
|
|
133
143
|
def activate(test_step)
|
134
144
|
# noop
|
135
|
-
|
145
|
+
test_step
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
class AmbiguousStepMatch
|
150
|
+
def initialize(error)
|
151
|
+
@error = error
|
152
|
+
end
|
153
|
+
|
154
|
+
def activate(test_step)
|
155
|
+
test_step.with_action { raise @error }
|
136
156
|
end
|
137
157
|
end
|
138
158
|
end
|
@@ -0,0 +1,67 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Cucumber
|
4
|
+
module StepMatchSearch
|
5
|
+
def self.new(search, configuration)
|
6
|
+
CachesStepMatch.new(
|
7
|
+
AssertUnambiguousMatch.new(
|
8
|
+
configuration.guess? ? AttemptToGuessAmbiguousMatch.new(search) : search,
|
9
|
+
configuration
|
10
|
+
)
|
11
|
+
)
|
12
|
+
end
|
13
|
+
|
14
|
+
class AssertUnambiguousMatch
|
15
|
+
def initialize(search, configuration)
|
16
|
+
@search = search
|
17
|
+
@configuration = configuration
|
18
|
+
end
|
19
|
+
|
20
|
+
def call(step_name)
|
21
|
+
result = @search.call(step_name)
|
22
|
+
raise Cucumber::Ambiguous.new(step_name, result, @configuration.guess?) if result.length > 1
|
23
|
+
result
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
class AttemptToGuessAmbiguousMatch
|
28
|
+
def initialize(search)
|
29
|
+
@search = search
|
30
|
+
end
|
31
|
+
|
32
|
+
def call(step_name)
|
33
|
+
best_matches(step_name, @search.call(step_name))
|
34
|
+
end
|
35
|
+
|
36
|
+
private
|
37
|
+
|
38
|
+
def best_matches(_step_name, step_matches) #:nodoc:
|
39
|
+
no_groups = step_matches.select { |step_match| step_match.args.empty? }
|
40
|
+
max_arg_length = step_matches.map { |step_match| step_match.args.length }.max
|
41
|
+
top_groups = step_matches.select { |step_match| step_match.args.length == max_arg_length }
|
42
|
+
|
43
|
+
if no_groups.any?
|
44
|
+
longest_regexp_length = no_groups.map(&:text_length).max
|
45
|
+
no_groups.select { |step_match| step_match.text_length == longest_regexp_length }
|
46
|
+
elsif top_groups.any?
|
47
|
+
shortest_capture_length = top_groups.map { |step_match| step_match.args.inject(0) { |sum, c| sum + c.to_s.length } }.min
|
48
|
+
top_groups.select { |step_match| step_match.args.inject(0) { |sum, c| sum + c.to_s.length } == shortest_capture_length }
|
49
|
+
else
|
50
|
+
top_groups
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
require 'delegate'
|
56
|
+
class CachesStepMatch < SimpleDelegator
|
57
|
+
def call(step_name) #:nodoc:
|
58
|
+
@match_cache ||= {}
|
59
|
+
|
60
|
+
matches = @match_cache[step_name]
|
61
|
+
return matches if matches
|
62
|
+
|
63
|
+
@match_cache[step_name] = super(step_name)
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module Cucumber
|
2
4
|
module Term
|
3
5
|
# The ANSIColor module can be used for namespacing and mixed into your own
|
@@ -5,35 +7,35 @@ module Cucumber
|
|
5
7
|
module ANSIColor
|
6
8
|
# :stopdoc:
|
7
9
|
ATTRIBUTES = [
|
8
|
-
[
|
9
|
-
[
|
10
|
-
[
|
11
|
-
[
|
12
|
-
[
|
13
|
-
[
|
14
|
-
[
|
15
|
-
[
|
16
|
-
[
|
17
|
-
[
|
18
|
-
[
|
19
|
-
[
|
20
|
-
[
|
21
|
-
[
|
22
|
-
[
|
23
|
-
[
|
24
|
-
[
|
25
|
-
[
|
26
|
-
[
|
27
|
-
[
|
28
|
-
[
|
29
|
-
[
|
30
|
-
[
|
31
|
-
[
|
32
|
-
[
|
33
|
-
[
|
34
|
-
[
|
35
|
-
[
|
36
|
-
]
|
10
|
+
[:clear, 0],
|
11
|
+
[:reset, 0], # synonym for :clear
|
12
|
+
[:bold, 1],
|
13
|
+
[:dark, 2],
|
14
|
+
[:italic, 3], # not widely implemented
|
15
|
+
[:underline, 4],
|
16
|
+
[:underscore, 4], # synonym for :underline
|
17
|
+
[:blink, 5],
|
18
|
+
[:rapid_blink, 6], # not widely implemented
|
19
|
+
[:negative, 7], # no reverse because of String#reverse
|
20
|
+
[:concealed, 8],
|
21
|
+
[:strikethrough, 9], # not widely implemented
|
22
|
+
[:black, 30],
|
23
|
+
[:red, 31],
|
24
|
+
[:green, 32],
|
25
|
+
[:yellow, 33],
|
26
|
+
[:blue, 34],
|
27
|
+
[:magenta, 35],
|
28
|
+
[:cyan, 36],
|
29
|
+
[:white, 37],
|
30
|
+
[:on_black, 40],
|
31
|
+
[:on_red, 41],
|
32
|
+
[:on_green, 42],
|
33
|
+
[:on_yellow, 43],
|
34
|
+
[:on_blue, 44],
|
35
|
+
[:on_magenta, 45],
|
36
|
+
[:on_cyan, 46],
|
37
|
+
[:on_white, 47]
|
38
|
+
].freeze
|
37
39
|
|
38
40
|
ATTRIBUTE_NAMES = ATTRIBUTES.transpose.first
|
39
41
|
# :startdoc:
|
@@ -52,10 +54,11 @@ module Cucumber
|
|
52
54
|
end
|
53
55
|
self.coloring = true
|
54
56
|
|
57
|
+
# rubocop:disable Security/Eval
|
55
58
|
ATTRIBUTES.each do |c, v|
|
56
|
-
eval
|
59
|
+
eval <<-END_EVAL, binding, __FILE__, __LINE__ + 1
|
57
60
|
def #{c}(string = nil)
|
58
|
-
result =
|
61
|
+
result = String.new
|
59
62
|
result << "\e[#{v}m" if Cucumber::Term::ANSIColor.coloring?
|
60
63
|
if block_given?
|
61
64
|
result << yield
|
@@ -69,24 +72,23 @@ module Cucumber
|
|
69
72
|
result << "\e[0m" if Cucumber::Term::ANSIColor.coloring?
|
70
73
|
result
|
71
74
|
end
|
72
|
-
|
75
|
+
END_EVAL
|
73
76
|
end
|
77
|
+
# rubocop:enable Security/Eval
|
74
78
|
|
75
79
|
# Regular expression that is used to scan for ANSI-sequences while
|
76
80
|
# uncoloring strings.
|
77
81
|
COLORED_REGEXP = /\e\[(?:[34][0-7]|[0-9])?m/
|
78
82
|
|
79
|
-
|
80
83
|
def self.included(klass)
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
end
|
84
|
+
return unless klass == String
|
85
|
+
ATTRIBUTES.delete(:clear)
|
86
|
+
ATTRIBUTE_NAMES.delete(:clear)
|
85
87
|
end
|
86
88
|
|
87
89
|
# Returns an uncolored version of the string, that is all
|
88
90
|
# ANSI-sequences are stripped from the string.
|
89
|
-
def uncolored(string = nil)
|
91
|
+
def uncolored(string = nil)
|
90
92
|
if block_given?
|
91
93
|
yield.gsub(COLORED_REGEXP, '')
|
92
94
|
elsif string
|
@@ -104,7 +106,6 @@ module Cucumber
|
|
104
106
|
def attributes
|
105
107
|
ATTRIBUTE_NAMES
|
106
108
|
end
|
107
|
-
extend self
|
108
109
|
end
|
109
110
|
end
|
110
111
|
end
|
data/lib/cucumber/unit.rb
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
4.0.0.rc.2
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
if ENV['SIMPLECOV']
|
2
4
|
begin
|
3
5
|
# Suppress warnings in order not to pollute stdout which tests expectations rely on
|
@@ -13,6 +15,6 @@ if ENV['SIMPLECOV']
|
|
13
15
|
add_filter '/features/'
|
14
16
|
end
|
15
17
|
rescue LoadError
|
16
|
-
warn(
|
18
|
+
warn('Unable to load simplecov')
|
17
19
|
end
|
18
20
|
end
|
metadata
CHANGED
@@ -1,651 +1,463 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.0.rc.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aslak Hellesøy
|
8
|
+
- Matt Wynne
|
9
|
+
- Steve Tooke
|
8
10
|
autorequire:
|
9
11
|
bindir: bin
|
10
12
|
cert_chain: []
|
11
|
-
date:
|
13
|
+
date: 2019-10-31 00:00:00.000000000 Z
|
12
14
|
dependencies:
|
13
15
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
16
|
+
name: builder
|
15
17
|
requirement: !ruby/object:Gem::Requirement
|
16
18
|
requirements:
|
17
19
|
- - "~>"
|
18
20
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
21
|
+
version: '3.2'
|
22
|
+
- - ">="
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 3.2.3
|
20
25
|
type: :runtime
|
21
26
|
prerelease: false
|
22
27
|
version_requirements: !ruby/object:Gem::Requirement
|
23
28
|
requirements:
|
24
29
|
- - "~>"
|
25
30
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
31
|
+
version: '3.2'
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 3.2.3
|
27
35
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
36
|
+
name: cucumber-core
|
29
37
|
requirement: !ruby/object:Gem::Requirement
|
30
38
|
requirements:
|
31
39
|
- - ">="
|
32
40
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
41
|
+
version: 5.0.0
|
42
|
+
- - "~>"
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '5.0'
|
34
45
|
type: :runtime
|
35
46
|
prerelease: false
|
36
47
|
version_requirements: !ruby/object:Gem::Requirement
|
37
48
|
requirements:
|
38
49
|
- - ">="
|
39
50
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
51
|
+
version: 5.0.0
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
56
|
+
name: cucumber-expressions
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '8.0'
|
45
62
|
- - ">="
|
46
63
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
64
|
+
version: 8.0.2
|
48
65
|
type: :runtime
|
49
66
|
prerelease: false
|
50
67
|
version_requirements: !ruby/object:Gem::Requirement
|
51
68
|
requirements:
|
69
|
+
- - "~>"
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '8.0'
|
52
72
|
- - ">="
|
53
73
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
74
|
+
version: 8.0.2
|
55
75
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
76
|
+
name: cucumber-wire
|
57
77
|
requirement: !ruby/object:Gem::Requirement
|
58
78
|
requirements:
|
79
|
+
- - ">="
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: 1.0.0
|
59
82
|
- - "~>"
|
60
83
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
84
|
+
version: '1.0'
|
62
85
|
type: :runtime
|
63
86
|
prerelease: false
|
64
87
|
version_requirements: !ruby/object:Gem::Requirement
|
65
88
|
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: 1.0.0
|
66
92
|
- - "~>"
|
67
93
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
94
|
+
version: '1.0'
|
69
95
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
96
|
+
name: diff-lcs
|
71
97
|
requirement: !ruby/object:Gem::Requirement
|
72
98
|
requirements:
|
73
99
|
- - ">="
|
74
100
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.
|
76
|
-
- - "
|
101
|
+
version: '1.3'
|
102
|
+
- - "~>"
|
77
103
|
- !ruby/object:Gem::Version
|
78
|
-
version: '
|
104
|
+
version: '1.3'
|
79
105
|
type: :runtime
|
80
106
|
prerelease: false
|
81
107
|
version_requirements: !ruby/object:Gem::Requirement
|
82
108
|
requirements:
|
83
109
|
- - ">="
|
84
110
|
- !ruby/object:Gem::Version
|
85
|
-
version: 1.
|
86
|
-
- - "
|
111
|
+
version: '1.3'
|
112
|
+
- - "~>"
|
87
113
|
- !ruby/object:Gem::Version
|
88
|
-
version: '
|
114
|
+
version: '1.3'
|
89
115
|
- !ruby/object:Gem::Dependency
|
90
|
-
name:
|
116
|
+
name: gherkin
|
91
117
|
requirement: !ruby/object:Gem::Requirement
|
92
118
|
requirements:
|
119
|
+
- - "~>"
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '8.1'
|
93
122
|
- - ">="
|
94
123
|
- !ruby/object:Gem::Version
|
95
|
-
version:
|
124
|
+
version: 8.1.1
|
96
125
|
type: :runtime
|
97
126
|
prerelease: false
|
98
127
|
version_requirements: !ruby/object:Gem::Requirement
|
99
128
|
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '8.1'
|
100
132
|
- - ">="
|
101
133
|
- !ruby/object:Gem::Version
|
102
|
-
version:
|
134
|
+
version: 8.1.1
|
103
135
|
- !ruby/object:Gem::Dependency
|
104
|
-
name:
|
136
|
+
name: multi_json
|
105
137
|
requirement: !ruby/object:Gem::Requirement
|
106
138
|
requirements:
|
107
139
|
- - "~>"
|
108
140
|
- !ruby/object:Gem::Version
|
109
|
-
version:
|
110
|
-
|
141
|
+
version: '1.13'
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: 1.13.1
|
145
|
+
type: :runtime
|
111
146
|
prerelease: false
|
112
147
|
version_requirements: !ruby/object:Gem::Requirement
|
113
148
|
requirements:
|
114
149
|
- - "~>"
|
115
150
|
- !ruby/object:Gem::Version
|
116
|
-
version:
|
151
|
+
version: '1.13'
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: 1.13.1
|
117
155
|
- !ruby/object:Gem::Dependency
|
118
|
-
name:
|
156
|
+
name: multi_test
|
119
157
|
requirement: !ruby/object:Gem::Requirement
|
120
158
|
requirements:
|
121
159
|
- - "~>"
|
122
160
|
- !ruby/object:Gem::Version
|
123
|
-
version: '1
|
124
|
-
|
161
|
+
version: '0.1'
|
162
|
+
- - ">="
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: 0.1.2
|
165
|
+
type: :runtime
|
125
166
|
prerelease: false
|
126
167
|
version_requirements: !ruby/object:Gem::Requirement
|
127
168
|
requirements:
|
128
169
|
- - "~>"
|
129
170
|
- !ruby/object:Gem::Version
|
130
|
-
version: '1
|
171
|
+
version: '0.1'
|
172
|
+
- - ">="
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: 0.1.2
|
131
175
|
- !ruby/object:Gem::Dependency
|
132
|
-
name:
|
176
|
+
name: aruba
|
133
177
|
requirement: !ruby/object:Gem::Requirement
|
134
178
|
requirements:
|
135
179
|
- - "~>"
|
136
180
|
- !ruby/object:Gem::Version
|
137
|
-
version: '
|
181
|
+
version: '0.14'
|
182
|
+
- - ">="
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: 0.14.11
|
138
185
|
type: :development
|
139
186
|
prerelease: false
|
140
187
|
version_requirements: !ruby/object:Gem::Requirement
|
141
188
|
requirements:
|
142
189
|
- - "~>"
|
143
190
|
- !ruby/object:Gem::Version
|
144
|
-
version: '
|
191
|
+
version: '0.14'
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 0.14.11
|
145
195
|
- !ruby/object:Gem::Dependency
|
146
|
-
name:
|
196
|
+
name: json
|
147
197
|
requirement: !ruby/object:Gem::Requirement
|
148
198
|
requirements:
|
149
199
|
- - ">="
|
150
200
|
- !ruby/object:Gem::Version
|
151
|
-
version:
|
201
|
+
version: 2.2.0
|
202
|
+
- - "~>"
|
203
|
+
- !ruby/object:Gem::Version
|
204
|
+
version: '2.2'
|
152
205
|
type: :development
|
153
206
|
prerelease: false
|
154
207
|
version_requirements: !ruby/object:Gem::Requirement
|
155
208
|
requirements:
|
156
209
|
- - ">="
|
157
210
|
- !ruby/object:Gem::Version
|
158
|
-
version:
|
211
|
+
version: 2.2.0
|
212
|
+
- - "~>"
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: '2.2'
|
159
215
|
- !ruby/object:Gem::Dependency
|
160
|
-
name:
|
216
|
+
name: nokogiri
|
161
217
|
requirement: !ruby/object:Gem::Requirement
|
162
218
|
requirements:
|
219
|
+
- - "~>"
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: '1.10'
|
163
222
|
- - ">="
|
164
223
|
- !ruby/object:Gem::Version
|
165
|
-
version:
|
224
|
+
version: 1.10.4
|
166
225
|
type: :development
|
167
226
|
prerelease: false
|
168
227
|
version_requirements: !ruby/object:Gem::Requirement
|
169
228
|
requirements:
|
229
|
+
- - "~>"
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: '1.10'
|
170
232
|
- - ">="
|
171
233
|
- !ruby/object:Gem::Version
|
172
|
-
version:
|
234
|
+
version: 1.10.4
|
173
235
|
- !ruby/object:Gem::Dependency
|
174
|
-
name:
|
236
|
+
name: pry
|
175
237
|
requirement: !ruby/object:Gem::Requirement
|
176
238
|
requirements:
|
239
|
+
- - "~>"
|
240
|
+
- !ruby/object:Gem::Version
|
241
|
+
version: '0.12'
|
177
242
|
- - ">="
|
178
243
|
- !ruby/object:Gem::Version
|
179
|
-
version: 0.
|
244
|
+
version: 0.12.2
|
180
245
|
type: :development
|
181
246
|
prerelease: false
|
182
247
|
version_requirements: !ruby/object:Gem::Requirement
|
183
248
|
requirements:
|
249
|
+
- - "~>"
|
250
|
+
- !ruby/object:Gem::Version
|
251
|
+
version: '0.12'
|
184
252
|
- - ">="
|
185
253
|
- !ruby/object:Gem::Version
|
186
|
-
version: 0.
|
254
|
+
version: 0.12.2
|
187
255
|
- !ruby/object:Gem::Dependency
|
188
|
-
name:
|
256
|
+
name: rake
|
189
257
|
requirement: !ruby/object:Gem::Requirement
|
190
258
|
requirements:
|
191
259
|
- - "~>"
|
192
260
|
- !ruby/object:Gem::Version
|
193
|
-
version: '
|
261
|
+
version: '12.3'
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: 12.3.3
|
194
265
|
type: :development
|
195
266
|
prerelease: false
|
196
267
|
version_requirements: !ruby/object:Gem::Requirement
|
197
268
|
requirements:
|
198
269
|
- - "~>"
|
199
270
|
- !ruby/object:Gem::Version
|
200
|
-
version: '
|
271
|
+
version: '12.3'
|
272
|
+
- - ">="
|
273
|
+
- !ruby/object:Gem::Version
|
274
|
+
version: 12.3.3
|
201
275
|
- !ruby/object:Gem::Dependency
|
202
|
-
name:
|
276
|
+
name: rspec
|
203
277
|
requirement: !ruby/object:Gem::Requirement
|
204
278
|
requirements:
|
205
279
|
- - ">="
|
206
280
|
- !ruby/object:Gem::Version
|
207
|
-
version:
|
281
|
+
version: 3.8.0
|
282
|
+
- - "~>"
|
283
|
+
- !ruby/object:Gem::Version
|
284
|
+
version: '3.8'
|
208
285
|
type: :development
|
209
286
|
prerelease: false
|
210
287
|
version_requirements: !ruby/object:Gem::Requirement
|
211
288
|
requirements:
|
212
289
|
- - ">="
|
213
290
|
- !ruby/object:Gem::Version
|
214
|
-
version:
|
291
|
+
version: 3.8.0
|
292
|
+
- - "~>"
|
293
|
+
- !ruby/object:Gem::Version
|
294
|
+
version: '3.8'
|
215
295
|
- !ruby/object:Gem::Dependency
|
216
|
-
name:
|
296
|
+
name: rubocop
|
217
297
|
requirement: !ruby/object:Gem::Requirement
|
218
298
|
requirements:
|
219
|
-
- - "
|
299
|
+
- - "~>"
|
220
300
|
- !ruby/object:Gem::Version
|
221
|
-
version: '0'
|
301
|
+
version: '0.75'
|
302
|
+
- - '='
|
303
|
+
- !ruby/object:Gem::Version
|
304
|
+
version: 0.75.1
|
222
305
|
type: :development
|
223
306
|
prerelease: false
|
224
307
|
version_requirements: !ruby/object:Gem::Requirement
|
225
308
|
requirements:
|
226
|
-
- - "
|
309
|
+
- - "~>"
|
310
|
+
- !ruby/object:Gem::Version
|
311
|
+
version: '0.75'
|
312
|
+
- - '='
|
227
313
|
- !ruby/object:Gem::Version
|
228
|
-
version:
|
314
|
+
version: 0.75.1
|
229
315
|
- !ruby/object:Gem::Dependency
|
230
|
-
name:
|
316
|
+
name: simplecov
|
231
317
|
requirement: !ruby/object:Gem::Requirement
|
232
318
|
requirements:
|
319
|
+
- - ">="
|
320
|
+
- !ruby/object:Gem::Version
|
321
|
+
version: 0.17.0
|
233
322
|
- - "~>"
|
234
323
|
- !ruby/object:Gem::Version
|
235
|
-
version: 0.
|
324
|
+
version: '0.17'
|
236
325
|
type: :development
|
237
326
|
prerelease: false
|
238
327
|
version_requirements: !ruby/object:Gem::Requirement
|
239
328
|
requirements:
|
329
|
+
- - ">="
|
330
|
+
- !ruby/object:Gem::Version
|
331
|
+
version: 0.17.0
|
240
332
|
- - "~>"
|
241
333
|
- !ruby/object:Gem::Version
|
242
|
-
version: 0.
|
334
|
+
version: '0.17'
|
243
335
|
- !ruby/object:Gem::Dependency
|
244
|
-
name:
|
336
|
+
name: syntax
|
245
337
|
requirement: !ruby/object:Gem::Requirement
|
246
338
|
requirements:
|
247
339
|
- - "~>"
|
248
340
|
- !ruby/object:Gem::Version
|
249
|
-
version: '
|
341
|
+
version: '1.2'
|
342
|
+
- - ">="
|
343
|
+
- !ruby/object:Gem::Version
|
344
|
+
version: 1.2.2
|
250
345
|
type: :development
|
251
346
|
prerelease: false
|
252
347
|
version_requirements: !ruby/object:Gem::Requirement
|
253
348
|
requirements:
|
254
349
|
- - "~>"
|
255
350
|
- !ruby/object:Gem::Version
|
256
|
-
version: '
|
351
|
+
version: '1.2'
|
352
|
+
- - ">="
|
353
|
+
- !ruby/object:Gem::Version
|
354
|
+
version: 1.2.2
|
257
355
|
- !ruby/object:Gem::Dependency
|
258
|
-
name:
|
356
|
+
name: test-unit
|
259
357
|
requirement: !ruby/object:Gem::Requirement
|
260
358
|
requirements:
|
261
359
|
- - "~>"
|
262
360
|
- !ruby/object:Gem::Version
|
263
|
-
version:
|
361
|
+
version: '1.2'
|
362
|
+
- - ">="
|
363
|
+
- !ruby/object:Gem::Version
|
364
|
+
version: 1.2.3
|
264
365
|
type: :development
|
265
366
|
prerelease: false
|
266
367
|
version_requirements: !ruby/object:Gem::Requirement
|
267
368
|
requirements:
|
268
369
|
- - "~>"
|
269
370
|
- !ruby/object:Gem::Version
|
270
|
-
version:
|
371
|
+
version: '1.2'
|
372
|
+
- - ">="
|
373
|
+
- !ruby/object:Gem::Version
|
374
|
+
version: 1.2.3
|
271
375
|
- !ruby/object:Gem::Dependency
|
272
|
-
name:
|
376
|
+
name: octokit
|
273
377
|
requirement: !ruby/object:Gem::Requirement
|
274
378
|
requirements:
|
275
379
|
- - ">="
|
276
380
|
- !ruby/object:Gem::Version
|
277
|
-
version:
|
381
|
+
version: 4.14.0
|
382
|
+
- - "~>"
|
383
|
+
- !ruby/object:Gem::Version
|
384
|
+
version: '4.14'
|
278
385
|
type: :development
|
279
386
|
prerelease: false
|
280
387
|
version_requirements: !ruby/object:Gem::Requirement
|
281
388
|
requirements:
|
282
389
|
- - ">="
|
283
390
|
- !ruby/object:Gem::Version
|
284
|
-
version:
|
391
|
+
version: 4.14.0
|
392
|
+
- - "~>"
|
393
|
+
- !ruby/object:Gem::Version
|
394
|
+
version: '4.14'
|
285
395
|
- !ruby/object:Gem::Dependency
|
286
396
|
name: rack-test
|
287
397
|
requirement: !ruby/object:Gem::Requirement
|
288
398
|
requirements:
|
289
399
|
- - ">="
|
290
400
|
- !ruby/object:Gem::Version
|
291
|
-
version:
|
401
|
+
version: 1.1.0
|
402
|
+
- - "~>"
|
403
|
+
- !ruby/object:Gem::Version
|
404
|
+
version: '1.1'
|
292
405
|
type: :development
|
293
406
|
prerelease: false
|
294
407
|
version_requirements: !ruby/object:Gem::Requirement
|
295
408
|
requirements:
|
296
409
|
- - ">="
|
297
410
|
- !ruby/object:Gem::Version
|
298
|
-
version:
|
411
|
+
version: 1.1.0
|
412
|
+
- - "~>"
|
413
|
+
- !ruby/object:Gem::Version
|
414
|
+
version: '1.1'
|
299
415
|
- !ruby/object:Gem::Dependency
|
300
416
|
name: sinatra
|
301
417
|
requirement: !ruby/object:Gem::Requirement
|
302
418
|
requirements:
|
419
|
+
- - "~>"
|
420
|
+
- !ruby/object:Gem::Version
|
421
|
+
version: '2.0'
|
303
422
|
- - ">="
|
304
423
|
- !ruby/object:Gem::Version
|
305
|
-
version:
|
424
|
+
version: 2.0.5
|
306
425
|
type: :development
|
307
426
|
prerelease: false
|
308
427
|
version_requirements: !ruby/object:Gem::Requirement
|
309
428
|
requirements:
|
429
|
+
- - "~>"
|
430
|
+
- !ruby/object:Gem::Version
|
431
|
+
version: '2.0'
|
310
432
|
- - ">="
|
311
433
|
- !ruby/object:Gem::Version
|
312
|
-
version:
|
434
|
+
version: 2.0.5
|
435
|
+
- !ruby/object:Gem::Dependency
|
436
|
+
name: capybara
|
437
|
+
requirement: !ruby/object:Gem::Requirement
|
438
|
+
requirements:
|
439
|
+
- - '='
|
440
|
+
- !ruby/object:Gem::Version
|
441
|
+
version: 3.15.0
|
442
|
+
type: :development
|
443
|
+
prerelease: false
|
444
|
+
version_requirements: !ruby/object:Gem::Requirement
|
445
|
+
requirements:
|
446
|
+
- - '='
|
447
|
+
- !ruby/object:Gem::Version
|
448
|
+
version: 3.15.0
|
313
449
|
description: Behaviour Driven Development with elegance and joy
|
314
450
|
email: cukes@googlegroups.com
|
315
451
|
executables:
|
316
452
|
- cucumber
|
317
|
-
- cuke
|
318
453
|
extensions: []
|
319
454
|
extra_rdoc_files: []
|
320
455
|
files:
|
321
|
-
-
|
322
|
-
- ".rspec"
|
323
|
-
- ".ruby-gemset"
|
324
|
-
- ".travis.yml"
|
325
|
-
- ".yardopts"
|
456
|
+
- CHANGELOG.md
|
326
457
|
- CONTRIBUTING.md
|
327
|
-
- Gemfile
|
328
|
-
- History.md
|
329
458
|
- LICENSE
|
330
459
|
- README.md
|
331
|
-
- Rakefile
|
332
460
|
- bin/cucumber
|
333
|
-
- bin/cuke
|
334
|
-
- cucumber.gemspec
|
335
|
-
- cucumber.yml
|
336
|
-
- examples/i18n/README.textile
|
337
|
-
- examples/i18n/Rakefile
|
338
|
-
- examples/i18n/ar/Rakefile
|
339
|
-
- examples/i18n/ar/features/addition.feature
|
340
|
-
- examples/i18n/ar/features/step_definitions/calculator_steps.rb
|
341
|
-
- examples/i18n/ar/lib/calculator.rb
|
342
|
-
- examples/i18n/bg/Rakefile
|
343
|
-
- examples/i18n/bg/features/addition.feature
|
344
|
-
- examples/i18n/bg/features/consecutive_calculations.feature
|
345
|
-
- examples/i18n/bg/features/division.feature
|
346
|
-
- examples/i18n/bg/features/step_definitions/calculator_steps.rb
|
347
|
-
- examples/i18n/bg/features/support/env.rb
|
348
|
-
- examples/i18n/bg/features/support/world.rb
|
349
|
-
- examples/i18n/bg/lib/calculator.rb
|
350
|
-
- examples/i18n/ca/Rakefile
|
351
|
-
- examples/i18n/ca/features/step_definitions/calculator_steps.rb
|
352
|
-
- examples/i18n/ca/features/suma.feature
|
353
|
-
- examples/i18n/ca/lib/calculadora.rb
|
354
|
-
- examples/i18n/cs/Rakefile
|
355
|
-
- examples/i18n/cs/features/addition.feature
|
356
|
-
- examples/i18n/cs/features/division.feature
|
357
|
-
- examples/i18n/cs/features/step_definitions/calculator_steps.rb
|
358
|
-
- examples/i18n/cs/lib/calculator.rb
|
359
|
-
- examples/i18n/da/Rakefile
|
360
|
-
- examples/i18n/da/features/sammenlaegning.feature
|
361
|
-
- examples/i18n/da/features/step_definitions/lommeregner_steps.rb
|
362
|
-
- examples/i18n/da/lib/lommeregner.rb
|
363
|
-
- examples/i18n/de/Rakefile
|
364
|
-
- examples/i18n/de/features/addition.feature
|
365
|
-
- examples/i18n/de/features/division.feature
|
366
|
-
- examples/i18n/de/features/step_definitions/calculator_steps.rb
|
367
|
-
- examples/i18n/de/lib/calculator.rb
|
368
|
-
- examples/i18n/el/Rakefile
|
369
|
-
- examples/i18n/el/features/addition.feature
|
370
|
-
- examples/i18n/el/features/division.feature
|
371
|
-
- examples/i18n/el/features/step_definitions/calculator_steps.rb
|
372
|
-
- examples/i18n/el/lib/calculator.rb
|
373
|
-
- examples/i18n/en-lol/Rakefile
|
374
|
-
- examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb
|
375
|
-
- examples/i18n/en-lol/features/stuffing.feature
|
376
|
-
- examples/i18n/en-lol/features/support/env.rb
|
377
|
-
- examples/i18n/en-lol/lib/basket.rb
|
378
|
-
- examples/i18n/en-lol/lib/belly.rb
|
379
|
-
- examples/i18n/en/Rakefile
|
380
|
-
- examples/i18n/en/features/addition.feature
|
381
|
-
- examples/i18n/en/features/division.feature
|
382
|
-
- examples/i18n/en/features/step_definitions/calculator_steps.rb
|
383
|
-
- examples/i18n/en/lib/calculator.rb
|
384
|
-
- examples/i18n/eo/Rakefile
|
385
|
-
- examples/i18n/eo/features/adicio.feature
|
386
|
-
- examples/i18n/eo/features/divido.feature
|
387
|
-
- examples/i18n/eo/features/step_definitions/calculator_steps.rb
|
388
|
-
- examples/i18n/eo/lib/calculator.rb
|
389
|
-
- examples/i18n/es/Rakefile
|
390
|
-
- examples/i18n/es/features/adicion.feature
|
391
|
-
- examples/i18n/es/features/step_definitions/calculador_steps.rb
|
392
|
-
- examples/i18n/es/lib/calculador.rb
|
393
|
-
- examples/i18n/et/Rakefile
|
394
|
-
- examples/i18n/et/features/jagamine.feature
|
395
|
-
- examples/i18n/et/features/liitmine.feature
|
396
|
-
- examples/i18n/et/features/step_definitions/kalkulaator_steps.rb
|
397
|
-
- examples/i18n/et/lib/kalkulaator.rb
|
398
|
-
- examples/i18n/fi/Rakefile
|
399
|
-
- examples/i18n/fi/features/jakolasku.feature
|
400
|
-
- examples/i18n/fi/features/step_definitions/laskin_steps.rb
|
401
|
-
- examples/i18n/fi/features/yhteenlasku.feature
|
402
|
-
- examples/i18n/fi/lib/laskin.rb
|
403
|
-
- examples/i18n/fr/Rakefile
|
404
|
-
- examples/i18n/fr/features/addition.feature
|
405
|
-
- examples/i18n/fr/features/addition2.feature
|
406
|
-
- examples/i18n/fr/features/step_definitions/calculatrice_steps.rb
|
407
|
-
- examples/i18n/fr/features/support/env.rb
|
408
|
-
- examples/i18n/fr/lib/calculatrice.rb
|
409
|
-
- examples/i18n/he/Rakefile
|
410
|
-
- examples/i18n/he/features/addition.feature
|
411
|
-
- examples/i18n/he/features/division.feature
|
412
|
-
- examples/i18n/he/features/step_definitions/calculator_steps.rb
|
413
|
-
- examples/i18n/he/lib/calculator.rb
|
414
|
-
- examples/i18n/hi/Rakefile
|
415
|
-
- examples/i18n/hi/features/addition.feature
|
416
|
-
- examples/i18n/hi/features/division.feature
|
417
|
-
- examples/i18n/hi/features/step_definitions/calculator_steps.rb
|
418
|
-
- examples/i18n/hi/lib/calculator.rb
|
419
|
-
- examples/i18n/hu/Rakefile
|
420
|
-
- examples/i18n/hu/features/osszeadas.feature
|
421
|
-
- examples/i18n/hu/features/osztas.feature
|
422
|
-
- examples/i18n/hu/features/step_definitions/calculator_steps.rb
|
423
|
-
- examples/i18n/hu/lib/calculator.rb
|
424
|
-
- examples/i18n/id/Rakefile
|
425
|
-
- examples/i18n/id/features/addition.feature
|
426
|
-
- examples/i18n/id/features/division.feature
|
427
|
-
- examples/i18n/id/features/step_definitions/calculator_steps.rb
|
428
|
-
- examples/i18n/id/lib/calculator.rb
|
429
|
-
- examples/i18n/it/Rakefile
|
430
|
-
- examples/i18n/it/features/somma.feature
|
431
|
-
- examples/i18n/it/features/step_definitions/calcolatrice_steps.rb
|
432
|
-
- examples/i18n/it/lib/calcolatrice.rb
|
433
|
-
- examples/i18n/ja/Rakefile
|
434
|
-
- examples/i18n/ja/features/addition.feature
|
435
|
-
- examples/i18n/ja/features/division.feature
|
436
|
-
- examples/i18n/ja/features/step_definitions/calculator_steps.rb
|
437
|
-
- examples/i18n/ja/features/support/env.rb
|
438
|
-
- examples/i18n/ja/lib/calculator.rb
|
439
|
-
- examples/i18n/ko/Rakefile
|
440
|
-
- examples/i18n/ko/features/addition.feature
|
441
|
-
- examples/i18n/ko/features/division.feature
|
442
|
-
- examples/i18n/ko/features/step_definitions/calculator_steps.rb
|
443
|
-
- examples/i18n/ko/lib/calculator.rb
|
444
|
-
- examples/i18n/lt/Rakefile
|
445
|
-
- examples/i18n/lt/features/addition.feature
|
446
|
-
- examples/i18n/lt/features/division.feature
|
447
|
-
- examples/i18n/lt/features/step_definitions/calculator_steps.rb
|
448
|
-
- examples/i18n/lt/lib/calculator.rb
|
449
|
-
- examples/i18n/lv/Rakefile
|
450
|
-
- examples/i18n/lv/features/addition.feature
|
451
|
-
- examples/i18n/lv/features/division.feature
|
452
|
-
- examples/i18n/lv/features/step_definitions/calculator_steps.rb
|
453
|
-
- examples/i18n/lv/lib/calculator.rb
|
454
|
-
- examples/i18n/no/Rakefile
|
455
|
-
- examples/i18n/no/features/step_definitions/kalkulator_steps.rb
|
456
|
-
- examples/i18n/no/features/summering.feature
|
457
|
-
- examples/i18n/no/features/support/env.rb
|
458
|
-
- examples/i18n/no/lib/kalkulator.rb
|
459
|
-
- examples/i18n/pl/Rakefile
|
460
|
-
- examples/i18n/pl/features/addition.feature
|
461
|
-
- examples/i18n/pl/features/division.feature
|
462
|
-
- examples/i18n/pl/features/step_definitions/calculator_steps.rb
|
463
|
-
- examples/i18n/pl/features/support/env.rb
|
464
|
-
- examples/i18n/pl/lib/calculator.rb
|
465
|
-
- examples/i18n/pt/Rakefile
|
466
|
-
- examples/i18n/pt/features/adicao.feature
|
467
|
-
- examples/i18n/pt/features/step_definitions/calculadora_steps.rb
|
468
|
-
- examples/i18n/pt/features/support/env.rb
|
469
|
-
- examples/i18n/pt/lib/calculadora.rb
|
470
|
-
- examples/i18n/ro/Rakefile
|
471
|
-
- examples/i18n/ro/features/adunare.feature
|
472
|
-
- examples/i18n/ro/features/step_definitions/calculator_steps.rb
|
473
|
-
- examples/i18n/ro/lib/calculator.rb
|
474
|
-
- examples/i18n/ru/Rakefile
|
475
|
-
- examples/i18n/ru/features/addition.feature
|
476
|
-
- examples/i18n/ru/features/consecutive_calculations.feature
|
477
|
-
- examples/i18n/ru/features/division.feature
|
478
|
-
- examples/i18n/ru/features/step_definitions/calculator_steps.rb
|
479
|
-
- examples/i18n/ru/features/support/env.rb
|
480
|
-
- examples/i18n/ru/features/support/world.rb
|
481
|
-
- examples/i18n/ru/lib/calculator.rb
|
482
|
-
- examples/i18n/sk/Rakefile
|
483
|
-
- examples/i18n/sk/features/addition.feature
|
484
|
-
- examples/i18n/sk/features/division.feature
|
485
|
-
- examples/i18n/sk/features/step_definitions/calculator_steps.rb
|
486
|
-
- examples/i18n/sk/lib/calculator.rb
|
487
|
-
- examples/i18n/sr-Cyrl/Rakefile
|
488
|
-
- examples/i18n/sr-Cyrl/features/sabiranje.feature
|
489
|
-
- examples/i18n/sr-Cyrl/features/step_definitions/calculator_steps.rb
|
490
|
-
- examples/i18n/sr-Cyrl/features/support/env.rb
|
491
|
-
- examples/i18n/sr-Cyrl/lib/calculator.rb
|
492
|
-
- examples/i18n/sr-Latn/Rakefile
|
493
|
-
- examples/i18n/sr-Latn/features/sabiranje.feature
|
494
|
-
- examples/i18n/sr-Latn/features/step_definitions/calculator_steps.rb
|
495
|
-
- examples/i18n/sr-Latn/lib/calculator.rb
|
496
|
-
- examples/i18n/sv/Rakefile
|
497
|
-
- examples/i18n/sv/features/step_definitions/kalkulator_steps.rb
|
498
|
-
- examples/i18n/sv/features/summering.feature
|
499
|
-
- examples/i18n/sv/lib/kalkulator.rb
|
500
|
-
- examples/i18n/tr/Rakefile
|
501
|
-
- examples/i18n/tr/features/bolme.feature
|
502
|
-
- examples/i18n/tr/features/step_definitions/hesap_makinesi_adimlari.rb
|
503
|
-
- examples/i18n/tr/features/toplama.feature
|
504
|
-
- examples/i18n/tr/lib/hesap_makinesi.rb
|
505
|
-
- examples/i18n/uk/Rakefile
|
506
|
-
- examples/i18n/uk/features/addition.feature
|
507
|
-
- examples/i18n/uk/features/consecutive_calculations.feature
|
508
|
-
- examples/i18n/uk/features/division.feature
|
509
|
-
- examples/i18n/uk/features/step_definitions/calculator_steps.rb
|
510
|
-
- examples/i18n/uk/features/support/env.rb
|
511
|
-
- examples/i18n/uk/features/support/world.rb
|
512
|
-
- examples/i18n/uk/lib/calculator.rb
|
513
|
-
- examples/i18n/uz/Rakefile
|
514
|
-
- examples/i18n/uz/features/addition.feature
|
515
|
-
- examples/i18n/uz/features/consecutive_calculations.feature
|
516
|
-
- examples/i18n/uz/features/division.feature
|
517
|
-
- examples/i18n/uz/features/step_definitions/calculator_steps.rb
|
518
|
-
- examples/i18n/uz/features/support/env.rb
|
519
|
-
- examples/i18n/uz/features/support/world.rb
|
520
|
-
- examples/i18n/uz/lib/calculator.rb
|
521
|
-
- examples/i18n/zh-CN/Rakefile
|
522
|
-
- examples/i18n/zh-CN/features/addition.feature
|
523
|
-
- examples/i18n/zh-CN/features/step_definitions/calculator_steps.rb
|
524
|
-
- examples/i18n/zh-CN/lib/calculator.rb
|
525
|
-
- examples/i18n/zh-TW/Rakefile
|
526
|
-
- examples/i18n/zh-TW/features/addition.feature
|
527
|
-
- examples/i18n/zh-TW/features/division.feature
|
528
|
-
- examples/i18n/zh-TW/features/step_definitions/calculator_steps.rb
|
529
|
-
- examples/i18n/zh-TW/lib/calculator.rb
|
530
|
-
- examples/rspec_doubles/Rakefile
|
531
|
-
- examples/rspec_doubles/features/mocking.feature
|
532
|
-
- examples/rspec_doubles/features/step_definitions/calvin_steps.rb
|
533
|
-
- examples/rspec_doubles/features/support/env.rb
|
534
|
-
- examples/sinatra/README.textile
|
535
|
-
- examples/sinatra/Rakefile
|
536
|
-
- examples/sinatra/app.rb
|
537
|
-
- examples/sinatra/features/add.feature
|
538
|
-
- examples/sinatra/features/step_definitions/add_steps.rb
|
539
|
-
- examples/sinatra/features/support/env.rb
|
540
|
-
- examples/sinatra/views/add.erb
|
541
|
-
- examples/sinatra/views/layout.erb
|
542
|
-
- examples/tcl/README.textile
|
543
|
-
- examples/tcl/Rakefile
|
544
|
-
- examples/tcl/features/fibonnacci.feature
|
545
|
-
- examples/tcl/features/step_definitions/fib_steps.rb
|
546
|
-
- examples/tcl/features/support/env.rb
|
547
|
-
- examples/tcl/src/fib.tcl
|
548
|
-
- examples/test_unit/Gemfile
|
549
|
-
- examples/test_unit/Rakefile
|
550
|
-
- examples/test_unit/features/step_definitions/test_unit_steps.rb
|
551
|
-
- examples/test_unit/features/test_unit.feature
|
552
|
-
- examples/watir/README.textile
|
553
|
-
- examples/watir/Rakefile
|
554
|
-
- examples/watir/cucumber.yml
|
555
|
-
- examples/watir/features/search.feature
|
556
|
-
- examples/watir/features/step_definitions/search_steps.rb
|
557
|
-
- examples/watir/features/support/env.rb
|
558
|
-
- examples/watir/features/support/screenshots.rb
|
559
|
-
- features/docs/api/list_step_defs_as_json.feature
|
560
|
-
- features/docs/api/run_cli_main_with_existing_runtime.feature
|
561
|
-
- features/docs/cli/backtraces.feature
|
562
|
-
- features/docs/cli/dry_run.feature
|
563
|
-
- features/docs/cli/exclude_files.feature
|
564
|
-
- features/docs/cli/execute_with_tag_filter.feature
|
565
|
-
- features/docs/cli/randomize.feature
|
566
|
-
- features/docs/cli/require.feature
|
567
|
-
- features/docs/cli/run_scenarios_matching_name.feature
|
568
|
-
- features/docs/cli/run_specific_scenarios.feature
|
569
|
-
- features/docs/cli/showing_differences.feature
|
570
|
-
- features/docs/cli/specifying_multiple_formatters.feature
|
571
|
-
- features/docs/cli/strict_mode.feature
|
572
|
-
- features/docs/defining_steps/nested_steps.feature
|
573
|
-
- features/docs/defining_steps/nested_steps_i18n.feature
|
574
|
-
- features/docs/defining_steps/nested_steps_with_second_arg.feature
|
575
|
-
- features/docs/defining_steps/one_line_step_definitions.feature
|
576
|
-
- features/docs/defining_steps/printing_messages.feature
|
577
|
-
- features/docs/defining_steps/skip_scenario.feature
|
578
|
-
- features/docs/defining_steps/snippets.feature
|
579
|
-
- features/docs/defining_steps/table_diffing.feature
|
580
|
-
- features/docs/defining_steps/transforms.feature
|
581
|
-
- features/docs/exception_in_after_hook.feature
|
582
|
-
- features/docs/exception_in_after_step_hook.feature
|
583
|
-
- features/docs/exception_in_before_hook.feature
|
584
|
-
- features/docs/extending_cucumber/custom_filter.feature
|
585
|
-
- features/docs/extending_cucumber/custom_formatter.feature
|
586
|
-
- features/docs/formatters/debug_formatter.feature
|
587
|
-
- features/docs/formatters/formatter_step_file_colon_line.feature
|
588
|
-
- features/docs/formatters/html_formatter.feature
|
589
|
-
- features/docs/formatters/json_formatter.feature
|
590
|
-
- features/docs/formatters/junit_formatter.feature
|
591
|
-
- features/docs/formatters/pretty_formatter.feature
|
592
|
-
- features/docs/formatters/progress_formatter.feature
|
593
|
-
- features/docs/formatters/rerun_formatter.feature
|
594
|
-
- features/docs/formatters/usage_formatter.feature
|
595
|
-
- features/docs/getting_started.feature
|
596
|
-
- features/docs/gherkin/background.feature
|
597
|
-
- features/docs/gherkin/doc_strings.feature
|
598
|
-
- features/docs/gherkin/expand_option_for_outlines.feature
|
599
|
-
- features/docs/gherkin/language_from_header.feature
|
600
|
-
- features/docs/gherkin/language_help.feature
|
601
|
-
- features/docs/gherkin/outlines.feature
|
602
|
-
- features/docs/gherkin/unicode_table.feature
|
603
|
-
- features/docs/gherkin/using_descriptions.feature
|
604
|
-
- features/docs/gherkin/using_star_notation.feature
|
605
|
-
- features/docs/iso-8859-1.feature
|
606
|
-
- features/docs/post_configuration_hook.feature
|
607
|
-
- features/docs/profiles.feature
|
608
|
-
- features/docs/rake_task.feature
|
609
|
-
- features/docs/raketask.feature
|
610
|
-
- features/docs/report_called_undefined_steps.feature
|
611
|
-
- features/docs/wire_protocol.feature
|
612
|
-
- features/docs/wire_protocol_erb.feature
|
613
|
-
- features/docs/wire_protocol_table_diffing.feature
|
614
|
-
- features/docs/wire_protocol_tags.feature
|
615
|
-
- features/docs/wire_protocol_timeouts.feature
|
616
|
-
- features/docs/work_in_progress.feature
|
617
|
-
- features/docs/writing_support_code/after_hooks.feature
|
618
|
-
- features/docs/writing_support_code/around_hooks.feature
|
619
|
-
- features/docs/writing_support_code/before_hook.feature
|
620
|
-
- features/docs/writing_support_code/hook_order.feature
|
621
|
-
- features/docs/writing_support_code/load_path.feature
|
622
|
-
- features/docs/writing_support_code/state.feature
|
623
|
-
- features/docs/writing_support_code/tagged_hooks.feature
|
624
|
-
- features/lib/step_definitions/aruba_steps.rb
|
625
|
-
- features/lib/step_definitions/cucumber_steps.rb
|
626
|
-
- features/lib/step_definitions/iso-8859-1_steps.rb
|
627
|
-
- features/lib/step_definitions/json_steps.rb
|
628
|
-
- features/lib/step_definitions/junit_steps.rb
|
629
|
-
- features/lib/step_definitions/language_steps.rb
|
630
|
-
- features/lib/step_definitions/profile_steps.rb
|
631
|
-
- features/lib/step_definitions/ruby_steps.rb
|
632
|
-
- features/lib/step_definitions/wire_steps.rb
|
633
|
-
- features/lib/support/env.rb
|
634
|
-
- features/lib/support/fake_wire_server.rb
|
635
|
-
- features/lib/support/feature_factory.rb
|
636
|
-
- features/lib/support/normalise_output.rb
|
637
|
-
- gem_tasks/contributors.rake
|
638
|
-
- gem_tasks/cov.rake
|
639
|
-
- gem_tasks/cucumber.rake
|
640
|
-
- gem_tasks/downloads.rb
|
641
|
-
- gem_tasks/environment.rake
|
642
|
-
- gem_tasks/examples.rake
|
643
|
-
- gem_tasks/fix_cr_lf.rake
|
644
|
-
- gem_tasks/flog.rake
|
645
|
-
- gem_tasks/rspec.rake
|
646
|
-
- gem_tasks/sass.rake
|
647
|
-
- gem_tasks/stats
|
648
|
-
- gem_tasks/versions.txt
|
649
461
|
- lib/autotest/cucumber.rb
|
650
462
|
- lib/autotest/cucumber_mixin.rb
|
651
463
|
- lib/autotest/cucumber_rails.rb
|
@@ -655,18 +467,28 @@ files:
|
|
655
467
|
- lib/autotest/cucumber_rspec2.rb
|
656
468
|
- lib/autotest/discover.rb
|
657
469
|
- lib/cucumber.rb
|
658
|
-
- lib/cucumber/ast.rb
|
659
|
-
- lib/cucumber/ast/facade.rb
|
660
470
|
- lib/cucumber/cli/configuration.rb
|
661
471
|
- lib/cucumber/cli/main.rb
|
662
472
|
- lib/cucumber/cli/options.rb
|
663
473
|
- lib/cucumber/cli/profile_loader.rb
|
474
|
+
- lib/cucumber/cli/rerun_file.rb
|
664
475
|
- lib/cucumber/configuration.rb
|
665
476
|
- lib/cucumber/constantize.rb
|
666
|
-
- lib/cucumber/core_ext/instance_exec.rb
|
667
|
-
- lib/cucumber/core_ext/proc.rb
|
668
477
|
- lib/cucumber/core_ext/string.rb
|
478
|
+
- lib/cucumber/deprecate.rb
|
479
|
+
- lib/cucumber/encoding.rb
|
669
480
|
- lib/cucumber/errors.rb
|
481
|
+
- lib/cucumber/events.rb
|
482
|
+
- lib/cucumber/events/gherkin_source_parsed.rb
|
483
|
+
- lib/cucumber/events/gherkin_source_read.rb
|
484
|
+
- lib/cucumber/events/step_activated.rb
|
485
|
+
- lib/cucumber/events/step_definition_registered.rb
|
486
|
+
- lib/cucumber/events/test_case_finished.rb
|
487
|
+
- lib/cucumber/events/test_case_started.rb
|
488
|
+
- lib/cucumber/events/test_run_finished.rb
|
489
|
+
- lib/cucumber/events/test_run_started.rb
|
490
|
+
- lib/cucumber/events/test_step_finished.rb
|
491
|
+
- lib/cucumber/events/test_step_started.rb
|
670
492
|
- lib/cucumber/file_specs.rb
|
671
493
|
- lib/cucumber/filters.rb
|
672
494
|
- lib/cucumber/filters/activate_steps.rb
|
@@ -674,34 +496,30 @@ files:
|
|
674
496
|
- lib/cucumber/filters/apply_after_step_hooks.rb
|
675
497
|
- lib/cucumber/filters/apply_around_hooks.rb
|
676
498
|
- lib/cucumber/filters/apply_before_hooks.rb
|
499
|
+
- lib/cucumber/filters/broadcast_test_run_started_event.rb
|
677
500
|
- lib/cucumber/filters/gated_receiver.rb
|
678
501
|
- lib/cucumber/filters/prepare_world.rb
|
679
502
|
- lib/cucumber/filters/quit.rb
|
680
503
|
- lib/cucumber/filters/randomizer.rb
|
504
|
+
- lib/cucumber/filters/retry.rb
|
681
505
|
- lib/cucumber/filters/tag_limits.rb
|
682
506
|
- lib/cucumber/filters/tag_limits/test_case_index.rb
|
683
507
|
- lib/cucumber/filters/tag_limits/verifier.rb
|
684
508
|
- lib/cucumber/formatter/ansicolor.rb
|
509
|
+
- lib/cucumber/formatter/ast_lookup.rb
|
510
|
+
- lib/cucumber/formatter/backtrace_filter.rb
|
685
511
|
- lib/cucumber/formatter/console.rb
|
686
|
-
- lib/cucumber/formatter/
|
687
|
-
- lib/cucumber/formatter/
|
688
|
-
- lib/cucumber/formatter/debug.rb
|
512
|
+
- lib/cucumber/formatter/console_counts.rb
|
513
|
+
- lib/cucumber/formatter/console_issues.rb
|
689
514
|
- lib/cucumber/formatter/duration.rb
|
515
|
+
- lib/cucumber/formatter/duration_extractor.rb
|
516
|
+
- lib/cucumber/formatter/fail_fast.rb
|
690
517
|
- lib/cucumber/formatter/fanout.rb
|
691
|
-
- lib/cucumber/formatter/gherkin_formatter_adapter.rb
|
692
|
-
- lib/cucumber/formatter/gpretty.rb
|
693
|
-
- lib/cucumber/formatter/html.rb
|
694
518
|
- lib/cucumber/formatter/ignore_missing_messages.rb
|
695
519
|
- lib/cucumber/formatter/interceptor.rb
|
696
520
|
- lib/cucumber/formatter/io.rb
|
697
|
-
- lib/cucumber/formatter/jquery-min.js
|
698
521
|
- lib/cucumber/formatter/json.rb
|
699
|
-
- lib/cucumber/formatter/json_pretty.rb
|
700
522
|
- lib/cucumber/formatter/junit.rb
|
701
|
-
- lib/cucumber/formatter/legacy_api/adapter.rb
|
702
|
-
- lib/cucumber/formatter/legacy_api/ast.rb
|
703
|
-
- lib/cucumber/formatter/legacy_api/results.rb
|
704
|
-
- lib/cucumber/formatter/legacy_api/runtime_facade.rb
|
705
523
|
- lib/cucumber/formatter/pretty.rb
|
706
524
|
- lib/cucumber/formatter/progress.rb
|
707
525
|
- lib/cucumber/formatter/rerun.rb
|
@@ -710,25 +528,31 @@ files:
|
|
710
528
|
- lib/cucumber/formatter/summary.rb
|
711
529
|
- lib/cucumber/formatter/unicode.rb
|
712
530
|
- lib/cucumber/formatter/usage.rb
|
531
|
+
- lib/cucumber/gherkin/data_table_parser.rb
|
532
|
+
- lib/cucumber/gherkin/formatter/ansi_escapes.rb
|
533
|
+
- lib/cucumber/gherkin/formatter/escaping.rb
|
534
|
+
- lib/cucumber/gherkin/i18n.rb
|
535
|
+
- lib/cucumber/gherkin/steps_parser.rb
|
536
|
+
- lib/cucumber/glue/dsl.rb
|
537
|
+
- lib/cucumber/glue/hook.rb
|
538
|
+
- lib/cucumber/glue/invoke_in_world.rb
|
539
|
+
- lib/cucumber/glue/proto_world.rb
|
540
|
+
- lib/cucumber/glue/registry_and_more.rb
|
541
|
+
- lib/cucumber/glue/snippet.rb
|
542
|
+
- lib/cucumber/glue/step_definition.rb
|
543
|
+
- lib/cucumber/glue/world_factory.rb
|
713
544
|
- lib/cucumber/hooks.rb
|
714
|
-
- lib/cucumber/language_support.rb
|
715
|
-
- lib/cucumber/language_support/language_methods.rb
|
716
545
|
- lib/cucumber/load_path.rb
|
717
546
|
- lib/cucumber/multiline_argument.rb
|
718
547
|
- lib/cucumber/multiline_argument/data_table.rb
|
548
|
+
- lib/cucumber/multiline_argument/data_table/diff_matrices.rb
|
719
549
|
- lib/cucumber/multiline_argument/doc_string.rb
|
720
550
|
- lib/cucumber/platform.rb
|
551
|
+
- lib/cucumber/project_initializer.rb
|
721
552
|
- lib/cucumber/rake/task.rb
|
722
|
-
- lib/cucumber/rb_support/rb_dsl.rb
|
723
|
-
- lib/cucumber/rb_support/rb_hook.rb
|
724
|
-
- lib/cucumber/rb_support/rb_language.rb
|
725
|
-
- lib/cucumber/rb_support/rb_step_definition.rb
|
726
|
-
- lib/cucumber/rb_support/rb_transform.rb
|
727
|
-
- lib/cucumber/rb_support/rb_world.rb
|
728
|
-
- lib/cucumber/rb_support/regexp_argument_matcher.rb
|
729
|
-
- lib/cucumber/rb_support/snippet.rb
|
730
553
|
- lib/cucumber/rspec/disable_option_parser.rb
|
731
554
|
- lib/cucumber/rspec/doubles.rb
|
555
|
+
- lib/cucumber/running_test_case.rb
|
732
556
|
- lib/cucumber/runtime.rb
|
733
557
|
- lib/cucumber/runtime/after_hooks.rb
|
734
558
|
- lib/cucumber/runtime/before_hooks.rb
|
@@ -739,66 +563,20 @@ files:
|
|
739
563
|
- lib/cucumber/step_definition_light.rb
|
740
564
|
- lib/cucumber/step_definitions.rb
|
741
565
|
- lib/cucumber/step_match.rb
|
566
|
+
- lib/cucumber/step_match_search.rb
|
742
567
|
- lib/cucumber/term/ansicolor.rb
|
743
568
|
- lib/cucumber/unit.rb
|
744
|
-
- lib/cucumber/
|
745
|
-
- lib/
|
746
|
-
|
747
|
-
- lib/cucumber/wire_support/wire_exception.rb
|
748
|
-
- lib/cucumber/wire_support/wire_language.rb
|
749
|
-
- lib/cucumber/wire_support/wire_packet.rb
|
750
|
-
- lib/cucumber/wire_support/wire_protocol.rb
|
751
|
-
- lib/cucumber/wire_support/wire_protocol/requests.rb
|
752
|
-
- lib/cucumber/wire_support/wire_step_definition.rb
|
753
|
-
- spec/cucumber/cli/configuration_spec.rb
|
754
|
-
- spec/cucumber/cli/main_spec.rb
|
755
|
-
- spec/cucumber/cli/options_spec.rb
|
756
|
-
- spec/cucumber/cli/profile_loader_spec.rb
|
757
|
-
- spec/cucumber/configuration_spec.rb
|
758
|
-
- spec/cucumber/constantize_spec.rb
|
759
|
-
- spec/cucumber/core_ext/proc_spec.rb
|
760
|
-
- spec/cucumber/file_specs_spec.rb
|
761
|
-
- spec/cucumber/filters/activate_steps_spec.rb
|
762
|
-
- spec/cucumber/filters/gated_receiver_spec.rb
|
763
|
-
- spec/cucumber/filters/tag_limits/test_case_index_spec.rb
|
764
|
-
- spec/cucumber/filters/tag_limits/verifier_spec.rb
|
765
|
-
- spec/cucumber/filters/tag_limits_spec.rb
|
766
|
-
- spec/cucumber/formatter/ansicolor_spec.rb
|
767
|
-
- spec/cucumber/formatter/debug_spec.rb
|
768
|
-
- spec/cucumber/formatter/duration_spec.rb
|
769
|
-
- spec/cucumber/formatter/html_spec.rb
|
770
|
-
- spec/cucumber/formatter/interceptor_spec.rb
|
771
|
-
- spec/cucumber/formatter/junit_spec.rb
|
772
|
-
- spec/cucumber/formatter/legacy_api/adapter_spec.rb
|
773
|
-
- spec/cucumber/formatter/pretty_spec.rb
|
774
|
-
- spec/cucumber/formatter/progress_spec.rb
|
775
|
-
- spec/cucumber/formatter/rerun_spec.rb
|
776
|
-
- spec/cucumber/formatter/spec_helper.rb
|
777
|
-
- spec/cucumber/hooks_spec.rb
|
778
|
-
- spec/cucumber/multiline_argument/data_table_spec.rb
|
779
|
-
- spec/cucumber/rake/forked_spec.rb
|
780
|
-
- spec/cucumber/rb_support/rb_language_spec.rb
|
781
|
-
- spec/cucumber/rb_support/rb_step_definition_spec.rb
|
782
|
-
- spec/cucumber/rb_support/rb_transform_spec.rb
|
783
|
-
- spec/cucumber/rb_support/regexp_argument_matcher_spec.rb
|
784
|
-
- spec/cucumber/rb_support/snippet_spec.rb
|
785
|
-
- spec/cucumber/runtime/for_programming_languages_spec.rb
|
786
|
-
- spec/cucumber/runtime/support_code_spec.rb
|
787
|
-
- spec/cucumber/runtime_spec.rb
|
788
|
-
- spec/cucumber/sell_cucumbers.feature
|
789
|
-
- spec/cucumber/step_match_spec.rb
|
790
|
-
- spec/cucumber/wire_support/configuration_spec.rb
|
791
|
-
- spec/cucumber/wire_support/connection_spec.rb
|
792
|
-
- spec/cucumber/wire_support/wire_exception_spec.rb
|
793
|
-
- spec/cucumber/wire_support/wire_language_spec.rb
|
794
|
-
- spec/cucumber/wire_support/wire_packet_spec.rb
|
795
|
-
- spec/cucumber/world/pending_spec.rb
|
796
|
-
- spec/simplecov_setup.rb
|
797
|
-
- spec/spec_helper.rb
|
798
|
-
homepage: http://cukes.info
|
569
|
+
- lib/cucumber/version
|
570
|
+
- lib/simplecov_setup.rb
|
571
|
+
homepage: https://cucumber.io/
|
799
572
|
licenses:
|
800
573
|
- MIT
|
801
|
-
metadata:
|
574
|
+
metadata:
|
575
|
+
bug_tracker_uri: https://github.com/cucumber/cucumber-ruby/issues
|
576
|
+
changelog_uri: https://github.com/cucumber/cucumber-ruby/blob/master/CHANGELOG.md
|
577
|
+
documentation_uri: https://www.rubydoc.info/github/cucumber/cucumber-ruby/
|
578
|
+
mailing_list_uri: https://groups.google.com/forum/#!forum/cukes
|
579
|
+
source_code_uri: https://github.com/cucumber/cucumber-ruby
|
802
580
|
post_install_message:
|
803
581
|
rdoc_options:
|
804
582
|
- "--charset=UTF-8"
|
@@ -808,140 +586,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
808
586
|
requirements:
|
809
587
|
- - ">="
|
810
588
|
- !ruby/object:Gem::Version
|
811
|
-
version:
|
589
|
+
version: '2.3'
|
812
590
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
813
591
|
requirements:
|
814
592
|
- - ">"
|
815
593
|
- !ruby/object:Gem::Version
|
816
594
|
version: 1.3.1
|
817
595
|
requirements: []
|
818
|
-
|
819
|
-
rubygems_version: 2.2.2
|
596
|
+
rubygems_version: 3.0.3
|
820
597
|
signing_key:
|
821
598
|
specification_version: 4
|
822
|
-
summary: cucumber-
|
823
|
-
test_files:
|
824
|
-
- features/docs/api/list_step_defs_as_json.feature
|
825
|
-
- features/docs/api/run_cli_main_with_existing_runtime.feature
|
826
|
-
- features/docs/cli/backtraces.feature
|
827
|
-
- features/docs/cli/dry_run.feature
|
828
|
-
- features/docs/cli/exclude_files.feature
|
829
|
-
- features/docs/cli/execute_with_tag_filter.feature
|
830
|
-
- features/docs/cli/randomize.feature
|
831
|
-
- features/docs/cli/require.feature
|
832
|
-
- features/docs/cli/run_scenarios_matching_name.feature
|
833
|
-
- features/docs/cli/run_specific_scenarios.feature
|
834
|
-
- features/docs/cli/showing_differences.feature
|
835
|
-
- features/docs/cli/specifying_multiple_formatters.feature
|
836
|
-
- features/docs/cli/strict_mode.feature
|
837
|
-
- features/docs/defining_steps/nested_steps.feature
|
838
|
-
- features/docs/defining_steps/nested_steps_i18n.feature
|
839
|
-
- features/docs/defining_steps/nested_steps_with_second_arg.feature
|
840
|
-
- features/docs/defining_steps/one_line_step_definitions.feature
|
841
|
-
- features/docs/defining_steps/printing_messages.feature
|
842
|
-
- features/docs/defining_steps/skip_scenario.feature
|
843
|
-
- features/docs/defining_steps/snippets.feature
|
844
|
-
- features/docs/defining_steps/table_diffing.feature
|
845
|
-
- features/docs/defining_steps/transforms.feature
|
846
|
-
- features/docs/exception_in_after_hook.feature
|
847
|
-
- features/docs/exception_in_after_step_hook.feature
|
848
|
-
- features/docs/exception_in_before_hook.feature
|
849
|
-
- features/docs/extending_cucumber/custom_filter.feature
|
850
|
-
- features/docs/extending_cucumber/custom_formatter.feature
|
851
|
-
- features/docs/formatters/debug_formatter.feature
|
852
|
-
- features/docs/formatters/formatter_step_file_colon_line.feature
|
853
|
-
- features/docs/formatters/html_formatter.feature
|
854
|
-
- features/docs/formatters/json_formatter.feature
|
855
|
-
- features/docs/formatters/junit_formatter.feature
|
856
|
-
- features/docs/formatters/pretty_formatter.feature
|
857
|
-
- features/docs/formatters/progress_formatter.feature
|
858
|
-
- features/docs/formatters/rerun_formatter.feature
|
859
|
-
- features/docs/formatters/usage_formatter.feature
|
860
|
-
- features/docs/getting_started.feature
|
861
|
-
- features/docs/gherkin/background.feature
|
862
|
-
- features/docs/gherkin/doc_strings.feature
|
863
|
-
- features/docs/gherkin/expand_option_for_outlines.feature
|
864
|
-
- features/docs/gherkin/language_from_header.feature
|
865
|
-
- features/docs/gherkin/language_help.feature
|
866
|
-
- features/docs/gherkin/outlines.feature
|
867
|
-
- features/docs/gherkin/unicode_table.feature
|
868
|
-
- features/docs/gherkin/using_descriptions.feature
|
869
|
-
- features/docs/gherkin/using_star_notation.feature
|
870
|
-
- features/docs/iso-8859-1.feature
|
871
|
-
- features/docs/post_configuration_hook.feature
|
872
|
-
- features/docs/profiles.feature
|
873
|
-
- features/docs/rake_task.feature
|
874
|
-
- features/docs/raketask.feature
|
875
|
-
- features/docs/report_called_undefined_steps.feature
|
876
|
-
- features/docs/wire_protocol.feature
|
877
|
-
- features/docs/wire_protocol_erb.feature
|
878
|
-
- features/docs/wire_protocol_table_diffing.feature
|
879
|
-
- features/docs/wire_protocol_tags.feature
|
880
|
-
- features/docs/wire_protocol_timeouts.feature
|
881
|
-
- features/docs/work_in_progress.feature
|
882
|
-
- features/docs/writing_support_code/after_hooks.feature
|
883
|
-
- features/docs/writing_support_code/around_hooks.feature
|
884
|
-
- features/docs/writing_support_code/before_hook.feature
|
885
|
-
- features/docs/writing_support_code/hook_order.feature
|
886
|
-
- features/docs/writing_support_code/load_path.feature
|
887
|
-
- features/docs/writing_support_code/state.feature
|
888
|
-
- features/docs/writing_support_code/tagged_hooks.feature
|
889
|
-
- features/lib/step_definitions/aruba_steps.rb
|
890
|
-
- features/lib/step_definitions/cucumber_steps.rb
|
891
|
-
- features/lib/step_definitions/iso-8859-1_steps.rb
|
892
|
-
- features/lib/step_definitions/json_steps.rb
|
893
|
-
- features/lib/step_definitions/junit_steps.rb
|
894
|
-
- features/lib/step_definitions/language_steps.rb
|
895
|
-
- features/lib/step_definitions/profile_steps.rb
|
896
|
-
- features/lib/step_definitions/ruby_steps.rb
|
897
|
-
- features/lib/step_definitions/wire_steps.rb
|
898
|
-
- features/lib/support/env.rb
|
899
|
-
- features/lib/support/fake_wire_server.rb
|
900
|
-
- features/lib/support/feature_factory.rb
|
901
|
-
- features/lib/support/normalise_output.rb
|
902
|
-
- spec/cucumber/cli/configuration_spec.rb
|
903
|
-
- spec/cucumber/cli/main_spec.rb
|
904
|
-
- spec/cucumber/cli/options_spec.rb
|
905
|
-
- spec/cucumber/cli/profile_loader_spec.rb
|
906
|
-
- spec/cucumber/configuration_spec.rb
|
907
|
-
- spec/cucumber/constantize_spec.rb
|
908
|
-
- spec/cucumber/core_ext/proc_spec.rb
|
909
|
-
- spec/cucumber/file_specs_spec.rb
|
910
|
-
- spec/cucumber/filters/activate_steps_spec.rb
|
911
|
-
- spec/cucumber/filters/gated_receiver_spec.rb
|
912
|
-
- spec/cucumber/filters/tag_limits/test_case_index_spec.rb
|
913
|
-
- spec/cucumber/filters/tag_limits/verifier_spec.rb
|
914
|
-
- spec/cucumber/filters/tag_limits_spec.rb
|
915
|
-
- spec/cucumber/formatter/ansicolor_spec.rb
|
916
|
-
- spec/cucumber/formatter/debug_spec.rb
|
917
|
-
- spec/cucumber/formatter/duration_spec.rb
|
918
|
-
- spec/cucumber/formatter/html_spec.rb
|
919
|
-
- spec/cucumber/formatter/interceptor_spec.rb
|
920
|
-
- spec/cucumber/formatter/junit_spec.rb
|
921
|
-
- spec/cucumber/formatter/legacy_api/adapter_spec.rb
|
922
|
-
- spec/cucumber/formatter/pretty_spec.rb
|
923
|
-
- spec/cucumber/formatter/progress_spec.rb
|
924
|
-
- spec/cucumber/formatter/rerun_spec.rb
|
925
|
-
- spec/cucumber/formatter/spec_helper.rb
|
926
|
-
- spec/cucumber/hooks_spec.rb
|
927
|
-
- spec/cucumber/multiline_argument/data_table_spec.rb
|
928
|
-
- spec/cucumber/rake/forked_spec.rb
|
929
|
-
- spec/cucumber/rb_support/rb_language_spec.rb
|
930
|
-
- spec/cucumber/rb_support/rb_step_definition_spec.rb
|
931
|
-
- spec/cucumber/rb_support/rb_transform_spec.rb
|
932
|
-
- spec/cucumber/rb_support/regexp_argument_matcher_spec.rb
|
933
|
-
- spec/cucumber/rb_support/snippet_spec.rb
|
934
|
-
- spec/cucumber/runtime/for_programming_languages_spec.rb
|
935
|
-
- spec/cucumber/runtime/support_code_spec.rb
|
936
|
-
- spec/cucumber/runtime_spec.rb
|
937
|
-
- spec/cucumber/sell_cucumbers.feature
|
938
|
-
- spec/cucumber/step_match_spec.rb
|
939
|
-
- spec/cucumber/wire_support/configuration_spec.rb
|
940
|
-
- spec/cucumber/wire_support/connection_spec.rb
|
941
|
-
- spec/cucumber/wire_support/wire_exception_spec.rb
|
942
|
-
- spec/cucumber/wire_support/wire_language_spec.rb
|
943
|
-
- spec/cucumber/wire_support/wire_packet_spec.rb
|
944
|
-
- spec/cucumber/world/pending_spec.rb
|
945
|
-
- spec/simplecov_setup.rb
|
946
|
-
- spec/spec_helper.rb
|
947
|
-
has_rdoc:
|
599
|
+
summary: cucumber-4.0.0.rc.2
|
600
|
+
test_files: []
|