Sha256: caa01beb4c5bf5e838466cc724ebf57b8037e786dd632c7b381bf0f9cbc4319f

Contents?: true

Size: 501 Bytes

Versions: 10

Compression:

Stored size: 501 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require 'optparse'
require 'cucumber/messages'
require 'cucumber/html_formatter'

formatter = Cucumber::HTMLFormatter::Formatter.new($stdout)

option_parser = OptionParser.new do |opts|
  opts.on_tail('-h', '--help', 'Show this message') do
    puts opts
    exit
  end
end
options = {}
option_parser.parse!(into: options)
message_enumerator = Cucumber::Messages::NdjsonToMessageEnumerator.new($stdin)

formatter.process_messages(message_enumerator)

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
cucumber-html-formatter-21.9.0 bin/cucumber-html-formatter
cucumber-html-formatter-21.8.0 bin/cucumber-html-formatter
cucumber-html-formatter-21.7.0 bin/cucumber-html-formatter
cucumber-html-formatter-21.6.0 bin/cucumber-html-formatter
cucumber-html-formatter-21.5.0 bin/cucumber-html-formatter
cucumber-html-formatter-21.4.1 bin/cucumber-html-formatter
cucumber-html-formatter-21.4.0 bin/cucumber-html-formatter
cucumber-html-formatter-21.3.1 bin/cucumber-html-formatter
cucumber-html-formatter-21.3.0 bin/cucumber-html-formatter
cucumber-html-formatter-21.2.0 bin/cucumber-html-formatter