Module Spec::Story::Runner
In: vendor/plugins/rspec/lib/spec/story/runner/plain_text_story_runner.rb
vendor/plugins/rspec/lib/spec/story/runner/scenario_collector.rb
vendor/plugins/rspec/lib/spec/story/runner/scenario_runner.rb
vendor/plugins/rspec/lib/spec/story/runner/story_mediator.rb
vendor/plugins/rspec/lib/spec/story/runner/story_parser.rb
vendor/plugins/rspec/lib/spec/story/runner/story_runner.rb
vendor/plugins/rspec/lib/spec/story/runner.rb

Methods

Classes and Modules

Class Spec::Story::Runner::IllegalStepError
Class Spec::Story::Runner::PlainTextStoryRunner
Class Spec::Story::Runner::ScenarioCollector
Class Spec::Story::Runner::ScenarioRunner
Class Spec::Story::Runner::StoryMediator
Class Spec::Story::Runner::StoryParser
Class Spec::Story::Runner::StoryRunner

Public Class methods

[Source]

    # File vendor/plugins/rspec/lib/spec/story/runner.rb, line 35
35:         def create_story_runner
36:           StoryRunner.new(scenario_runner, world_creator)
37:         end

[Source]

    # File vendor/plugins/rspec/lib/spec/story/runner.rb, line 52
52:         def dry_run
53:           run_options.dry_run
54:         end

Use this to register a customer output formatter.

[Source]

    # File vendor/plugins/rspec/lib/spec/story/runner.rb, line 40
40:         def register_listener(listener)
41:           story_runner.add_listener(listener) # run_started, story_started, story_ended, #run_ended
42:           world_creator.add_listener(listener) # found_scenario, step_succeeded, step_failed, step_failed
43:           scenario_runner.add_listener(listener) # scenario_started, scenario_succeeded, scenario_pending, scenario_failed
44:         end

[Validate]