Sha256: 8fdd5d8954f7f2dee414dac1a2e411b188c7ecad4e7d4ac0027bebe7251cbe26
Contents?: true
Size: 583 Bytes
Versions: 2
Compression:
Stored size: 583 Bytes
Contents
# typed: true # frozen_string_literal: true module Minitest class << self def plugin_junitxml_options(opts, options) options[:junitxml] = ENV['MINITEST_JUNITXML'] opts.on('--junitxml=PATH', "Generate a JUnitXML report at the specified path") do |path| options[:junitxml] = path end end def plugin_junitxml_init(options) return if options[:junitxml].nil? require 'minitest/distributed/reporters/junitxml_reporter' reporter << Minitest::Distributed::Reporters::JUnitXMLReporter.new(options[:io], options) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
minitest-distributed-0.2.2 | lib/minitest/junitxml_plugin.rb |
minitest-distributed-0.2.3 | lib/minitest/junitxml_plugin.rb |