Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

docs: clarify unit test clock rule (#47604)

Mateo Wang3f415cb145f0
diff --git a/tests/unit/AGENTS.md b/tests/unit/AGENTS.md
index 80a3a87f959..9ce6c58cff7 100644
--- a/tests/unit/AGENTS.md
+++ b/tests/unit/AGENTS.md
@@ -1,6 +1,9 @@
# tests/unit
-In-process. No network, clock or subprocess
+In-process. No network or subprocess
+
+Unit tests must not depend on the current time or execution speed. Use fixed timestamps for fixtures
+and controlled clocks for time-dependent behavior. Incidental clock reads inside production code are allowed
## What good looks like