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



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

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