class Minitest::Distributed::TestRunner
Attributes
configuration[R]
coordinator[R]
options[R]
test_selector[R]
Public Class Methods
new(options)
click to toggle source
# File lib/minitest/distributed/test_runner.rb, line 22 def initialize(options) @options = options @configuration = T.let(@options[:distributed], Configuration) @coordinator = T.let(configuration.coordinator, Coordinators::CoordinatorInterface) @test_selector = T.let(TestSelector.new(options), TestSelector) end
Public Instance Methods
run(reporter)
click to toggle source
# File lib/minitest/distributed/test_runner.rb, line 31 def run(reporter) coordinator.produce(test_selector: test_selector) coordinator.consume(reporter: reporter) end