cucumber-in-the-yard 1.5.3 → 1.5.4

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber-in-the-yard
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 5
9
- - 3
10
- version: 1.5.3
9
+ - 4
10
+ version: 1.5.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Franklin Webber
@@ -15,13 +15,29 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-26 00:00:00 -07:00
18
+ date: 2010-10-28 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- name: cucumber
22
+ name: gherkin
23
23
  prerelease: false
24
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 21
30
+ segments:
31
+ - 2
32
+ - 2
33
+ - 9
34
+ version: 2.2.9
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: cucumber
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
25
41
  none: false
26
42
  requirements:
27
43
  - - ">="
@@ -33,11 +49,11 @@ dependencies:
33
49
  - 5
34
50
  version: 0.7.5
35
51
  type: :runtime
36
- version_requirements: *id001
52
+ version_requirements: *id002
37
53
  - !ruby/object:Gem::Dependency
38
54
  name: yard
39
55
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
56
+ requirement: &id003 !ruby/object:Gem::Requirement
41
57
  none: false
42
58
  requirements:
43
59
  - - ">="
@@ -49,7 +65,7 @@ dependencies:
49
65
  - 1
50
66
  version: 0.6.1
51
67
  type: :runtime
52
- version_requirements: *id002
68
+ version_requirements: *id003
53
69
  description: " \n Cucumber-In-The-Yard is a YARD extension that processes Cucumber Features, Scenarios, Steps,\n Step Definitions, Transforms, and Tags and provides a documentation interface that allows you\n easily view and investigate the test suite. This tools hopes to bridge the gap of being able\n to provide your feature descriptions to your Product Owners and Stakeholders. "
54
70
  email: franklin.webber@gmail.com
55
71
  executables: []
@@ -58,63 +74,18 @@ extensions: []
58
74
 
59
75
  extra_rdoc_files:
60
76
  - README.md
61
- - lib/city.rb
62
- - lib/cucumber/city_builder.rb
63
- - lib/templates/default/feature/html/background.erb
64
- - lib/templates/default/feature/html/feature.erb
65
- - lib/templates/default/feature/html/no_steps_defined.erb
66
- - lib/templates/default/feature/html/outline.erb
67
- - lib/templates/default/feature/html/pystring.erb
68
- - lib/templates/default/feature/html/scenario.erb
69
- - lib/templates/default/feature/html/steps.erb
70
- - lib/templates/default/feature/html/table.erb
71
- - lib/templates/default/feature/setup.rb
72
- - lib/templates/default/fulldoc/html/css/common.css
73
- - lib/templates/default/fulldoc/html/full_list.erb
74
- - lib/templates/default/fulldoc/html/full_list_features.erb
75
- - lib/templates/default/fulldoc/html/full_list_stepdefinitions.erb
76
- - lib/templates/default/fulldoc/html/full_list_steps.erb
77
- - lib/templates/default/fulldoc/html/full_list_tags.erb
78
- - lib/templates/default/fulldoc/html/index.erb
79
- - lib/templates/default/fulldoc/html/js/cucumber.js
80
- - lib/templates/default/fulldoc/html/setup.rb
81
- - lib/templates/default/layout/html/headers.erb
82
- - lib/templates/default/layout/html/search.erb
83
- - lib/templates/default/scenario/html/scenario.erb
84
- - lib/templates/default/scenario/setup.rb
85
- - lib/templates/default/steptransformers/html/steptransformers.erb
86
- - lib/templates/default/steptransformers/html/transformers.erb
87
- - lib/templates/default/steptransformers/setup.rb
88
- - lib/templates/default/tag/html/feature.erb
89
- - lib/templates/default/tag/html/scenario.erb
90
- - lib/templates/default/tag/html/tag.erb
91
- - lib/templates/default/tag/setup.rb
92
- - lib/yard/code_objects/cucumber/base.rb
93
- - lib/yard/code_objects/cucumber/feature.rb
94
- - lib/yard/code_objects/cucumber/namespace_object.rb
95
- - lib/yard/code_objects/cucumber/scenario.rb
96
- - lib/yard/code_objects/cucumber/scenario_outline.rb
97
- - lib/yard/code_objects/cucumber/step.rb
98
- - lib/yard/code_objects/cucumber/tag.rb
99
- - lib/yard/code_objects/namespace_object.rb
100
- - lib/yard/code_objects/step_definition.rb
101
- - lib/yard/code_objects/step_transform.rb
102
- - lib/yard/handlers/cucumber/base.rb
103
- - lib/yard/handlers/cucumber/feature_handler.rb
104
- - lib/yard/handlers/step_definition_handler.rb
105
- - lib/yard/handlers/step_transform_handler.rb
106
- - lib/yard/parser/cucumber/feature.rb
107
- - lib/yard/parser/source_parser.rb
108
- - lib/yard/rake/city_task.rb
109
- - lib/yard/templates/helpers/base_helper.rb
77
+ - History.txt
110
78
  files:
79
+ - .autotest
80
+ - .rspec
111
81
  - History.txt
112
- - Manifest
113
82
  - README.md
114
83
  - Rakefile
84
+ - autotest/discover.rb
85
+ - city.gemspec
115
86
  - example/empty.feature
116
- - example/example.feature
117
87
  - example/example.third.feature
88
+ - example/first_example.feature
118
89
  - example/second_example.feature
119
90
  - example/step_definitions/example.step.rb
120
91
  - example/step_definitions/support/env.rb
@@ -169,19 +140,40 @@ files:
169
140
  - lib/yard/parser/source_parser.rb
170
141
  - lib/yard/rake/city_task.rb
171
142
  - lib/yard/templates/helpers/base_helper.rb
172
- - cucumber-in-the-yard.gemspec
143
+ - spec/city/feature_parser_spec_examples.rb
144
+ - spec/city/gherkin_loader_spec.rb
145
+ - spec/city/test.feature
146
+ - spec/city/yard_handlers_cucumber_spec.rb
147
+ - spec/city/yard_namespace_object_spec.rb
148
+ - spec/city/yard_parser_cucumber_spec.rb
149
+ - spec/city/yard_rb_extensions_spec.rb
150
+ - spec/spec_helper.rb
173
151
  has_rdoc: true
174
152
  homepage: http://github.com/burtlo/Cucumber-In-The-Yard
175
153
  licenses: []
176
154
 
177
- post_install_message:
155
+ post_install_message: |+
156
+
157
+ (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
158
+
159
+ Thank you for installing Cucumber-In-The-YARD 1.5.4 / 2010-10-28.
160
+
161
+ Changes:
162
+
163
+ * Optimization - Found that for a large test suite that the processing time was
164
+ approaching 2 hours (oh boy!). Reduced that time to a few minutes by optimizing
165
+ the feature handler to cache all step definitions and step transforms.
166
+
167
+ * Step Transforms will now attempt to unpack any constants found within them.
168
+ * FIX - Step Transforms were not being parsed because the regex incorrectly included
169
+ the block.
170
+ * FIX - Features and Scenarios with multiple tags were not being displayed
171
+
172
+
173
+ (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
174
+
178
175
  rdoc_options:
179
- - --line-numbers
180
- - --inline-source
181
- - --title
182
- - Cucumber-in-the-yard
183
- - --main
184
- - README.md
176
+ - --charset=UTF-8
185
177
  require_paths:
186
178
  - lib
187
179
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -198,17 +190,16 @@ required_rubygems_version: !ruby/object:Gem::Requirement
198
190
  requirements:
199
191
  - - ">="
200
192
  - !ruby/object:Gem::Version
201
- hash: 11
193
+ hash: 3
202
194
  segments:
203
- - 1
204
- - 2
205
- version: "1.2"
195
+ - 0
196
+ version: "0"
206
197
  requirements: []
207
198
 
208
- rubyforge_project: cucumber-in-the-yard
199
+ rubyforge_project:
209
200
  rubygems_version: 1.3.7
210
201
  signing_key:
211
202
  specification_version: 3
212
- summary: Cucumber-In-The-Yard is a YARD extension that processes Cucumber Features, Scenarios, Steps, Step Definitions, Transforms, and Tags and provides a documentation interface that allows you easily view and investigate the test suite. This tools hopes to bridge the gap of being able to provide your feature descriptions to your Product Owners and Stakeholders.
203
+ summary: Cucumber Features in YARD
213
204
  test_files: []
214
205
 
data/Manifest DELETED
@@ -1,61 +0,0 @@
1
- History.txt
2
- Manifest
3
- README.md
4
- Rakefile
5
- example/empty.feature
6
- example/example.feature
7
- example/example.third.feature
8
- example/second_example.feature
9
- example/step_definitions/example.step.rb
10
- example/step_definitions/support/env.rb
11
- example/step_definitions/support/env_support.rb
12
- example/step_definitions/support/support.rb
13
- lib/city.rb
14
- lib/cucumber/city_builder.rb
15
- lib/templates/default/feature/html/background.erb
16
- lib/templates/default/feature/html/feature.erb
17
- lib/templates/default/feature/html/no_steps_defined.erb
18
- lib/templates/default/feature/html/outline.erb
19
- lib/templates/default/feature/html/pystring.erb
20
- lib/templates/default/feature/html/scenario.erb
21
- lib/templates/default/feature/html/steps.erb
22
- lib/templates/default/feature/html/table.erb
23
- lib/templates/default/feature/setup.rb
24
- lib/templates/default/fulldoc/html/css/common.css
25
- lib/templates/default/fulldoc/html/full_list.erb
26
- lib/templates/default/fulldoc/html/full_list_features.erb
27
- lib/templates/default/fulldoc/html/full_list_stepdefinitions.erb
28
- lib/templates/default/fulldoc/html/full_list_steps.erb
29
- lib/templates/default/fulldoc/html/full_list_tags.erb
30
- lib/templates/default/fulldoc/html/index.erb
31
- lib/templates/default/fulldoc/html/js/cucumber.js
32
- lib/templates/default/fulldoc/html/setup.rb
33
- lib/templates/default/layout/html/headers.erb
34
- lib/templates/default/layout/html/search.erb
35
- lib/templates/default/scenario/html/scenario.erb
36
- lib/templates/default/scenario/setup.rb
37
- lib/templates/default/steptransformers/html/steptransformers.erb
38
- lib/templates/default/steptransformers/html/transformers.erb
39
- lib/templates/default/steptransformers/setup.rb
40
- lib/templates/default/tag/html/feature.erb
41
- lib/templates/default/tag/html/scenario.erb
42
- lib/templates/default/tag/html/tag.erb
43
- lib/templates/default/tag/setup.rb
44
- lib/yard/code_objects/cucumber/base.rb
45
- lib/yard/code_objects/cucumber/feature.rb
46
- lib/yard/code_objects/cucumber/namespace_object.rb
47
- lib/yard/code_objects/cucumber/scenario.rb
48
- lib/yard/code_objects/cucumber/scenario_outline.rb
49
- lib/yard/code_objects/cucumber/step.rb
50
- lib/yard/code_objects/cucumber/tag.rb
51
- lib/yard/code_objects/namespace_object.rb
52
- lib/yard/code_objects/step_definition.rb
53
- lib/yard/code_objects/step_transform.rb
54
- lib/yard/handlers/cucumber/base.rb
55
- lib/yard/handlers/cucumber/feature_handler.rb
56
- lib/yard/handlers/step_definition_handler.rb
57
- lib/yard/handlers/step_transform_handler.rb
58
- lib/yard/parser/cucumber/feature.rb
59
- lib/yard/parser/source_parser.rb
60
- lib/yard/rake/city_task.rb
61
- lib/yard/templates/helpers/base_helper.rb
@@ -1,40 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
- Gem::Specification.new do |s|
4
- s.name = %q{cucumber-in-the-yard}
5
- s.version = "1.5.3"
6
-
7
- s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["Franklin Webber"]
9
- s.date = %q{2010-10-26}
10
- s.description = %q{
11
- Cucumber-In-The-Yard is a YARD extension that processes Cucumber Features, Scenarios, Steps,
12
- Step Definitions, Transforms, and Tags and provides a documentation interface that allows you
13
- easily view and investigate the test suite. This tools hopes to bridge the gap of being able
14
- to provide your feature descriptions to your Product Owners and Stakeholders. }
15
- s.email = %q{franklin.webber@gmail.com}
16
- s.extra_rdoc_files = ["README.md", "lib/city.rb", "lib/cucumber/city_builder.rb", "lib/templates/default/feature/html/background.erb", "lib/templates/default/feature/html/feature.erb", "lib/templates/default/feature/html/no_steps_defined.erb", "lib/templates/default/feature/html/outline.erb", "lib/templates/default/feature/html/pystring.erb", "lib/templates/default/feature/html/scenario.erb", "lib/templates/default/feature/html/steps.erb", "lib/templates/default/feature/html/table.erb", "lib/templates/default/feature/setup.rb", "lib/templates/default/fulldoc/html/css/common.css", "lib/templates/default/fulldoc/html/full_list.erb", "lib/templates/default/fulldoc/html/full_list_features.erb", "lib/templates/default/fulldoc/html/full_list_stepdefinitions.erb", "lib/templates/default/fulldoc/html/full_list_steps.erb", "lib/templates/default/fulldoc/html/full_list_tags.erb", "lib/templates/default/fulldoc/html/index.erb", "lib/templates/default/fulldoc/html/js/cucumber.js", "lib/templates/default/fulldoc/html/setup.rb", "lib/templates/default/layout/html/headers.erb", "lib/templates/default/layout/html/search.erb", "lib/templates/default/scenario/html/scenario.erb", "lib/templates/default/scenario/setup.rb", "lib/templates/default/steptransformers/html/steptransformers.erb", "lib/templates/default/steptransformers/html/transformers.erb", "lib/templates/default/steptransformers/setup.rb", "lib/templates/default/tag/html/feature.erb", "lib/templates/default/tag/html/scenario.erb", "lib/templates/default/tag/html/tag.erb", "lib/templates/default/tag/setup.rb", "lib/yard/code_objects/cucumber/base.rb", "lib/yard/code_objects/cucumber/feature.rb", "lib/yard/code_objects/cucumber/namespace_object.rb", "lib/yard/code_objects/cucumber/scenario.rb", "lib/yard/code_objects/cucumber/scenario_outline.rb", "lib/yard/code_objects/cucumber/step.rb", "lib/yard/code_objects/cucumber/tag.rb", "lib/yard/code_objects/namespace_object.rb", "lib/yard/code_objects/step_definition.rb", "lib/yard/code_objects/step_transform.rb", "lib/yard/handlers/cucumber/base.rb", "lib/yard/handlers/cucumber/feature_handler.rb", "lib/yard/handlers/step_definition_handler.rb", "lib/yard/handlers/step_transform_handler.rb", "lib/yard/parser/cucumber/feature.rb", "lib/yard/parser/source_parser.rb", "lib/yard/rake/city_task.rb", "lib/yard/templates/helpers/base_helper.rb"]
17
- s.files = ["History.txt", "Manifest", "README.md", "Rakefile", "example/empty.feature", "example/example.feature", "example/example.third.feature", "example/second_example.feature", "example/step_definitions/example.step.rb", "example/step_definitions/support/env.rb", "example/step_definitions/support/env_support.rb", "example/step_definitions/support/support.rb", "lib/city.rb", "lib/cucumber/city_builder.rb", "lib/templates/default/feature/html/background.erb", "lib/templates/default/feature/html/feature.erb", "lib/templates/default/feature/html/no_steps_defined.erb", "lib/templates/default/feature/html/outline.erb", "lib/templates/default/feature/html/pystring.erb", "lib/templates/default/feature/html/scenario.erb", "lib/templates/default/feature/html/steps.erb", "lib/templates/default/feature/html/table.erb", "lib/templates/default/feature/setup.rb", "lib/templates/default/fulldoc/html/css/common.css", "lib/templates/default/fulldoc/html/full_list.erb", "lib/templates/default/fulldoc/html/full_list_features.erb", "lib/templates/default/fulldoc/html/full_list_stepdefinitions.erb", "lib/templates/default/fulldoc/html/full_list_steps.erb", "lib/templates/default/fulldoc/html/full_list_tags.erb", "lib/templates/default/fulldoc/html/index.erb", "lib/templates/default/fulldoc/html/js/cucumber.js", "lib/templates/default/fulldoc/html/setup.rb", "lib/templates/default/layout/html/headers.erb", "lib/templates/default/layout/html/search.erb", "lib/templates/default/scenario/html/scenario.erb", "lib/templates/default/scenario/setup.rb", "lib/templates/default/steptransformers/html/steptransformers.erb", "lib/templates/default/steptransformers/html/transformers.erb", "lib/templates/default/steptransformers/setup.rb", "lib/templates/default/tag/html/feature.erb", "lib/templates/default/tag/html/scenario.erb", "lib/templates/default/tag/html/tag.erb", "lib/templates/default/tag/setup.rb", "lib/yard/code_objects/cucumber/base.rb", "lib/yard/code_objects/cucumber/feature.rb", "lib/yard/code_objects/cucumber/namespace_object.rb", "lib/yard/code_objects/cucumber/scenario.rb", "lib/yard/code_objects/cucumber/scenario_outline.rb", "lib/yard/code_objects/cucumber/step.rb", "lib/yard/code_objects/cucumber/tag.rb", "lib/yard/code_objects/namespace_object.rb", "lib/yard/code_objects/step_definition.rb", "lib/yard/code_objects/step_transform.rb", "lib/yard/handlers/cucumber/base.rb", "lib/yard/handlers/cucumber/feature_handler.rb", "lib/yard/handlers/step_definition_handler.rb", "lib/yard/handlers/step_transform_handler.rb", "lib/yard/parser/cucumber/feature.rb", "lib/yard/parser/source_parser.rb", "lib/yard/rake/city_task.rb", "lib/yard/templates/helpers/base_helper.rb", "cucumber-in-the-yard.gemspec"]
18
- s.homepage = %q{http://github.com/burtlo/Cucumber-In-The-Yard}
19
- s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Cucumber-in-the-yard", "--main", "README.md"]
20
- s.require_paths = ["lib"]
21
- s.rubyforge_project = %q{cucumber-in-the-yard}
22
- s.rubygems_version = %q{1.3.7}
23
- s.summary = %q{Cucumber-In-The-Yard is a YARD extension that processes Cucumber Features, Scenarios, Steps, Step Definitions, Transforms, and Tags and provides a documentation interface that allows you easily view and investigate the test suite. This tools hopes to bridge the gap of being able to provide your feature descriptions to your Product Owners and Stakeholders.}
24
-
25
- if s.respond_to? :specification_version then
26
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
27
- s.specification_version = 3
28
-
29
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
30
- s.add_runtime_dependency(%q<cucumber>, [">= 0.7.5"])
31
- s.add_runtime_dependency(%q<yard>, [">= 0.6.1"])
32
- else
33
- s.add_dependency(%q<cucumber>, [">= 0.7.5"])
34
- s.add_dependency(%q<yard>, [">= 0.6.1"])
35
- end
36
- else
37
- s.add_dependency(%q<cucumber>, [">= 0.7.5"])
38
- s.add_dependency(%q<yard>, [">= 0.6.1"])
39
- end
40
- end
@@ -1,12 +0,0 @@
1
- @customer
2
- Feature: Customer Login Feature
3
- As a customer of the product I am able to login as myself
4
-
5
- Background:
6
- Given this undefined step definition
7
-
8
- @bvt
9
- Scenario: Customer with valid login is able to login
10
- Given that a customer is a valid customer
11
- When a customer logs in as username 'frank' with password 'default'
12
- Then I expect them to have logged in successfully