Sha256: 37f121d1a263ec0d3dc9d4bc39462269888bce0b1a9154266595de0c06356242
Contents?: true
Size: 612 Bytes
Versions: 3
Compression:
Stored size: 612 Bytes
Contents
# typed: true # frozen_string_literal: true module Minitest class << self def plugin_test_order_options(opts, options) options[:test_order_file] = ENV["MINITEST_TEST_ORDER"] opts.on("--test_order=PATH", "Log order of tests executed to provided file.") do |path| options[:test_order_file] = path end end def plugin_test_order_init(options) return if options[:test_order_file].nil? require_relative "distributed/reporters/test_order_reporter" reporter << Minitest::Distributed::Reporters::TestOrderReporter.new(options[:io], options) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
minitest-distributed-0.2.11 | lib/minitest/test_order_plugin.rb |
minitest-distributed-0.2.10 | lib/minitest/test_order_plugin.rb |
minitest-distributed-0.2.9 | lib/minitest/test_order_plugin.rb |