unit test patterns Shipped
What this lens looks for
AAA structure (Arrange/Act/Assert), one assertion concept per test, no logic in tests (no if/for/try-catch), test the public API not internals, each test arranges its own state independently
What its verifier checks
All tests follow AAA; no conditional or loop logic inside test bodies; test names read as specifications (e.g., ParseOrder_WithMissingField_ThrowsValidationError); tests do not share mutable state