dohtest 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/doh/test/master_runner.rb +5 -1
- metadata +1 -1
@@ -17,7 +17,11 @@ class MasterRunner
|
|
17
17
|
TestGroup.descendants.each do |group_class|
|
18
18
|
break if GroupRunner.new(group_class, @output, @config).run
|
19
19
|
end
|
20
|
-
|
20
|
+
if @config[:post_test_callback]
|
21
|
+
if (!@config[:post_test_callback].call())
|
22
|
+
@output.test_error("PostTestCallback", proc.inspect, "failure")
|
23
|
+
end
|
24
|
+
end
|
21
25
|
@output.run_end(Time.now - start_time)
|
22
26
|
end
|
23
27
|
end
|