Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crewAIInc/crewAI
/ functions
Functions
19,663 in github.com/crewAIInc/crewAI
⨍
Functions
19,663
◇
Types & classes
3,456
↳
Endpoints
994
Method
test_state_recoverable_after_checkpoint
State set before ask() is checkpointed and recoverable. The auto-checkpoint happens *before* the provider is called, so state values
lib/crewai/tests/test_flow_ask.py:534
Method
test_state_with_plan
Test AgentExecutorState initialization with planning fields.
lib/crewai/tests/agents/test_agent_executor.py:108
Method
test_state_with_values
Test AgentExecutorState initialization with values.
lib/crewai/tests/agents/test_agent_executor.py:117
Function
test_stateless_flow_event_emission
Test that the correct events are emitted stateless during flow execution with all fields validated.
lib/crewai/tests/test_flow.py:987
Function
test_static_string_listener_is_allowed_by_contract
()
lib/crewai/tests/test_flow_definition.py:1283
Function
test_status
(fp, repository)
lib/cli/tests/test_git.py:48
Method
test_status_code_and_content_type
(self, mock_bs, mock_get)
lib/crewai-tools/tests/rag/test_webpage_loader.py:150
Method
test_status_code_and_content_type
(self, mock_bs, mock_get)
lib/crewai-tools/tests/rag/test_xml_loader.py:150
Function
test_status_helper_matches_runtime_gate
( monkeypatch: pytest.MonkeyPatch, env_value: str | None, recorded: str )
lib/crewai/tests/tracing/test_tracing_gate_parity.py:32
Method
test_status_of_a_failed_deployment_shows_amp_error_and_fix
(self)
lib/cli/tests/deploy/test_deploy_main.py:1917
Method
test_status_of_a_healthy_deployment_prints_no_error_lines
(self)
lib/cli/tests/deploy/test_deploy_main.py:1945
Function
test_stdio_server_info_uses_command
()
lib/crewai/tests/mcp/test_client_server_info.py:36
Method
test_step_executor_fails_when_expected_tool_is_not_called
Step should fail if a configured expected tool is not actually invoked.
lib/crewai/tests/agents/test_agent_executor.py:874
Method
test_step_executor_falls_back_when_native_tools_are_rejected
Plan steps should retry through text tool calls when native tools fail.
lib/crewai/tests/agents/test_agent_executor.py:991
Method
test_step_executor_text_tool_emits_usage_events
Text-parsed tool execution should emit started and finished events.
lib/crewai/tests/agents/test_agent_executor.py:895
Method
test_step_executor_uses_standard_image_url_format
(self)
lib/crewai/tests/agents/test_agent_executor.py:3403
Function
test_step_observation_events_update_the_explicit_step
()
lib/cli/tests/test_crew_run_tui.py:854
Function
test_step_observation_json_is_hidden_from_streaming_text
()
lib/cli/tests/test_crew_run_tui.py:2029
Function
test_still_not_logged_in_after_the_prompt_counts_why_and_says_so
( monkeypatch, capsys, deploy_usage )
lib/cli/tests/test_crew_run_tui.py:2611
Method
test_still_resizes_a_supported_image
(self)
lib/crewai-files/tests/processing/test_images.py:138
Method
test_stops_reading_once_the_limit_is_crossed
The cap must abandon the stream, not buffer the whole body first.
lib/crewai-tools/tests/url_read_tool_test.py:888
Method
test_storage_path_is_owner_only
The credential directory must be mode 0o700 even under a permissive umask.
lib/cli/tests/test_token_manager.py:295
Method
test_store_and_get_files
Test storing and retrieving crew files.
lib/crewai/tests/utilities/test_file_store.py:33
Method
test_store_and_get_task_files
Test storing and retrieving task files.
lib/crewai/tests/utilities/test_file_store.py:60
Method
test_store_and_retrieve
(self, tmp_path: Path)
lib/crewai/tests/skills/test_cache.py:54
Function
test_store_caps_a_single_long_preview_line
(tmp_path: Path)
lib/crewai/tests/utilities/test_tool_result_artifacts.py:57
Function
test_store_defaults_to_tmp
()
lib/crewai/tests/utilities/test_tool_result_artifacts.py:6
Function
test_store_keeps_a_bounded_preview_of_the_first_ten_lines
(tmp_path: Path)
lib/crewai/tests/utilities/test_tool_result_artifacts.py:45
Method
test_store_overwrites_previous_version
(self, tmp_path: Path)
lib/crewai/tests/skills/test_cache.py:139
Function
test_store_returns_opaque_identifier_and_preserves_content
(tmp_path: Path)
lib/crewai/tests/utilities/test_tool_result_artifacts.py:16
Method
test_store_version_none
(self, tmp_path: Path)
lib/crewai/tests/skills/test_cache.py:196
Method
test_store_writes_metadata
(self, tmp_path: Path)
lib/crewai/tests/skills/test_cache.py:126
Function
test_stored_collection_names_hold_no_rejected_characters
(client)
lib/crewai/tests/rag/qdrant/test_collection_names.py:97
Method
test_streak_does_not_carry_into_the_next_task
(self)
lib/crewai/tests/tools/test_tool_failure.py:2197
Function
test_stream_carries_the_text_answer_then_the_structured_one
()
lib/crewai/tests/agents/test_executor_structured_output_with_tools.py:394
Function
test_stream_channel_projection_can_be_followed_by_cached_projection
()
lib/crewai/tests/test_stream_frames.py:143
Method
test_stream_chunk_creation
Test creating a basic stream chunk.
lib/crewai/tests/test_streaming.py:72
Method
test_stream_chunk_with_tool_call
Test creating a stream chunk with tool call information.
lib/crewai/tests/test_streaming.py:89
Function
test_stream_errors_surface_after_failed_frame
()
lib/crewai/tests/test_stream_frames.py:159
Function
test_stream_frame_contract_and_ordering
()
lib/crewai/tests/test_stream_frames.py:98
Function
test_stream_llm_emits_event_with_task_and_agent_info
()
lib/crewai/tests/utilities/test_events.py:1534
Function
test_stream_projections_replay_cached_frames_after_exhaustion
()
lib/crewai/tests/test_stream_frames.py:131
Function
test_stream_subscribe_filters_channels_without_losing_order
()
lib/crewai/tests/test_stream_frames.py:122
Method
test_stream_turn_emits_ordered_conversation_frames
(self)
lib/crewai/tests/test_flow_conversation.py:140
Method
test_stream_turn_enables_streaming_on_conversation_llm
(self)
lib/crewai/tests/test_flow_conversation.py:184
Method
test_stream_turn_frames_match_the_class_based_path
A chat UI must see the same frame sequence either way.
lib/crewai/tests/test_flow_conversation.py:3518
Method
test_stream_turn_returns_pending_feedback_without_failure_event
(self)
lib/crewai/tests/test_flow_conversation.py:221
Function
test_streamed_goal_achieved_observation_collapses_remaining_steps_done
()
lib/cli/tests/test_crew_run_tui.py:1881
Function
test_streamed_raw_get_keeps_session_open_until_response_close
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai-tools/tests/utilities/test_safe_requests.py:701
Function
test_streamed_step_observation_updates_named_step_only
()
lib/cli/tests/test_crew_run_tui.py:1849
Method
test_streaming_after_pause_resume_creates_new_session
Test that streaming after pause/resume creates new Live session.
lib/crewai/tests/utilities/test_console_formatter_pause_resume.py:73
Function
test_streaming_chunks_share_call_id_with_call
Streaming chunks should share call_id with started/completed events.
lib/crewai/tests/utilities/test_events.py:1784
Method
test_streaming_completes_task
Test that streaming handler completes a task successfully.
lib/crewai/tests/a2a/test_a2a_integration.py:93
Method
test_streaming_distinguishes_text_and_tool_calls
Test that streaming correctly distinguishes between text chunks and tool calls.
lib/crewai/tests/llms/test_tool_call_streaming.py:181
Function
test_streaming_empty_response_handling
Test that streaming handles empty responses correctly.
lib/crewai/tests/utilities/test_events.py:1495
Function
test_streaming_fallback_to_non_streaming
Test that streaming falls back to non-streaming when there's an error.
lib/crewai/tests/utilities/test_events.py:1444
Method
test_streaming_handles_exceptions
Test that streaming properly propagates exceptions.
lib/crewai/tests/test_streaming.py:661
Method
test_streaming_kickoff_async_passes_checkpoint_config_to_astream
stream=True preserves checkpoint config when routing to astream.
lib/crewai/tests/test_streaming.py:635
Method
test_streaming_kickoff_passes_checkpoint_config_to_stream_events
stream=True preserves checkpoint config when routing to stream_events.
lib/crewai/tests/test_streaming.py:513
Method
test_streaming_litellm_chunk_shape
(self)
lib/crewai/tests/events/test_llm_finish_reason_response_id.py:421
Function
test_streaming_non_dict_tool_input_coerced_to_empty_dict
Valid-but-non-object JSON input must be coerced to ``{}``. ``json.loads('"oops"')`` returns a string; passing it on as ``fn(**function_args)`
lib/crewai/tests/llms/bedrock/test_bedrock_streaming_tool_args.py:152
Method
test_streaming_params_include_usage
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/llms/snowflake/test_snowflake.py:392
Method
test_streaming_properties_from_docs
Test streaming properties example from documentation.
lib/crewai/tests/test_streaming_integration.py:95
Function
test_streaming_tool_call_preserves_arguments
Sync streaming: function_args must carry the streamed tool input.
lib/crewai/tests/llms/bedrock/test_bedrock_streaming_tool_args.py:79
Function
test_streaming_tool_call_turn_emits_completed_event_with_usage
(mock_emit)
lib/crewai/tests/test_llm_litellm_usage_events.py:161
Method
test_streaming_types_importable_from_types_module
Test that streaming types can be imported from crewai.types.streaming.
lib/crewai/tests/test_streaming.py:911
Method
test_streaming_with_chunk_context_from_docs
Test streaming with chunk context example from documentation.
lib/crewai/tests/test_streaming_integration.py:63
Method
test_streaming_with_empty_content_chunks
Test streaming when LLM chunks have empty content.
lib/crewai/tests/test_streaming.py:685
Method
test_streaming_with_multiple_tasks
Test streaming with multiple tasks tracks task context.
lib/crewai/tests/test_streaming.py:706
Function
test_stress_many_readers_few_writers
()
lib/crewai/tests/utilities/events/test_rw_lock.py:209
Function
test_stress_test_rapid_emit
()
lib/crewai/tests/utilities/events/test_thread_safety.py:124
Method
test_strict_distillation_failure_can_be_retried_cleanly
(self)
lib/crewai/tests/test_async_human_feedback.py:1654
Method
test_strict_mode_accepts_pdf_under_document_limit
Test a PDF under 4.5 MB is not rejected as too large.
lib/crewai-files/tests/processing/test_processor.py:332
Method
test_strict_mode_still_raises_for_a_file_type_the_provider_rejects
( self, )
lib/crewai-files/tests/processing/test_images.py:160
Method
test_string_content
(self)
lib/crewai/tests/utilities/test_agent_utils.py:721
Function
test_string_content_is_sent_verbatim_as_one_text_block
( monkeypatch: pytest.MonkeyPatch, )
lib/crewai/tests/llms/bedrock/test_bedrock_content_usage_contract.py:180
Method
test_string_enum
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:122
Method
test_string_enum_rejects_invalid
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:134
Method
test_string_field
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:35
Method
test_string_llm_still_works
Test that passing llm as a string still works correctly.
lib/crewai/tests/test_async_human_feedback.py:1262
Method
test_string_refused_without_env_var
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/test_callback.py:200
Method
test_string_reply_still_reaches_history
(self)
lib/crewai/tests/test_flow_conversation.py:3719
Method
test_string_resolves_multi_level_path
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/test_callback.py:210
Method
test_string_resolves_with_env_var
(self, monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/test_callback.py:205
Function
test_string_status_code_is_understood
Some gateways stringify the upstream status.
lib/crewai/tests/llms/openai/test_gateway_error_envelope.py:234
Method
test_string_without_dot_raises
(self)
lib/crewai/tests/test_callback.py:196
Method
test_strip_is_idempotent
(self)
lib/crewai/tests/llms/test_prompt_cache.py:23
Method
test_strips_block_comments
(self)
lib/crewai/tests/project/test_json_loader.py:31
Method
test_strips_litellm_pat_prefix_for_compatibility
( self, monkeypatch: pytest.MonkeyPatch )
lib/crewai/tests/llms/snowflake/test_snowflake.py:66
Method
test_strips_null_from_anyof
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:936
Method
test_strips_null_from_type_array
(self)
lib/crewai/tests/utilities/test_pydantic_schema_utils.py:944
Method
test_strips_single_line_comments
(self)
lib/crewai/tests/project/test_json_loader.py:25
Method
test_strips_surrounding_whitespace_from_the_version
(self)
lib/crewai/tests/skills/test_registry.py:176
Method
test_strips_terminal_escapes_and_keeps_emoji_codes_literal
( self, skill_command: SkillCommand, capsys: pytest.CaptureFixture[str] )
lib/cli/tests/skills/test_main.py:554
Method
test_strips_trailing_slash
Test that trailing slash is handled.
lib/crewai/tests/llms/openai_compatible/test_openai_compatible.py:120
Method
test_structured_fails_but_simple_succeeds
When structured output fails but simple prompting works, use that.
lib/crewai/tests/test_human_feedback_decorator.py:531
Function
test_structured_flow_event_emission
Test that the correct events are emitted during structured flow execution with all fields validated.
lib/crewai/tests/test_flow.py:900
Function
test_structured_output_emits_completed_event_with_usage
(mock_emit)
lib/crewai/tests/test_llm_litellm_usage_events.py:193
Function
test_structured_state_persistence
Test persistence with Pydantic model state.
lib/crewai/tests/test_flow_persistence.py:44
Function
test_structured_suffix_type_is_treated_as_text
A +json vendor type is text, not an unsupported binary type.
lib/crewai-tools/tests/url_read_tool_test.py:233
← previous
next →
18,201–18,300 of 19,663, ranked by callers