Sha256: 23a827df044a780c04f6230853e6802e649f43b950a29aaf95b2dbba07028c66
Contents?: true
Size: 582 Bytes
Versions: 46
Compression:
Stored size: 582 Bytes
Contents
require 'cucumber/formatter/gherkin_formatter_adapter' require 'cucumber/formatter/io' require 'gherkin/formatter/argument' require 'gherkin/formatter/pretty_formatter' module Cucumber module Formatter # The formatter used for <tt>--format gpretty</tt> class Gpretty < GherkinFormatterAdapter include Io def initialize(step_mother, io, options) @io = ensure_io(io, "json") super(Gherkin::Formatter::PrettyFormatter.new(@io, false), true) end def after_feature(feature) super @io.puts end end end end
Version data entries
46 entries across 44 versions & 10 rubygems