cai/tests
Mery-Sanz d7fff2a6c3 improve test 2025-04-10 09:42:16 +02:00
..
agents improve test 2025-04-10 09:42:16 +02:00
mcp
tools add more test 2025-04-10 09:27:56 +02:00
tracing add more test 2025-04-10 09:27:56 +02:00
voice
README.md
__init__.py
conftest.py
fake_model.py
test_computer_action.py
test_config.py
test_doc_parsing.py
test_extension_filters.py
test_function_schema.py
test_global_hooks.py
test_guardrails.py
test_items_helpers.py
test_max_turns.py
test_openai_chatcompletions.py
test_openai_chatcompletions_converter.py
test_openai_chatcompletions_stream.py
test_openai_responses_converter.py
test_pretty_print.py final fix 2025-04-09 16:17:06 +02:00
test_responses.py
test_responses_tracing.py final fix 2025-04-09 16:17:06 +02:00
test_result_cast.py final fix 2025-04-09 16:17:06 +02:00
test_run_config.py final fix 2025-04-09 16:17:06 +02:00
test_run_step_execution.py final fix 2025-04-09 16:17:06 +02:00
test_run_step_processing.py final fix 2025-04-09 16:17:06 +02:00
test_strict_schema.py final fix 2025-04-09 16:17:06 +02:00
test_trace_processor.py final fix 2025-04-09 16:17:06 +02:00
test_visualization.py final fix 2025-04-09 16:17:06 +02:00
testing_processor.py

README.md

Tests

Before running any tests, make sure you have uv installed (and ideally run make sync after).

Running tests

make tests

Snapshots

We use inline-snapshots for some tests. If your code adds new snapshot tests or breaks existing ones, you can fix/create them. After fixing/creating snapshots, run make tests again to verify the tests pass.

Fixing snapshots

make snapshots-fix

Creating snapshots

make snapshots-update