method
run_before_all

run_before_all(run_options)
private
Hide source
# File lib/spec/example/example_group_methods.rb, line 187 def run_before_all(run_options) return [true,{}] if example_group_hierarchy.before_all_parts.empty? example_proxy = ExampleProxy.new("before(:all)") before_all = new(example_proxy) begin example_group_hierarchy.run_before_all(before_all) return [true, before_all.instance_variable_hash] rescue Exception => e run_options.reporter.example_failed(example_proxy, e) return [false, before_all.instance_variable_hash] end end