cuke_linter 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +16 -0
  3. data/.travis.yml +14 -0
  4. data/CHANGELOG.md +19 -0
  5. data/Gemfile +6 -0
  6. data/LICENSE.txt +21 -0
  7. data/README.md +148 -0
  8. data/Rakefile +23 -0
  9. data/appveyor.yml +24 -0
  10. data/bin/console +14 -0
  11. data/bin/setup +8 -0
  12. data/cuke_linter.gemspec +34 -0
  13. data/environments/common_env.rb +11 -0
  14. data/environments/cucumber_env.rb +4 -0
  15. data/environments/rspec_env.rb +41 -0
  16. data/exe/cuke_linter +6 -0
  17. data/lib/cuke_linter/formatters/pretty_formatter.rb +48 -0
  18. data/lib/cuke_linter/linters/feature_without_scenarios_linter.rb +22 -0
  19. data/lib/cuke_linter/version.rb +3 -0
  20. data/lib/cuke_linter.rb +71 -0
  21. data/testing/cucumber/features/command_line.feature +12 -0
  22. data/testing/cucumber/features/formatters/pretty_formatter.feature +24 -0
  23. data/testing/cucumber/features/linters/default_linters.feature +7 -0
  24. data/testing/cucumber/features/linters/feature_without_scenarios.feature +12 -0
  25. data/testing/cucumber/step_definitions/action_steps.rb +13 -0
  26. data/testing/cucumber/step_definitions/setup_steps.rb +30 -0
  27. data/testing/cucumber/step_definitions/verification_steps.rb +18 -0
  28. data/testing/file_helper.rb +28 -0
  29. data/testing/formatter_factory.rb +15 -0
  30. data/testing/linter_factory.rb +22 -0
  31. data/testing/model_factory.rb +39 -0
  32. data/testing/rspec/spec/integration/cuke_linter_integration_spec.rb +112 -0
  33. data/testing/rspec/spec/integration/formatters/formatter_integration_specs.rb +5 -0
  34. data/testing/rspec/spec/integration/formatters/pretty_formatter_integration_spec.rb +8 -0
  35. data/testing/rspec/spec/integration/linters/feature_without_scenarios_linter_integration_spec.rb +8 -0
  36. data/testing/rspec/spec/integration/linters/linter_integration_specs.rb +7 -0
  37. data/testing/rspec/spec/unit/cuke_linter_unit_spec.rb +83 -0
  38. data/testing/rspec/spec/unit/formatters/formatter_unit_specs.rb +11 -0
  39. data/testing/rspec/spec/unit/formatters/pretty_formatter_unit_spec.rb +75 -0
  40. data/testing/rspec/spec/unit/linters/feature_without_scenarios_linter_unit_spec.rb +72 -0
  41. data/testing/rspec/spec/unit/linters/linter_unit_specs.rb +38 -0
  42. metadata +183 -0
metadata ADDED
@@ -0,0 +1,183 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cuke_linter
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Eric Kessler
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-02-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: cuke_modeler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.5'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.5'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "<"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "<"
39
+ - !ruby/object:Gem::Version
40
+ version: '3.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: cucumber
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: racatt
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '12.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '12.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: require_all
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '2.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '2.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '3.0'
111
+ description:
112
+ email:
113
+ - morrow748@gmail.com
114
+ executables:
115
+ - cuke_linter
116
+ extensions: []
117
+ extra_rdoc_files: []
118
+ files:
119
+ - ".gitignore"
120
+ - ".travis.yml"
121
+ - CHANGELOG.md
122
+ - Gemfile
123
+ - LICENSE.txt
124
+ - README.md
125
+ - Rakefile
126
+ - appveyor.yml
127
+ - bin/console
128
+ - bin/setup
129
+ - cuke_linter.gemspec
130
+ - environments/common_env.rb
131
+ - environments/cucumber_env.rb
132
+ - environments/rspec_env.rb
133
+ - exe/cuke_linter
134
+ - lib/cuke_linter.rb
135
+ - lib/cuke_linter/formatters/pretty_formatter.rb
136
+ - lib/cuke_linter/linters/feature_without_scenarios_linter.rb
137
+ - lib/cuke_linter/version.rb
138
+ - testing/cucumber/features/command_line.feature
139
+ - testing/cucumber/features/formatters/pretty_formatter.feature
140
+ - testing/cucumber/features/linters/default_linters.feature
141
+ - testing/cucumber/features/linters/feature_without_scenarios.feature
142
+ - testing/cucumber/step_definitions/action_steps.rb
143
+ - testing/cucumber/step_definitions/setup_steps.rb
144
+ - testing/cucumber/step_definitions/verification_steps.rb
145
+ - testing/file_helper.rb
146
+ - testing/formatter_factory.rb
147
+ - testing/linter_factory.rb
148
+ - testing/model_factory.rb
149
+ - testing/rspec/spec/integration/cuke_linter_integration_spec.rb
150
+ - testing/rspec/spec/integration/formatters/formatter_integration_specs.rb
151
+ - testing/rspec/spec/integration/formatters/pretty_formatter_integration_spec.rb
152
+ - testing/rspec/spec/integration/linters/feature_without_scenarios_linter_integration_spec.rb
153
+ - testing/rspec/spec/integration/linters/linter_integration_specs.rb
154
+ - testing/rspec/spec/unit/cuke_linter_unit_spec.rb
155
+ - testing/rspec/spec/unit/formatters/formatter_unit_specs.rb
156
+ - testing/rspec/spec/unit/formatters/pretty_formatter_unit_spec.rb
157
+ - testing/rspec/spec/unit/linters/feature_without_scenarios_linter_unit_spec.rb
158
+ - testing/rspec/spec/unit/linters/linter_unit_specs.rb
159
+ homepage: https://github.com/enkessler/cuke_linter
160
+ licenses:
161
+ - MIT
162
+ metadata: {}
163
+ post_install_message:
164
+ rdoc_options: []
165
+ require_paths:
166
+ - lib
167
+ required_ruby_version: !ruby/object:Gem::Requirement
168
+ requirements:
169
+ - - ">="
170
+ - !ruby/object:Gem::Version
171
+ version: '0'
172
+ required_rubygems_version: !ruby/object:Gem::Requirement
173
+ requirements:
174
+ - - ">="
175
+ - !ruby/object:Gem::Version
176
+ version: '0'
177
+ requirements: []
178
+ rubyforge_project:
179
+ rubygems_version: 2.7.6
180
+ signing_key:
181
+ specification_version: 4
182
+ summary: Lints feature files used by Cucumber and other similar frameworks.
183
+ test_files: []