Class: Spec::Example::ExampleGroup

Inherits:
Object
  • Object
show all
Extended by:
ExampleGroupMethods
Includes:
ExampleMethods
Defined in:
lib/spec/example/example_group.rb

Overview

Base class for customized example groups. Use this if you want to make a custom example group.

Instance Attribute Summary

Attributes included from ExampleGroupMethods

#location

Attributes included from Subject::ExampleGroupMethods

#explicit_subject_block

Method Summary

Methods included from ExampleGroupMethods

build_description_from, describe, described_class, described_type, description, description_args, description_parts, example, example_group_hierarchy, example_implementations, example_proxies, examples, include_constants_in, inherited, it_should_behave_like, let, let!, nested_descriptions, notify, number_of_examples, options, pending_implementation, run, set_description, xexample

Methods included from ArgsAndOptions

#add_options, #args_and_options, #set_location

Methods included from PredicateMatchers

#define_methods_from_predicate_matchers, #predicate_matchers

Methods included from Subject::ExampleGroupMethods

#its, #subject

Methods included from BeforeAndAfterHooks

#after_all_parts, #after_each_parts, after_suite_parts, #after_suite_parts, #append_after, #append_before, #before_all_parts, #before_each_parts, before_suite_parts, #before_suite_parts, #prepend_after, #prepend_before

Methods included from ExampleMethods

#description, #eval_each_fail_fast, #eval_each_fail_slow, #execute, #expect, #initialize, #instance_variable_hash, #options, #run_after_each, #run_before_each, #set_instance_variables_from_hash, #violated

Methods included from ModuleReopeningFix

#child_modules, #include, #included

Methods included from Pending

#pending

Methods included from Matchers

#be, #be_a, #be_a_kind_of, #be_an_instance_of, #be_close, #change, clear_generated_description, #eql, #equal, #exist, generated_description, #have, #have_at_least, #have_at_most, #include, #match, #method_missing, #raise_exception, #respond_to, #satisfy, #simple_matcher, #throw_symbol, #wrap_expectation

Methods included from Matchers::DSL

#create, #define

Methods included from Subject::ExampleMethods

#__should_for_example_group__, #__should_not_for_example_group__, #should, #should_not, #subject

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Spec::Matchers