Sha256: f85a1bf0d3f244cb3775ea36b089a2e2f7489088b7f01a86a18064d78f867637
Contents?: true
Size: 578 Bytes
Versions: 38
Compression:
Stored size: 578 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(runtime, 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
38 entries across 36 versions & 2 rubygems