logoalt Hacker News

oztenlast Thursday at 9:51 PM2 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

popcorncowboyyesterday at 9:21 AM

Can confirm this approach works well for us too.

lifeisstillgoodlast Thursday at 11:13 PM

That simple ? I’ll try it