Guides what, when, and how to test code — choosing between unit, integration,
and end-to-end tests. Use when writing tests, deciding test strategy, setting up
testing frameworks, or when the user asks "what should I test", "how do I test X",
"is my test coverage good enough", or "unit vs integration". Applies to any
language or framework.