Currently, AI programming still lacks stability, with the most common criticism being the helplessness when bugs arise and one is completely unfamiliar with the code. Could we start by having AI generate test code, then combine it with optimization prompts and pass the tests to enhance the output quality of AI?

Although generating high-quality test code is not simple, this approach essentially breaks down a highly complex task into two relatively less challenging operations.

Moreover, is it now feasible to truly popularize TDD (Test-Driven Development),  kind of TDD that’s just focusing on writing tests?