class Cucumber::Formatter::HTML
Public Class Methods
new(config)
click to toggle source
Calls superclass method
# File lib/cucumber/formatter/html.rb, line 10 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
Public Instance Methods
output_envelope(envelope)
click to toggle source
# File lib/cucumber/formatter/html.rb, line 18 def output_envelope(envelope) @html_formatter.write_message(envelope) @html_formatter.write_post_message if envelope.test_run_finished end