├── .gitignore ├── .rubocop.yml ├── .travis.yml ├── Dockerfile ├── Gemfile ├── Guardfile ├── LICENSE ├── README.md ├── Rakefile ├── appveyor.yml ├── bin └── gherkin_lint ├── config └── default.yml ├── features ├── avoid_outline_for_single_example.feature ├── avoid_period.feature ├── avoid_scripting.feature ├── background_does_more_than_setup.feature ├── background_requires_scenario.feature ├── bad_scenario_name.feature ├── be_declarative.feature ├── disable_tags.feature ├── file_name_differs_feature_name.feature ├── invalid_file_name.feature ├── invalid_step_flow.feature ├── missing_example_name.feature ├── missing_feature_description.feature ├── missing_feature_name.feature ├── missing_scenario_name.feature ├── missing_test_action.feature ├── missing_verification.feature ├── precedence.feature ├── required_tags_starts_with.feature ├── same_tag_for_all_scenarios.feature ├── support │ ├── env.rb │ └── steps.rb ├── tag_used_multiple_times.feature ├── too_clumsy.feature ├── too_long_step.feature ├── too_many_different_tags.feature ├── too_many_steps.feature ├── too_many_tags.feature ├── unique_scenario_names.feature ├── unknown_variable.feature ├── unused_variable.feature ├── use_background.feature └── use_outline.feature ├── gherkin_lint.gemspec ├── lib ├── gherkin_lint.rb └── gherkin_lint │ ├── configuration.rb │ ├── issue.rb │ ├── linter.rb │ └── linter │ ├── avoid_outline_for_single_example.rb │ ├── avoid_period.rb │ ├── avoid_scripting.rb │ ├── background_does_more_than_setup.rb │ ├── background_requires_multiple_scenarios.rb │ ├── bad_scenario_name.rb │ ├── be_declarative.rb │ ├── file_name_differs_feature_name.rb │ ├── invalid_file_name.rb │ ├── invalid_step_flow.rb │ ├── missing_example_name.rb │ ├── missing_feature_description.rb │ ├── missing_feature_name.rb │ ├── missing_scenario_name.rb │ ├── missing_test_action.rb │ ├── missing_verification.rb │ ├── required_tags_starts_with.rb │ ├── same_tag_for_all_scenarios.rb │ ├── tag_collector.rb │ ├── tag_constraint.rb │ ├── tag_used_multiple_times.rb │ ├── too_clumsy.rb │ ├── too_long_step.rb │ ├── too_many_different_tags.rb │ ├── too_many_steps.rb │ ├── too_many_tags.rb │ ├── unique_scenario_names.rb │ ├── unknown_variable.rb │ ├── unused_variable.rb │ ├── use_background.rb │ └── use_outline.rb └── spec ├── configuration_spec.rb ├── gherkin_lint_spec.rb ├── required_tags_starts_with_spec.rb └── shared_contexts ├── file_exists.rb └── gherkin_linter.rb /.gitignore: -------------------------------------------------------------------------------- 1 | Gemfile.lock 2 | .bundle 3 | .idea 4 | tmp 5 | -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/.travis.yml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/Dockerfile -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/Gemfile -------------------------------------------------------------------------------- /Guardfile: -------------------------------------------------------------------------------- 1 | guard 'rake', task: :default do 2 | watch(%r{^src/.*$}) 3 | end 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/Rakefile -------------------------------------------------------------------------------- /appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/appveyor.yml -------------------------------------------------------------------------------- /bin/gherkin_lint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/bin/gherkin_lint -------------------------------------------------------------------------------- /config/default.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/config/default.yml -------------------------------------------------------------------------------- /features/avoid_outline_for_single_example.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/avoid_outline_for_single_example.feature -------------------------------------------------------------------------------- /features/avoid_period.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/avoid_period.feature -------------------------------------------------------------------------------- /features/avoid_scripting.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/avoid_scripting.feature -------------------------------------------------------------------------------- /features/background_does_more_than_setup.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/background_does_more_than_setup.feature -------------------------------------------------------------------------------- /features/background_requires_scenario.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/background_requires_scenario.feature -------------------------------------------------------------------------------- /features/bad_scenario_name.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/bad_scenario_name.feature -------------------------------------------------------------------------------- /features/be_declarative.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/be_declarative.feature -------------------------------------------------------------------------------- /features/disable_tags.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/disable_tags.feature -------------------------------------------------------------------------------- /features/file_name_differs_feature_name.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/file_name_differs_feature_name.feature -------------------------------------------------------------------------------- /features/invalid_file_name.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/invalid_file_name.feature -------------------------------------------------------------------------------- /features/invalid_step_flow.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/invalid_step_flow.feature -------------------------------------------------------------------------------- /features/missing_example_name.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/missing_example_name.feature -------------------------------------------------------------------------------- /features/missing_feature_description.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/missing_feature_description.feature -------------------------------------------------------------------------------- /features/missing_feature_name.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/missing_feature_name.feature -------------------------------------------------------------------------------- /features/missing_scenario_name.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/missing_scenario_name.feature -------------------------------------------------------------------------------- /features/missing_test_action.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/missing_test_action.feature -------------------------------------------------------------------------------- /features/missing_verification.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/missing_verification.feature -------------------------------------------------------------------------------- /features/precedence.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/precedence.feature -------------------------------------------------------------------------------- /features/required_tags_starts_with.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/required_tags_starts_with.feature -------------------------------------------------------------------------------- /features/same_tag_for_all_scenarios.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/same_tag_for_all_scenarios.feature -------------------------------------------------------------------------------- /features/support/env.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/support/env.rb -------------------------------------------------------------------------------- /features/support/steps.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/support/steps.rb -------------------------------------------------------------------------------- /features/tag_used_multiple_times.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/tag_used_multiple_times.feature -------------------------------------------------------------------------------- /features/too_clumsy.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/too_clumsy.feature -------------------------------------------------------------------------------- /features/too_long_step.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/too_long_step.feature -------------------------------------------------------------------------------- /features/too_many_different_tags.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/too_many_different_tags.feature -------------------------------------------------------------------------------- /features/too_many_steps.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/too_many_steps.feature -------------------------------------------------------------------------------- /features/too_many_tags.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/too_many_tags.feature -------------------------------------------------------------------------------- /features/unique_scenario_names.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/unique_scenario_names.feature -------------------------------------------------------------------------------- /features/unknown_variable.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/unknown_variable.feature -------------------------------------------------------------------------------- /features/unused_variable.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/unused_variable.feature -------------------------------------------------------------------------------- /features/use_background.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/use_background.feature -------------------------------------------------------------------------------- /features/use_outline.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/features/use_outline.feature -------------------------------------------------------------------------------- /gherkin_lint.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/gherkin_lint.gemspec -------------------------------------------------------------------------------- /lib/gherkin_lint.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/configuration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/configuration.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/issue.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/issue.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/avoid_outline_for_single_example.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/avoid_outline_for_single_example.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/avoid_period.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/avoid_period.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/avoid_scripting.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/avoid_scripting.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/background_does_more_than_setup.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/background_does_more_than_setup.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/background_requires_multiple_scenarios.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/background_requires_multiple_scenarios.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/bad_scenario_name.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/bad_scenario_name.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/be_declarative.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/be_declarative.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/file_name_differs_feature_name.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/file_name_differs_feature_name.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/invalid_file_name.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/invalid_file_name.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/invalid_step_flow.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/invalid_step_flow.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/missing_example_name.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/missing_example_name.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/missing_feature_description.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/missing_feature_description.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/missing_feature_name.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/missing_feature_name.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/missing_scenario_name.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/missing_scenario_name.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/missing_test_action.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/missing_test_action.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/missing_verification.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/missing_verification.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/required_tags_starts_with.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/required_tags_starts_with.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/same_tag_for_all_scenarios.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/same_tag_for_all_scenarios.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/tag_collector.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/tag_collector.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/tag_constraint.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/tag_constraint.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/tag_used_multiple_times.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/tag_used_multiple_times.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/too_clumsy.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/too_clumsy.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/too_long_step.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/too_long_step.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/too_many_different_tags.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/too_many_different_tags.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/too_many_steps.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/too_many_steps.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/too_many_tags.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/too_many_tags.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/unique_scenario_names.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/unique_scenario_names.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/unknown_variable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/unknown_variable.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/unused_variable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/unused_variable.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/use_background.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/use_background.rb -------------------------------------------------------------------------------- /lib/gherkin_lint/linter/use_outline.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/lib/gherkin_lint/linter/use_outline.rb -------------------------------------------------------------------------------- /spec/configuration_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/spec/configuration_spec.rb -------------------------------------------------------------------------------- /spec/gherkin_lint_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/spec/gherkin_lint_spec.rb -------------------------------------------------------------------------------- /spec/required_tags_starts_with_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/spec/required_tags_starts_with_spec.rb -------------------------------------------------------------------------------- /spec/shared_contexts/file_exists.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/spec/shared_contexts/file_exists.rb -------------------------------------------------------------------------------- /spec/shared_contexts/gherkin_linter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkwerk/gherkin_lint/HEAD/spec/shared_contexts/gherkin_linter.rb --------------------------------------------------------------------------------