Classes and Modules
Module Spec::Runner::FormatterClass Spec::Runner::BacktraceTweaker
Class Spec::Runner::BehaviourRunner
Class Spec::Runner::ClassAndArgumentsParser
Class Spec::Runner::CommandLine
Class Spec::Runner::Configuration
Class Spec::Runner::DrbCommandLine
Class Spec::Runner::ExampleGroupCreationListener
Class Spec::Runner::ExampleGroupRunner
Class Spec::Runner::HeckleRunner
Class Spec::Runner::Heckler
Class Spec::Runner::NoisyBacktraceTweaker
Class Spec::Runner::OptionParser
Class Spec::Runner::Options
Class Spec::Runner::QuietBacktraceTweaker
Class Spec::Runner::Reporter
Class Spec::Runner::SpecParser
Public class methods
configure
() {|configuration| ...}
Use this to configure various configurable aspects of RSpec:
Spec::Runner.configure do |configuration| # Configure RSpec here end
The yielded configuration object is a Spec::Runner::Configuration instance. See its RDoc for details about what you can do with it.
[show source]
# File lib/spec/runner.rb, line 40 def configure yield configuration end
run
()
[show source]
# File lib/spec/runner.rb, line 60 def run return true if options.examples_run? options.run_examples end
use
(options)
[show source]
# File lib/spec/runner.rb, line 56 def use options @options = options end