Test Driven Development (TDD) in Python

This is a personal remake of the Test-driven Development in Python Youtube video http://www.youtube.com/watch?v=sD6qzJNQEpE which is good but lacks sound.

I did this two years ago for the students of my course CE320 Large Scale Software Systems and Extreme Programming (academic year 2012-2013) in the School of Computer Science and Electronic Engineering of the University of Essex.

For the 2013-2014 edition of the course I’ve also produced a TDD in C version of the video (see http://youtu.be/y-tBjj9OmdI ).

For the 2014-2015 edition of the course I’ve redone the exercise in Java with IntelliJ (see http://youtu.be/hD9e6AauOh0 ).

Enjoy!

Riccardo Poli

5 Comments on “Test Driven Development (TDD) in Python”

  1. LOL, I hit two birds with one stone while watching this video. Learned
    something and had #ASMR at the same time!

  2. The audio track and the mistakes being left in are what makes it so much
    fun. It reminds me of a segment of James Shore’s “Let play: Test Driven
    Development” series (in Java). jamesshore (dot) com (slash) Blog (slash)
    Lets-Play Highly recommended, but there’s a LOT to it (it was a weekly
    series). Thank you Riccardo; very instructive.

  3. I agree. With there was a python course that took up TDD from the beginning
    as a way not to learn the language but to teach systematic program
    design/TDD. The course on coursera is quite good called Learn how to
    program, writing quality code, but I feel it is a bit short. I wish people
    could learn programming with TDD almost from scratch to get into the
    systematic thinking from start … or very close to start.

  4. Wonderful intro to Python-done-right. I learned enough to be dangerous (a
    little) and kept going. Here’s my final version of urlParser.py from coding
    along with this video (6 lines and clear): class urlParser: def __init__
    (self, url): self.protocol, self.site = url.split(“://”) self.path = “” if
    (‘/’ in self.site): self.site, self.path = self.site.split(“/”, 1)

Comments are closed.