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

This is just one way to use TDD. I personally get the most value from TDD as a design approach. I iteratively decompose the project into stubbed, testable components as I start the project, and implement when I have to to get my tests to pass. At each stage I'm asking myself questions like "who needs to call who? with what data? What does it expect back as a return value?" etc.
 help



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

Search: