kbaum-cucumber 0.4.5.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitattributes +1 -0
- data/.gitignore +18 -0
- data/Caliper.yml +5 -0
- data/History.txt +1292 -0
- data/LICENSE +22 -0
- data/README.rdoc +26 -0
- data/Rakefile +63 -0
- data/VERSION.yml +5 -0
- data/bin/cucumber +16 -0
- data/cucumber.gemspec +741 -0
- data/cucumber.yml +10 -0
- data/examples/dos_line_endings/Rakefile +6 -0
- data/examples/dos_line_endings/features/dos_line_endings.feature +9 -0
- data/examples/i18n/README.textile +18 -0
- data/examples/i18n/Rakefile +32 -0
- data/examples/i18n/ar/Rakefile +6 -0
- data/examples/i18n/ar/features/addition.feature +17 -0
- data/examples/i18n/ar/features/step_definitons/calculator_steps.rb +24 -0
- data/examples/i18n/ar/lib/calculator.rb +11 -0
- data/examples/i18n/bg/Rakefile +6 -0
- data/examples/i18n/bg/features/addition.feature +12 -0
- data/examples/i18n/bg/features/consecutive_calculations.feature +19 -0
- data/examples/i18n/bg/features/division.feature +17 -0
- data/examples/i18n/bg/features/step_definitons/calculator_steps.rb +24 -0
- data/examples/i18n/bg/features/support/env.rb +6 -0
- data/examples/i18n/bg/features/support/world.rb +8 -0
- data/examples/i18n/bg/lib/calculator.rb +24 -0
- data/examples/i18n/cat/Rakefile +6 -0
- data/examples/i18n/cat/features/step_definitons/calculator_steps.rb +21 -0
- data/examples/i18n/cat/features/suma.feature +17 -0
- data/examples/i18n/cat/lib/calculadora.rb +16 -0
- data/examples/i18n/da/Rakefile +6 -0
- data/examples/i18n/da/features/sammenlaegning.feature +18 -0
- data/examples/i18n/da/features/step_definitons/lommeregner_steps.rb +24 -0
- data/examples/i18n/da/lib/lommeregner.rb +11 -0
- data/examples/i18n/de/.gitignore +1 -0
- data/examples/i18n/de/Rakefile +6 -0
- data/examples/i18n/de/features/addition.feature +17 -0
- data/examples/i18n/de/features/division.feature +10 -0
- data/examples/i18n/de/features/step_definitons/calculator_steps.rb +24 -0
- data/examples/i18n/de/lib/calculator.rb +14 -0
- data/examples/i18n/en-lol/Rakefile +4 -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/en/.gitignore +1 -0
- data/examples/i18n/en/Rakefile +6 -0
- data/examples/i18n/en/features/addition.feature +17 -0
- data/examples/i18n/en/features/division.feature +10 -0
- data/examples/i18n/en/features/step_definitons/calculator_steps.rb +24 -0
- data/examples/i18n/en/lib/calculator.rb +14 -0
- data/examples/i18n/es/Rakefile +6 -0
- data/examples/i18n/es/features/adicion.feature +17 -0
- data/examples/i18n/es/features/step_definitons/calculador_steps.rb +21 -0
- data/examples/i18n/es/lib/calculador.rb +14 -0
- data/examples/i18n/et/Rakefile +6 -0
- data/examples/i18n/et/features/jagamine.feature +10 -0
- data/examples/i18n/et/features/liitmine.feature +17 -0
- data/examples/i18n/et/features/step_definitions/kalkulaator_steps.rb +24 -0
- data/examples/i18n/et/lib/kalkulaator.rb +14 -0
- data/examples/i18n/fi/.gitignore +1 -0
- data/examples/i18n/fi/Rakefile +6 -0
- data/examples/i18n/fi/features/jakolasku.feature +10 -0
- data/examples/i18n/fi/features/step_definitons/laskin_steps.rb +24 -0
- data/examples/i18n/fi/features/yhteenlasku.feature +17 -0
- data/examples/i18n/fi/lib/laskin.rb +14 -0
- data/examples/i18n/fr/Rakefile +6 -0
- data/examples/i18n/fr/features/addition.feature +18 -0
- data/examples/i18n/fr/features/addition2.feature +17 -0
- data/examples/i18n/fr/features/step_definitions/calculatrice_steps.rb +38 -0
- data/examples/i18n/fr/lib/calculatrice.rb +10 -0
- data/examples/i18n/he/Rakefile +6 -0
- data/examples/i18n/he/features/addition.feature +17 -0
- data/examples/i18n/he/features/division.feature +10 -0
- data/examples/i18n/he/features/step_definitons/calculator_steps.rb +24 -0
- data/examples/i18n/he/lib/calculator.rb +14 -0
- data/examples/i18n/hu/.gitignore +1 -0
- data/examples/i18n/hu/Rakefile +6 -0
- data/examples/i18n/hu/features/addition.feature +17 -0
- data/examples/i18n/hu/features/division.feature +10 -0
- data/examples/i18n/hu/features/step_definitons/calculator_steps.rb +25 -0
- data/examples/i18n/hu/lib/calculator.rb +14 -0
- data/examples/i18n/id/.gitignore +1 -0
- data/examples/i18n/id/Rakefile +6 -0
- data/examples/i18n/id/features/addition.feature +17 -0
- data/examples/i18n/id/features/division.feature +10 -0
- data/examples/i18n/id/features/step_definitons/calculator_steps.rb +24 -0
- data/examples/i18n/id/lib/calculator.rb +14 -0
- data/examples/i18n/it/Rakefile +6 -0
- data/examples/i18n/it/features/somma.feature +11 -0
- data/examples/i18n/it/features/step_definitons/calcolatrice_steps.rb +24 -0
- data/examples/i18n/it/lib/calcolatrice.rb +11 -0
- data/examples/i18n/ja/.gitignore +1 -0
- data/examples/i18n/ja/Rakefile +6 -0
- data/examples/i18n/ja/features/addition.feature +17 -0
- data/examples/i18n/ja/features/division.feature +10 -0
- data/examples/i18n/ja/features/step_definitons/calculator_steps.rb +24 -0
- data/examples/i18n/ja/lib/calculator.rb +14 -0
- data/examples/i18n/ko/.gitignore +1 -0
- data/examples/i18n/ko/Rakefile +6 -0
- data/examples/i18n/ko/features/addition.feature +17 -0
- data/examples/i18n/ko/features/division.feature +11 -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/.gitignore +1 -0
- data/examples/i18n/lt/Rakefile +6 -0
- data/examples/i18n/lt/features/addition.feature +17 -0
- data/examples/i18n/lt/features/division.feature +10 -0
- data/examples/i18n/lt/features/step_definitons/calculator_steps.rb +24 -0
- data/examples/i18n/lt/lib/calculator.rb +14 -0
- data/examples/i18n/lv/Rakefile +6 -0
- data/examples/i18n/lv/features/addition.feature +17 -0
- data/examples/i18n/lv/features/division.feature +10 -0
- data/examples/i18n/lv/features/step_definitons/calculator_steps.rb +24 -0
- data/examples/i18n/lv/lib/calculator.rb +14 -0
- data/examples/i18n/no/Rakefile +6 -0
- data/examples/i18n/no/features/step_definitons/kalkulator_steps.rb +17 -0
- data/examples/i18n/no/features/summering.feature +19 -0
- data/examples/i18n/no/features/support/env.rb +6 -0
- data/examples/i18n/no/lib/kalkulator.rb +11 -0
- data/examples/i18n/pl/.gitignore +1 -0
- data/examples/i18n/pl/Rakefile +6 -0
- data/examples/i18n/pl/features/addition.feature +17 -0
- data/examples/i18n/pl/features/division.feature +10 -0
- data/examples/i18n/pl/features/step_definitons/calculator_steps.rb +24 -0
- data/examples/i18n/pl/features/support/env.rb +6 -0
- data/examples/i18n/pl/lib/calculator.rb +14 -0
- data/examples/i18n/pt/Rakefile +6 -0
- data/examples/i18n/pt/features/adicao.feature +11 -0
- data/examples/i18n/pt/features/step_definitions/calculadora_steps.rb +20 -0
- data/examples/i18n/pt/features/support/env.rb +6 -0
- data/examples/i18n/pt/lib/calculadora.rb +10 -0
- data/examples/i18n/ro/Rakefile +6 -0
- data/examples/i18n/ro/features/step_definitons/calculator_steps.rb +24 -0
- data/examples/i18n/ro/features/suma.feature +11 -0
- data/examples/i18n/ro/lib/calculator.rb +11 -0
- data/examples/i18n/ru/Rakefile +6 -0
- data/examples/i18n/ru/features/addition.feature +11 -0
- data/examples/i18n/ru/features/consecutive_calculations.feature +17 -0
- data/examples/i18n/ru/features/division.feature +16 -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 +8 -0
- data/examples/i18n/ru/lib/calculator.rb +24 -0
- data/examples/i18n/se/Rakefile +6 -0
- data/examples/i18n/se/features/step_definitons/kalkulator_steps.rb +24 -0
- data/examples/i18n/se/features/summering.feature +18 -0
- data/examples/i18n/se/lib/kalkulator.rb +11 -0
- data/examples/i18n/sk/.gitignore +1 -0
- data/examples/i18n/sk/Rakefile +6 -0
- data/examples/i18n/sk/features/addition.feature +17 -0
- data/examples/i18n/sk/features/division.feature +10 -0
- data/examples/i18n/sk/features/step_definitons/calculator_steps.rb +24 -0
- data/examples/i18n/sk/lib/calculator.rb +14 -0
- data/examples/i18n/sr-latn/Rakefile +6 -0
- data/examples/i18n/sr-latn/features/sabiranje.feature +18 -0
- data/examples/i18n/sr-latn/features/step_definitons/calculator_steps.rb +24 -0
- data/examples/i18n/sr-latn/lib/calculator.rb +12 -0
- data/examples/i18n/sr/Rakefile +6 -0
- data/examples/i18n/sr/features/sabiranje.feature +18 -0
- data/examples/i18n/sr/features/step_definitons/calculator_steps.rb +24 -0
- data/examples/i18n/sr/lib/calculator.rb +12 -0
- data/examples/i18n/tr/.gitignore +1 -0
- data/examples/i18n/tr/Rakefile +6 -0
- data/examples/i18n/tr/features/bolme.feature +10 -0
- data/examples/i18n/tr/features/step_definitons/hesap_makinesi_adimlari.rb +24 -0
- data/examples/i18n/tr/features/toplama.feature +18 -0
- data/examples/i18n/tr/lib/hesap_makinesi.rb +15 -0
- data/examples/i18n/uz/Rakefile +6 -0
- data/examples/i18n/uz/features/addition.feature +10 -0
- data/examples/i18n/uz/features/consecutive_calculations.feature +17 -0
- data/examples/i18n/uz/features/division.feature +17 -0
- data/examples/i18n/uz/features/step_definitons/calculator_steps.rb +19 -0
- data/examples/i18n/uz/features/support/env.rb +6 -0
- data/examples/i18n/uz/features/support/world.rb +8 -0
- data/examples/i18n/uz/lib/calculator.rb +24 -0
- data/examples/i18n/zh-CN/Rakefile +4 -0
- data/examples/i18n/zh-CN/features/addition.feature +18 -0
- data/examples/i18n/zh-CN/features/step_definitons/calculator_steps.rb +26 -0
- data/examples/i18n/zh-CN/lib/calculator.rb +10 -0
- data/examples/i18n/zh-TW/.gitignore +1 -0
- data/examples/i18n/zh-TW/Rakefile +4 -0
- data/examples/i18n/zh-TW/features/addition.feature +17 -0
- data/examples/i18n/zh-TW/features/division.feature +11 -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/junit/features/one_passing_one_failing.feature +8 -0
- data/examples/junit/features/pending.feature +5 -0
- data/examples/junit/features/step_definitions/steps.rb +11 -0
- data/examples/python/features/fibonacci.feature +19 -0
- data/examples/python/features/step_definitions/fib_steps.py +11 -0
- data/examples/python/lib/.gitignore +1 -0
- data/examples/python/lib/fib.py +7 -0
- data/examples/ramaze/README.textile +7 -0
- data/examples/ramaze/Rakefile +6 -0
- data/examples/ramaze/app.rb +21 -0
- data/examples/ramaze/features/add.feature +11 -0
- data/examples/ramaze/features/step_definitions/add_steps.rb +15 -0
- data/examples/ramaze/features/support/env.rb +32 -0
- data/examples/ramaze/layout/default.html.erb +8 -0
- data/examples/ramaze/view/index.html.erb +5 -0
- data/examples/ruby2python/features/fibonacci.feature +19 -0
- data/examples/ruby2python/features/step_definitions/fib_steps.rb +7 -0
- data/examples/ruby2python/features/support/env.rb +21 -0
- data/examples/ruby2python/lib/.gitignore +1 -0
- data/examples/ruby2python/lib/fib.py +7 -0
- data/examples/selenium/Rakefile +6 -0
- data/examples/selenium/features/search.feature +9 -0
- data/examples/selenium/features/step_definitons/search_steps.rb +13 -0
- data/examples/selenium/features/support/env.rb +19 -0
- data/examples/selenium_webrat/Rakefile +6 -0
- data/examples/selenium_webrat/config.ru +0 -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 +45 -0
- data/examples/self_test/.gitignore +1 -0
- data/examples/self_test/README.textile +6 -0
- data/examples/self_test/Rakefile +6 -0
- data/examples/self_test/features/background/background_tagged_before_on_outline.feature +12 -0
- data/examples/self_test/features/background/background_with_name.feature +7 -0
- data/examples/self_test/features/background/failing_background.feature +12 -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/multiline_name.feature +27 -0
- data/examples/self_test/features/outline_sample.feature +15 -0
- data/examples/self_test/features/sample.feature +21 -0
- data/examples/self_test/features/search_sample.feature +32 -0
- data/examples/self_test/features/step_definitions/sample_steps.rb +81 -0
- data/examples/self_test/features/support/env.rb +18 -0
- data/examples/self_test/features/tags_sample.feature +17 -0
- data/examples/self_test/features/tons_of_cukes.feature +52 -0
- data/examples/self_test/features/undefined_multiline_args.feature +12 -0
- data/examples/self_test/list-of-features.txt +1 -0
- data/examples/sinatra/README.textile +13 -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 +30 -0
- data/examples/sinatra/views/add.erb +5 -0
- data/examples/sinatra/views/layout.erb +8 -0
- data/examples/steps_library/features/step_definitions/steps_lib1.rb +8 -0
- data/examples/steps_library/features/step_definitions/steps_lib2.rb +8 -0
- data/examples/tcl/README.textile +11 -0
- data/examples/tcl/Rakefile +6 -0
- data/examples/tcl/features/fibonnacci.feature +17 -0
- data/examples/tcl/features/step_definitions/fib_steps.rb +7 -0
- data/examples/tcl/features/support/env.rb +6 -0
- data/examples/tcl/src/fib.tcl +3 -0
- data/examples/test_unit/Rakefile +6 -0
- data/examples/test_unit/features/step_definitions/test_unit_steps.rb +23 -0
- data/examples/test_unit/features/test_unit.feature +9 -0
- data/examples/tickets/Rakefile +20 -0
- data/examples/tickets/features.html +138 -0
- data/examples/tickets/features/172.feature +28 -0
- data/examples/tickets/features/177/1.feature +28 -0
- data/examples/tickets/features/177/2.feature +20 -0
- data/examples/tickets/features/177/3.feature +18 -0
- data/examples/tickets/features/180.feature +7 -0
- data/examples/tickets/features/229/tagged_hooks.feature +8 -0
- data/examples/tickets/features/229/tagged_hooks.rb +14 -0
- data/examples/tickets/features/236.feature +13 -0
- data/examples/tickets/features/241.feature +12 -0
- data/examples/tickets/features/246.feature +4 -0
- data/examples/tickets/features/248.feature +11 -0
- data/examples/tickets/features/270/back.feature +14 -0
- data/examples/tickets/features/270/back.steps.rb +14 -0
- data/examples/tickets/features/272/hooks.feature +26 -0
- data/examples/tickets/features/272/hooks_steps.rb +53 -0
- data/examples/tickets/features/279/py_string_indent.feature +25 -0
- data/examples/tickets/features/279/py_string_indent.steps.rb +12 -0
- data/examples/tickets/features/279/wrong.feature_ +11 -0
- data/examples/tickets/features/301/filter_background_tagged_hooks.feature +6 -0
- data/examples/tickets/features/301/filter_background_tagged_hooks_steps.rb +12 -0
- data/examples/tickets/features/306/only_background.feature +4 -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/246_steps.rb +3 -0
- data/examples/tickets/features/step_definitons/248_steps.rb +15 -0
- data/examples/tickets/features/step_definitons/scenario_outline_steps.rb +42 -0
- data/examples/tickets/features/step_definitons/tickets_steps.rb +81 -0
- data/examples/tickets/features/table_diffing.feature +13 -0
- data/examples/tickets/features/tickets.feature +28 -0
- data/examples/watir/README.textile +16 -0
- data/examples/watir/Rakefile +10 -0
- data/examples/watir/features/search.feature +12 -0
- data/examples/watir/features/step_definitions/search_steps.rb +26 -0
- data/examples/watir/features/support/env.rb +32 -0
- data/examples/watir/features/support/screenshots.rb +44 -0
- data/examples/webrat/features/search.feature +12 -0
- data/examples/webrat/features/step_definitions/kvasir_steps.rb +14 -0
- data/examples/webrat/features/support/env.rb +17 -0
- data/features/announce.feature +122 -0
- data/features/background.feature +308 -0
- data/features/bug_371.feature +32 -0
- data/features/bug_464.feature +16 -0
- data/features/bug_475.feature +43 -0
- data/features/call_many_steps.feature +124 -0
- data/features/cucumber_cli.feature +654 -0
- data/features/cucumber_cli_diff_disabled.feature +52 -0
- data/features/cucumber_cli_outlines.feature +105 -0
- data/features/custom_formatter.feature +47 -0
- data/features/default_snippets.feature +42 -0
- data/features/drb_server_integration.feature +174 -0
- data/features/exception_in_after_block.feature +100 -0
- data/features/exception_in_after_step_block.feature +102 -0
- data/features/exception_in_before_block.feature +78 -0
- data/features/exclude_files.feature +20 -0
- data/features/expand.feature +60 -0
- data/features/html_formatter.feature +7 -0
- data/features/html_formatter/a.html +400 -0
- data/features/junit_formatter.feature +88 -0
- data/features/language_from_header.feature +30 -0
- data/features/language_help.feature +68 -0
- data/features/listener_debugger_formatter.feature +41 -0
- data/features/multiline_names.feature +43 -0
- data/features/negative_tagged_hooks.feature +61 -0
- data/features/post_configuration_hook.feature +37 -0
- data/features/profiles.feature +112 -0
- data/features/rake_task.feature +152 -0
- data/features/report_called_undefined_steps.feature +34 -0
- data/features/simplest.feature +11 -0
- data/features/snippet.feature +22 -0
- data/features/step_definitions/cucumber_steps.rb +154 -0
- data/features/step_definitions/extra_steps.rb +2 -0
- data/features/step_definitions/simplest_steps.rb +3 -0
- data/features/step_definitions/wire_steps.rb +14 -0
- data/features/support/env.rb +141 -0
- data/features/support/env.rb.simplest +7 -0
- data/features/support/fake_wire_server.rb +63 -0
- data/features/table_diffing.feature +45 -0
- data/features/table_mapping.feature +35 -0
- data/features/tag_logic.feature +258 -0
- data/features/transform.feature +245 -0
- data/features/unicode_table.feature +35 -0
- data/features/usage_and_stepdefs_formatter.feature +169 -0
- data/features/wire_protocol.feature +177 -0
- data/features/work_in_progress.feature +156 -0
- data/gem_tasks/contributors.rake +13 -0
- data/gem_tasks/environment.rake +7 -0
- data/gem_tasks/features.rake +18 -0
- data/gem_tasks/fix_cr_lf.rake +10 -0
- data/gem_tasks/flog.rake +4 -0
- data/gem_tasks/rspec.rake +15 -0
- data/gem_tasks/sass.rake +4 -0
- data/gem_tasks/sdoc.rake +12 -0
- data/lib/README.rdoc +12 -0
- data/lib/autotest/cucumber.rb +6 -0
- data/lib/autotest/cucumber_mixin.rb +131 -0
- data/lib/autotest/cucumber_rails.rb +6 -0
- data/lib/autotest/cucumber_rails_rspec.rb +6 -0
- data/lib/autotest/cucumber_rspec.rb +6 -0
- data/lib/autotest/discover.rb +9 -0
- data/lib/cucumber.rb +15 -0
- data/lib/cucumber/ast.rb +30 -0
- data/lib/cucumber/ast/background.rb +75 -0
- data/lib/cucumber/ast/comment.rb +31 -0
- data/lib/cucumber/ast/examples.rb +36 -0
- data/lib/cucumber/ast/feature.rb +85 -0
- data/lib/cucumber/ast/feature_element.rb +68 -0
- data/lib/cucumber/ast/features.rb +40 -0
- data/lib/cucumber/ast/outline_table.rb +166 -0
- data/lib/cucumber/ast/py_string.rb +59 -0
- data/lib/cucumber/ast/scenario.rb +111 -0
- data/lib/cucumber/ast/scenario_outline.rb +100 -0
- data/lib/cucumber/ast/step.rb +121 -0
- data/lib/cucumber/ast/step_collection.rb +76 -0
- data/lib/cucumber/ast/step_invocation.rb +190 -0
- data/lib/cucumber/ast/table.rb +655 -0
- data/lib/cucumber/ast/tags.rb +122 -0
- data/lib/cucumber/ast/tree_walker.rb +201 -0
- data/lib/cucumber/ast/visitor.rb +11 -0
- data/lib/cucumber/broadcaster.rb +13 -0
- data/lib/cucumber/cli/configuration.rb +180 -0
- data/lib/cucumber/cli/drb_client.rb +32 -0
- data/lib/cucumber/cli/language_help_formatter.rb +72 -0
- data/lib/cucumber/cli/main.rb +121 -0
- data/lib/cucumber/cli/options.rb +404 -0
- data/lib/cucumber/cli/profile_loader.rb +82 -0
- data/lib/cucumber/constantize.rb +34 -0
- data/lib/cucumber/core_ext/instance_exec.rb +98 -0
- data/lib/cucumber/core_ext/proc.rb +30 -0
- data/lib/cucumber/core_ext/string.rb +16 -0
- data/lib/cucumber/feature_file.rb +54 -0
- data/lib/cucumber/filter.rb +41 -0
- data/lib/cucumber/formatter/ansicolor.rb +157 -0
- data/lib/cucumber/formatter/color_io.rb +23 -0
- data/lib/cucumber/formatter/console.rb +205 -0
- data/lib/cucumber/formatter/cucumber.css +248 -0
- data/lib/cucumber/formatter/cucumber.sass +241 -0
- data/lib/cucumber/formatter/debug.rb +33 -0
- data/lib/cucumber/formatter/duration.rb +13 -0
- data/lib/cucumber/formatter/html.rb +545 -0
- data/lib/cucumber/formatter/io.rb +33 -0
- data/lib/cucumber/formatter/junit.rb +149 -0
- data/lib/cucumber/formatter/ordered_xml_markup.rb +24 -0
- data/lib/cucumber/formatter/pdf.rb +234 -0
- data/lib/cucumber/formatter/pretty.rb +237 -0
- data/lib/cucumber/formatter/progress.rb +75 -0
- data/lib/cucumber/formatter/rerun.rb +50 -0
- data/lib/cucumber/formatter/stepdefs.rb +14 -0
- data/lib/cucumber/formatter/steps.rb +49 -0
- data/lib/cucumber/formatter/summary.rb +35 -0
- data/lib/cucumber/formatter/tag_cloud.rb +34 -0
- data/lib/cucumber/formatter/unicode.rb +35 -0
- data/lib/cucumber/formatter/usage.rb +127 -0
- data/lib/cucumber/language_support.rb +30 -0
- data/lib/cucumber/language_support/language_methods.rb +110 -0
- data/lib/cucumber/languages.yml +535 -0
- data/lib/cucumber/parser.rb +8 -0
- data/lib/cucumber/parser/common.rb +170 -0
- data/lib/cucumber/parser/common.tt +21 -0
- data/lib/cucumber/parser/feature.rb +1783 -0
- data/lib/cucumber/parser/feature.tt +317 -0
- data/lib/cucumber/parser/i18n.tt +34 -0
- data/lib/cucumber/parser/natural_language.rb +108 -0
- data/lib/cucumber/parser/py_string.rb +276 -0
- data/lib/cucumber/parser/py_string.tt +45 -0
- data/lib/cucumber/parser/table.rb +305 -0
- data/lib/cucumber/parser/table.tt +60 -0
- data/lib/cucumber/parser/treetop_ext.rb +53 -0
- data/lib/cucumber/platform.rb +31 -0
- data/lib/cucumber/py_support/py_dsl.py +10 -0
- data/lib/cucumber/py_support/py_language.py +10 -0
- data/lib/cucumber/py_support/py_language.rb +81 -0
- data/lib/cucumber/rake/task.rb +166 -0
- data/lib/cucumber/rb_support/rb_dsl.rb +102 -0
- data/lib/cucumber/rb_support/rb_hook.rb +19 -0
- data/lib/cucumber/rb_support/rb_language.rb +179 -0
- data/lib/cucumber/rb_support/rb_step_definition.rb +75 -0
- data/lib/cucumber/rb_support/rb_transform.rb +37 -0
- data/lib/cucumber/rb_support/rb_world.rb +81 -0
- data/lib/cucumber/rb_support/regexp_argument_matcher.rb +21 -0
- data/lib/cucumber/rspec_neuter.rb +23 -0
- data/lib/cucumber/step_argument.rb +9 -0
- data/lib/cucumber/step_definition_light.rb +20 -0
- data/lib/cucumber/step_match.rb +107 -0
- data/lib/cucumber/step_mother.rb +350 -0
- data/lib/cucumber/webrat/element_locator.rb +93 -0
- data/lib/cucumber/webrat/table_locator.rb +1 -0
- data/lib/cucumber/wire_support/connection.rb +42 -0
- data/lib/cucumber/wire_support/request_handler.rb +19 -0
- data/lib/cucumber/wire_support/wire_exception.rb +10 -0
- data/lib/cucumber/wire_support/wire_language.rb +52 -0
- data/lib/cucumber/wire_support/wire_packet.rb +34 -0
- data/lib/cucumber/wire_support/wire_protocol.rb +64 -0
- data/lib/cucumber/wire_support/wire_step_definition.rb +21 -0
- data/spec/cucumber/ast/background_spec.rb +54 -0
- data/spec/cucumber/ast/feature_element_spec.rb +41 -0
- data/spec/cucumber/ast/feature_factory.rb +62 -0
- data/spec/cucumber/ast/feature_spec.rb +44 -0
- data/spec/cucumber/ast/outline_table_spec.rb +21 -0
- data/spec/cucumber/ast/py_string_spec.rb +51 -0
- data/spec/cucumber/ast/scenario_outline_spec.rb +73 -0
- data/spec/cucumber/ast/scenario_spec.rb +45 -0
- data/spec/cucumber/ast/step_collection_spec.rb +17 -0
- data/spec/cucumber/ast/step_spec.rb +66 -0
- data/spec/cucumber/ast/table_spec.rb +422 -0
- data/spec/cucumber/ast/tags_spec.rb +29 -0
- data/spec/cucumber/ast/tree_walker_spec.rb +11 -0
- data/spec/cucumber/broadcaster_spec.rb +15 -0
- data/spec/cucumber/cli/configuration_spec.rb +396 -0
- data/spec/cucumber/cli/drb_client_spec.rb +77 -0
- data/spec/cucumber/cli/main_spec.rb +172 -0
- data/spec/cucumber/cli/options_spec.rb +335 -0
- data/spec/cucumber/cli/profile_loader_spec.rb +10 -0
- data/spec/cucumber/core_ext/proc_spec.rb +68 -0
- data/spec/cucumber/formatter/ansicolor_spec.rb +31 -0
- data/spec/cucumber/formatter/color_io_spec.rb +27 -0
- data/spec/cucumber/formatter/console_spec.rb +20 -0
- data/spec/cucumber/formatter/duration_spec.rb +22 -0
- data/spec/cucumber/formatter/html_spec.rb +213 -0
- data/spec/cucumber/formatter/junit_spec.rb +110 -0
- data/spec/cucumber/formatter/progress_spec.rb +38 -0
- data/spec/cucumber/formatter/spec_helper.rb +50 -0
- data/spec/cucumber/parser/feature_parser_spec.rb +400 -0
- data/spec/cucumber/parser/table_parser_spec.rb +52 -0
- data/spec/cucumber/rb_support/rb_step_definition_spec.rb +132 -0
- data/spec/cucumber/rb_support/regexp_argument_matcher_spec.rb +18 -0
- data/spec/cucumber/sell_cucumbers.feature +19 -0
- data/spec/cucumber/step_match_spec.rb +56 -0
- data/spec/cucumber/step_mother_spec.rb +270 -0
- data/spec/cucumber/treetop_parser/empty_feature.feature +4 -0
- data/spec/cucumber/treetop_parser/empty_scenario.feature +9 -0
- data/spec/cucumber/treetop_parser/empty_scenario_outline.feature +3 -0
- data/spec/cucumber/treetop_parser/fit_scenario.feature +8 -0
- data/spec/cucumber/treetop_parser/given_scenario.feature +9 -0
- data/spec/cucumber/treetop_parser/invalid_scenario_outlines.feature +7 -0
- data/spec/cucumber/treetop_parser/multiline_steps.feature +17 -0
- data/spec/cucumber/treetop_parser/multiple_tables.feature +27 -0
- data/spec/cucumber/treetop_parser/scenario_outline.feature +16 -0
- data/spec/cucumber/treetop_parser/spaces.feature +12 -0
- data/spec/cucumber/treetop_parser/test_dos.feature +25 -0
- data/spec/cucumber/treetop_parser/with_comments.feature +23 -0
- data/spec/cucumber/treetop_parser/with_tags.feature +18 -0
- data/spec/cucumber/wire_support/wire_language_spec.rb +47 -0
- data/spec/cucumber/wire_support/wire_packet_spec.rb +26 -0
- data/spec/cucumber/world/pending_spec.rb +46 -0
- data/spec/spec.opts +4 -0
- data/spec/spec_helper.rb +18 -0
- metadata +813 -0
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'forwardable'
|
2
|
+
|
3
|
+
module Cucumber
|
4
|
+
module Formatter
|
5
|
+
# Adapter to make #puts/#print/#flush work with colours on Windows
|
6
|
+
class ColorIO #:nodoc:
|
7
|
+
extend Forwardable
|
8
|
+
def_delegators :@kernel, :puts, :print # win32console colours only work when sent to Kernel
|
9
|
+
def_delegators :@stdout, :flush, :tty?, :write, :close
|
10
|
+
|
11
|
+
def initialize
|
12
|
+
@kernel = Kernel
|
13
|
+
@stdout = STDOUT
|
14
|
+
end
|
15
|
+
|
16
|
+
# Ensure using << still gets colours in win32console
|
17
|
+
def <<(output)
|
18
|
+
print(output)
|
19
|
+
self
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,205 @@
|
|
1
|
+
require 'cucumber/formatter/ansicolor'
|
2
|
+
require 'cucumber/formatter/duration'
|
3
|
+
require 'cucumber/formatter/summary'
|
4
|
+
|
5
|
+
module Cucumber
|
6
|
+
module Formatter
|
7
|
+
# This module contains helper methods that are used by formatters
|
8
|
+
# that print output to the terminal.
|
9
|
+
module Console
|
10
|
+
extend ANSIColor
|
11
|
+
include Duration
|
12
|
+
include Summary
|
13
|
+
|
14
|
+
FORMATS = Hash.new{|hash, format| hash[format] = method(format).to_proc}
|
15
|
+
|
16
|
+
def format_step(keyword, step_match, status, source_indent)
|
17
|
+
comment = if source_indent
|
18
|
+
c = (' # ' + step_match.file_colon_line).indent(source_indent)
|
19
|
+
format_string(c, :comment)
|
20
|
+
else
|
21
|
+
''
|
22
|
+
end
|
23
|
+
|
24
|
+
format = format_for(status, :param)
|
25
|
+
line = keyword + " " + step_match.format_args(format) + comment
|
26
|
+
format_string(line, status)
|
27
|
+
end
|
28
|
+
|
29
|
+
def format_string(string, status)
|
30
|
+
fmt = format_for(status)
|
31
|
+
if Proc === fmt
|
32
|
+
fmt.call(string)
|
33
|
+
else
|
34
|
+
fmt % string
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
def print_steps(status)
|
39
|
+
print_elements(step_mother.steps(status), status, 'steps')
|
40
|
+
end
|
41
|
+
|
42
|
+
def print_elements(elements, status, kind)
|
43
|
+
if elements.any?
|
44
|
+
@io.puts(format_string("(::) #{status} #{kind} (::)", status))
|
45
|
+
@io.puts
|
46
|
+
@io.flush
|
47
|
+
end
|
48
|
+
|
49
|
+
elements.each_with_index do |element, i|
|
50
|
+
if status == :failed
|
51
|
+
print_exception(element.exception, status, 0)
|
52
|
+
else
|
53
|
+
@io.puts(format_string(element.backtrace_line, status))
|
54
|
+
end
|
55
|
+
@io.puts
|
56
|
+
@io.flush
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
def print_counts
|
61
|
+
STDERR.puts("The #print_counts method is deprecated and will be removed in 0.4. Use #print_stats instead")
|
62
|
+
print_stats(nil)
|
63
|
+
end
|
64
|
+
|
65
|
+
def print_stats(features)
|
66
|
+
|
67
|
+
@failures = step_mother.scenarios(:failed).select { |s| s.is_a?(Cucumber::Ast::Scenario) }
|
68
|
+
|
69
|
+
if !@failures.empty?
|
70
|
+
@io.puts format_string("Failing Scenarios:", :failed)
|
71
|
+
@failures.each do |failure|
|
72
|
+
@io.puts format_string("cucumber " + failure.file_colon_line, :failed) +
|
73
|
+
format_string(" # Scenario: " + failure.name, :comment)
|
74
|
+
end
|
75
|
+
@io.puts
|
76
|
+
end
|
77
|
+
|
78
|
+
@io.puts scenario_summary(step_mother) {|status_count, status| format_string(status_count, status)}
|
79
|
+
@io.puts step_summary(step_mother) {|status_count, status| format_string(status_count, status)}
|
80
|
+
|
81
|
+
@io.puts(format_duration(features.duration)) if features && features.duration
|
82
|
+
|
83
|
+
@io.flush
|
84
|
+
end
|
85
|
+
|
86
|
+
def print_exception(e, status, indent)
|
87
|
+
@io.puts(format_string("#{e.message} (#{e.class})\n#{e.backtrace.join("\n")}".indent(indent), status))
|
88
|
+
end
|
89
|
+
|
90
|
+
def print_snippets(options)
|
91
|
+
return unless options[:snippets]
|
92
|
+
undefined = step_mother.steps(:undefined)
|
93
|
+
return if undefined.empty?
|
94
|
+
|
95
|
+
unknown_programming_language = step_mother.unknown_programming_language?
|
96
|
+
snippets = undefined.map do |step|
|
97
|
+
step_name = Undefined === step.exception ? step.exception.step_name : step.name
|
98
|
+
step_multiline_class = step.multiline_arg ? step.multiline_arg.class : nil
|
99
|
+
snippet = @step_mother.snippet_text(step.actual_keyword, step_name, step_multiline_class)
|
100
|
+
snippet
|
101
|
+
end.compact.uniq
|
102
|
+
|
103
|
+
text = "\nYou can implement step definitions for undefined steps with these snippets:\n\n"
|
104
|
+
text += snippets.join("\n\n")
|
105
|
+
@io.puts format_string(text, :undefined)
|
106
|
+
|
107
|
+
if unknown_programming_language
|
108
|
+
@io.puts format_string("\nIf you want snippets in a different programming language, just make sure a file\n" +
|
109
|
+
"with the appropriate file extension exists where cucumber looks for step definitions.", :failed)
|
110
|
+
end
|
111
|
+
|
112
|
+
@io.puts
|
113
|
+
@io.flush
|
114
|
+
end
|
115
|
+
|
116
|
+
def print_passing_wip(options)
|
117
|
+
return unless options[:wip]
|
118
|
+
passed = step_mother.scenarios(:passed)
|
119
|
+
if passed.any?
|
120
|
+
@io.puts format_string("\nThe --wip switch was used, so I didn't expect anything to pass. These scenarios passed:", :failed)
|
121
|
+
print_elements(passed, :passed, "scenarios")
|
122
|
+
else
|
123
|
+
@io.puts format_string("\nThe --wip switch was used, so the failures were expected. All is good.\n", :passed)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
def print_tag_limit_warnings(options)
|
128
|
+
if @tag_occurrences
|
129
|
+
first_tag = true
|
130
|
+
options[:tag_names].each do |tag_list|
|
131
|
+
tag_list.each do |tag_name, limit|
|
132
|
+
unless Ast::Tags.exclude_tag?(tag_name)
|
133
|
+
tag_frequency = @tag_occurrences[tag_name].size
|
134
|
+
if limit && tag_frequency > limit
|
135
|
+
@io.puts if first_tag
|
136
|
+
first_tag = false
|
137
|
+
@io.puts format_string("#{tag_name} occurred #{tag_frequency} times, but the limit was set to #{limit}", :failed)
|
138
|
+
@tag_occurrences[tag_name].each {|location| @io.puts format_string(" #{location}", :failed)}
|
139
|
+
@io.flush
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
143
|
+
end
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
def record_tag_occurrences(feature_element, options)
|
148
|
+
@tag_occurrences ||= Hash.new{|k,v| k[v] = []}
|
149
|
+
options[:tag_names].each do |tag_list|
|
150
|
+
tag_list.each do |tag_name, limit|
|
151
|
+
if !Ast::Tags.exclude_tag?(tag_name) && feature_element.tag_count(tag_name) > 0
|
152
|
+
@tag_occurrences[tag_name] << feature_element.file_colon_line
|
153
|
+
end
|
154
|
+
end
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
def embed(file, mime_type)
|
159
|
+
# no-op
|
160
|
+
end
|
161
|
+
|
162
|
+
#define @delayed_announcements = [] in your Formatter if you want to
|
163
|
+
#activate this feature
|
164
|
+
def announce(announcement)
|
165
|
+
if @delayed_announcements
|
166
|
+
@delayed_announcements << announcement
|
167
|
+
else
|
168
|
+
@io.puts
|
169
|
+
@io.puts(format_string(announcement, :tag))
|
170
|
+
@io.flush
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
def print_announcements()
|
175
|
+
@delayed_announcements.each {|ann| print_announcement(ann)}
|
176
|
+
empty_announcements
|
177
|
+
end
|
178
|
+
|
179
|
+
def print_table_row_announcements
|
180
|
+
return if @delayed_announcements.empty?
|
181
|
+
@io.print(format_string(@delayed_announcements.join(', '), :tag).indent(2))
|
182
|
+
@io.flush
|
183
|
+
empty_announcements
|
184
|
+
end
|
185
|
+
|
186
|
+
def print_announcement(announcement)
|
187
|
+
@io.puts(format_string(announcement, :tag).indent(@indent))
|
188
|
+
@io.flush
|
189
|
+
end
|
190
|
+
|
191
|
+
def empty_announcements
|
192
|
+
@delayed_announcements = []
|
193
|
+
end
|
194
|
+
|
195
|
+
private
|
196
|
+
|
197
|
+
def format_for(*keys)
|
198
|
+
key = keys.join('_').to_sym
|
199
|
+
fmt = FORMATS[key]
|
200
|
+
raise "No format for #{key.inspect}: #{FORMATS.inspect}" if fmt.nil?
|
201
|
+
fmt
|
202
|
+
end
|
203
|
+
end
|
204
|
+
end
|
205
|
+
end
|
@@ -0,0 +1,248 @@
|
|
1
|
+
/* cucumber.css is generated from cucumber.sass */
|
2
|
+
/* Regenerate with rake sass */
|
3
|
+
body {
|
4
|
+
font-size: 0px;
|
5
|
+
color: #FFFFFF;
|
6
|
+
margin: 0px;
|
7
|
+
padding: 0px;
|
8
|
+
}
|
9
|
+
|
10
|
+
.cucumber, td, th {
|
11
|
+
font: normal 11px "Lucida Grande", Helvetica, sans-serif;
|
12
|
+
background: white;
|
13
|
+
color: #000000;
|
14
|
+
}
|
15
|
+
.cucumber #cucumber-header, td #cucumber-header, th #cucumber-header {
|
16
|
+
background: #65C400;
|
17
|
+
color: #FFFFFF;
|
18
|
+
height: 5em;
|
19
|
+
}
|
20
|
+
.cucumber .scenario h3, td .scenario h3, th .scenario h3 {
|
21
|
+
font-size: 11px;
|
22
|
+
padding: 3px;
|
23
|
+
margin: 0;
|
24
|
+
background: #65C400;
|
25
|
+
color: #FFFFFF;
|
26
|
+
font-weight: bold;
|
27
|
+
}
|
28
|
+
.cucumber h1, td h1, th h1 {
|
29
|
+
margin: 0px 10px 0px 10px;
|
30
|
+
padding: 10px;
|
31
|
+
font-family: "Lucida Grande", Helvetica, sans-serif;
|
32
|
+
font-size: 1.8em;
|
33
|
+
position: absolute;
|
34
|
+
}
|
35
|
+
.cucumber h4, td h4, th h4 {
|
36
|
+
margin-bottom: 2px;
|
37
|
+
}
|
38
|
+
.cucumber div.feature, td div.feature, th div.feature {
|
39
|
+
padding: 2px;
|
40
|
+
margin: 0px 10px 5px 10px;
|
41
|
+
}
|
42
|
+
.cucumber div.examples, td div.examples, th div.examples {
|
43
|
+
padding: 0em 0em 0em 1em;
|
44
|
+
}
|
45
|
+
.cucumber .stats, td .stats, th .stats {
|
46
|
+
margin: 2em;
|
47
|
+
}
|
48
|
+
.cucumber .summary ul.features li, td .summary ul.features li, th .summary ul.features li {
|
49
|
+
display: inline;
|
50
|
+
}
|
51
|
+
.cucumber .tag, td .tag, th .tag {
|
52
|
+
font-weight: bold;
|
53
|
+
color: #246AC1;
|
54
|
+
}
|
55
|
+
.cucumber .backtrace, td .backtrace, th .backtrace {
|
56
|
+
margin-top: 0;
|
57
|
+
margin-bottom: 0;
|
58
|
+
margin-left: 1em;
|
59
|
+
color: #000000;
|
60
|
+
}
|
61
|
+
.cucumber a, td a, th a {
|
62
|
+
text-decoration: none;
|
63
|
+
color: #BE5C00;
|
64
|
+
}
|
65
|
+
.cucumber a:hover, td a:hover, th a:hover {
|
66
|
+
text-decoration: underline;
|
67
|
+
}
|
68
|
+
.cucumber a:visited, td a:visited, th a:visited {
|
69
|
+
font-weight: normal;
|
70
|
+
}
|
71
|
+
.cucumber a div.examples, td a div.examples, th a div.examples {
|
72
|
+
margin: 5px 0px 5px 15px;
|
73
|
+
color: #000000;
|
74
|
+
}
|
75
|
+
.cucumber .outline table, td .outline table, th .outline table {
|
76
|
+
margin: 0px 0px 5px 10px;
|
77
|
+
}
|
78
|
+
.cucumber table, td table, th table {
|
79
|
+
border-collapse: collapse;
|
80
|
+
}
|
81
|
+
.cucumber table td, td table td, th table td {
|
82
|
+
padding: 3px 3px 3px 5px;
|
83
|
+
}
|
84
|
+
.cucumber table td.failed, .cucumber table td.passed, .cucumber table td.skipped, .cucumber table td.pending, .cucumber table td.undefined, td table td.failed, td table td.passed, td table td.skipped, td table td.pending, td table td.undefined, th table td.failed, th table td.passed, th table td.skipped, th table td.pending, th table td.undefined {
|
85
|
+
padding-left: 18px;
|
86
|
+
padding-right: 10px;
|
87
|
+
}
|
88
|
+
.cucumber table td.failed, td table td.failed, th table td.failed {
|
89
|
+
border-left: 5px solid #c20000;
|
90
|
+
border-bottom: 1px solid #c20000;
|
91
|
+
background: #fffbd3;
|
92
|
+
color: #c20000;
|
93
|
+
}
|
94
|
+
.cucumber table td.passed, td table td.passed, th table td.passed {
|
95
|
+
border-left: 5px solid #65c400;
|
96
|
+
border-bottom: 1px solid #65c400;
|
97
|
+
background: #dbffb4;
|
98
|
+
color: #3d7700;
|
99
|
+
}
|
100
|
+
.cucumber table td.skipped, td table td.skipped, th table td.skipped {
|
101
|
+
border-left: 5px solid aqua;
|
102
|
+
border-bottom: 1px solid aqua;
|
103
|
+
background: #e0ffff;
|
104
|
+
color: #001111;
|
105
|
+
}
|
106
|
+
.cucumber table td.pending, td table td.pending, th table td.pending {
|
107
|
+
border-left: 5px solid #faf834;
|
108
|
+
border-bottom: 1px solid #faf834;
|
109
|
+
background: #fcfb98;
|
110
|
+
color: #131313;
|
111
|
+
}
|
112
|
+
.cucumber table td.undefined, td table td.undefined, th table td.undefined {
|
113
|
+
border-left: 5px solid #faf834;
|
114
|
+
border-bottom: 1px solid #faf834;
|
115
|
+
background: #fcfb98;
|
116
|
+
color: #131313;
|
117
|
+
}
|
118
|
+
.cucumber ol, td ol, th ol {
|
119
|
+
list-style: none;
|
120
|
+
margin: 0px;
|
121
|
+
padding: 0px;
|
122
|
+
}
|
123
|
+
.cucumber ol li.step, td ol li.step, th ol li.step {
|
124
|
+
padding: 3px 3px 3px 18px;
|
125
|
+
margin: 5px 0px 5px 5px;
|
126
|
+
}
|
127
|
+
.cucumber ol li, td ol li, th ol li {
|
128
|
+
margin: 0em 0em 0em 1em;
|
129
|
+
padding: 0em 0em 0em 0.2em;
|
130
|
+
}
|
131
|
+
.cucumber ol li span.param, td ol li span.param, th ol li span.param {
|
132
|
+
font-weight: bold;
|
133
|
+
}
|
134
|
+
.cucumber ol li.failed, td ol li.failed, th ol li.failed {
|
135
|
+
border-left: 5px solid #c20000;
|
136
|
+
border-bottom: 1px solid #c20000;
|
137
|
+
background: #fffbd3;
|
138
|
+
color: #c20000;
|
139
|
+
}
|
140
|
+
.cucumber ol li.passed, td ol li.passed, th ol li.passed {
|
141
|
+
border-left: 5px solid #65c400;
|
142
|
+
border-bottom: 1px solid #65c400;
|
143
|
+
background: #dbffb4;
|
144
|
+
color: #3d7700;
|
145
|
+
}
|
146
|
+
.cucumber ol li.skipped, td ol li.skipped, th ol li.skipped {
|
147
|
+
border-left: 5px solid aqua;
|
148
|
+
border-bottom: 1px solid aqua;
|
149
|
+
background: #e0ffff;
|
150
|
+
color: #001111;
|
151
|
+
}
|
152
|
+
.cucumber ol li.pending, td ol li.pending, th ol li.pending {
|
153
|
+
border-left: 5px solid #faf834;
|
154
|
+
border-bottom: 1px solid #faf834;
|
155
|
+
background: #fcfb98;
|
156
|
+
color: #131313;
|
157
|
+
}
|
158
|
+
.cucumber ol li.undefined, td ol li.undefined, th ol li.undefined {
|
159
|
+
border-left: 5px solid #faf834;
|
160
|
+
border-bottom: 1px solid #faf834;
|
161
|
+
background: #fcfb98;
|
162
|
+
color: #131313;
|
163
|
+
}
|
164
|
+
.cucumber #summary, td #summary, th #summary {
|
165
|
+
margin: 0px;
|
166
|
+
padding: 5px 10px;
|
167
|
+
text-align: right;
|
168
|
+
top: 0px;
|
169
|
+
right: 0px;
|
170
|
+
float: right;
|
171
|
+
}
|
172
|
+
.cucumber #summary p, td #summary p, th #summary p {
|
173
|
+
margin: 0 0 0 2px;
|
174
|
+
}
|
175
|
+
.cucumber #summary #totals, td #summary #totals, th #summary #totals {
|
176
|
+
font-size: 1.2em;
|
177
|
+
}
|
178
|
+
|
179
|
+
.ruby {
|
180
|
+
font-size: 12px;
|
181
|
+
font-family: monospace;
|
182
|
+
color: white;
|
183
|
+
background: black;
|
184
|
+
padding: 0.1em 0 0.2em 0;
|
185
|
+
}
|
186
|
+
.ruby .keyword {
|
187
|
+
color: #FF6600;
|
188
|
+
}
|
189
|
+
.ruby .constant {
|
190
|
+
color: #339999;
|
191
|
+
}
|
192
|
+
.ruby .attribute {
|
193
|
+
color: white;
|
194
|
+
}
|
195
|
+
.ruby .global {
|
196
|
+
color: white;
|
197
|
+
}
|
198
|
+
.ruby .module {
|
199
|
+
color: white;
|
200
|
+
}
|
201
|
+
.ruby .class {
|
202
|
+
color: white;
|
203
|
+
}
|
204
|
+
.ruby .string {
|
205
|
+
color: #66FF00;
|
206
|
+
}
|
207
|
+
.ruby .ident {
|
208
|
+
color: white;
|
209
|
+
}
|
210
|
+
.ruby .method {
|
211
|
+
color: #FFCC00;
|
212
|
+
}
|
213
|
+
.ruby .number {
|
214
|
+
color: white;
|
215
|
+
}
|
216
|
+
.ruby .char {
|
217
|
+
color: white;
|
218
|
+
}
|
219
|
+
.ruby .comment {
|
220
|
+
color: #9933CC;
|
221
|
+
}
|
222
|
+
.ruby .symbol {
|
223
|
+
color: white;
|
224
|
+
}
|
225
|
+
.ruby .regex {
|
226
|
+
color: #44B4CC;
|
227
|
+
}
|
228
|
+
.ruby .punct {
|
229
|
+
color: white;
|
230
|
+
}
|
231
|
+
.ruby .escape {
|
232
|
+
color: white;
|
233
|
+
}
|
234
|
+
.ruby .interp {
|
235
|
+
color: white;
|
236
|
+
}
|
237
|
+
.ruby .expr {
|
238
|
+
color: white;
|
239
|
+
}
|
240
|
+
.ruby .offending {
|
241
|
+
background: #333333;
|
242
|
+
}
|
243
|
+
.ruby .linenum {
|
244
|
+
width: 75px;
|
245
|
+
padding: 0.1em 1em 0.2em 0;
|
246
|
+
color: #000000;
|
247
|
+
background: #FFFBD3;
|
248
|
+
}
|