Hacker News new | past | comments | ask | show | jobs | submit login

This is the approach suggested in the book "Growing Object-Oriented Software Guided By Tests". You start with an end-to-end integration test and then write code to make it pass, testing each component with unit tests along the way. I find it useful myself, although I don't always adhere to its recommendation to start off with a true end-to-end test (sometimes I can identify two or more layers that can/should be worked on separately).



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

Search: