method
run_before_all

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