APIdock / RSpec
/
Browse About
method

examples_to_run

1.1.4 - Show latest stable - Class: Spec::Example::ExampleGroupMethods
examples_to_run()
private

No documentation available.

# File lib/spec/example/example_group_methods.rb, line 321
      def examples_to_run
        all_examples = examples
        return all_examples unless specified_examples?
        all_examples.reject do |example|
          matcher = ExampleMatcher.new(description.to_s, example.description)
          !matcher.matches?(specified_examples)
        end
      end

Related methods

  • Instance methods
  • after
  • after_all_parts
  • after_each_parts
  • append_after
  • append_before
  • before
  • before_all_parts
  • before_each_parts
  • context
  • describe
  • described_type
  • description
  • description_parts
  • examples
  • inherited
  • it
  • it_should_behave_like
  • number_of_examples
  • predicate_matchers
  • prepend_after
  • prepend_before
  • register
  • registration_backtrace
  • remove_after
  • reset
  • run
  • run_after_each
  • run_before_each
  • set_description
  • setup
  • specify
  • teardown
  • unregister
  • xit
  • xspecify
  • Class methods
  • description_text
  • Private methods
  • privateadd_method_examples
  • privateafter_parts_from_scope
  • privatebefore_eval
  • privatebefore_parts_from_scope
  • privatedefine_methods_from_predicate_matchers
  • privatedry_run
  • privatedry_run?
  • privateexample_method?
  • privateexample_objects
  • privateexamples_to_run
  • privateexecute_examples
  • privateexecute_in_class_hierarchy
  • privateis_example_group?
  • privateplugin_mock_framework
  • privatereporter
  • privaterun_after_all
  • privaterun_before_all
  • privatescope_and_options
  • privateshould_method?
  • privatespecified_examples
  • privatespecified_examples?
APIdock API Documentation Browser

© 2026 APIdock