If Agent is writing the tests itself, does it offer better correctness guarantees than letting it write code and tests?
Otherwise in some cases, you get this issue [0].
[0] https://sketch.dev/blog/our-first-outage-from-llm-written-co...
LLMs are good at writing tests in my experience.