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

Having come from a background of very bespoke tests for systems level software where conventional unit testing just doesn't really work for 90% of cases, I have used ChatGPT to learn how to and quickly write a large test suite for a web-API project I am working on. While ChatGPT has been generally crap at producing anything I would consider committing to my repo, it has worked wonders as a rough guide and a motivation to getting the tests written. Can't be bothered to come up with test ideas? Ask ChatGPT, then I end up writing about twice as many tests anyway, just from getting that initial push.


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: