7

See how Test Driven Development is done in practice

 2 years ago
source link: https://blog.jakubholy.net/2009/07/05/see-how-test-driven-development-is/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

See how Test Driven Development is done in practice

July 5, 2009
On the Manning site you can read the 2nd chapter of the book Test Driven - Practical TDD and Acceptance TDD for Java Developers by Lasse Koskela from 2007. The chapter 2: Beginning TDD let's you follow the mental process of a programmer practicing TDD to implement a set of user stories. You've probably heard a lot about TDD on the theoretical level but this sample chapter gives you the unique opportunity to see the basic, practical level of TDD in action. I'm very glad to have read it.

The interesting thing is how he really always does the simplest possible solution (read 'dummy and 0% generic') to make the test pass and continuously adds tests and refactors the implementation to get the final code.

Are you benefitting from my writing? Consider buying me a coffee or supporting my work via GitHub Sponsors. Thank you! You can also book me for a mentoring / pair-programming session via Codementor or (cheaper) email.

Allow me to write to you!

Let's get in touch! I will occasionally send you a short email with a few links to interesting stuff I found and with summaries of my new blog posts. Max 1-2 emails per month. I read and answer to all replies.

Copyright © 2022 Jakub Holý
Powered by Cryogen
Theme by KingMob

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK