logoalt Hacker News

ozten01/16/20252 repliesview on HN

Backend coding for web services.

In the past I would hand write 8 or 9 unit tests. Now I write the first one or two and then brain dump anything else into the LLM prompt. It then outputs mine plus 6 or more.

I delete any that seem low value or ridiculous or have a follow up prompt to ask for refinements. Then just copy/pasta back into the codebase out of the chat.


Replies

lifeisstillgood01/16/2025

That simple ? I’ll try it

popcorncowboy01/17/2025

Can confirm this approach works well for us too.