module Cucumber::Formatter

Constants

BACKTRACE_FILTER_PATTERNS
BackgroundPrinter
Embedding
ExamplesArrayPrinter
ExamplesTablePrinter
FeaturePrinter
LegacyTable
OutlineStepsPrinter
ScenarioOutlinePrinter
ScenarioPrinter
StepsPrinter

Public Class Methods

create_comments_array(comments) click to toggle source
# File lib/cucumber/formatter/json.rb, line 328
def self.create_comments_array(comments)
  comments_array = []
  comments.each { |comment| comments_array << { value: comment.to_s.strip, line: comment.location.line } }
  comments_array
end