Class: Cucumber::Core::Test::TagFilter::TagLimitBreach

Inherits:
Struct
  • Object
show all
Defined in:
lib/cucumber/core/test/filters/tag_filter.rb

Instance Method Summary collapse

Instance Method Details

#messageObject Also known as: to_s



95
96
97
98
# File 'lib/cucumber/core/test/filters/tag_filter.rb', line 95

def message
  "#{tag_name} occurred #{tag_count} times, but the limit was set to #{tag_limit}\n  " +
    tag_locations.map(&:to_s).join("\n  ")
end