Angel \”Java\” Lopez on Blog

December 23, 2009

Python TDD Example

One of the practices I try to “sell” to anybody involved in software development, is the practice of Test-Driven Development. Once you have practice TDD, you never go back. It is a practice with so much reward and joy, I feel uneasy when I wrote real software without using it.

Thanks to a tweet by @jjfalcon, I discovered this example, in Youtube, by user objarni. He is using Ubuntu, programming in Python, and using pyTDDemon to see inmediatly the results of test.

Note the red-green-refactor cycle, the minimal code that is added in each tests (only to have green in test, including cheating in return values), refactoring the test if there are duplicated code, microdesign decisions, etc… Nice work!

I tagged more videos about TDD, in my delicious:

http://delicious.com/ajlopez/tdd+video

All about TDD

http://delicious.com/ajlopez/tdd

Angel “Java” Lopez
http://www.ajlopez.com
http://twitter.com/ajlopez

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: