method
run_before_all
1.1.4 -
Show latest stable
- Class:
Spec::Example::ExampleGroupMethods
run_before_all()private
No documentation available.
# File lib/spec/example/example_group_methods.rb, line 285
def run_before_all
before_all = new("before(:all)")
begin
execute_in_class_hierarchy do |example_group|
before_all.eval_each_fail_fast(example_group.before_all_parts)
end
return [true, before_all.instance_variable_hash]
rescue Exception => e
reporter.failure(before_all, e)
return [false, before_all.instance_variable_hash]
end
end