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

TDD is awesome

I write tests out as flat requirements text.. No code, just documentation. Quick and dirty.

"When the user puts in a bad password, it returns an error."

Then convert this to real tests, and tada, I have red tests.

The code almost writes itself.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: