class Cucumber::Filters::BroadcastTestRunStartedEvent
all of the test cases that have made it through the filters.
Added at the end of the filter chain to broadcast a list of
def done
def done config.notify :test_run_started, @test_cases @test_cases.map do |test_case| test_case.describe_to(@receiver) end super self end
def initialize(config, receiver = nil)
def initialize(config, receiver = nil) super @test_cases = [] end
def test_case(test_case)
def test_case(test_case) @test_cases << test_case self end