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
Function
test_comments_and_formatting_are_preserved
Raw-text editing rather than a TOML round-trip, so comments survive.
lib/crewai/tests/telemetry/test_project_id.py:72
Method
test_comments_are_allowed_when_dml_is_allowed
(self)
lib/crewai-tools/tests/tools/test_nl2sql_security.py:663
Function
test_common_attributes_are_computed_once
The project file must not be re-read for each provider.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:601
Function
test_common_attributes_carry_agent_and_runtime
Both fields ride on every span, independently of each other.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:533
Function
test_common_attributes_include_project_id_when_declared
(clean_env, monkeypatch)
lib/crewai/tests/telemetry/test_coding_agent_detection.py:544
Function
test_common_attributes_land_on_our_own_spans
Spans built from our own provider must carry the process-wide context.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:466
Function
test_common_attributes_processor_never_breaks_span_creation
A failure applying attributes must not propagate into user execution.
lib/crewai/tests/telemetry/test_coding_agent_detection.py:438
Function
test_common_refinement_strips_null_like_values
_common_payload_refinement drops optional keys with None / '' / 'null' / [].
lib/crewai-tools/tests/tools/brave_search_tool_test.py:348
Function
test_compaction_failure_does_not_block_a_valid_call
(failure_source: str)
lib/crewai/tests/test_flow_context_compaction.py:180
Function
test_compaction_setting_survives_declaration_roundtrip
(enabled: bool)
lib/crewai/tests/test_flow_context_compaction.py:223
Method
test_compare_with_baseline_matches_a_utf8_file_under_a_non_utf8_default
The same test identifier must match, whatever the platform default is. `open()` without an encoding uses ``locale.getpreferredencoding(False)
lib/crewai/tests/experimental/evaluation/test_experiment_result.py:115
Function
test_comparing_models_happens_from_the_project
(project, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:2008
Function
test_comparing_models_needs_the_login
(deployed, monkeypatch, capsys)
lib/cli/tests/experimental/test_eval_crew.py:1997
Method
test_compatibility_properties
Test compatibility properties for mixin.
lib/crewai/tests/agents/test_agent_executor.py:1143
Function
test_complete_workflow_example
Test the complete workflow example from the documentation.
lib/crewai/tests/security/test_examples.py:109
Method
test_completed_count
Test completed_count returns correct count.
lib/crewai/tests/utilities/test_planning_types.py:236
Function
test_completed_flow_reports_a_real_duration
Elapsed time must be measured, not merely present.
lib/crewai/tests/telemetry/test_flow_telemetry.py:411
Function
test_completed_flow_reports_its_outcome
Outcome is a lifecycle fact, so it belongs on a span, not a feature.
lib/crewai/tests/telemetry/test_flow_telemetry.py:190
Function
test_completed_payload_carries_the_whole_output
()
lib/crewai/tests/tracing/test_trace_agent_prompt_output.py:51
Function
test_completed_run_keeps_activity_log_keyboard_navigation_active
()
lib/cli/tests/test_crew_run_tui.py:2042
Function
test_completed_spans_release_payloads_without_losing_parent_identity
()
lib/crewai/tests/telemetry/test_event_trace_session.py:106
Function
test_completed_text_can_be_fenced_without_changing_generation_or_jobs
()
lib/crewai/tests/test_flow_turns.py:158
Function
test_completion_must_commit_and_duplicates_coalesce_without_replay
()
lib/crewai/tests/test_flow_replies.py:87
Method
test_completions_call_unchanged
Default api='completions' should not use the responses delegate.
lib/crewai/tests/llms/azure/test_azure_responses.py:235
Method
test_completions_clients_not_created_in_responses_mode
When api='responses', azure-ai-inference clients should not be created.
lib/crewai/tests/llms/azure/test_azure_responses.py:103
Function
test_complex_and_or_branching
Test complex branching with multiple AND and OR conditions.
lib/crewai/tests/test_flow.py:1402
Function
test_complex_component_hierarchy_with_deterministic_fingerprints
Test a complex hierarchy of components all using deterministic fingerprints.
lib/crewai/tests/security/test_deterministic_fingerprints.py:187
Method
test_complex_jsx_cleanup
(self)
lib/crewai-tools/tests/rag/test_mdx_loader.py:80
Method
test_complex_mixed_scenario
Test a complex scenario with both valid variables and JSON structures.
lib/crewai/tests/utilities/test_string_utils.py:148
Method
test_complex_nested_json
Test with complex JSON structures containing curly braces.
lib/crewai/tests/utilities/test_string_utils.py:54
Function
test_complex_types
Test handling of complex parameter types
lib/crewai/tests/tools/test_structured_tool.py:268
Function
test_complexity_level_selects_expected_model
Each complexity level maps to its corresponding model when none is set.
lib/crewai-tools/tests/tools/test_vision_tool.py:57
Function
test_complexity_llm_is_cached_per_level
Repeated calls with the same complexity level reuse a single LLM.
lib/crewai-tools/tests/tools/test_vision_tool.py:115
Method
test_composite_is_not_reapplied_to_prebaked_descriptions
A description that already contains a composed block (old checkpoints, adapters that bake the composite into the field) must not be do
lib/crewai/tests/tools/test_base_tool.py:769
Function
test_composite_score_brand_new_memory
Brand-new memory has decay ~ 1.0; composite = 0.5*0.8 + 0.3*1.0 + 0.2*0.7 = 0.84.
lib/crewai/tests/memory/test_unified_memory.py:712
Function
test_composite_score_custom_config
Zero recency/importance weights => composite equals semantic score.
lib/crewai/tests/memory/test_unified_memory.py:806
Function
test_composite_score_match_reasons_populated
match_reasons includes recency for fresh, importance for high-importance; omits for old/low.
lib/crewai/tests/memory/test_unified_memory.py:782
Function
test_composite_score_old_memory_decayed
Memory 60 days old (2 half-lives) has decay = 0.25; composite ~ 0.575.
lib/crewai/tests/memory/test_unified_memory.py:728
Function
test_composite_score_reranks_results
Same semantic score: high-importance recent memory ranks first.
lib/crewai/tests/memory/test_unified_memory.py:744
Function
test_concurrent_access_during_shutdown_flag
()
lib/crewai/tests/utilities/events/test_shutdown.py:95
Function
test_concurrent_emit_and_registration
()
lib/crewai/tests/utilities/events/test_thread_safety.py:88
Function
test_concurrent_emit_from_multiple_threads
()
lib/crewai/tests/utilities/events/test_thread_safety.py:18
Function
test_concurrent_handler_registration
()
lib/crewai/tests/utilities/events/test_thread_safety.py:51
Method
test_concurrent_kickoff_for_each
(self, mock_execute_task, crew_factory)
lib/crewai/tests/test_crew_thread_safety.py:172
Method
test_concurrent_kickoffs_on_a_shared_agent
The reported repro, made deterministic with a barrier. Both kickoffs are held inside their tool call at the same time, so the old age
lib/crewai/tests/tools/test_tool_failure.py:1353
Function
test_concurrent_loads_do_not_share_tools
(project)
lib/crewai/tests/project/test_agent_project.py:59
Function
test_concurrent_minting_converges_on_one_id
Concurrent minters must all return the id that ends up on disk. Uses threads in one process, so it covers the read-modify-write race rather t
lib/crewai/tests/telemetry/test_project_id.py:274
Method
test_concurrent_overrides_do_not_collide
Concurrent agents on a shared LLM must each see their own effective stop.
lib/crewai/tests/agents/test_agent.py:3142
Function
test_concurrent_runs_keep_separate_trace_trees
(runner, monkeypatch, fail_one)
lib/crewai/tests/telemetry/test_wharf_runner.py:133
Function
test_concurrent_scrapes_do_not_share_diagnoses
Two scrapes in flight at once must each be diagnosed from their own error. A shared collector would hand both calls both errors, and the timeout
lib/crewai-tools/tests/tools/test_oxylabs_tools.py:375
Function
test_concurrent_sessions_keep_execution_grants_and_application_spans_separate
( collector, monkeypatch )
lib/crewai/tests/telemetry/test_session_trace_export.py:515
Function
test_concurrent_settings_instances_keep_configured_enterprise_url
Concurrent settings probes must not make a worker use fallback settings.
lib/crewai-core/tests/test_settings.py:14
Method
test_concurrent_streams_do_not_cross_contaminate
Two concurrent streaming runs must each receive only their own chunks. Mirrors the real production path: create_streaming_state in the caller
lib/crewai/tests/test_streaming.py:931
Function
test_concurrent_writes_and_searches_do_not_lose_points
(tmp_path)
lib/crewai/tests/rag/qdrant/test_local_client_sharing.py:57
Function
test_condition_combinators_return_nested_runtime_tree
()
lib/crewai/tests/test_flow_definition.py:241
Function
test_conditional_router_events_exclusivity
Test that only the returned router event activates, not all events.
lib/crewai/tests/test_flow.py:1468
Function
test_conditional_should_execute
(researcher, writer)
lib/crewai/tests/test_crew.py:4231
Function
test_conditional_should_skip
(researcher, writer)
lib/crewai/tests/test_crew.py:4198
Function
test_conditional_start_that_also_listens_runs_once_per_event
(router)
lib/crewai/tests/test_flow_from_definition.py:4323
Function
test_conditional_start_with_resumption
Test that conditional start methods work correctly with resumption.
lib/crewai/tests/test_flow_resumability_regression.py:93
Function
test_conditional_task_copy_preserves_type
()
lib/crewai/tests/test_task.py:961
Function
test_conditional_task_definition_based_on_dict
()
lib/crewai/tests/test_task.py:948
Function
test_conditional_task_last_task_when_conditional_is_false
(researcher, writer)
lib/crewai/tests/test_crew.py:4149
Function
test_conditional_task_last_task_when_conditional_is_true
(researcher, writer)
lib/crewai/tests/test_crew.py:4122
Function
test_conditional_task_requirement_breaks_when_singular_conditional_task
( researcher, writer )
lib/crewai/tests/test_crew.py:4102
Function
test_conditional_task_requirement_breaks_when_task_async
(researcher, writer)
lib/crewai/tests/test_crew.py:4173
Function
test_conditional_task_uses_last_output
Test that conditional tasks use the last task output for condition evaluation.
lib/crewai/tests/test_crew.py:2277
Function
test_conditional_tasks_result_collection
Test that task outputs are properly collected based on execution status.
lib/crewai/tests/test_crew.py:2347
Function
test_config_agent_env_example_lists_only_settings_it_reads
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, format: str )
lib/cli/tests/test_create_agent.py:430
Function
test_config_agent_install_keeps_editable_project_install
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_create_agent.py:364
Function
test_config_agent_runs_same_loader_and_preserves_inputs
( format: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch, capsys: pytest.CaptureFixture[
lib/cli/tests/test_create_agent.py:242
Function
test_config_agent_validates_without_package_directory
( suffix: str, tmp_path: Path, monkeypatch: pytest.MonkeyPatch )
lib/cli/tests/test_create_agent.py:312
Function
test_config_checkpoint_from_declaration
(tmp_path)
lib/crewai/tests/test_flow_from_definition.py:3553
Method
test_config_creation
Test HumanFeedbackConfig can be created with all parameters.
lib/crewai/tests/test_human_feedback_decorator.py:139
Function
test_config_defer_trace_finalization_from_declaration
()
lib/crewai/tests/test_flow_from_definition.py:3539
Function
test_config_input_provider_from_declaration
()
lib/crewai/tests/test_flow_from_definition.py:3567
Method
test_config_mapping_carries_provider_settings
(self)
lib/crewai/tests/test_flow_conversation.py:2924
Method
test_config_mapping_passes_through_extra_settings
(self)
lib/crewai/tests/test_flow_conversation.py:2930
Function
test_config_max_method_calls_from_declaration
()
lib/crewai/tests/test_flow_from_definition.py:3523
Method
test_config_preserved_through_full_flow_execution
Test that the LLM with custom config is used during outcome collapsing.
lib/crewai/tests/test_human_feedback_integration.py:871
Method
test_config_returns_config
(self)
lib/crewai/tests/test_checkpoint.py:51
Function
test_config_stream_from_declaration
()
lib/crewai/tests/test_flow_from_definition.py:3529
Function
test_config_style_variables_are_not_used_as_markers
Persistent user config must never be treated as a session marker. crewai loads dotenv files on normal runs, so a committed AIDER_MODEL or GOO
lib/crewai/tests/telemetry/test_coding_agent_detection.py:195
Function
test_config_suppress_flow_events_from_declaration
()
lib/crewai/tests/test_flow_from_definition.py:3500
Function
test_config_validation
()
lib/crewai-tools/tests/tools/snowflake_search_tool_test.py:86
Function
test_configure_structured_output_method_exists
Test that configure_structured_output method exists and can be called.
lib/crewai/tests/agents/agent_adapters/test_base_agent_adapter.py:102
Function
test_configure_tools
(tools_list)
lib/crewai/tests/agents/agent_adapters/test_base_tool_adapter.py:46
Function
test_configure_tools_method_exists
Test that configure_tools method exists and can be called.
lib/crewai/tests/agents/agent_adapters/test_base_agent_adapter.py:91
Function
test_configured_api_key_is_not_asked_for
(tmp_path, monkeypatch)
lib/cli/tests/test_run_agent.py:395
Function
test_configured_project_declarative_flow
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
lib/cli/tests/test_flow_commands.py:107
Function
test_configured_project_declarative_flow_allows_normalized_project_path
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, )
lib/cli/tests/test_flow_commands.py:151
Function
test_configured_project_declarative_flow_rejects_absolute_path
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, )
lib/cli/tests/test_flow_commands.py:169
Function
test_configured_project_declarative_flow_rejects_directory
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, )
lib/cli/tests/test_flow_commands.py:232
Function
test_configured_project_declarative_flow_rejects_missing_file
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, )
lib/cli/tests/test_flow_commands.py:214
Function
test_configured_project_declarative_flow_rejects_symlink_escape
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, )
lib/cli/tests/test_flow_commands.py:188
Function
test_configured_project_declarative_flow_rejects_unsafe_paths
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path, definition: str, expected_error: str, )
lib/cli/tests/test_flow_commands.py:131
Function
test_configured_project_definition_rejects_empty_definition
( tmp_path: Path, )
lib/crewai-core/tests/test_smoke.py:163
Function
test_configured_project_definition_rejects_non_string_definition
( tmp_path: Path, )
lib/crewai-core/tests/test_smoke.py:145
Function
test_configured_project_definition_rejects_project_escape
(tmp_path: Path)
lib/crewai-core/tests/test_smoke.py:126
Function
test_configured_project_definition_resolves_project_local_file
( tmp_path: Path, )
lib/crewai-core/tests/test_smoke.py:104
← previous
next →
12,101–12,200 of 19,482, ranked by callers