Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,482 in github.com/crewAIInc/crewAI
⨍
Functions
19,482
◇
Types & classes
3,433
↳
Endpoints
991
Method
test_build_embedder_with_provider_instance
Test building embedder from provider instance.
lib/crewai/tests/rag/embeddings/test_embedding_factory.py:290
Method
test_build_embedder_with_string_input_and_none_row_raises
( self, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/rag/embeddings/test_oracle_provider.py:286
Function
test_build_embedder_without_chromadb_names_the_extra
(monkeypatch)
lib/crewai/tests/rag/embeddings/test_chromadb_optional_providers.py:123
Method
test_build_embedder_without_oracledb_raises
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/rag/embeddings/test_oracle_provider.py:261
Function
test_build_flow_definition_wraps_validation_error_with_class_name
()
lib/crewai/tests/test_flow_definition.py:1355
Function
test_build_flow_structure_from_flow_class
Test building structure from a Flow class via its FlowDefinition.
lib/crewai/tests/test_flow_visualization.py:122
Function
test_build_flow_structure_from_flow_definition
Test building visualization directly from a FlowDefinition.
lib/crewai/tests/test_flow_visualization.py:131
Function
test_build_flow_structure_simple
Test building structure for a simple sequential flow.
lib/crewai/tests/test_flow_visualization.py:100
Function
test_build_flow_structure_with_and_or_conditions
Test building structure for a flow with AND/OR conditions.
lib/crewai/tests/test_flow_visualization.py:189
Function
test_build_flow_structure_with_router
Test building structure for a flow with router.
lib/crewai/tests/test_flow_visualization.py:170
Function
test_build_metadata_filter_covers_errors_and_combined_filters
()
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:939
Method
test_builds_http_config
(self)
lib/crewai/tests/mcp/test_amp_mcp.py:49
Method
test_builds_sse_config
(self)
lib/crewai/tests/mcp/test_amp_mcp.py:66
Method
test_builds_the_default_when_no_client_is_installed
(self)
lib/crewai/tests/utilities/test_agent_utils.py:1139
Method
test_builtin
(self)
lib/crewai/tests/test_callback.py:68
Method
test_builtin
(self)
lib/crewai/tests/test_callback.py:224
Method
test_builtin_converse_appends_assistant_message_and_uses_history
(self)
lib/crewai/tests/test_flow_conversation.py:505
Method
test_builtin_converse_does_not_double_append_with_persist
( self, tmp_path: Any )
lib/crewai/tests/test_flow_conversation.py:1653
Method
test_builtin_end_marks_conversation_ended
(self)
lib/crewai/tests/test_flow_conversation.py:602
Method
test_builtin_methods_are_synthesized_with_their_roles
(self)
lib/crewai/tests/test_flow_conversation.py:3359
Method
test_bumps_a_pin_with_extras_and_keeps_them
`crewai[spreadsheets]` pins `crewai-files[spreadsheets]==`; a pin the bump missed would leave every later release asking for an old version.
lib/devtools/tests/test_toml_updates.py:512
Method
test_bumps_crewai_files_in_file_processing_extra
(self, tmp_path: Path)
lib/devtools/tests/test_toml_updates.py:478
Function
test_button_press_records_exactly_once
Recording moved into the action; the button must not double-count.
lib/cli/tests/test_crew_run_tui.py:2454
Method
test_bytes_no_detector_reads_fall_back_to_cp1252
(self, monkeypatch)
lib/crewai-files/tests/spreadsheets/test_reading.py:493
Method
test_cache_creation
Test creating an empty cache.
lib/crewai-files/tests/test_upload_cache.py:82
Method
test_cache_creation_tokens_included_in_prompt_and_total
(self)
lib/crewai/tests/events/test_llm_usage_event.py:321
Function
test_cache_function_passed_through
Test that cache_function is stored on CrewStructuredTool.
lib/crewai/tests/tools/test_structured_tool.py:41
Method
test_cache_handler_refuses_to_store_a_failure
(self)
lib/crewai/tests/tools/test_tool_failure.py:917
Method
test_cache_handler_still_stores_successes
(self)
lib/crewai/tests/tools/test_tool_failure.py:924
Function
test_cache_hitting_between_agents
(researcher, writer, ceo)
lib/crewai/tests/test_crew.py:842
Function
test_cache_identity_uses_arguments_after_hooks
(backend, input_args, seed)
lib/crewai/tests/agents/test_native_tool_hook_contract.py:140
Function
test_cache_key_hashes_key_and_never_stores_it
(monkeypatch)
lib/cli/tests/test_model_catalog.py:581
Method
test_cache_read_and_creation_tokens_both_included
(self)
lib/crewai/tests/events/test_llm_usage_event.py:337
Method
test_cache_read_tokens_included_in_prompt_and_total
(self)
lib/crewai/tests/events/test_llm_usage_event.py:304
Method
test_cached_upload_creation
Test creating a cached upload.
lib/crewai-files/tests/test_upload_cache.py:20
Method
test_call_and_output_ids_round_trip
The id extracted from a call must be the one sent back with its result. This is the correlation the API relies on: a function_call_output who
lib/crewai/tests/llms/openai/test_responses_tool_loop.py:169
Method
test_call_delegates_to_responses
(self)
lib/crewai/tests/llms/azure/test_azure_responses.py:211
Method
test_call_llm_and_parse_does_not_pass_response_model_with_tools
Structured output should not be requested during ReAct tool loops.
lib/crewai/tests/agents/test_agent_executor.py:482
Method
test_call_llm_and_parse_skips_preflight_when_context_respect_is_disabled
( self, mock_dependencies )
lib/crewai/tests/agents/test_agent_executor.py:529
Method
test_call_llm_and_parse_summarizes_before_the_model_call
( self, mock_dependencies )
lib/crewai/tests/agents/test_agent_executor.py:504
Method
test_call_llm_context_error
Test call_llm_and_parse handles context length error.
lib/crewai/tests/agents/test_agent_executor.py:1208
Method
test_call_llm_native_tools_does_not_pass_response_model_with_tools
Structured output should not be requested during native tool calls.
lib/crewai/tests/agents/test_agent_executor.py:541
Method
test_call_llm_native_tools_falls_back_when_provider_rejects_tools
Provider-level unsupported tools errors should downgrade to ReAct.
lib/crewai/tests/agents/test_agent_executor.py:594
Method
test_call_llm_parser_error
Test call_llm_and_parse handles OutputParserError.
lib/crewai/tests/agents/test_agent_executor.py:1190
Method
test_call_method_can_be_mocked
Test that the call method can be mocked for testing.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:437
Function
test_call_returns_the_text_and_counts_its_tokens
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:336
Function
test_call_tool_result_emits_authentication_error_type
()
lib/crewai/tests/mcp/test_client_tool_execution_auth.py:36
Function
test_call_tool_span_says_whether_the_cache_answered
(pipeline, from_cache)
lib/crewai/tests/telemetry/test_span_task_agent_tool_attributes.py:271
Method
test_call_with_tools_delegates
(self)
lib/crewai/tests/llms/azure/test_azure_responses.py:221
Method
test_callable_instance_returns_none
(self)
lib/crewai/tests/test_callback.py:106
Method
test_callable_instance_warns_it_is_dropped
(self)
lib/crewai/tests/test_callback.py:185
Method
test_callable_passthrough
(self)
lib/crewai/tests/test_callback.py:123
Function
test_callable_serialization
(callable_obj, expected_in_result)
lib/crewai/tests/utilities/test_serialization.py:90
Function
test_callback_decorator_with_taskoutput
Test that @callback decorator works with TaskOutput arguments.
lib/crewai/tests/project/test_callback_with_taskoutput.py:11
Function
test_callback_decorator_with_taskoutput_integration
Integration test for callback with actual task execution.
lib/crewai/tests/project/test_callback_with_taskoutput.py:52
Function
test_caller_supplied_connection_pool_is_not_closed
(monkeypatch)
lib/crewai-tools/tests/tools/test_oracle_vector_search_tool.py:1161
Function
test_caller_supplied_description_is_left_alone
()
lib/crewai-tools/tests/tools/wait_tool_test.py:153
Method
test_can_resolve_metadata_without_loading_instructions
( self, tmp_path: Path )
lib/crewai/tests/skills/test_registry.py:185
Method
test_cancel_stops_running_execute
Calling cancel stops a running execute.
lib/crewai/tests/a2a/utils/test_task.py:349
Method
test_cancellation_raises_cancelled_error
Function raises CancelledError when cancel flag is set.
lib/crewai/tests/a2a/utils/test_task.py:100
Method
test_cancelled_error_with_auth_status_raises_authentication_error
( self, mock_asyncio_run, resolver, http_config )
lib/crewai/tests/mcp/test_tool_resolver_auth.py:45
Method
test_caps
(self, kwargs, message)
lib/crewai-files/tests/spreadsheets/test_answers.py:593
Function
test_caps_long_waits
(mock_sleep, tool)
lib/crewai-tools/tests/tools/wait_tool_test.py:24
Method
test_carries_context_vars_into_the_worker_thread
Inside a running loop the coroutine runs on another thread; a client reading runtime state (the platform token, flow context) must still see
lib/crewai/tests/utilities/test_agent_utils.py:1187
Method
test_carries_the_http_status_when_the_api_answered
( self, telemetry: tuple[Telemetry, MagicMock] )
lib/crewai-core/tests/test_telemetry_deploy.py:185
Method
test_carries_the_uuid_and_defaults_to_cli
( self, telemetry: tuple[Telemetry, MagicMock] )
lib/crewai-core/tests/test_telemetry_deploy.py:85
Method
test_catalog_component_names_match
(self)
lib/crewai/tests/a2a/extensions/test_a2ui_schema_conformance.py:247
Method
test_catalog_fields_match
Field names in JSON schema match Pydantic model aliases.
lib/crewai/tests/a2a/extensions/test_a2ui_schema_conformance.py:293
Function
test_catalog_models_keep_their_window_without_a_warning
( model: str, raw_context_window: int, caplog: pytest.LogCaptureFixture )
lib/crewai/tests/llms/test_context_window.py:557
Function
test_catalog_parser_keeps_published_integer_limits
()
lib/crewai/tests/llms/test_context_window.py:176
Method
test_catalog_required_fields_match
Required fields in the JSON schema match non-optional Pydantic fields.
lib/crewai/tests/a2a/extensions/test_a2ui_schema_conformance.py:278
Method
test_catalogs_resources
(self, tmp_path: Path)
lib/crewai/tests/skills/test_parser.py:146
Function
test_categories_limit_respected
(tmp_path: Path)
lib/crewai/tests/memory/test_qdrant_search_categories.py:63
Function
test_category_filter
(storage: QdrantEdgeStorage)
lib/crewai/tests/memory/test_qdrant_edge_storage.py:120
Function
test_category_listing_failure_still_analyzes
(tmp_path: Path)
lib/crewai/tests/memory/test_encoding_flow_analyze_fallback.py:49
Method
test_cell_text_never_starts_a_line
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:119
Method
test_cells_and_rows_without_a_position_are_counted_where_they_land
( self, calamine_must_not_open )
lib/crewai-files/tests/spreadsheets/test_reading.py:231
Method
test_cells_of_another_type_are_counted
(self)
lib/crewai-files/tests/spreadsheets/test_answers.py:474
Method
test_cells_without_positions_land_where_calamine_puts_them
(self)
lib/crewai-files/tests/spreadsheets/test_reading.py:639
Method
test_cerebras_config
Test Cerebras provider configuration.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:86
Function
test_chain_deploy_does_not_login_for_deploy_exit
(monkeypatch, capsys)
lib/cli/tests/test_crew_run_tui.py:133
Function
test_chain_deploy_skips_validation_after_auth_retry
(monkeypatch)
lib/cli/tests/test_crew_run_tui.py:101
Function
test_chain_of_dependencies
Test chain of dependencies (A -> B -> C).
lib/crewai/tests/events/test_depends.py:76
Method
test_chained_listeners_triggered_by
Chained listeners should have triggered_by_event_id pointing to their triggering method.
lib/crewai/tests/events/test_event_ordering.py:716
Method
test_chained_router_feedback_steps
Test that a router outcome can trigger another router method. Regression test: @listen("outcome") combined with @human_feedback(emit=...)
lib/crewai/tests/test_human_feedback_integration.py:159
Method
test_chained_router_rejected_path
Test that a start-router outcome routes to a non-router listener.
lib/crewai/tests/test_human_feedback_integration.py:226
Function
test_chained_routers_no_self_loops
Test that chained routers don't create self-referencing edges. This tests the bug where routers with string triggers (like 'auth', 'exp') wou
lib/crewai/tests/test_flow_visualization.py:496
Function
test_changed_catalog_opens_a_pr_from_its_own_branch
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, calls: list[list[str]] )
lib/devtools/tests/test_release_catalog_phase.py:45
Method
test_chat_completions_style_still_recognized
(self)
lib/crewai/tests/utilities/test_agent_utils.py:796
Method
test_chat_completions_style_still_uses_nested_function
(self)
lib/crewai/tests/utilities/test_agent_utils.py:836
Method
test_chat_rejects_non_conversational_flows
(self)
lib/crewai/tests/test_flow_conversation.py:1127
Method
test_chat_repl_drives_declared_turns
(self)
lib/crewai/tests/test_flow_conversation.py:3564
Function
test_chat_requires_conversational_opt_in
(tui)
lib/crewai/tests/agents/test_conversation.py:150
Function
test_chat_retains_history_and_uses_flow_repl_options
(monkeypatch)
lib/crewai/tests/agents/test_conversation.py:54
Method
test_chat_runs_repl_over_handle_turn_and_finalizes
(self)
lib/crewai/tests/test_flow_conversation.py:1062
Method
test_chat_stringifies_repl_output_like_conversation_helpers
(self)
lib/crewai/tests/test_flow_conversation.py:1102
Function
test_chat_turn_streaming_defaults_and_opt_outs
(monkeypatch, transport, kind, llm_options, stream, expected)
lib/crewai/tests/test_flow_chat_tui.py:68
Function
test_check_bucket_exists_fail
Test check for bucket non-existence.
lib/crewai-tools/tests/tools/couchbase_tool_test.py:352
Function
test_check_collection_exists_fail
Test check for collection non-existence.
lib/crewai-tools/tests/tools/couchbase_tool_test.py:381
Function
test_check_index_exists_fail_global
Test check for global index non-existence.
lib/crewai-tools/tests/tools/couchbase_tool_test.py:412
← previous
next →
11,801–11,900 of 19,482, ranked by callers