mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Better trace message for initial hook processing
This commit is contained in:
parent
df096d91aa
commit
c4289b82da
1 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@ module Spectator
|
||||||
include Iterable(SpecNode)
|
include Iterable(SpecNode)
|
||||||
|
|
||||||
group_event before_all do |hooks|
|
group_event before_all do |hooks|
|
||||||
Log.trace { "Processing before_all hooks" }
|
Log.trace { "Processing before_all hooks for #{self}" }
|
||||||
|
|
||||||
if (parent = group?)
|
if (parent = group?)
|
||||||
parent.call_once_before_all
|
parent.call_once_before_all
|
||||||
|
@ -22,7 +22,7 @@ module Spectator
|
||||||
end
|
end
|
||||||
|
|
||||||
group_event after_all do |hooks|
|
group_event after_all do |hooks|
|
||||||
Log.trace { "Processing after_all hooks" }
|
Log.trace { "Processing after_all hooks for #{self}" }
|
||||||
|
|
||||||
hooks.each do |hook|
|
hooks.each do |hook|
|
||||||
Log.trace { "Invoking hook #{hook}" }
|
Log.trace { "Invoking hook #{hook}" }
|
||||||
|
@ -35,7 +35,7 @@ module Spectator
|
||||||
end
|
end
|
||||||
|
|
||||||
example_event before_each do |hooks, example|
|
example_event before_each do |hooks, example|
|
||||||
Log.trace { "Processing before_each hooks" }
|
Log.trace { "Processing before_each hooks for #{self}" }
|
||||||
|
|
||||||
if (parent = group?)
|
if (parent = group?)
|
||||||
parent.call_before_each(example)
|
parent.call_before_each(example)
|
||||||
|
@ -48,7 +48,7 @@ module Spectator
|
||||||
end
|
end
|
||||||
|
|
||||||
example_event after_each do |hooks, example|
|
example_event after_each do |hooks, example|
|
||||||
Log.trace { "Processing after_each hooks" }
|
Log.trace { "Processing after_each hooks for #{self}" }
|
||||||
|
|
||||||
hooks.each do |hook|
|
hooks.each do |hook|
|
||||||
Log.trace { "Invoking hook #{hook}" }
|
Log.trace { "Invoking hook #{hook}" }
|
||||||
|
|
Loading…
Reference in a new issue