Sha256: 9d9ce7ef296a6d1aafc6502de2578ed43c6794ebeea8be0e2d06034aa04584f5
Contents?: true
Size: 448 Bytes
Versions: 14
Compression:
Stored size: 448 Bytes
Contents
# frozen_string_literal: true require 'chutney/linter' module Chutney # service class to lint for missing verifications class MissingVerification < Linter def lint filled_scenarios do |feature, scenario| then_steps = scenario.steps.select { |step| then_word?(step.keyword) } next unless then_steps.empty? add_issue(I18n.t('linters.missing_test_verification'), feature, scenario) end end end end
Version data entries
14 entries across 14 versions & 1 rubygems