Module Spec::Runner

  1. lib/spec/runner/backtrace_tweaker.rb
  2. lib/spec/runner/class_and_arguments_parser.rb
  3. lib/spec/runner/command_line.rb
  4. lib/spec/runner/configuration.rb
  5. lib/spec/runner/drb_command_line.rb
  6. lib/spec/runner/example_group_runner.rb
  7. lib/spec/runner/formatter/base_formatter.rb
  8. lib/spec/runner/formatter/base_text_formatter.rb
  9. lib/spec/runner/formatter/failing_example_groups_formatter.rb
  10. lib/spec/runner/formatter/failing_examples_formatter.rb
  11. lib/spec/runner/formatter/html_formatter.rb
  12. lib/spec/runner/formatter/nested_text_formatter.rb
  13. lib/spec/runner/formatter/profile_formatter.rb
  14. lib/spec/runner/formatter/progress_bar_formatter.rb
  15. lib/spec/runner/formatter/snippet_extractor.rb
  16. lib/spec/runner/formatter/specdoc_formatter.rb
  17. lib/spec/runner/formatter/text_mate_formatter.rb
  18. lib/spec/runner/heckle_runner.rb
  19. lib/spec/runner/heckle_runner_unsupported.rb
  20. lib/spec/runner/option_parser.rb
  21. lib/spec/runner/options.rb
  22. lib/spec/runner/reporter.rb
  23. lib/spec/runner/spec_parser.rb
  24. lib/spec/runner.rb
  25. show all

Methods

public class

  1. configure
  2. run
  3. use

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 39
      def configure
        yield configuration
      end
run ()
[show source]
# File lib/spec/runner.rb, line 59
      def run
        return true if options.examples_run?
        options.run_examples
      end
use (options)
[show source]
# File lib/spec/runner.rb, line 55
      def use options
        @options = options
      end