instance method
perform_job
Ruby on Rails edge
Since v6.1.7.10Signature
perform_job(job)
No documentation comment.
Parameters
-
jobreq
Source
# File activesupport/lib/active_support/testing/parallelization/worker.rb, line 44
def perform_job(job)
klass = job[0]
method = job[1]
reporter = job[2]
set_process_title("#{klass}##{method}")
result = klass.with_info_handler reporter do
if Minitest.respond_to?(:run_one_method) then
Minitest.run_one_method(klass, method)
else
klass.new(method).run
end
end
safe_record(reporter, result)
end
Defined in activesupport/lib/active_support/testing/parallelization/worker.rb line 44
· View on GitHub
· Improve this page
· Find usages on GitHub