Testing and Code Generation Choose the narrowest test that exercises the changed behavior, then broaden only when shared infrastructure or integration risk justifies it. Test Selection | Change | Start with | | --- | --- | | Lint rule | | | One crate | or the crate's focused test target | | Parser or formatter investigation | | | CLI migration | focused migration tests | | Documentation code | | Use or only when the test's diagnostic output is needed. Quick tests are scratch space for inspecting CST, formatter IR, or one analyzer query. Persistent behavior belongs in the subsystem's normal fi…