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