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