MCPcopy Create free account

hub / github.com/crewAIInc/crewAI / functions

Functions19,735 in github.com/crewAIInc/crewAI

Functiontest_task_artifact_saves_file_the_agent_wrote
(store, tmp_path)
lib/crewai/tests/test_artifacts.py:479
Functiontest_task_artifact_saves_final_output
(store, tmp_path)
lib/crewai/tests/test_artifacts.py:143
Functiontest_task_artifact_skips_missing_file
(store)
lib/crewai/tests/test_artifacts.py:500
Functiontest_task_artifact_true_names_it_after_the_task
(store, tmp_path)
lib/crewai/tests/test_artifacts.py:377
Functiontest_task_callback
()
lib/crewai/tests/test_task.py:99
Functiontest_task_callback_both_on_task_and_crew
()
lib/crewai/tests/test_crew.py:2133
Functiontest_task_callback_on_crew
()
lib/crewai/tests/test_crew.py:2099
Functiontest_task_callback_returns_task_output
()
lib/crewai/tests/test_task.py:127
Functiontest_task_completion_collapses_pending_plan_steps_but_preserves_failed
()
lib/cli/tests/test_crew_run_tui.py:1899
Methodtest_task_context_order_dependency
(self, tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:869
Functiontest_task_copy_with_list_context
Test that copying a task with list context works correctly.
lib/crewai/tests/test_task.py:1884
Functiontest_task_copy_with_none_context
()
lib/crewai/tests/test_task.py:1860
Functiontest_task_copy_with_not_specified_context
()
lib/crewai/tests/test_task.py:1872
Methodtest_task_defaults_to_inherit
(self)
lib/crewai/tests/tools/test_tool_failure.py:310
Functiontest_task_definition_based_on_dict
()
lib/crewai/tests/test_task.py:936
Functiontest_task_emits_failed_event_on_execution_error
(base_agent, base_task)
lib/crewai/tests/utilities/test_events.py:255
Functiontest_task_execution_times
()
lib/crewai/tests/test_task.py:1495
Functiontest_task_export_keeps_validated_json
(async_path: bool, agent: Agent)
lib/crewai/tests/test_task_converter_output.py:41
Functiontest_task_export_retains_pydantic_format_on_converter_fallback
( async_path: bool, agent: Agent, )
lib/crewai/tests/test_task_converter_output.py:60
Functiontest_task_failed_closes_span_with_error
(exporter)
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:134
Functiontest_task_failed_discards_anything_that_is_not_an_exception_class
A non-exception reaching task_failed records nothing, and still closes as ERROR.
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:177
Functiontest_task_failed_event_carries_the_class_and_not_the_message
()
lib/crewai/tests/telemetry/test_task_failure_instrumentation.py:150
Functiontest_task_failure_reports_missing_key_as_its_type
Telemetry records the task's ``error_type``, so the class name is the signal.
lib/crewai/tests/llms/test_missing_api_key.py:355
Functiontest_task_fingerprint_property
Test the fingerprint property on Task.
lib/crewai/tests/security/test_integration.py:93
Functiontest_task_guardrail
()
lib/crewai/tests/test_project.py:265
Functiontest_task_guardrail_process_output
Test that LLMGuardrail correctly validates task output. Note: Due to VCR cassette response ordering issues, the exact results may vary. The t
lib/crewai/tests/test_task_guardrails.py:181
Functiontest_task_guardrails_round_trip_through_model_validate
Serialized guardrails must round-trip — None entries would fail validation.
lib/crewai/tests/test_guardrail_serialization.py:93
Methodtest_task_inherits_from_crew
(self)
lib/crewai/tests/test_checkpoint.py:95
Functiontest_task_interpolation_with_hyphens
()
lib/crewai/tests/test_task.py:1837
Functiontest_task_keeps_only_the_raw_answer_when_refit_fails
( use_async: bool, output_json: bool )
lib/crewai/tests/utilities/test_converter.py:1236
Functiontest_task_memoization
()
lib/crewai/tests/test_project.py:122
Functiontest_task_model_dump_json_with_callable_guardrail_does_not_raise
()
lib/crewai/tests/test_guardrail_serialization.py:67
Functiontest_task_model_dump_json_with_callable_guardrails_list
()
lib/crewai/tests/test_guardrail_serialization.py:80
Functiontest_task_model_dump_json_with_string_guardrail
()
lib/crewai/tests/test_guardrail_serialization.py:55
Functiontest_task_name
()
lib/crewai/tests/test_project.py:204
Functiontest_task_output_exposes_saved_artifact
(store, tmp_path)
lib/crewai/tests/test_artifacts.py:178
Functiontest_task_output_import
Test that TaskOutput can be imported from crewai.
lib/crewai/tests/test_imports.py:10
Functiontest_task_output_includes_messages
Test that TaskOutput includes messages from agent execution.
lib/crewai/tests/test_task.py:1906
Functiontest_task_output_str_with_json_dict
()
lib/crewai/tests/test_task.py:1084
Functiontest_task_output_str_with_none
()
lib/crewai/tests/test_task.py:1132
Functiontest_task_output_str_with_pydantic
()
lib/crewai/tests/test_task.py:1067
Functiontest_task_output_str_with_pydantic_and_json_dict
()
lib/crewai/tests/test_task.py:1112
Functiontest_task_output_str_with_raw
()
lib/crewai/tests/test_task.py:1098
Methodtest_task_overrides_agent
(self)
lib/crewai/tests/tools/test_tool_failure.py:187
Methodtest_task_parent_is_crew
Task events should have crew event as parent.
lib/crewai/tests/events/test_event_ordering.py:173
Methodtest_task_policy_overrides_agent_end_to_end
(self)
lib/crewai/tests/tools/test_tool_failure.py:392
Functiontest_task_prompt_includes_expected_output
()
lib/crewai/tests/test_task.py:79
Methodtest_task_references_unknown_agent_raises
(self, tmp_path: Path)
lib/crewai/tests/project/test_crew_loader.py:847
Functiontest_task_refits_final_answer_that_does_not_fit_output_json
( use_async: bool, )
lib/crewai/tests/utilities/test_converter.py:1209
Functiontest_task_refits_final_answer_that_does_not_fit_output_pydantic
( use_async: bool, )
lib/crewai/tests/utilities/test_converter.py:1181
Functiontest_task_rejects_kinds_text_output_cannot_fill
(kind)
lib/crewai/tests/test_artifacts.py:200
Functiontest_task_same_callback_both_on_task_and_crew
()
lib/crewai/tests/test_crew.py:2168
Functiontest_task_saves_its_output_as_a_pdf
(store, weasyprint)
lib/crewai/tests/test_artifacts.py:1103
Functiontest_task_spans_record_the_crewai_version
Task Created and Task Execution are the highest-volume span kinds. They are emitted together by task_started, and both were missing the versi
lib/crewai/tests/telemetry/test_telemetry.py:557
Functiontest_task_tool_reflect_agent_tools
()
lib/crewai/tests/test_task.py:26
Functiontest_task_tool_takes_precedence_over_agent_tools
()
lib/crewai/tests/test_task.py:50
Functiontest_task_tools_override_agent_tools
(researcher)
lib/crewai/tests/test_crew.py:684
Functiontest_task_tools_override_agent_tools_with_allow_delegation
Test that task tools override agent tools while preserving delegation tools when allow_delegation=True
lib/crewai/tests/test_crew.py:730
Functiontest_task_tools_preserve_code_execution_tools
Test that task tools don't override code execution tools when allow_code_execution=True
lib/crewai/tests/test_crew.py:4424
Functiontest_task_with_deterministic_fingerprint
Test using deterministic fingerprints with tasks.
lib/crewai/tests/security/test_deterministic_fingerprints.py:66
Functiontest_task_with_failing_guardrail
Test that failing guardrail triggers retry with error context.
lib/crewai/tests/test_task_guardrails.py:73
Functiontest_task_with_guardrail_retries
Test that guardrail respects max_retries configuration.
lib/crewai/tests/test_task_guardrails.py:100
Functiontest_task_with_max_execution_time
()
lib/crewai/tests/test_task.py:1751
Functiontest_task_with_max_execution_time_exceeded
(monkeypatch: pytest.MonkeyPatch)
lib/crewai/tests/test_task.py:1785
Functiontest_task_with_no_arguments
()
lib/crewai/tests/test_crew.py:1669
Functiontest_task_with_no_max_execution_time
()
lib/crewai/tests/test_task.py:1729
Functiontest_task_with_security_config
Test creating a Task with a SecurityConfig.
lib/crewai/tests/security/test_integration.py:72
Functiontest_task_with_successful_guardrail_func
Test that successful guardrail validation passes transformed result.
lib/crewai/tests/test_task_guardrails.py:52
Functiontest_task_without_allow_crewai_trigger_context
()
lib/crewai/tests/agents/test_agent.py:985
Functiontest_task_without_guardrail
Test that tasks work normally without guardrails (backward compatibility).
lib/crewai/tests/test_task_guardrails.py:37
Methodtest_tasks_have_correct_crew_parents
Tasks in different crews should have their own crew as parent.
lib/crewai/tests/events/test_event_ordering.py:463
Functiontest_telemetry_disable_after_singleton_creation
Test that telemetry operations are disabled when env var is set after singleton creation.
lib/crewai/tests/telemetry/test_telemetry_disable.py:62
Functiontest_telemetry_disable_with_multiple_instances
Test that multiple telemetry instances respect dynamically changed env vars.
lib/crewai/tests/telemetry/test_telemetry_disable.py:82
Functiontest_telemetry_enabled_by_default
Test that telemetry is enabled by default.
lib/crewai/tests/telemetry/test_telemetry_disable.py:53
Functiontest_telemetry_enabled_by_default
Test that telemetry is enabled by default.
lib/crewai/tests/telemetry/test_telemetry.py:63
Functiontest_telemetry_environment_variables
Test telemetry state with different environment variable configurations.
lib/crewai/tests/telemetry/test_telemetry_disable.py:39
Functiontest_telemetry_environment_variables
Test telemetry state with different environment variable configurations.
lib/crewai/tests/telemetry/test_telemetry.py:48
Functiontest_telemetry_fails_due_connect_timeout
(export_mock, logger_mock)
lib/crewai/tests/telemetry/test_telemetry.py:155
Functiontest_telemetry_failure_does_not_block_command
(failure)
lib/cli/tests/test_checkpoint_telemetry.py:56
Functiontest_telemetry_is_off_in_every_test
(leaked_value: str | None)
lib/crewai/tests/test_test_environment.py:14
Functiontest_telemetry_never_breaks_the_command
(project, monkeypatch)
lib/cli/tests/experimental/test_eval_crew.py:1238
Functiontest_telemetry_otel_sdk_disabled_after_creation
Test that OTEL_SDK_DISABLED also works when set after singleton creation.
lib/crewai/tests/telemetry/test_telemetry_disable.py:101
Functiontest_telemetry_pipeline_is_silent_when_collector_rejects
( live_telemetry: Telemetry, caplog: pytest.LogCaptureFixture )
lib/crewai-core/tests/test_telemetry_export_logs.py:133
Functiontest_telemetry_singleton_pattern
Test that Telemetry uses the singleton pattern correctly.
lib/crewai/tests/telemetry/test_telemetry.py:189
Functiontest_template_add_command
(mock_cls, runner)
lib/crewai/tests/cli/remote_template/test_main.py:52
Functiontest_template_add_is_deprecated_and_still_works
(mock_template_command_cls, runner)
lib/cli/tests/test_create_unified.py:132
Functiontest_template_add_with_output_dir
(mock_cls, runner)
lib/crewai/tests/cli/remote_template/test_main.py:64
Functiontest_template_list_command
(mock_cls, runner)
lib/crewai/tests/cli/remote_template/test_main.py:40
Functiontest_templated_role_matches_once_its_inputs_are_interpolated
The template is not a key at construction; the interpolated role is.
lib/crewai/tests/test_llm_overlay.py:187
Functiontest_temporal_serialization
(input_date, expected)
lib/crewai/tests/utilities/test_serialization.py:61
Functiontest_terminal_bound_assistants_outrank_cursor
CURSOR_* is set for every integrated terminal. Checking Cursor first would report cursor for anything spawned inside it, the same trap Codex
lib/crewai/tests/telemetry/test_coding_agent_detection.py:261
Functiontest_terminal_consent_explicitly_requests_sharing
(collector, approved)
lib/crewai/tests/telemetry/test_session_trace_export.py:671
Methodtest_terminal_resume_with_emit_returns_method_output
Terminal resumed emit methods return the original method output.
lib/crewai/tests/test_async_human_feedback.py:785
Methodtest_terminal_resume_without_emit_returns_feedback_result
Terminal resumed non-emit methods return the full feedback result.
lib/crewai/tests/test_async_human_feedback.py:694
Functiontest_test_crew_called_process_error
(mock_subprocess_run, click)
lib/cli/tests/test_crew_test.py:55
Functiontest_test_crew_negative_iterations
(click)
lib/cli/tests/test_crew_test.py:45
Functiontest_test_crew_unexpected_exception
(mock_subprocess_run, click)
lib/cli/tests/test_crew_test.py:85
Functiontest_test_crew_zero_iterations
(click)
lib/cli/tests/test_crew_test.py:36
Functiontest_test_custom_iterations
(evaluate_crew, runner)
lib/cli/tests/test_cli.py:132
Functiontest_test_custom_iterations_snake_case_alias
(evaluate_crew, runner)
lib/cli/tests/test_cli.py:141
← previousnext →18,501–18,600 of 19,735, ranked by callers