casecumber 1.0.2.1 → 1.2.1.cb2
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc +1 -1
- data/.travis.yml +13 -6
- data/Gemfile +2 -0
- data/History.md +139 -0
- data/LICENSE +1 -1
- data/README.md +19 -4
- data/cucumber.gemspec +16 -29
- data/cucumber.yml +3 -3
- data/examples/i18n/README.textile +1 -16
- data/features/.cucumber/stepdefs.json +612 -0
- data/features/backtraces.feature +36 -0
- data/features/doc_strings.feature +73 -0
- data/features/drb_server_integration.feature +63 -0
- data/features/formatter_step_file_colon_line.feature +46 -0
- data/features/json_formatter.feature +137 -137
- data/features/nested_steps.feature +60 -0
- data/features/rerun_formatter.feature +35 -0
- data/features/run_specific_scenarios.feature +47 -0
- data/features/step_definitions/cucumber-features/cucumber_ruby_mappings.rb +32 -3
- data/features/step_definitions/cucumber_steps.rb +15 -0
- data/features/step_definitions/drb_steps.rb +3 -0
- data/features/support/env.rb +4 -0
- data/features/support/feature_factory.rb +50 -0
- data/gem_tasks/cucumber.rake +15 -8
- data/gem_tasks/yard.rake +18 -0
- data/legacy_features/call_steps_from_stepdefs.feature +1 -1
- data/legacy_features/cucumber_cli.feature +0 -7
- data/legacy_features/default_snippets.feature +3 -2
- data/legacy_features/junit_formatter.feature +60 -10
- data/legacy_features/language_help.feature +17 -15
- data/legacy_features/snippets_when_using_star_keyword.feature +3 -2
- data/legacy_features/step_definitions/cucumber_steps.rb +1 -1
- data/legacy_features/support/env.rb +1 -1
- data/legacy_features/wire_protocol.feature +1 -1
- data/lib/cucumber/ast/background.rb +11 -0
- data/lib/cucumber/ast/doc_string.rb +10 -29
- data/lib/cucumber/ast/feature.rb +6 -2
- data/lib/cucumber/ast/feature_element.rb +7 -3
- data/lib/cucumber/ast/multiline_argument.rb +30 -0
- data/lib/cucumber/ast/outline_table.rb +20 -12
- data/lib/cucumber/ast/step.rb +1 -1
- data/lib/cucumber/ast/step_invocation.rb +2 -15
- data/lib/cucumber/ast/table.rb +67 -38
- data/lib/cucumber/ast/tags.rb +7 -7
- data/lib/cucumber/ast/tree_walker.rb +5 -5
- data/lib/cucumber/cli/configuration.rb +4 -0
- data/lib/cucumber/cli/main.rb +1 -0
- data/lib/cucumber/cli/options.rb +29 -10
- data/lib/cucumber/constantize.rb +1 -1
- data/lib/cucumber/core_ext/disable_mini_and_test_unit_autorun.rb +24 -10
- data/lib/cucumber/formatter/ansicolor.rb +8 -13
- data/lib/cucumber/formatter/console.rb +3 -2
- data/lib/cucumber/formatter/cucumber.css +7 -1
- data/lib/cucumber/formatter/gherkin_formatter_adapter.rb +6 -2
- data/lib/cucumber/formatter/html.rb +14 -8
- data/lib/cucumber/formatter/interceptor.rb +62 -0
- data/lib/cucumber/formatter/json.rb +0 -12
- data/lib/cucumber/formatter/junit.rb +31 -15
- data/lib/cucumber/formatter/pretty.rb +3 -3
- data/lib/cucumber/formatter/progress.rb +1 -1
- data/lib/cucumber/formatter/rerun.rb +31 -8
- data/lib/cucumber/formatter/usage.rb +1 -1
- data/lib/cucumber/js_support/js_language.rb +1 -1
- data/lib/cucumber/js_support/js_snippets.rb +1 -1
- data/lib/cucumber/language_support/language_methods.rb +0 -4
- data/lib/cucumber/parser/gherkin_builder.rb +13 -14
- data/lib/cucumber/platform.rb +1 -1
- data/lib/cucumber/py_support/py_language.rb +3 -7
- data/lib/cucumber/rb_support/rb_dsl.rb +15 -8
- data/lib/cucumber/rb_support/rb_language.rb +3 -17
- data/lib/cucumber/rb_support/rb_step_definition.rb +17 -5
- data/lib/cucumber/rb_support/rb_transform.rb +5 -2
- data/lib/cucumber/rb_support/rb_world.rb +9 -5
- data/lib/cucumber/rb_support/regexp_argument_matcher.rb +3 -3
- data/lib/cucumber/runtime/results.rb +2 -2
- data/lib/cucumber/runtime/support_code.rb +14 -19
- data/lib/cucumber/runtime.rb +40 -2
- data/lib/cucumber/step_match.rb +3 -4
- data/lib/cucumber/term/ansicolor.rb +118 -0
- data/lib/cucumber/wire_support/wire_protocol/requests.rb +7 -5
- data/lib/cucumber/wire_support/wire_protocol.rb +0 -1
- data/lib/cucumber.rb +2 -1
- data/spec/cucumber/ast/doc_string_spec.rb +2 -2
- data/spec/cucumber/ast/feature_factory.rb +4 -3
- data/spec/cucumber/ast/scenario_outline_spec.rb +1 -2
- data/spec/cucumber/ast/step_spec.rb +1 -1
- data/spec/cucumber/ast/table_spec.rb +61 -27
- data/spec/cucumber/cli/configuration_spec.rb +12 -6
- data/spec/cucumber/cli/main_spec.rb +2 -2
- data/spec/cucumber/cli/options_spec.rb +9 -3
- data/spec/cucumber/constantize_spec.rb +16 -0
- data/spec/cucumber/formatter/ansicolor_spec.rb +1 -1
- data/spec/cucumber/formatter/html_spec.rb +4 -3
- data/spec/cucumber/formatter/interceptor_spec.rb +111 -0
- data/spec/cucumber/formatter/junit_spec.rb +36 -20
- data/spec/cucumber/formatter/progress_spec.rb +2 -2
- data/spec/cucumber/rb_support/rb_language_spec.rb +5 -5
- data/spec/cucumber/rb_support/rb_step_definition_spec.rb +20 -4
- data/spec/cucumber/rb_support/rb_transform_spec.rb +6 -2
- data/spec/cucumber/rb_support/regexp_argument_matcher_spec.rb +7 -3
- data/spec/cucumber/runtime/results_spec.rb +81 -0
- data/spec/cucumber/step_match_spec.rb +8 -4
- data/spec/spec_helper.rb +15 -1
- metadata +68 -128
- data/.gitignore +0 -26
- data/.gitmodules +0 -3
- data/.yardopts +0 -0
- data/Gemfile.lock +0 -115
- data/examples/i18n/de/.gitignore +0 -1
- data/examples/i18n/en/.gitignore +0 -1
- data/examples/i18n/eo/.gitignore +0 -1
- data/examples/i18n/fi/.gitignore +0 -1
- data/examples/i18n/hu/.gitignore +0 -1
- data/examples/i18n/id/.gitignore +0 -1
- data/examples/i18n/ja/.gitignore +0 -1
- data/examples/i18n/ko/.gitignore +0 -1
- data/examples/i18n/lt/.gitignore +0 -1
- data/examples/i18n/pl/.gitignore +0 -1
- data/examples/i18n/sk/.gitignore +0 -1
- data/examples/i18n/tr/.gitignore +0 -1
- data/examples/i18n/zh-TW/.gitignore +0 -1
- data/examples/python/lib/.gitignore +0 -1
- data/examples/ruby2python/lib/.gitignore +0 -1
- data/examples/watir/.gitignore +0 -2
- data/fixtures/self_test/.gitignore +0 -1
- data/lib/cucumber/formatter/pdf.rb +0 -244
- data/lib/cucumber/step_argument.rb +0 -9
data/.rvmrc
CHANGED
@@ -1 +1 @@
|
|
1
|
-
rvm
|
1
|
+
rvm gemset use cucumber
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/History.md
CHANGED
@@ -1,3 +1,142 @@
|
|
1
|
+
## [v1.2.1](https://github.com/cucumber/cucumber/compare/v1.2.0...v1.2.1)
|
2
|
+
|
3
|
+
### New Features
|
4
|
+
* Updated to gherkin 2.11.0. (Aslak Hellesøy)
|
5
|
+
|
6
|
+
## [v1.2.0](https://github.com/cucumber/cucumber/compare/v1.1.9...v1.2.0)
|
7
|
+
|
8
|
+
### Bugfixes
|
9
|
+
* Fix backtraces in JRuby (#266 Andrew Kiellor)
|
10
|
+
|
11
|
+
### New Features
|
12
|
+
* Extracted the PDF formatter into a separate gem. (#241 Matt Wynne)
|
13
|
+
* Remove dependency on term/ansicolor (#43 Joe Fiorini)
|
14
|
+
* Methods for Step Definitions (#168 Giles Alexander)
|
15
|
+
* Add file:line to step events in formatter API (#181 Roman Chernyatchik)
|
16
|
+
* Collapsible backgrounds in HTML formatter (#182 Niklas H)
|
17
|
+
* Slightly cleaner regexp suggestions (#237 meyering)
|
18
|
+
* Allow for --no-drb command-line option (#252 Chase Stubblefield)
|
19
|
+
* Add misplaced_col option when diffing tables (#212 Steve Richert)
|
20
|
+
* JUnit formatter, classname contains only the feature's name (#193 @litvinok)
|
21
|
+
* Include the output $stderr and $stdout in JUnit formatted XML (#259 R. Tyler Croy)
|
22
|
+
|
23
|
+
## [v1.1.9](https://github.com/cucumber/cucumber/compare/v1.1.8...v1.1.9)
|
24
|
+
|
25
|
+
### Bugfixes
|
26
|
+
* Removed deprecation warning for `source_tag_names`. It's not deprecated anymore. (Aslak Hellesøy)
|
27
|
+
|
28
|
+
## [v1.1.8](https://github.com/cucumber/cucumber/compare/v1.1.7...v1.1.8)
|
29
|
+
|
30
|
+
### Bugfixes
|
31
|
+
* Column mapping dangerously applied twice to the same cell! ([#202](https://github.com/cucumber/cucumber/issues/202), [#208](https://github.com/cucumber/cucumber/pull/208) Brian Dunn)
|
32
|
+
|
33
|
+
### New Features
|
34
|
+
* Don't pollute RbWorld with the AnsiEscapes methods ([#219](https://github.com/cucumber/cucumber/issues/219), [#221](https://github.com/cucumber/cucumber/pull/221) Ben Woosley)
|
35
|
+
|
36
|
+
## [v1.1.7](https://github.com/cucumber/cucumber/compare/v1.1.6...v1.1.7)
|
37
|
+
|
38
|
+
### Bugfixes
|
39
|
+
|
40
|
+
* Finish off backwards compatability fix for Capybara ([#229](https://github.com/cucumber/cucumber/pull/229) Cezary Baginski)
|
41
|
+
|
42
|
+
## [v1.1.6](https://github.com/cucumber/cucumber/compare/v1.1.5...v1.1.6)
|
43
|
+
|
44
|
+
### New features
|
45
|
+
|
46
|
+
* Added `file_colon_line` to `stepdefs.json` (outputted by `--dotcucumber`). ([#214](https://github.com/cucumber/cucumber/pull/214) MOROHASHI Kyosuke)
|
47
|
+
|
48
|
+
### Bugfixes
|
49
|
+
|
50
|
+
* Release 1.1.5 unintentionally broke backwards compatibility in some APIs we hadn't considered were used outside of cucumber.
|
51
|
+
Well, it was, in the popular Capybara browser automation tool, so we added back the API we removed. See the history for details. (Aslak Hellesøy)
|
52
|
+
* After some infantile bickering about a trivial bug that any hipster startup ruby programmer could have circumvented by using a fork with a fix,
|
53
|
+
I finally sucked up to a horde of people and made HTML reports work again (I'm gonna rename them TPS reports). ([#203](https://github.com/cucumber/cucumber/pull/203) Jon Merrifield)
|
54
|
+
|
55
|
+
## [v1.1.5](https://github.com/cucumber/cucumber/compare/v1.1.4...v1.1.5)
|
56
|
+
|
57
|
+
### New Features
|
58
|
+
|
59
|
+
* Upgraded to gherkin 2.8.0 (Aslak Hellesøy)
|
60
|
+
|
61
|
+
### Bugfixes
|
62
|
+
|
63
|
+
* Background fails, but build succeeds ([#205](https://github.com/cucumber/cucumber/issues/205) tcwitte)
|
64
|
+
|
65
|
+
## [v1.1.4](https://github.com/cucumber/cucumber/compare/v1.1.3...v1.1.4)
|
66
|
+
|
67
|
+
### New Features
|
68
|
+
|
69
|
+
* Upgrade to Gherkin 2.7.1 (Aslak Hellesøy)
|
70
|
+
|
71
|
+
## [v1.1.3](https://github.com/cucumber/cucumber/compare/v1.1.2...v1.1.3)
|
72
|
+
|
73
|
+
### New Features
|
74
|
+
|
75
|
+
* Generate stepdef metadata with --dotcucumber. Useful for Cukepatch. (Aslak Hellesøy)
|
76
|
+
* Show class name of exceptions in the HTML formatter ([#159](https://github.com/cucumber/cucumber/pull/159) Jari Bakken)
|
77
|
+
* Deferred table header and column mappings ([#163](https://github.com/cucumber/cucumber/pull/163) Richard Lawrence)
|
78
|
+
|
79
|
+
### Bugfixes
|
80
|
+
|
81
|
+
* Escape exceptions in HTML formatter ([#178](https://github.com/cucumber/cucumber/pull/178) leachdaniel)
|
82
|
+
* Retry when feature_element returns failed ([#172](https://github.com/cucumber/cucumber/pull/172) Charles Finkel)
|
83
|
+
* Rerun formatter output does not include failing scenario outline examples ([#57](https://github.com/cucumber/cucumber/issues/57) Jan Brauer)
|
84
|
+
|
85
|
+
## [v1.1.2](https://github.com/cucumber/cucumber/compare/v1.1.1...v1.1.2)
|
86
|
+
|
87
|
+
### Changed features
|
88
|
+
|
89
|
+
* Break long lines in output. Only needed for better output formatting in the Cucumber Book! (Aslak Hellesøy)
|
90
|
+
|
91
|
+
### Changed features
|
92
|
+
|
93
|
+
* Deprecated i18n methods in World, and added a new #step method to use instead. ([#68](https://github.com/cucumber/cucumber/issues/68) Matt Wynne)
|
94
|
+
* The JSON formatter output has changed slightly. Old format:
|
95
|
+
|
96
|
+
{
|
97
|
+
features: [feature here]
|
98
|
+
}
|
99
|
+
|
100
|
+
New format:
|
101
|
+
|
102
|
+
[feature here]
|
103
|
+
|
104
|
+
Also see [Gherkin 2.6.0 History](https://github.com/cucumber/gherkin/blob/master/History.md) for info about new `id` and `uri` elements in the JSON.
|
105
|
+
|
106
|
+
## [v1.1.0](https://github.com/cucumber/cucumber/compare/v1.0.6...v1.1.0)
|
107
|
+
|
108
|
+
### Changed features
|
109
|
+
* The JSON formatter output has changed. See [Gherkin 2.5.0 History](https://github.com/cucumber/gherkin/blob/master/History.md) (Aslak Hellesøy)
|
110
|
+
|
111
|
+
## [v1.0.6](https://github.com/cucumber/cucumber/compare/v1.0.5...v1.0.6)
|
112
|
+
|
113
|
+
### Bugfixes
|
114
|
+
* Work around rubygems/yaml utter retardedness ([#136](https://github.com/cucumber/cucumber/issues/136) Aslak Hellesøy)
|
115
|
+
|
116
|
+
## [v1.0.5](https://github.com/cucumber/cucumber/compare/v1.0.4...v1.0.5)
|
117
|
+
|
118
|
+
### Bugfixes
|
119
|
+
|
120
|
+
* Gemspec corrupted in 1.0.4 (I had to upgrade my rubygems to 1.8.10 to fix it). ([#136](https://github.com/cucumber/cucumber/issues/136) Aslak Hellesøy)
|
121
|
+
|
122
|
+
## [v1.0.4](https://github.com/cucumber/cucumber/compare/v1.0.3...v1.0.4)
|
123
|
+
|
124
|
+
### Bugfixes
|
125
|
+
|
126
|
+
* Guard against the require succeeding, but not properly loading a module. ([#93](https://github.com/cucumber/cucumber/pull/93) Christopher Meiklejohn)
|
127
|
+
* Cmdline arguments parsing error if --drb is enabled. ([#117](https://github.com/cucumber/cucumber/issues/117) Roman Chernyatchik)
|
128
|
+
* Replace capturing groups with non-capturing in RbTransform#to_s ([#106](https://github.com/cucumber/cucumber/pull/106) Thomas Walpole)
|
129
|
+
* Patched unmatched message in HTML formatter. (Nikita)
|
130
|
+
* Overriding a method that causes a NoMethodError when a Before hook is called on a feature run that has no scenarios. (ccthiel)
|
131
|
+
|
132
|
+
## [v1.0.3](https://github.com/cucumber/cucumber/compare/v1.0.2...v1.0.3)
|
133
|
+
|
134
|
+
### Bugfixes
|
135
|
+
* Do not escape the replaced entity ([#126](https://github.com/cucumber/cucumber/pull/126) Jonathan Tron)
|
136
|
+
|
137
|
+
### New Features
|
138
|
+
* DocStrings now have a content_type ([#132](https://github.com/cucumber/cucumber/issues/132) Matt Wynne)
|
139
|
+
|
1
140
|
## [v1.0.2](https://github.com/cucumber/cucumber/compare/v1.0.1...v1.0.2)
|
2
141
|
|
3
142
|
### Bugfixes
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
+
[![Build Status](https://secure.travis-ci.org/cucumber/cucumber.png)](http://travis-ci.org/cucumber/cucumber) [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/cucumber/cucumber)
|
2
|
+
|
1
3
|
The main website is at http://cukes.info/
|
2
4
|
The documentation is at https://wiki.github.com/cucumber/cucumber/
|
3
5
|
|
4
6
|
## Note on Patches/Pull Requests
|
5
|
-
|
7
|
+
|
6
8
|
* Fork the project.
|
7
9
|
* Make your feature addition or bug fix.
|
8
10
|
* Add tests for it. This is important so I don't break it in a
|
@@ -16,10 +18,23 @@ The documentation is at https://wiki.github.com/cucumber/cucumber/
|
|
16
18
|
|
17
19
|
gem install bundler
|
18
20
|
bundle install
|
19
|
-
git submodule update --init --recursive
|
20
21
|
rake
|
21
22
|
|
22
|
-
##
|
23
|
+
## Release Process
|
24
|
+
|
25
|
+
Before you even attempt to do a release, make sure you can log into cukes.info and touch a file in /var/www/cucumber/api/ruby (see gem_tasks/yard.rake). You need to be able to do this in order to upload YARD docs as part of the release.
|
26
|
+
|
27
|
+
* Bump the version number in `lib/cucumber/platform.rb`.
|
28
|
+
* Make sure `History.md` is updated with the upcoming version number, and has entries for all fixes.
|
29
|
+
* No need to add a `History.md` header at this point - this should be done when a new change is made, later.
|
23
30
|
|
24
|
-
|
31
|
+
Now release it
|
32
|
+
|
33
|
+
bundle update
|
34
|
+
rake
|
35
|
+
git commit -m "Release X.Y.Z"
|
36
|
+
rake release
|
37
|
+
|
38
|
+
## Copyright
|
25
39
|
|
40
|
+
Copyright (c) 2008,2009,2010,2011,2012 Aslak Hellesøy and Contributors. See LICENSE for details.
|
data/cucumber.gemspec
CHANGED
@@ -12,47 +12,34 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.homepage = "http://cukes.info"
|
13
13
|
|
14
14
|
s.platform = Gem::Platform::RUBY
|
15
|
-
s.post_install_message = %{
|
16
|
-
(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
|
17
15
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
|
23
|
-
|
24
|
-
}
|
25
|
-
|
26
|
-
s.add_dependency 'gherkin', '~> 2.4.5'
|
27
|
-
s.add_dependency 'term-ansicolor', '>= 1.0.5'
|
28
|
-
s.add_dependency 'builder', '>= 2.1.2'
|
29
|
-
s.add_dependency 'diff-lcs', '>= 1.1.2'
|
30
|
-
s.add_dependency 'json', '>= 1.4.6'
|
16
|
+
s.add_runtime_dependency 'gherkin', '~> 2.11.0'
|
17
|
+
s.add_runtime_dependency 'builder', '>= 2.1.2'
|
18
|
+
s.add_runtime_dependency 'diff-lcs', '>= 1.1.3'
|
19
|
+
s.add_runtime_dependency 'json', '>= 1.4.6'
|
31
20
|
|
32
|
-
s.add_development_dependency 'aruba', '~> 0.4.
|
21
|
+
s.add_development_dependency 'aruba', '~> 0.4.11'
|
33
22
|
s.add_development_dependency 'rake', '>= 0.9.2'
|
34
|
-
s.add_development_dependency 'rspec', '
|
35
|
-
s.add_development_dependency 'nokogiri', '>= 1.
|
36
|
-
s.add_development_dependency 'prawn', '= 0.8.4'
|
37
|
-
s.add_development_dependency 'prawn-layout', '= 0.8.4'
|
23
|
+
s.add_development_dependency 'rspec', '~> 2.10.0'
|
24
|
+
s.add_development_dependency 'nokogiri', '>= 1.5.2'
|
38
25
|
s.add_development_dependency 'syntax', '>= 1.0.0'
|
39
|
-
s.add_development_dependency 'spork', '>= 0.
|
40
|
-
s.add_development_dependency 'simplecov', '>= 0.
|
26
|
+
s.add_development_dependency 'spork', '>= 1.0.0.rc2'
|
27
|
+
s.add_development_dependency 'simplecov', '>= 0.6.2'
|
41
28
|
|
42
29
|
# For Documentation:
|
43
|
-
s.add_development_dependency('yard', '
|
44
|
-
s.add_development_dependency('rdiscount', '
|
45
|
-
s.add_development_dependency('bcat', '
|
30
|
+
s.add_development_dependency('yard', '~> 0.8.0')
|
31
|
+
s.add_development_dependency('rdiscount', '~> 1.6.8') unless defined?(JRUBY_VERSION)
|
32
|
+
s.add_development_dependency('bcat', '~> 0.6.2')
|
46
33
|
|
47
34
|
# Needed for examples (rake examples)
|
48
35
|
s.add_development_dependency 'ramaze'
|
49
|
-
s.add_development_dependency 'rack-test', '>= 0.
|
36
|
+
s.add_development_dependency 'rack-test', '>= 0.6.1'
|
50
37
|
s.add_development_dependency 'webrat', '>= 0.7.3'
|
51
|
-
s.add_development_dependency 'sinatra', '>= 1.2
|
52
|
-
s.add_development_dependency 'capybara', '>= 1.
|
38
|
+
s.add_development_dependency 'sinatra', '>= 1.3.2'
|
39
|
+
s.add_development_dependency 'capybara', '>= 1.1.2'
|
53
40
|
|
54
41
|
s.rubygems_version = ">= 1.6.1"
|
55
|
-
s.files = `git ls-files`.split("\n")
|
42
|
+
s.files = `git ls-files`.split("\n").reject {|path| path =~ /\.gitignore$/ }
|
56
43
|
s.test_files = `git ls-files -- {spec,features}/*`.split("\n")
|
57
44
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
58
45
|
s.rdoc_options = ["--charset=UTF-8"]
|
data/cucumber.yml
CHANGED
@@ -10,11 +10,11 @@ rescue LoadError
|
|
10
10
|
std_opts << ' --tags ~@rspec2'
|
11
11
|
end
|
12
12
|
%>
|
13
|
-
default: <%= std_opts %>
|
13
|
+
default: <%= std_opts %> --dotcucumber features/.cucumber
|
14
14
|
jruby: <%= std_opts %> --tags ~@spork --tags ~@wire
|
15
15
|
jruby_win: <%= std_opts %> --tags ~@spork --tags ~@wire CUCUMBER_FORWARD_SLASH_PATHS=true
|
16
|
-
windows_mri: <%= std_opts %> --tags ~@spork --tags ~@wire --tags ~@needs-many-fonts CUCUMBER_FORWARD_SLASH_PATHS=true
|
17
|
-
ruby_1_9: <%= std_opts %> --tags ~@fails_on_1_9
|
16
|
+
windows_mri: <%= std_opts %> --tags ~@jruby --tags ~@spork --tags ~@wire --tags ~@needs-many-fonts CUCUMBER_FORWARD_SLASH_PATHS=true
|
17
|
+
ruby_1_9: <%= std_opts %> --tags ~@jruby --tags ~@fails_on_1_9
|
18
18
|
wip: --tags @wip:3 --wip features
|
19
19
|
none: --format pretty
|
20
20
|
rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip
|
@@ -1,18 +1,3 @@
|
|
1
1
|
h1. Internationalisation (i18n) examples
|
2
2
|
|
3
|
-
|
4
|
-
many of the natural languages Cucumber supports.
|
5
|
-
|
6
|
-
For a full list of what languages Cucumber supports - run <pre>cucumber --language help</pre>
|
7
|
-
|
8
|
-
h2. Running all the examples
|
9
|
-
|
10
|
-
Open a shell in this directory and run
|
11
|
-
|
12
|
-
<pre>rake i18n</pre>
|
13
|
-
|
14
|
-
h2. Running examples for a specific language
|
15
|
-
|
16
|
-
Open a shell in the directory for the specific language and run
|
17
|
-
|
18
|
-
<pre>rake cucumber</pre>
|
3
|
+
Visit the "wiki":https://github.com/cucumber/cucumber/wiki/Spoken-languages for instructions on how to use Cucumber on different languages.
|