class Cucumber::Cli::Main
def execute!(step_mother)
def execute!(step_mother) configuration.load_language step_mother.options = configuration.options require_files enable_diffing features = load_plain_text_features visitor = configuration.build_formatter_broadcaster(step_mother) step_mother.visitor = visitor # Needed to support World#announce visitor.visit_features(features) failure = if configuration.wip? step_mother.scenarios(:passed).any? else step_mother.scenarios(:failed).any? || (configuration.strict? && step_mother.steps(:undefined).any?) end end