cucumber_analytics 1.5.1 → 1.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +6 -0
- data/Rakefile +10 -27
- data/cucumber_analytics.gemspec +1 -0
- data/features/modeling/background_modeling.feature +0 -11
- data/features/modeling/directory_modeling.feature +0 -11
- data/features/modeling/doc_string_modeling.feature +0 -11
- data/features/modeling/example_modeling.feature +0 -11
- data/features/modeling/feature_file_modeling.feature +0 -11
- data/features/modeling/feature_modeling.feature +0 -11
- data/features/modeling/outline_modeling.feature +0 -11
- data/features/modeling/row_modeling.feature +0 -10
- data/features/modeling/scenario_modeling.feature +0 -11
- data/features/modeling/step_modeling.feature +0 -11
- data/features/modeling/table_modeling.feature +0 -11
- data/features/modeling/table_row_modeling.feature +0 -11
- data/features/modeling/tag_modeling.feature +0 -11
- data/features/step_definitions/background_steps.rb +4 -4
- data/features/step_definitions/directory_steps.rb +1 -1
- data/features/step_definitions/doc_string_steps.rb +6 -6
- data/features/step_definitions/feature_file_steps.rb +1 -1
- data/features/step_definitions/feature_steps.rb +11 -11
- data/features/step_definitions/outline_steps.rb +18 -18
- data/features/step_definitions/step_steps.rb +6 -6
- data/features/step_definitions/table_steps.rb +6 -6
- data/features/step_definitions/tag_steps.rb +10 -10
- data/features/step_definitions/test_steps.rb +8 -8
- data/features/step_definitions/verification_steps.rb +2 -2
- data/features/step_definitions/world_steps.rb +8 -8
- data/lib/cucumber_analytics/step.rb +3 -1
- data/lib/cucumber_analytics/test_element.rb +2 -0
- data/lib/cucumber_analytics/version.rb +1 -1
- data/spec/integration/background_integration_spec.rb +5 -5
- data/spec/integration/directory_integration_spec.rb +4 -4
- data/spec/integration/doc_string_integration_spec.rb +6 -6
- data/spec/integration/example_integration_spec.rb +8 -8
- data/spec/integration/feature_file_integration_spec.rb +3 -3
- data/spec/integration/feature_integration_spec.rb +15 -15
- data/spec/integration/outline_integration_spec.rb +7 -7
- data/spec/integration/scenario_integration_spec.rb +6 -6
- data/spec/integration/step_integration_spec.rb +16 -17
- data/spec/integration/table_integration_spec.rb +8 -8
- data/spec/integration/table_row_integration_spec.rb +7 -7
- data/spec/integration/tag_integration_spec.rb +6 -6
- data/spec/integration/world_integration_spec.rb +2 -2
- data/spec/unit/background_unit_spec.rb +2 -2
- data/spec/unit/containing_element_unit_specs.rb +2 -2
- data/spec/unit/directory_unit_spec.rb +14 -14
- data/spec/unit/doc_string_unit_spec.rb +18 -18
- data/spec/unit/example_unit_spec.rb +32 -32
- data/spec/unit/feature_element_unit_specs.rb +12 -12
- data/spec/unit/feature_file_unit_spec.rb +12 -12
- data/spec/unit/feature_unit_spec.rb +16 -16
- data/spec/unit/nested_element_unit_specs.rb +6 -6
- data/spec/unit/nested_unit_spec.rb +5 -5
- data/spec/unit/outline_unit_spec.rb +7 -7
- data/spec/unit/parsing_unit_spec.rb +4 -4
- data/spec/unit/prepopulated_unit_specs.rb +1 -1
- data/spec/unit/raw_element_unit_specs.rb +4 -4
- data/spec/unit/raw_unit_spec.rb +3 -3
- data/spec/unit/row_unit_spec.rb +6 -6
- data/spec/unit/scenario_unit_spec.rb +3 -3
- data/spec/unit/sourceable_unit_spec.rb +1 -1
- data/spec/unit/sourced_element_unit_specs.rb +2 -2
- data/spec/unit/step_unit_spec.rb +53 -44
- data/spec/unit/table_row_unit_spec.rb +6 -6
- data/spec/unit/table_unit_spec.rb +14 -14
- data/spec/unit/tag_unit_spec.rb +5 -5
- data/spec/unit/taggable_unit_spec.rb +14 -14
- data/spec/unit/tagged_element_unit_specs.rb +14 -14
- data/spec/unit/test_element_unit_spec.rb +11 -3
- data/spec/unit/test_element_unit_specs.rb +5 -5
- data/spec/unit/world_unit_spec.rb +26 -26
- metadata +26 -5
- data/features/step_definitions/spec_steps.rb +0 -18
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber_analytics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-01-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: gherkin
|
@@ -123,6 +123,28 @@ dependencies:
|
|
123
123
|
- - ! '>='
|
124
124
|
- !ruby/object:Gem::Version
|
125
125
|
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: racatt
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ! '>='
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: 0.0.3
|
134
|
+
- - <
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: 1.0.0
|
137
|
+
type: :development
|
138
|
+
prerelease: false
|
139
|
+
version_requirements: !ruby/object:Gem::Requirement
|
140
|
+
none: false
|
141
|
+
requirements:
|
142
|
+
- - ! '>='
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: 0.0.3
|
145
|
+
- - <
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: 1.0.0
|
126
148
|
description: Static analysis of Cucumber tests made easy.
|
127
149
|
email:
|
128
150
|
- morrow748@gmail.com
|
@@ -180,7 +202,6 @@ files:
|
|
180
202
|
- features/step_definitions/feature_steps.rb
|
181
203
|
- features/step_definitions/outline_steps.rb
|
182
204
|
- features/step_definitions/setup_steps.rb
|
183
|
-
- features/step_definitions/spec_steps.rb
|
184
205
|
- features/step_definitions/step_steps.rb
|
185
206
|
- features/step_definitions/table_steps.rb
|
186
207
|
- features/step_definitions/tag_steps.rb
|
@@ -278,7 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
278
299
|
version: '0'
|
279
300
|
requirements: []
|
280
301
|
rubyforge_project:
|
281
|
-
rubygems_version: 1.8.
|
302
|
+
rubygems_version: 1.8.29
|
282
303
|
signing_key:
|
283
304
|
specification_version: 3
|
284
305
|
summary: This gem provides an API to programmatically break down Cucumber feature
|
@@ -326,7 +347,6 @@ test_files:
|
|
326
347
|
- features/step_definitions/feature_steps.rb
|
327
348
|
- features/step_definitions/outline_steps.rb
|
328
349
|
- features/step_definitions/setup_steps.rb
|
329
|
-
- features/step_definitions/spec_steps.rb
|
330
350
|
- features/step_definitions/step_steps.rb
|
331
351
|
- features/step_definitions/table_steps.rb
|
332
352
|
- features/step_definitions/tag_steps.rb
|
@@ -379,3 +399,4 @@ test_files:
|
|
379
399
|
- spec/unit/test_element_unit_spec.rb
|
380
400
|
- spec/unit/test_element_unit_specs.rb
|
381
401
|
- spec/unit/world_unit_spec.rb
|
402
|
+
has_rdoc:
|
@@ -1,18 +0,0 @@
|
|
1
|
-
Given /^that there are "([^"]*)" detailing models$/ do |spec_file|
|
2
|
-
sub_directory = spec_file =~ /integration/ ? 'integration' : 'unit'
|
3
|
-
spec_file = "#{SPEC_DIRECTORY}/#{sub_directory}/#{spec_file}"
|
4
|
-
|
5
|
-
fail "The spec file does not exist: #{spec_file}" unless File.exists?(spec_file)
|
6
|
-
|
7
|
-
@spec_file = spec_file
|
8
|
-
end
|
9
|
-
|
10
|
-
When /^the corresponding specifications are run$/ do
|
11
|
-
command = "rspec #{@spec_file}"
|
12
|
-
|
13
|
-
@specs_passed = system(command)
|
14
|
-
end
|
15
|
-
|
16
|
-
Then /^all of those specifications are met$/ do
|
17
|
-
fail "There were unmet specifications in '#{@spec_file}'." unless @specs_passed
|
18
|
-
end
|