3 class ExampleGroupRunner
4 def initialize(options)
9 # It's important that loading files (or choosing not to) stays the
10 # responsibility of the ExampleGroupRunner. Some implementations (like)
11 # the one using DRb may choose *not* to load files, but instead tell
12 # someone else to do it over the wire.
21 example_groups.each do |example_group|
22 success = success & example_group.run
31 reporter.start(number_of_examples)
32 example_groups.reverse! if reverse
49 @options.example_groups
52 def number_of_examples
53 @options.number_of_examples
56 # TODO: BT - Deprecate BehaviourRunner?
57 BehaviourRunner = ExampleGroupRunner