g.before_all = function(g) ... end is a legacy approach and may be deprecated in the future [1]. g.before_all(function(g) ... end) is preferred since it allows to set multiple hooks. Moreover, this behavior is not supported in newer before_each/after_each hooks, so they weren't even executed before this patch.
g.before_all = function(g) ... end
is a legacy approach and may be deprecated in the future [1].g.before_all(function(g) ... end)
is preferred since it allows to set multiple hooks. Moreover, this behavior is not supported in newerbefore_each
/after_each
hooks, so they weren't even executed before this patch.I didn't forget about