cucumber 0.1.16 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +111 -5
- data/License.txt +1 -1
- data/Manifest.txt +141 -83
- data/Rakefile +1 -1
- data/bin/cucumber +2 -2
- data/config/hoe.rb +8 -2
- data/examples/cs/features/addition.feature +4 -5
- data/examples/cs/features/step_definitons/calculator_steps.rb +1 -5
- data/examples/i18n/README.textile +1 -1
- data/examples/i18n/Rakefile +5 -5
- data/examples/i18n/ar/features/addition.feature +10 -11
- data/examples/i18n/ar/features/step_definitons/calculator_steps.rb +1 -10
- data/examples/i18n/da/features/step_definitons/kalkulator_steps.rb +1 -1
- data/examples/i18n/de/features/addition.feature +10 -11
- data/examples/i18n/de/features/division.feature +0 -1
- data/examples/i18n/de/features/step_definitons/calculator_steps.rb +2 -10
- data/examples/i18n/en-lol/Rakefile +6 -0
- data/examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb +16 -0
- data/examples/i18n/en-lol/features/stuffing.feature +8 -0
- data/examples/i18n/en-lol/features/support/env.rb +8 -0
- data/examples/i18n/en-lol/lib/basket.rb +12 -0
- data/examples/i18n/en-lol/lib/belly.rb +11 -0
- data/examples/i18n/en/features/addition.feature +10 -11
- data/examples/i18n/en/features/division.feature +0 -1
- data/examples/i18n/en/features/step_definitons/calculator_steps.rb +2 -6
- data/examples/i18n/es/features/adicion.feature +11 -12
- data/examples/i18n/es/features/step_definitons/calculador_steps.rb +7 -10
- data/examples/i18n/es/lib/calculador.rb +4 -1
- data/examples/i18n/et/features/jagamine.feature +9 -0
- data/examples/i18n/et/features/liitmine.feature +10 -11
- data/examples/i18n/et/features/step_definitions/kalkulaator_steps.rb +4 -8
- data/examples/i18n/et/lib/kalkulaator.rb +5 -1
- data/examples/i18n/fi/Rakefile +6 -0
- data/examples/i18n/fi/features/jakolasku.feature +9 -0
- data/examples/i18n/fi/features/step_definitons/laskin_steps.rb +24 -0
- data/examples/i18n/fi/features/yhteenlasku.feature +16 -0
- data/examples/i18n/fi/lib/laskin.rb +14 -0
- data/examples/i18n/fr/features/addition.feature +14 -12
- data/examples/i18n/fr/features/step_definitions/calculatrice_steps.rb +11 -13
- data/examples/i18n/fr/lib/calculatrice.rb +1 -1
- data/examples/i18n/id/features/addition.feature +10 -11
- data/examples/i18n/id/features/division.feature +0 -1
- data/examples/i18n/id/features/step_definitons/calculator_steps.rb +2 -11
- data/examples/i18n/it/features/step_definitons/calcolatrice_steps.rb +1 -1
- data/examples/i18n/ja/features/addition.feature +10 -11
- data/examples/i18n/ja/features/division.feature +2 -3
- data/examples/i18n/ja/features/step_definitons/calculator_steps.rb +4 -13
- data/examples/i18n/ko/features/addition.feature +7 -8
- data/examples/i18n/ko/features/division.feature +3 -4
- data/examples/i18n/ko/features/step_definitons/calculator_steps.rb +1 -5
- data/examples/i18n/lt/features/addition.feature +11 -11
- data/examples/i18n/lt/features/division.feature +0 -1
- data/examples/i18n/lt/features/step_definitons/calculator_steps.rb +2 -11
- data/examples/i18n/no/features/step_definitons/kalkulator_steps.rb +3 -10
- data/examples/i18n/no/features/summering.feature +1 -0
- data/examples/i18n/no/features/support/env.rb +6 -0
- data/examples/i18n/pt/features/step_definitions/calculadora_steps.rb +1 -1
- data/examples/i18n/ro/features/step_definitons/calculator_steps.rb +1 -1
- data/examples/i18n/ru/Rakefile +6 -0
- data/examples/i18n/ru/features/addition.feature +10 -0
- data/examples/i18n/ru/features/consecutive_calculations.feature +16 -0
- data/examples/i18n/ru/features/division.feature +15 -0
- data/examples/i18n/ru/features/step_definitons/calculator_steps.rb +19 -0
- data/examples/i18n/ru/features/support/env.rb +6 -0
- data/examples/i18n/ru/features/support/world.rb +7 -0
- data/examples/i18n/ru/lib/calculator.rb +24 -0
- data/examples/i18n/se/features/step_definitons/kalkulator_steps.rb +1 -1
- data/examples/i18n/zh-CN/features/step_definitons/calculator_steps.rb +2 -2
- data/examples/i18n/zh-TW/Rakefile +6 -0
- data/examples/i18n/zh-TW/features/addition.feature +16 -0
- data/examples/i18n/zh-TW/features/division.feature +10 -0
- data/examples/i18n/zh-TW/features/step_definitons/calculator_steps.rb +24 -0
- data/examples/i18n/zh-TW/lib/calculator.rb +14 -0
- data/examples/java/src/cucumber/demo/Hello.java +16 -0
- data/examples/jbehave/README.textile +20 -0
- data/examples/jbehave/features/support/env.rb +7 -0
- data/examples/jbehave/features/trading.feature +28 -0
- data/examples/jbehave/pom.xml +53 -0
- data/examples/jbehave/src/main/java/cukes/jbehave/examples/trader/converters/TraderConverter.java +32 -0
- data/examples/jbehave/src/main/java/cukes/jbehave/examples/trader/model/Stock.java +42 -0
- data/examples/jbehave/src/main/java/cukes/jbehave/examples/trader/model/Trader.java +29 -0
- data/examples/jbehave/src/main/java/cukes/jbehave/examples/trader/persistence/TraderPersister.java +22 -0
- data/examples/jbehave/src/main/java/cukes/jbehave/examples/trader/scenarios/TraderSteps.java +70 -0
- data/examples/selenium/features/step_definitons/search_steps.rb +13 -0
- data/examples/selenium/features/support/env.rb +19 -0
- data/examples/{calculator_ruby_features → selenium_webrat}/Rakefile +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 +41 -0
- data/examples/self_test/README.textile +4 -1
- data/examples/self_test/Rakefile +6 -0
- data/examples/self_test/features/background/failing_background.feature +11 -0
- data/examples/self_test/features/background/failing_background_after_success.feature +11 -0
- data/examples/self_test/features/background/multiline_args_background.feature +32 -0
- data/examples/self_test/features/background/passing_background.feature +10 -0
- data/examples/self_test/features/background/pending_background.feature +10 -0
- data/examples/self_test/features/background/scenario_outline_failing_background.feature +16 -0
- data/examples/self_test/features/background/scenario_outline_passing_background.feature +16 -0
- data/examples/self_test/features/call_undefined_step_from_step_def.feature +7 -0
- data/examples/self_test/features/failing_expectation.feature +4 -0
- data/examples/self_test/features/lots_of_undefined.feature +8 -0
- data/examples/self_test/features/outline_sample.feature +11 -5
- data/examples/self_test/features/sample.feature +8 -3
- data/examples/self_test/features/step_definitions/sample_steps.rb +55 -4
- data/examples/self_test/features/support/env.rb +1 -0
- data/examples/self_test/features/support/tag_count_formatter.rb +25 -0
- data/examples/sinatra/Rakefile +6 -0
- data/examples/sinatra/app.rb +14 -0
- data/examples/sinatra/features/add.feature +11 -0
- data/examples/sinatra/features/step_definitions/add_steps.rb +15 -0
- data/examples/sinatra/features/support/env.rb +20 -0
- data/examples/sinatra/views/add.erb +5 -0
- data/examples/sinatra/views/layout.erb +8 -0
- data/examples/tickets/Rakefile +13 -8
- data/examples/tickets/cucumber.yml +2 -1
- data/examples/tickets/features/172.feature +28 -0
- data/examples/tickets/features/177/1.feature +29 -0
- data/examples/tickets/features/177/2.feature +21 -0
- data/examples/tickets/features/177/3.feature +18 -0
- data/examples/tickets/features/180.feature +7 -0
- data/examples/tickets/features/236.feature +13 -0
- data/examples/tickets/features/241.feature +13 -0
- data/examples/tickets/features/scenario_outline.feature +6 -1
- data/examples/tickets/features/step_definitons/tickets_steps.rb +41 -4
- data/examples/tickets/features/tickets.feature +5 -1
- data/features/background.feature +221 -0
- data/features/cucumber_cli.feature +263 -97
- data/features/cucumber_cli_diff_disabled.feature +45 -0
- data/features/cucumber_cli_outlines.feature +50 -42
- data/features/custom_formatter.feature +11 -0
- data/features/report_called_undefined_steps.feature +34 -0
- data/features/step_definitions/cucumber_steps.rb +6 -3
- data/features/step_definitions/extra_steps.rb +1 -1
- data/features/support/env.rb +3 -2
- data/gem_tasks/features.rake +1 -1
- data/gem_tasks/flog.rake +1 -1
- data/gem_tasks/gemspec.rake +2 -2
- data/gem_tasks/jar.rake +67 -0
- data/gem_tasks/rspec.rake +2 -0
- data/lib/autotest/cucumber_mixin.rb +18 -23
- data/lib/cucumber.rb +55 -11
- data/lib/cucumber/ast.rb +29 -0
- data/lib/cucumber/ast/background.rb +50 -0
- data/lib/cucumber/ast/comment.rb +26 -0
- data/lib/cucumber/ast/examples.rb +38 -0
- data/lib/cucumber/ast/feature.rb +62 -0
- data/lib/cucumber/ast/feature_element.rb +46 -0
- data/lib/cucumber/ast/features.rb +20 -0
- data/lib/cucumber/ast/outline_table.rb +81 -0
- data/lib/cucumber/ast/py_string.rb +58 -0
- data/lib/cucumber/ast/scenario.rb +64 -0
- data/lib/cucumber/ast/scenario_outline.rb +90 -0
- data/lib/cucumber/ast/step.rb +122 -0
- data/lib/cucumber/ast/step_collection.rb +66 -0
- data/lib/cucumber/ast/step_invocation.rb +110 -0
- data/lib/cucumber/ast/table.rb +318 -0
- data/lib/cucumber/ast/tags.rb +33 -0
- data/lib/cucumber/ast/visitor.rb +125 -0
- data/lib/cucumber/broadcaster.rb +2 -9
- data/lib/cucumber/cli/configuration.rb +364 -0
- data/lib/cucumber/cli/language_help_formatter.rb +59 -0
- data/lib/cucumber/cli/main.rb +109 -0
- data/lib/cucumber/core_ext/exception.rb +41 -8
- data/lib/cucumber/core_ext/instance_exec.rb +54 -0
- data/lib/cucumber/core_ext/proc.rb +29 -65
- data/lib/cucumber/core_ext/string.rb +19 -0
- data/lib/cucumber/formatter.rb +1 -0
- data/lib/cucumber/{formatters → formatter}/ansicolor.rb +13 -16
- data/lib/cucumber/formatter/color_io.rb +23 -0
- data/lib/cucumber/formatter/console.rb +109 -0
- data/lib/cucumber/formatter/cucumber.css +55 -0
- data/lib/cucumber/formatter/cucumber.sass +49 -0
- data/lib/cucumber/formatter/html.rb +133 -0
- data/lib/cucumber/formatter/pretty.rb +179 -0
- data/lib/cucumber/formatter/profile.rb +77 -0
- data/lib/cucumber/formatter/progress.rb +60 -0
- data/lib/cucumber/formatter/rerun.rb +35 -0
- data/lib/cucumber/formatter/unicode.rb +35 -0
- data/lib/cucumber/formatters/unicode.rb +2 -35
- data/lib/cucumber/jbehave.rb +97 -0
- data/lib/cucumber/languages.yml +196 -80
- data/lib/cucumber/parser.rb +43 -0
- data/lib/cucumber/parser/basic.rb +0 -0
- data/lib/cucumber/parser/feature.rb +1487 -0
- data/lib/cucumber/parser/feature.tt +193 -0
- data/lib/cucumber/parser/i18n.tt +31 -0
- data/lib/cucumber/parser/table.rb +402 -0
- data/lib/cucumber/parser/table.tt +59 -0
- data/lib/cucumber/parser/treetop_ext.rb +75 -0
- data/lib/cucumber/platform.rb +2 -17
- data/lib/cucumber/rails/rspec.rb +5 -9
- data/lib/cucumber/rails/world.rb +2 -2
- data/lib/cucumber/rake/task.rb +39 -7
- data/lib/cucumber/step_definition.rb +103 -0
- data/lib/cucumber/step_match.rb +49 -0
- data/lib/cucumber/step_mother.rb +183 -67
- data/lib/cucumber/version.rb +2 -2
- data/lib/cucumber/world.rb +53 -1
- data/rails_generators/cucumber/cucumber_generator.rb +22 -3
- data/rails_generators/cucumber/templates/cucumber +2 -1
- data/rails_generators/cucumber/templates/cucumber.rake +13 -5
- data/rails_generators/cucumber/templates/env.rb +4 -3
- data/rails_generators/cucumber/templates/paths.rb +18 -11
- data/rails_generators/cucumber/templates/webrat_steps.rb +41 -25
- data/rails_generators/feature/feature_generator.rb +4 -0
- data/rails_generators/feature/templates/steps.erb +0 -4
- data/spec/cucumber/ast/background_spec.rb +49 -0
- data/spec/cucumber/ast/feature_factory.rb +63 -0
- data/spec/cucumber/ast/feature_spec.rb +37 -0
- data/spec/cucumber/ast/py_string_spec.rb +47 -0
- data/spec/cucumber/ast/scenario_outline_spec.rb +67 -0
- data/spec/cucumber/ast/scenario_spec.rb +65 -0
- data/spec/cucumber/ast/step_collection_spec.rb +8 -0
- data/spec/cucumber/ast/step_spec.rb +66 -0
- data/spec/cucumber/ast/table_spec.rb +149 -0
- data/spec/cucumber/ast/tags_spec.rb +19 -0
- data/spec/cucumber/broadcaster_spec.rb +6 -18
- data/spec/cucumber/cli/configuration_spec.rb +275 -0
- data/spec/cucumber/cli/main_spec.rb +203 -0
- data/spec/cucumber/core_ext/proc_spec.rb +27 -35
- data/spec/cucumber/core_ext/string_spec.rb +8 -0
- data/spec/cucumber/{formatters → formatter}/ansicolor_spec.rb +2 -2
- data/spec/cucumber/formatter/color_io_spec.rb +26 -0
- data/spec/cucumber/formatter/html/cucumber.css +37 -0
- data/spec/cucumber/formatter/html/cucumber.js +13 -0
- data/spec/cucumber/formatter/html/index.html +45 -0
- data/spec/cucumber/formatter/html/jquery-1.3.min.js +19 -0
- data/spec/cucumber/formatter/html/jquery.uitableedit.js +100 -0
- data/spec/cucumber/formatters/profile_formatter_spec.rb +17 -16
- data/spec/cucumber/parser/feature_parser_spec.rb +282 -0
- data/spec/cucumber/parser/table_parser_spec.rb +48 -0
- data/spec/cucumber/step_definition_spec.rb +81 -0
- data/spec/cucumber/step_mother_spec.rb +50 -51
- data/spec/cucumber/treetop_parser/empty_feature.feature +1 -1
- data/spec/cucumber/treetop_parser/multiple_tables.feature +6 -8
- data/spec/cucumber/treetop_parser/scenario_outline.feature +1 -1
- data/spec/cucumber/treetop_parser/spaces.feature +3 -1
- data/spec/cucumber/treetop_parser/with_comments.feature +1 -1
- data/spec/cucumber/treetop_parser/with_tags.feature +18 -0
- data/spec/cucumber/world/pending_spec.rb +13 -12
- data/spec/spec_helper.rb +1 -1
- metadata +165 -88
- data/examples/calculator_ruby_features/features/addition.rb +0 -39
- data/examples/calculator_ruby_features/features/step_definitons/calculator_steps.rb +0 -43
- data/examples/i18n/ja/README.txt +0 -5
- data/examples/selenium/features/step_definitons/stories_steps.rb +0 -40
- data/gem_tasks/treetop.rake +0 -41
- data/lib/cucumber/cli.rb +0 -356
- data/lib/cucumber/executor.rb +0 -205
- data/lib/cucumber/formatters.rb +0 -1
- data/lib/cucumber/formatters/autotest_formatter.rb +0 -23
- data/lib/cucumber/formatters/cucumber.css +0 -132
- data/lib/cucumber/formatters/cucumber.js +0 -11
- data/lib/cucumber/formatters/html_formatter.rb +0 -151
- data/lib/cucumber/formatters/jquery.js +0 -32
- data/lib/cucumber/formatters/pretty_formatter.rb +0 -285
- data/lib/cucumber/formatters/profile_formatter.rb +0 -92
- data/lib/cucumber/formatters/progress_formatter.rb +0 -61
- data/lib/cucumber/model.rb +0 -1
- data/lib/cucumber/model/table.rb +0 -32
- data/lib/cucumber/step_methods.rb +0 -49
- data/lib/cucumber/tree.rb +0 -16
- data/lib/cucumber/tree/feature.rb +0 -105
- data/lib/cucumber/tree/features.rb +0 -21
- data/lib/cucumber/tree/given_scenario.rb +0 -13
- data/lib/cucumber/tree/scenario.rb +0 -240
- data/lib/cucumber/tree/step.rb +0 -173
- data/lib/cucumber/tree/table.rb +0 -26
- data/lib/cucumber/tree/top_down_visitor.rb +0 -23
- data/lib/cucumber/treetop_parser/feature.treetop.erb +0 -254
- data/lib/cucumber/treetop_parser/feature_ar.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_cy.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_da.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_de.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_en-lol.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_en-tx.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_en.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_es.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_et.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_fr.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_id.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_it.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_ja.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_ko.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_lt.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_nl.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_no.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_parser.rb +0 -36
- data/lib/cucumber/treetop_parser/feature_pl.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_pt.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_ro.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_ro2.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_ru.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_se.rb +0 -1951
- data/lib/cucumber/treetop_parser/feature_zh-CN.rb +0 -1951
- data/lib/cucumber/world/pending.rb +0 -22
- data/script/console +0 -10
- data/script/console.cmd +0 -1
- data/script/destroy +0 -14
- data/script/destroy.cmd +0 -1
- data/script/generate +0 -14
- data/script/generate.cmd +0 -1
- data/script/txt2html +0 -74
- data/script/txt2html.cmd +0 -1
- data/setup.rb +0 -1585
- data/spec/cucumber/cli_spec.rb +0 -521
- data/spec/cucumber/executor_spec.rb +0 -382
- data/spec/cucumber/formatters/autotest_formatter_spec.rb +0 -26
- data/spec/cucumber/formatters/features.html +0 -269
- data/spec/cucumber/formatters/html_formatter_spec.rb +0 -104
- data/spec/cucumber/formatters/pretty_formatter_spec.rb +0 -410
- data/spec/cucumber/formatters/progress_formatter_spec.rb +0 -81
- data/spec/cucumber/model/table_spec.rb +0 -32
- data/spec/cucumber/tree/feature_spec.rb +0 -122
- data/spec/cucumber/tree/row_scenario_outline_spec.rb +0 -73
- data/spec/cucumber/tree/row_scenario_spec.rb +0 -55
- data/spec/cucumber/tree/row_step_outline_spec.rb +0 -38
- data/spec/cucumber/tree/scenario_outline_spec.rb +0 -50
- data/spec/cucumber/tree/scenario_spec.rb +0 -134
- data/spec/cucumber/tree/step_outline_spec.rb +0 -17
- data/spec/cucumber/tree/step_spec.rb +0 -59
- data/spec/cucumber/treetop_parser/feature_parser_spec.rb +0 -120
@@ -8,13 +8,12 @@ Feature: Addition
|
|
8
8
|
And I have entered 70 into the calculator
|
9
9
|
When I press add
|
10
10
|
Then the result should be 120 on the screen
|
11
|
-
And the result class should be Fixnum
|
12
11
|
|
13
12
|
More Examples:
|
14
|
-
| input_1 | input_2 | button | output |
|
15
|
-
| 20 | 30 | add | 50 |
|
16
|
-
| 2 | 5 | add | 7 |
|
17
|
-
| 0 | 40 | add | 40 |
|
13
|
+
| input_1 | input_2 | button | output |
|
14
|
+
| 20 | 30 | add | 50 |
|
15
|
+
| 2 | 5 | add | 7 |
|
16
|
+
| 0 | 40 | add | 40 |
|
18
17
|
|
19
18
|
Scenario: Add three numbers
|
20
19
|
Given I have entered 25 into the calculator
|
@@ -22,8 +21,7 @@ Feature: Addition
|
|
22
21
|
And I have entered 13 into the calculator
|
23
22
|
When I press add
|
24
23
|
Then the result should be 50 on the screen
|
25
|
-
And the result class should be Fixnum
|
26
24
|
|
27
25
|
More Examples:
|
28
|
-
| input_1 | input_2 | input_3 | button | output |
|
29
|
-
| 1 | 2 | 3 | add | 6 |
|
26
|
+
| input_1 | input_2 | input_3 | button | output |
|
27
|
+
| 1 | 2 | 3 | add | 6 |
|
@@ -4,7 +4,7 @@ Scenario Outline: Joe fails to login
|
|
4
4
|
Given I login as Joe without the '<Privilege>' privilege
|
5
5
|
When I <Request Method> /admin/<Path>
|
6
6
|
Then I should see the text "Sorry Joe, you're not allowed to see <Path>"
|
7
|
-
|
7
|
+
|
8
8
|
Examples:
|
9
9
|
| Privilege | Request Method | Path |
|
10
10
|
| user | GET | reports |
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Uhm hai
|
2
|
+
# nai
|
3
|
+
@nice @hallo
|
4
|
+
Feature: With tags
|
5
|
+
|
6
|
+
@one @two
|
7
|
+
Scenario: Complete scenario
|
8
|
+
Given a valid API key
|
9
|
+
|
10
|
+
@three
|
11
|
+
Scenario: Will write at somepoint
|
12
|
+
|
13
|
+
@four @$$
|
14
|
+
Scenario: Another Complete scenario
|
15
|
+
Given an invalid API key
|
16
|
+
|
17
|
+
@six
|
18
|
+
Scenario Outline: Jalla
|
@@ -1,44 +1,45 @@
|
|
1
1
|
require File.dirname(__FILE__) + '/../../spec_helper'
|
2
2
|
|
3
3
|
module Cucumber
|
4
|
-
module
|
5
|
-
describe Pending do
|
4
|
+
module StepMother
|
5
|
+
describe 'Pending' do
|
6
6
|
|
7
7
|
before(:each) do
|
8
|
-
@
|
9
|
-
@
|
8
|
+
@step_mom = Object.new
|
9
|
+
@step_mom.extend(StepMother)
|
10
|
+
@world = @step_mom.__send__(:new_world!)
|
10
11
|
end
|
11
12
|
|
12
|
-
it 'should raise a
|
13
|
+
it 'should raise a Pending if no block is supplied' do
|
13
14
|
lambda {
|
14
15
|
@world.pending "TODO"
|
15
|
-
}.should raise_error(
|
16
|
+
}.should raise_error(Pending, /TODO/)
|
16
17
|
end
|
17
18
|
|
18
|
-
it 'should raise a
|
19
|
+
it 'should raise a Pending if a supplied block fails as expected' do
|
19
20
|
lambda {
|
20
21
|
@world.pending "TODO" do
|
21
22
|
raise "oops"
|
22
23
|
end
|
23
|
-
}.should raise_error(
|
24
|
+
}.should raise_error(Pending, /TODO/)
|
24
25
|
end
|
25
26
|
|
26
|
-
it 'should raise a
|
27
|
+
it 'should raise a Pending if a supplied block fails as expected with a mock' do
|
27
28
|
lambda {
|
28
29
|
@world.pending "TODO" do
|
29
30
|
m = mock('thing')
|
30
31
|
m.should_receive(:foo)
|
31
32
|
m.rspec_verify
|
32
33
|
end
|
33
|
-
}.should raise_error(
|
34
|
+
}.should raise_error(Pending, /TODO/)
|
34
35
|
end
|
35
36
|
|
36
|
-
it 'should raise a
|
37
|
+
it 'should raise a Pending if a supplied block starts working' do
|
37
38
|
lambda {
|
38
39
|
@world.pending "TODO" do
|
39
40
|
# success!
|
40
41
|
end
|
41
|
-
}.should raise_error(
|
42
|
+
}.should raise_error(Pending, /TODO/)
|
42
43
|
end
|
43
44
|
|
44
45
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -6,8 +6,8 @@ ENV['CUCUMBER_COLORS']=nil
|
|
6
6
|
$KCODE='u'
|
7
7
|
$:.unshift(File.dirname(__FILE__) + '/../lib')
|
8
8
|
require 'cucumber'
|
9
|
-
require 'cucumber/treetop_parser/feature_en'
|
10
9
|
Cucumber.load_language('en')
|
10
|
+
$:.unshift(File.dirname(__FILE__))
|
11
11
|
|
12
12
|
::Term::ANSIColor.coloring = true
|
13
13
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- "Aslak Helles\xC3\xB8y"
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-03-18 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -32,6 +32,16 @@ dependencies:
|
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 1.2.4
|
34
34
|
version:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: polyglot
|
37
|
+
type: :runtime
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 0.2.4
|
44
|
+
version:
|
35
45
|
- !ruby/object:Gem::Dependency
|
36
46
|
name: diff-lcs
|
37
47
|
type: :runtime
|
@@ -42,6 +52,16 @@ dependencies:
|
|
42
52
|
- !ruby/object:Gem::Version
|
43
53
|
version: 1.1.2
|
44
54
|
version:
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: builder
|
57
|
+
type: :runtime
|
58
|
+
version_requirement:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 2.1.2
|
64
|
+
version:
|
45
65
|
- !ruby/object:Gem::Dependency
|
46
66
|
name: hoe
|
47
67
|
type: :development
|
@@ -50,7 +70,7 @@ dependencies:
|
|
50
70
|
requirements:
|
51
71
|
- - ">="
|
52
72
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.8.
|
73
|
+
version: 1.8.3
|
54
74
|
version:
|
55
75
|
description: Executable Feature scenarios
|
56
76
|
email:
|
@@ -64,7 +84,6 @@ extra_rdoc_files:
|
|
64
84
|
- License.txt
|
65
85
|
- Manifest.txt
|
66
86
|
- README.txt
|
67
|
-
- examples/i18n/ja/README.txt
|
68
87
|
files:
|
69
88
|
- History.txt
|
70
89
|
- License.txt
|
@@ -75,9 +94,6 @@ files:
|
|
75
94
|
- config/hoe.rb
|
76
95
|
- config/requirements.rb
|
77
96
|
- cucumber.yml
|
78
|
-
- examples/calculator_ruby_features/Rakefile
|
79
|
-
- examples/calculator_ruby_features/features/addition.rb
|
80
|
-
- examples/calculator_ruby_features/features/step_definitons/calculator_steps.rb
|
81
97
|
- examples/cs/README.textile
|
82
98
|
- examples/cs/Rakefile
|
83
99
|
- examples/cs/compile.bat
|
@@ -101,6 +117,12 @@ files:
|
|
101
117
|
- examples/i18n/de/features/division.feature
|
102
118
|
- examples/i18n/de/features/step_definitons/calculator_steps.rb
|
103
119
|
- examples/i18n/de/lib/calculator.rb
|
120
|
+
- examples/i18n/en-lol/Rakefile
|
121
|
+
- examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb
|
122
|
+
- examples/i18n/en-lol/features/stuffing.feature
|
123
|
+
- examples/i18n/en-lol/features/support/env.rb
|
124
|
+
- examples/i18n/en-lol/lib/basket.rb
|
125
|
+
- examples/i18n/en-lol/lib/belly.rb
|
104
126
|
- examples/i18n/en/Rakefile
|
105
127
|
- examples/i18n/en/features/addition.feature
|
106
128
|
- examples/i18n/en/features/division.feature
|
@@ -111,9 +133,15 @@ files:
|
|
111
133
|
- examples/i18n/es/features/step_definitons/calculador_steps.rb
|
112
134
|
- examples/i18n/es/lib/calculador.rb
|
113
135
|
- examples/i18n/et/Rakefile
|
136
|
+
- examples/i18n/et/features/jagamine.feature
|
114
137
|
- examples/i18n/et/features/liitmine.feature
|
115
138
|
- examples/i18n/et/features/step_definitions/kalkulaator_steps.rb
|
116
139
|
- examples/i18n/et/lib/kalkulaator.rb
|
140
|
+
- examples/i18n/fi/Rakefile
|
141
|
+
- examples/i18n/fi/features/jakolasku.feature
|
142
|
+
- examples/i18n/fi/features/step_definitons/laskin_steps.rb
|
143
|
+
- examples/i18n/fi/features/yhteenlasku.feature
|
144
|
+
- examples/i18n/fi/lib/laskin.rb
|
117
145
|
- examples/i18n/fr/Rakefile
|
118
146
|
- examples/i18n/fr/features/addition.feature
|
119
147
|
- examples/i18n/fr/features/step_definitions/calculatrice_steps.rb
|
@@ -127,7 +155,6 @@ files:
|
|
127
155
|
- examples/i18n/it/features/somma.feature
|
128
156
|
- examples/i18n/it/features/step_definitons/calcolatrice_steps.rb
|
129
157
|
- examples/i18n/it/lib/calcolatrice.rb
|
130
|
-
- examples/i18n/ja/README.txt
|
131
158
|
- examples/i18n/ja/Rakefile
|
132
159
|
- examples/i18n/ja/features/addition.feature
|
133
160
|
- examples/i18n/ja/features/division.feature
|
@@ -146,6 +173,7 @@ files:
|
|
146
173
|
- examples/i18n/no/Rakefile
|
147
174
|
- examples/i18n/no/features/step_definitons/kalkulator_steps.rb
|
148
175
|
- examples/i18n/no/features/summering.feature
|
176
|
+
- examples/i18n/no/features/support/env.rb
|
149
177
|
- examples/i18n/no/lib/kalkulator.rb
|
150
178
|
- examples/i18n/pt/Rakefile
|
151
179
|
- examples/i18n/pt/features/adicao.feature
|
@@ -155,6 +183,14 @@ files:
|
|
155
183
|
- examples/i18n/ro/features/step_definitons/calculator_steps.rb
|
156
184
|
- examples/i18n/ro/features/suma.feature
|
157
185
|
- examples/i18n/ro/lib/calculator.rb
|
186
|
+
- examples/i18n/ru/Rakefile
|
187
|
+
- examples/i18n/ru/features/addition.feature
|
188
|
+
- examples/i18n/ru/features/consecutive_calculations.feature
|
189
|
+
- examples/i18n/ru/features/division.feature
|
190
|
+
- examples/i18n/ru/features/step_definitons/calculator_steps.rb
|
191
|
+
- examples/i18n/ru/features/support/env.rb
|
192
|
+
- examples/i18n/ru/features/support/world.rb
|
193
|
+
- examples/i18n/ru/lib/calculator.rb
|
158
194
|
- examples/i18n/se/Rakefile
|
159
195
|
- examples/i18n/se/features/step_definitons/kalkulator_steps.rb
|
160
196
|
- examples/i18n/se/features/summering.feature
|
@@ -163,24 +199,71 @@ files:
|
|
163
199
|
- examples/i18n/zh-CN/features/addition.feature
|
164
200
|
- examples/i18n/zh-CN/features/step_definitons/calculator_steps.rb
|
165
201
|
- examples/i18n/zh-CN/lib/calculator.rb
|
202
|
+
- examples/i18n/zh-TW/Rakefile
|
203
|
+
- examples/i18n/zh-TW/features/addition.feature
|
204
|
+
- examples/i18n/zh-TW/features/division.feature
|
205
|
+
- examples/i18n/zh-TW/features/step_definitons/calculator_steps.rb
|
206
|
+
- examples/i18n/zh-TW/lib/calculator.rb
|
166
207
|
- examples/java/README.textile
|
167
208
|
- examples/java/Rakefile
|
168
209
|
- examples/java/features/hello.feature
|
169
210
|
- examples/java/features/step_definitons/hello_steps.rb
|
170
211
|
- examples/java/features/step_definitons/tree_steps.rb
|
171
212
|
- examples/java/features/tree.feature
|
213
|
+
- examples/java/src/cucumber/demo/Hello.java
|
214
|
+
- examples/jbehave/README.textile
|
215
|
+
- examples/jbehave/features/support/env.rb
|
216
|
+
- examples/jbehave/features/trading.feature
|
217
|
+
- examples/jbehave/pom.xml
|
218
|
+
- examples/jbehave/src/main/java/cukes/jbehave/examples/trader/converters/TraderConverter.java
|
219
|
+
- examples/jbehave/src/main/java/cukes/jbehave/examples/trader/model/Stock.java
|
220
|
+
- examples/jbehave/src/main/java/cukes/jbehave/examples/trader/model/Trader.java
|
221
|
+
- examples/jbehave/src/main/java/cukes/jbehave/examples/trader/persistence/TraderPersister.java
|
222
|
+
- examples/jbehave/src/main/java/cukes/jbehave/examples/trader/scenarios/TraderSteps.java
|
172
223
|
- examples/selenium/Rakefile
|
173
224
|
- examples/selenium/features/search.feature
|
174
|
-
- examples/selenium/features/step_definitons/
|
225
|
+
- examples/selenium/features/step_definitons/search_steps.rb
|
226
|
+
- examples/selenium/features/support/env.rb
|
227
|
+
- examples/selenium_webrat/Rakefile
|
228
|
+
- examples/selenium_webrat/features/search.feature
|
229
|
+
- examples/selenium_webrat/features/step_definitons/search_steps.rb
|
230
|
+
- examples/selenium_webrat/features/support/env.rb
|
175
231
|
- examples/self_test/README.textile
|
232
|
+
- examples/self_test/Rakefile
|
233
|
+
- examples/self_test/features/background/failing_background.feature
|
234
|
+
- examples/self_test/features/background/failing_background_after_success.feature
|
235
|
+
- examples/self_test/features/background/multiline_args_background.feature
|
236
|
+
- examples/self_test/features/background/passing_background.feature
|
237
|
+
- examples/self_test/features/background/pending_background.feature
|
238
|
+
- examples/self_test/features/background/scenario_outline_failing_background.feature
|
239
|
+
- examples/self_test/features/background/scenario_outline_passing_background.feature
|
240
|
+
- examples/self_test/features/call_undefined_step_from_step_def.feature
|
241
|
+
- examples/self_test/features/failing_expectation.feature
|
242
|
+
- examples/self_test/features/lots_of_undefined.feature
|
176
243
|
- examples/self_test/features/outline_sample.feature
|
177
244
|
- examples/self_test/features/sample.feature
|
178
245
|
- examples/self_test/features/step_definitions/sample_steps.rb
|
246
|
+
- examples/self_test/features/support/env.rb
|
247
|
+
- examples/self_test/features/support/tag_count_formatter.rb
|
248
|
+
- examples/sinatra/Rakefile
|
249
|
+
- examples/sinatra/app.rb
|
250
|
+
- examples/sinatra/features/add.feature
|
251
|
+
- examples/sinatra/features/step_definitions/add_steps.rb
|
252
|
+
- examples/sinatra/features/support/env.rb
|
253
|
+
- examples/sinatra/views/add.erb
|
254
|
+
- examples/sinatra/views/layout.erb
|
179
255
|
- examples/test_unit/Rakefile
|
180
256
|
- examples/test_unit/features/step_definitions/test_unit_steps.rb
|
181
257
|
- examples/test_unit/features/test_unit.feature
|
182
258
|
- examples/tickets/Rakefile
|
183
259
|
- examples/tickets/cucumber.yml
|
260
|
+
- examples/tickets/features/172.feature
|
261
|
+
- examples/tickets/features/177/1.feature
|
262
|
+
- examples/tickets/features/177/2.feature
|
263
|
+
- examples/tickets/features/177/3.feature
|
264
|
+
- examples/tickets/features/180.feature
|
265
|
+
- examples/tickets/features/236.feature
|
266
|
+
- examples/tickets/features/241.feature
|
184
267
|
- examples/tickets/features/lib/eatting_machine.rb
|
185
268
|
- examples/tickets/features/lib/pantry.rb
|
186
269
|
- examples/tickets/features/scenario_outline.feature
|
@@ -192,8 +275,12 @@ files:
|
|
192
275
|
- examples/watir/features/search.feature
|
193
276
|
- examples/watir/features/step_definitons/search_steps.rb
|
194
277
|
- examples/watir/features/support/env.rb
|
278
|
+
- features/background.feature
|
195
279
|
- features/cucumber_cli.feature
|
280
|
+
- features/cucumber_cli_diff_disabled.feature
|
196
281
|
- features/cucumber_cli_outlines.feature
|
282
|
+
- features/custom_formatter.feature
|
283
|
+
- features/report_called_undefined_steps.feature
|
197
284
|
- features/step_definitions/cucumber_steps.rb
|
198
285
|
- features/step_definitions/extra_steps.rb
|
199
286
|
- features/support/env.rb
|
@@ -203,8 +290,8 @@ files:
|
|
203
290
|
- gem_tasks/fix_cr_lf.rake
|
204
291
|
- gem_tasks/flog.rake
|
205
292
|
- gem_tasks/gemspec.rake
|
293
|
+
- gem_tasks/jar.rake
|
206
294
|
- gem_tasks/rspec.rake
|
207
|
-
- gem_tasks/treetop.rake
|
208
295
|
- gem_tasks/yard.rake
|
209
296
|
- lib/autotest/cucumber.rb
|
210
297
|
- lib/autotest/cucumber_mixin.rb
|
@@ -213,69 +300,63 @@ files:
|
|
213
300
|
- lib/autotest/cucumber_rspec.rb
|
214
301
|
- lib/autotest/discover.rb
|
215
302
|
- lib/cucumber.rb
|
303
|
+
- lib/cucumber/ast.rb
|
304
|
+
- lib/cucumber/ast/background.rb
|
305
|
+
- lib/cucumber/ast/comment.rb
|
306
|
+
- lib/cucumber/ast/examples.rb
|
307
|
+
- lib/cucumber/ast/feature.rb
|
308
|
+
- lib/cucumber/ast/feature_element.rb
|
309
|
+
- lib/cucumber/ast/features.rb
|
310
|
+
- lib/cucumber/ast/outline_table.rb
|
311
|
+
- lib/cucumber/ast/py_string.rb
|
312
|
+
- lib/cucumber/ast/scenario.rb
|
313
|
+
- lib/cucumber/ast/scenario_outline.rb
|
314
|
+
- lib/cucumber/ast/step.rb
|
315
|
+
- lib/cucumber/ast/step_collection.rb
|
316
|
+
- lib/cucumber/ast/step_invocation.rb
|
317
|
+
- lib/cucumber/ast/table.rb
|
318
|
+
- lib/cucumber/ast/tags.rb
|
319
|
+
- lib/cucumber/ast/visitor.rb
|
216
320
|
- lib/cucumber/broadcaster.rb
|
217
|
-
- lib/cucumber/cli.rb
|
321
|
+
- lib/cucumber/cli/configuration.rb
|
322
|
+
- lib/cucumber/cli/language_help_formatter.rb
|
323
|
+
- lib/cucumber/cli/main.rb
|
218
324
|
- lib/cucumber/core_ext/exception.rb
|
325
|
+
- lib/cucumber/core_ext/instance_exec.rb
|
219
326
|
- lib/cucumber/core_ext/proc.rb
|
220
327
|
- lib/cucumber/core_ext/string.rb
|
221
|
-
- lib/cucumber/
|
222
|
-
- lib/cucumber/
|
223
|
-
- lib/cucumber/
|
224
|
-
- lib/cucumber/
|
225
|
-
- lib/cucumber/
|
226
|
-
- lib/cucumber/
|
227
|
-
- lib/cucumber/
|
228
|
-
- lib/cucumber/
|
229
|
-
- lib/cucumber/
|
230
|
-
- lib/cucumber/
|
231
|
-
- lib/cucumber/
|
328
|
+
- lib/cucumber/formatter.rb
|
329
|
+
- lib/cucumber/formatter/ansicolor.rb
|
330
|
+
- lib/cucumber/formatter/color_io.rb
|
331
|
+
- lib/cucumber/formatter/console.rb
|
332
|
+
- lib/cucumber/formatter/cucumber.css
|
333
|
+
- lib/cucumber/formatter/cucumber.sass
|
334
|
+
- lib/cucumber/formatter/html.rb
|
335
|
+
- lib/cucumber/formatter/pretty.rb
|
336
|
+
- lib/cucumber/formatter/profile.rb
|
337
|
+
- lib/cucumber/formatter/progress.rb
|
338
|
+
- lib/cucumber/formatter/rerun.rb
|
339
|
+
- lib/cucumber/formatter/unicode.rb
|
232
340
|
- lib/cucumber/formatters/unicode.rb
|
341
|
+
- lib/cucumber/jbehave.rb
|
233
342
|
- lib/cucumber/languages.yml
|
234
|
-
- lib/cucumber/
|
235
|
-
- lib/cucumber/
|
343
|
+
- lib/cucumber/parser.rb
|
344
|
+
- lib/cucumber/parser/basic.rb
|
345
|
+
- lib/cucumber/parser/feature.rb
|
346
|
+
- lib/cucumber/parser/feature.tt
|
347
|
+
- lib/cucumber/parser/i18n.tt
|
348
|
+
- lib/cucumber/parser/table.rb
|
349
|
+
- lib/cucumber/parser/table.tt
|
350
|
+
- lib/cucumber/parser/treetop_ext.rb
|
236
351
|
- lib/cucumber/platform.rb
|
237
352
|
- lib/cucumber/rails/rspec.rb
|
238
353
|
- lib/cucumber/rails/world.rb
|
239
354
|
- lib/cucumber/rake/task.rb
|
240
|
-
- lib/cucumber/
|
355
|
+
- lib/cucumber/step_definition.rb
|
356
|
+
- lib/cucumber/step_match.rb
|
241
357
|
- lib/cucumber/step_mother.rb
|
242
|
-
- lib/cucumber/tree.rb
|
243
|
-
- lib/cucumber/tree/feature.rb
|
244
|
-
- lib/cucumber/tree/features.rb
|
245
|
-
- lib/cucumber/tree/given_scenario.rb
|
246
|
-
- lib/cucumber/tree/scenario.rb
|
247
|
-
- lib/cucumber/tree/step.rb
|
248
|
-
- lib/cucumber/tree/table.rb
|
249
|
-
- lib/cucumber/tree/top_down_visitor.rb
|
250
|
-
- lib/cucumber/treetop_parser/feature.treetop.erb
|
251
|
-
- lib/cucumber/treetop_parser/feature_ar.rb
|
252
|
-
- lib/cucumber/treetop_parser/feature_cy.rb
|
253
|
-
- lib/cucumber/treetop_parser/feature_da.rb
|
254
|
-
- lib/cucumber/treetop_parser/feature_de.rb
|
255
|
-
- lib/cucumber/treetop_parser/feature_en-lol.rb
|
256
|
-
- lib/cucumber/treetop_parser/feature_en-tx.rb
|
257
|
-
- lib/cucumber/treetop_parser/feature_en.rb
|
258
|
-
- lib/cucumber/treetop_parser/feature_es.rb
|
259
|
-
- lib/cucumber/treetop_parser/feature_et.rb
|
260
|
-
- lib/cucumber/treetop_parser/feature_fr.rb
|
261
|
-
- lib/cucumber/treetop_parser/feature_id.rb
|
262
|
-
- lib/cucumber/treetop_parser/feature_it.rb
|
263
|
-
- lib/cucumber/treetop_parser/feature_ja.rb
|
264
|
-
- lib/cucumber/treetop_parser/feature_ko.rb
|
265
|
-
- lib/cucumber/treetop_parser/feature_lt.rb
|
266
|
-
- lib/cucumber/treetop_parser/feature_nl.rb
|
267
|
-
- lib/cucumber/treetop_parser/feature_no.rb
|
268
|
-
- lib/cucumber/treetop_parser/feature_parser.rb
|
269
|
-
- lib/cucumber/treetop_parser/feature_pl.rb
|
270
|
-
- lib/cucumber/treetop_parser/feature_pt.rb
|
271
|
-
- lib/cucumber/treetop_parser/feature_ro.rb
|
272
|
-
- lib/cucumber/treetop_parser/feature_ro2.rb
|
273
|
-
- lib/cucumber/treetop_parser/feature_ru.rb
|
274
|
-
- lib/cucumber/treetop_parser/feature_se.rb
|
275
|
-
- lib/cucumber/treetop_parser/feature_zh-CN.rb
|
276
358
|
- lib/cucumber/version.rb
|
277
359
|
- lib/cucumber/world.rb
|
278
|
-
- lib/cucumber/world/pending.rb
|
279
360
|
- rails_generators/cucumber/USAGE
|
280
361
|
- rails_generators/cucumber/cucumber_generator.rb
|
281
362
|
- rails_generators/cucumber/templates/cucumber
|
@@ -287,45 +368,40 @@ files:
|
|
287
368
|
- rails_generators/feature/feature_generator.rb
|
288
369
|
- rails_generators/feature/templates/feature.erb
|
289
370
|
- rails_generators/feature/templates/steps.erb
|
290
|
-
-
|
291
|
-
-
|
292
|
-
-
|
293
|
-
-
|
294
|
-
-
|
295
|
-
-
|
296
|
-
-
|
297
|
-
-
|
298
|
-
-
|
371
|
+
- spec/cucumber/ast/background_spec.rb
|
372
|
+
- spec/cucumber/ast/feature_factory.rb
|
373
|
+
- spec/cucumber/ast/feature_spec.rb
|
374
|
+
- spec/cucumber/ast/py_string_spec.rb
|
375
|
+
- spec/cucumber/ast/scenario_outline_spec.rb
|
376
|
+
- spec/cucumber/ast/scenario_spec.rb
|
377
|
+
- spec/cucumber/ast/step_collection_spec.rb
|
378
|
+
- spec/cucumber/ast/step_spec.rb
|
379
|
+
- spec/cucumber/ast/table_spec.rb
|
380
|
+
- spec/cucumber/ast/tags_spec.rb
|
299
381
|
- spec/cucumber/broadcaster_spec.rb
|
300
|
-
- spec/cucumber/
|
382
|
+
- spec/cucumber/cli/configuration_spec.rb
|
383
|
+
- spec/cucumber/cli/main_spec.rb
|
301
384
|
- spec/cucumber/core_ext/proc_spec.rb
|
302
385
|
- spec/cucumber/core_ext/string_spec.rb
|
303
|
-
- spec/cucumber/
|
304
|
-
- spec/cucumber/
|
305
|
-
- spec/cucumber/
|
306
|
-
- spec/cucumber/
|
307
|
-
- spec/cucumber/
|
308
|
-
- spec/cucumber/
|
386
|
+
- spec/cucumber/formatter/ansicolor_spec.rb
|
387
|
+
- spec/cucumber/formatter/color_io_spec.rb
|
388
|
+
- spec/cucumber/formatter/html/cucumber.css
|
389
|
+
- spec/cucumber/formatter/html/cucumber.js
|
390
|
+
- spec/cucumber/formatter/html/index.html
|
391
|
+
- spec/cucumber/formatter/html/jquery-1.3.min.js
|
392
|
+
- spec/cucumber/formatter/html/jquery.uitableedit.js
|
309
393
|
- spec/cucumber/formatters/profile_formatter_spec.rb
|
310
|
-
- spec/cucumber/
|
311
|
-
- spec/cucumber/
|
394
|
+
- spec/cucumber/parser/feature_parser_spec.rb
|
395
|
+
- spec/cucumber/parser/table_parser_spec.rb
|
312
396
|
- spec/cucumber/rails/stubs/mini_rails.rb
|
313
397
|
- spec/cucumber/rails/stubs/test_help.rb
|
314
398
|
- spec/cucumber/rails/world_spec.rb
|
315
399
|
- spec/cucumber/sell_cucumbers.feature
|
400
|
+
- spec/cucumber/step_definition_spec.rb
|
316
401
|
- spec/cucumber/step_mother_spec.rb
|
317
|
-
- spec/cucumber/tree/feature_spec.rb
|
318
|
-
- spec/cucumber/tree/row_scenario_outline_spec.rb
|
319
|
-
- spec/cucumber/tree/row_scenario_spec.rb
|
320
|
-
- spec/cucumber/tree/row_step_outline_spec.rb
|
321
|
-
- spec/cucumber/tree/scenario_outline_spec.rb
|
322
|
-
- spec/cucumber/tree/scenario_spec.rb
|
323
|
-
- spec/cucumber/tree/step_outline_spec.rb
|
324
|
-
- spec/cucumber/tree/step_spec.rb
|
325
402
|
- spec/cucumber/treetop_parser/empty_feature.feature
|
326
403
|
- spec/cucumber/treetop_parser/empty_scenario.feature
|
327
404
|
- spec/cucumber/treetop_parser/empty_scenario_outline.feature
|
328
|
-
- spec/cucumber/treetop_parser/feature_parser_spec.rb
|
329
405
|
- spec/cucumber/treetop_parser/fit_scenario.feature
|
330
406
|
- spec/cucumber/treetop_parser/given_scenario.feature
|
331
407
|
- spec/cucumber/treetop_parser/invalid_scenario_outlines.feature
|
@@ -335,11 +411,12 @@ files:
|
|
335
411
|
- spec/cucumber/treetop_parser/spaces.feature
|
336
412
|
- spec/cucumber/treetop_parser/test_dos.feature
|
337
413
|
- spec/cucumber/treetop_parser/with_comments.feature
|
414
|
+
- spec/cucumber/treetop_parser/with_tags.feature
|
338
415
|
- spec/cucumber/world/pending_spec.rb
|
339
416
|
- spec/spec.opts
|
340
417
|
- spec/spec_helper.rb
|
341
418
|
has_rdoc: true
|
342
|
-
homepage: http://
|
419
|
+
homepage: http://cukes.info
|
343
420
|
post_install_message:
|
344
421
|
rdoc_options:
|
345
422
|
- --main
|