Sha256: c57eaedc6b3c10e29480f219428f5df2e1aef92f21c873c5ccb506d0eec72fcc
Contents?: true
Size: 583 Bytes
Versions: 8
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
8 entries across 8 versions & 1 rubygems