by mlmonkey · 5mo ago · 0 comments
But not any more! Now I point the LLM to the code and order it to write unit tests, covering all edge cases, etc. I'd rather spend 3 hours arguing with the LLM than writing unit tests! :-D
I instruct the LLM to follow TDD practices in certain areas, but otherwise prioritize integration style tests at the edges.
If you find writing tests tedious enough to make using an LLM to write them seem like a good idea you're probably churning out repetitive tests, unnecessary tests, tests which aren't great at catching bugs.