{
"none" => ->(_options) { nil },
"default" => ->(options) { Minitest::Reporters::DefaultReporter.new(io: options[:io]) },
"spec" => ->(options) { Minitest::Reporters::SpecReporter.new(io: options[:io]) },
"doc" => ->(options) { MAPPING["spec"].call(options) },
"junit" => ->(options) {
ENV["MINITEST_REPORTERS_REPORTS_DIR"] ||= "tmp/nicetest/junit/#{Time.now.to_i}"
Minitest::Reporters::JUnitReporter.new(io: options[:io])
},
"progress" => ->(options) { Minitest::Reporters::ProgressReporter.new(io: options[:io]) },
}