Sha256: 732554f17212197eaeefbe9b198eadead555f0ff92040155f2f32e877175fdee
Contents?: true
Size: 652 Bytes
Versions: 8
Compression:
Stored size: 652 Bytes
Contents
# frozen_string_literal: true require 'cucumber/formatter/io' require 'cucumber/html_formatter' require 'cucumber/formatter/message_builder' module Cucumber module Formatter class HTML < MessageBuilder include Io def initialize(config) @io = ensure_io(config.out_stream, config.error_stream) @html_formatter = Cucumber::HTMLFormatter::Formatter.new(@io) @html_formatter.write_pre_message super(config) end def output_envelope(envelope) @html_formatter.write_message(envelope) @html_formatter.write_post_message if envelope.test_run_finished end end end end
Version data entries
8 entries across 8 versions & 2 rubygems