Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I just want AI that will write a unit test for me.


I’m remembering a joke from my childhood.

Guy is in a computer store. Salesman says “This will halve your workload”. Guy says “Great, I’ll buy two!”

We’re nearly there now.


What a good idea! It could also relatively easily verify if it's correct and only return a result when the test is passing and all the lines (or even paths) are covered.


Have you tried Copilot? It writes my unit tests 80% of the way. It’s the main reason I pay for it (I hate writing tests).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: