Where AI-generated test cases work for unit, API, UI automation, and regression testing — prompt patterns, quality checks, and risk boundaries.