未验证 提交 758ba117 编写于 作者: M Mauri Mustonen 提交者: Kasper Timm Hansen

running test with_info_handler method

上级 19df75dc
* Calling test methods with `with_info_handler` method to allow minitest-hooks
plugin to work.
*Mauri Mustonen*
* The Zeitwerk compatibility interface for `ActiveSupport::Dependencies` no * The Zeitwerk compatibility interface for `ActiveSupport::Dependencies` no
longer implements `autoloaded_constants` or `autoloaded?` (undocumented, longer implements `autoloaded_constants` or `autoloaded?` (undocumented,
anyway). Experience shows introspection does not have many use cases, and anyway). Experience shows introspection does not have many use cases, and
......
...@@ -79,7 +79,9 @@ def start ...@@ -79,7 +79,9 @@ def start
klass = job[0] klass = job[0]
method = job[1] method = job[1]
reporter = job[2] reporter = job[2]
result = Minitest.run_one_method(klass, method) result = klass.with_info_handler reporter do
Minitest.run_one_method(klass, method)
end
begin begin
queue.record(reporter, result) queue.record(reporter, result)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册