Table of Contents - factory_bot-6.2.1 Documentation
Classes and Modules
- FactoryBot
- FactoryBot::AssociationDefinitionError
- FactoryBot::Attribute
- FactoryBot::Attribute::Association
- FactoryBot::Attribute::Dynamic
- FactoryBot::Attribute::Sequence
- FactoryBot::AttributeAssigner
- FactoryBot::AttributeDefinitionError
- FactoryBot::AttributeList
- FactoryBot::Callback
- FactoryBot::CallbacksObserver
- FactoryBot::Configuration
- FactoryBot::Declaration
- FactoryBot::Declaration::Association
- FactoryBot::Declaration::Dynamic
- FactoryBot::Declaration::Implicit
- FactoryBot::DeclarationList
- FactoryBot::Decorator
- FactoryBot::Decorator::AttributeHash
- FactoryBot::Decorator::DisallowsDuplicatesRegistry
- FactoryBot::Decorator::InvocationTracker
- FactoryBot::Decorator::NewConstructor
- FactoryBot::Definition
- FactoryBot::DefinitionHierarchy
- FactoryBot::DefinitionProxy
- FactoryBot::DuplicateDefinitionError
- FactoryBot::Enum
- FactoryBot::Evaluation
- FactoryBot::Evaluator
- FactoryBot::EvaluatorClassDefiner
- FactoryBot::Factory
- FactoryBot::FactoryRunner
- FactoryBot::Internal
- FactoryBot::InvalidCallbackNameError
- FactoryBot::InvalidFactoryError
- FactoryBot::Linter
- FactoryBot::Linter::FactoryError
- FactoryBot::Linter::FactoryTraitError
- FactoryBot::MethodDefinitionError
- FactoryBot::NullFactory
- FactoryBot::NullObject
- FactoryBot::Registry
- FactoryBot::Sequence
- FactoryBot::Sequence::EnumeratorAdapter
- FactoryBot::SequenceAbuseError
- FactoryBot::Strategy
- FactoryBot::Strategy::AttributesFor
- FactoryBot::Strategy::Build
- FactoryBot::Strategy::Create
- FactoryBot::Strategy::Null
- FactoryBot::Strategy::Stub
- FactoryBot::StrategyCalculator
- FactoryBot::StrategySyntaxMethodRegistrar
- FactoryBot::Syntax
- FactoryBot::Syntax::Default
- FactoryBot::Syntax::Default::DSL
- FactoryBot::Syntax::Default::ModifyDSL
- FactoryBot::Syntax::Methods
- FactoryBot::SyntaxRunner
- FactoryBot::Trait
- FactoryBot::TraitDefinitionError
Methods
- ::add_callbacks — FactoryBot::DefinitionHierarchy
- ::aliases_for — FactoryBot
- ::attribute_list — FactoryBot::Evaluator
- ::build_constructor — FactoryBot::DefinitionHierarchy
- ::build_from_definition — FactoryBot::DefinitionHierarchy
- ::build_stubbed_starting_id= — FactoryBot
- ::build_to_create — FactoryBot::DefinitionHierarchy
- ::configuration — FactoryBot::Internal
- ::const_missing — FactoryBot::Decorator
- ::define_attribute — FactoryBot::Evaluator
- ::factory_by_name — FactoryBot::Internal
- ::find_definitions — FactoryBot
- ::lint — FactoryBot
- ::new — FactoryBot::Attribute
- ::new — FactoryBot::Attribute::Association
- ::new — FactoryBot::Attribute::Dynamic
- ::new — FactoryBot::Attribute::Sequence
- ::new — FactoryBot::AttributeAssigner
- ::new — FactoryBot::AttributeList
- ::new — FactoryBot::Callback
- ::new — FactoryBot::CallbacksObserver
- ::new — FactoryBot::Configuration
- ::new — FactoryBot::Declaration
- ::new — FactoryBot::Declaration::Association
- ::new — FactoryBot::Declaration::Dynamic
- ::new — FactoryBot::Declaration::Implicit
- ::new — FactoryBot::DeclarationList
- ::new — FactoryBot::Decorator
- ::new — FactoryBot::Decorator::AttributeHash
- ::new — FactoryBot::Decorator::InvocationTracker
- ::new — FactoryBot::Decorator::NewConstructor
- ::new — FactoryBot::Definition
- ::new — FactoryBot::DefinitionProxy
- ::new — FactoryBot::Enum
- ::new — FactoryBot::Evaluation
- ::new — FactoryBot::Evaluator
- ::new — FactoryBot::EvaluatorClassDefiner
- ::new — FactoryBot::Factory
- ::new — FactoryBot::FactoryRunner
- ::new — FactoryBot::Linter
- ::new — FactoryBot::Linter::FactoryError
- ::new — FactoryBot::Linter::FactoryTraitError
- ::new — FactoryBot::NullFactory
- ::new — FactoryBot::NullObject
- ::new — FactoryBot::Registry
- ::new — FactoryBot::Sequence
- ::new — FactoryBot::Sequence::EnumeratorAdapter
- ::new — FactoryBot::StrategyCalculator
- ::new — FactoryBot::StrategySyntaxMethodRegistrar
- ::new — FactoryBot::Trait
- ::next_id= — FactoryBot::Strategy::Stub
- ::register_default_strategies — FactoryBot::Internal
- ::register_factory — FactoryBot::Internal
- ::register_inline_sequence — FactoryBot::Internal
- ::register_sequence — FactoryBot::Internal
- ::register_strategy — FactoryBot::Internal
- ::register_trait — FactoryBot::Internal
- ::reload — FactoryBot
- ::reset_configuration — FactoryBot::Internal
- ::rewind_inline_sequences — FactoryBot::Internal
- ::rewind_sequences — FactoryBot::Internal
- ::run — FactoryBot::Syntax::Default::DSL
- ::run — FactoryBot::Syntax::Default::ModifyDSL
- ::sequence_by_name — FactoryBot::Internal
- ::strategy_by_name — FactoryBot::Internal
- ::trait_by_name — FactoryBot::Internal
- ::with_index — FactoryBot::StrategySyntaxMethodRegistrar
- #== — FactoryBot::Callback
- #== — FactoryBot::Declaration::Association
- #== — FactoryBot::Declaration::Dynamic
- #== — FactoryBot::Declaration::Implicit
- #== — FactoryBot::Trait
- #[] — FactoryBot::Registry
- #__declare_attribute__ — FactoryBot::DefinitionProxy
- #__invoked_methods__ — FactoryBot::Decorator::InvocationTracker
- #__override_names__ — FactoryBot::Evaluator
- #__valid_association_options? — FactoryBot::DefinitionProxy
- #add_attribute — FactoryBot::AttributeList
- #add_attribute — FactoryBot::DefinitionProxy
- #add_callback — FactoryBot::Definition
- #additional_traits — FactoryBot::Definition
- #after — FactoryBot::Definition
- #aggregate_from_traits_and_self — FactoryBot::Definition
- #alias_for? — FactoryBot::Attribute
- #alias_names_to_ignore — FactoryBot::AttributeAssigner
- #append_traits — FactoryBot::Definition
- #apply_attributes — FactoryBot::AttributeList
- #assert_valid_options — FactoryBot::Factory
- #association — FactoryBot::DefinitionProxy
- #association — FactoryBot::Evaluator
- #association — FactoryBot::Strategy::AttributesFor
- #association — FactoryBot::Strategy::Build
- #association — FactoryBot::Strategy::Create
- #association — FactoryBot::Strategy::Null
- #association — FactoryBot::Strategy::Stub
- #association? — FactoryBot::Attribute
- #association? — FactoryBot::Attribute::Association
- #association_names — FactoryBot::AttributeAssigner
- #associations — FactoryBot::AttributeList
- #associations — FactoryBot::Factory
- #attribute_defined? — FactoryBot::AttributeList
- #attribute_names_to_assign — FactoryBot::AttributeAssigner
- #attributes — FactoryBot::DeclarationList
- #attributes — FactoryBot::Decorator::AttributeHash
- #attributes — FactoryBot::Definition
- #attributes — FactoryBot::Factory
- #attributes_to_set_on_hash — FactoryBot::AttributeAssigner
- #attributes_to_set_on_instance — FactoryBot::AttributeAssigner
- #automatically_register_defined_enums — FactoryBot::Definition
- #automatically_register_defined_enums? — FactoryBot::Definition
- #base_traits — FactoryBot::Definition
- #before — FactoryBot::Definition
- #build — FactoryBot::Declaration::Association
- #build — FactoryBot::Declaration::Dynamic
- #build — FactoryBot::Declaration::Implicit
- #build_class — FactoryBot::Factory
- #build_class_instance — FactoryBot::AttributeAssigner
- #build_hash — FactoryBot::AttributeAssigner
- #build_hierarchy — FactoryBot::Factory
- #build_trait — FactoryBot::Enum
- #build_traits — FactoryBot::Enum
- #calculate_invalid_factories — FactoryBot::Linter
- #callback — FactoryBot::Definition
- #callbacks — FactoryBot::Definition
- #callbacks — FactoryBot::Factory
- #callbacks_by_name — FactoryBot::CallbacksObserver
- #class_name — FactoryBot::Factory
- #class_name — FactoryBot::NullFactory
- #clear — FactoryBot::Registry
- #clear_changes_information — FactoryBot::Strategy::Stub
- #compile — FactoryBot::Definition
- #compile — FactoryBot::Factory
- #compile — FactoryBot::NullFactory
- #compiled_constructor — FactoryBot::Factory
- #compiled_to_create — FactoryBot::Factory
- #constructor — FactoryBot::Definition
- #create — FactoryBot::Evaluation
- #declare_attribute — FactoryBot::DeclarationList
- #decorated_evaluator — FactoryBot::AttributeAssigner
- #define — FactoryBot::Syntax::Default
- #define_attribute — FactoryBot::AttributeList
- #define_constructor — FactoryBot::Definition
- #define_list_strategy_method — FactoryBot::StrategySyntaxMethodRegistrar
- #define_pair_strategy_method — FactoryBot::StrategySyntaxMethodRegistrar
- #define_singular_strategy_method — FactoryBot::StrategySyntaxMethodRegistrar
- #define_strategy_methods — FactoryBot::StrategySyntaxMethodRegistrar
- #define_syntax_method — FactoryBot::StrategySyntaxMethodRegistrar
- #define_trait — FactoryBot::Definition
- #delete_declaration — FactoryBot::DeclarationList
- #destroyed? — FactoryBot::Strategy::Stub
- #each — FactoryBot::AttributeList
- #each — FactoryBot::DeclarationList
- #each — FactoryBot::Registry
- #ensure_attribute_not_defined! — FactoryBot::AttributeList
- #ensure_attribute_not_self_referencing! — FactoryBot::AttributeList
- #enum_values — FactoryBot::Enum
- #error_message — FactoryBot::Linter
- #error_message_type — FactoryBot::Linter
- #error_with_definition_name — FactoryBot::Definition
- #evaluator_class — FactoryBot::EvaluatorClassDefiner
- #evaluator_class — FactoryBot::Factory
- #evaluator_class — FactoryBot::NullFactory
- #expand_enum_traits — FactoryBot::Definition
- #factory — FactoryBot::DefinitionProxy
- #factory — FactoryBot::Syntax::Default::DSL
- #factory — FactoryBot::Syntax::Default::ModifyDSL
- #find — FactoryBot::Registry
- #generate — FactoryBot::Syntax::Methods
- #generate_list — FactoryBot::Syntax::Methods
- #get — FactoryBot::AttributeAssigner
- #has_settable_id? — FactoryBot::Strategy::Stub
- #hash — FactoryBot::AttributeAssigner
- #hash_instance_methods_to_respond_to — FactoryBot::AttributeAssigner
- #hierarchy_class — FactoryBot::Factory
- #hierarchy_class — FactoryBot::NullFactory
- #hierarchy_instance — FactoryBot::Factory
- #human_names — FactoryBot::Factory
- #ignorable_alias? — FactoryBot::AttributeAssigner
- #ignored — FactoryBot::AttributeList
- #ignored_attribute_names — FactoryBot::AttributeAssigner
- #increment_sequence — FactoryBot::Evaluator
- #increment_value — FactoryBot::Sequence
- #inherit_traits — FactoryBot::Definition
- #initialize_copy — FactoryBot::Definition
- #initialize_copy — FactoryBot::Factory
- #initialize_with — FactoryBot::Configuration
- #initialize_with — FactoryBot::DefinitionProxy
- #key_error_with_custom_message — FactoryBot::Registry
- #lint — FactoryBot::Linter
- #lint! — FactoryBot::Linter
- #lint_factory — FactoryBot::Linter
- #lint_traits — FactoryBot::Linter
- #location — FactoryBot::Linter::FactoryError
- #location — FactoryBot::Linter::FactoryTraitError
- #message — FactoryBot::Linter::FactoryError
- #method_missing — FactoryBot::Decorator
- #method_missing — FactoryBot::Decorator::InvocationTracker
- #method_missing — FactoryBot::DefinitionProxy
- #method_missing — FactoryBot::Evaluator
- #method_missing — FactoryBot::NullObject
- #method_tracking_evaluator — FactoryBot::AttributeAssigner
- #methods_invoked_on_evaluator — FactoryBot::AttributeAssigner
- #missing_created_at? — FactoryBot::Strategy::Stub
- #missing_updated_at? — FactoryBot::Strategy::Stub
- #modify — FactoryBot::Syntax::Default
- #names — FactoryBot::AttributeList
- #names — FactoryBot::Factory
- #names — FactoryBot::Sequence
- #names — FactoryBot::Trait
- #new_key_error — FactoryBot::Registry
- #new_record? — FactoryBot::Strategy::Stub
- #next — FactoryBot::Sequence
- #next — FactoryBot::Sequence::EnumeratorAdapter
- #next_id — FactoryBot::Strategy::Stub
- #non_ignored — FactoryBot::AttributeList
- #non_ignored_attribute_names — FactoryBot::AttributeAssigner
- #notify — FactoryBot::Evaluation
- #object — FactoryBot::AttributeAssigner
- #overridable — FactoryBot::DeclarationList
- #overridable — FactoryBot::Definition
- #overridable? — FactoryBot::DeclarationList
- #override_names — FactoryBot::AttributeAssigner
- #parent — FactoryBot::Factory
- #peek — FactoryBot::Sequence::EnumeratorAdapter
- #persisted? — FactoryBot::Strategy::Stub
- #raise_if_arguments_are_declarations! — FactoryBot::Declaration::Association
- #register — FactoryBot::Decorator::DisallowsDuplicatesRegistry
- #register — FactoryBot::Registry
- #register_enum — FactoryBot::Definition
- #registered? — FactoryBot::Registry
- #respond_to? — FactoryBot::NullObject
- #respond_to_missing? — FactoryBot::Decorator
- #respond_to_missing? — FactoryBot::Evaluator
- #result — FactoryBot::Strategy::AttributesFor
- #result — FactoryBot::Strategy::Build
- #result — FactoryBot::Strategy::Create
- #result — FactoryBot::Strategy::Null
- #result — FactoryBot::Strategy::Stub
- #rewind — FactoryBot::Sequence
- #rewind — FactoryBot::Sequence::EnumeratorAdapter
- #run — FactoryBot::Callback
- #run — FactoryBot::Factory
- #run — FactoryBot::FactoryRunner
- #send — FactoryBot::Decorator
- #sequence — FactoryBot::DefinitionProxy
- #sequence — FactoryBot::Syntax::Default::DSL
- #set_timestamps — FactoryBot::Strategy::Stub
- #singleton_method_added — FactoryBot::DefinitionProxy
- #skip_create — FactoryBot::Definition
- #skip_create — FactoryBot::DefinitionProxy
- #strategy — FactoryBot::StrategyCalculator
- #strategy_is_object? — FactoryBot::StrategyCalculator
- #strategy_name_to_object — FactoryBot::StrategyCalculator
- #stub_database_interaction_on_result — FactoryBot::Strategy::Stub
- #syntax_runner — FactoryBot::Callback
- #to_attributes — FactoryBot::Declaration
- #to_attributes — FactoryBot::DeclarationList
- #to_create — FactoryBot::Definition
- #to_create — FactoryBot::DefinitionProxy
- #to_proc — FactoryBot::Attribute
- #to_proc — FactoryBot::Attribute::Association
- #to_proc — FactoryBot::Attribute::Dynamic
- #to_proc — FactoryBot::Attribute::Sequence
- #to_sym — FactoryBot::Strategy::AttributesFor
- #to_sym — FactoryBot::Strategy::Build
- #to_sym — FactoryBot::Strategy::Create
- #to_sym — FactoryBot::Strategy::Null
- #to_sym — FactoryBot::Strategy::Stub
- #trait — FactoryBot::DefinitionProxy
- #trait — FactoryBot::Syntax::Default::DSL
- #trait_by_name — FactoryBot::Definition
- #trait_for — FactoryBot::Definition
- #traits_for_enum — FactoryBot::DefinitionProxy
- #transient — FactoryBot::DefinitionProxy
- #update — FactoryBot::CallbacksObserver
- #value — FactoryBot::Sequence
- #verbose_message — FactoryBot::Linter::FactoryError
- #with_traits — FactoryBot::Factory