Test-Driven Development
Using Django, Selenium, and JavaScript
By Harry J.W. Percival
Publisher: O'Reilly Media
Final Release Date: October 2014
Run time: 3 hours 9 minutes

Automated tests are great! They tell you when your software is broken and enable you to refactor with confidence, leading to cleaner codebases and less stressed developers. Tests are so great, in fact, that a group of true believers started writing them before the actual code. What they called test-driven development (TDD) turned out to be a fantastic way to develop software.

Now, with this video course, you can get started with TDD step-by-step. TDD is often demonstrated with toy examples that fail to represent the challenges of real-world software development. But in this course, Harry Percival takes you through a practical example designed to look more like real life: building a simple web app with all the complexities associated with web browsers, the HTTP protocol, web frameworks, and database integration.

You’ll learn how to:

  • Use unit tests to guide the development of Django view functions and model classes
  • Test user interactions with functional tests that use Selenium to drive a real web browser
  • Get a feeling for the unit-test/code cycle, where tests verify each tiny change to the code
  • Use tests to refactor code systematically and with confidence
  • Make version control with Git part of the process
  • Evolve an existing application incrementally, always going from working state to working state

This video course is based on Harry Percival’s book, Test-Driven Development with Python from O’Reilly. Once you’ve completed the course, you can dig even deeper into the subject with the book.

Harry J.W. Percival works at PythonAnywhere LLP and spreads the gospel of TDD worldwide at talks, workshops, and conferences.

Table of Contents
Product Details
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyTest-Driven Development
 
4.7

(based on 3 reviews)

Ratings Distribution

  • 5 Stars

     

    (2)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

100%

of respondents would recommend this to a friend.

Pros

  • Helpful examples (3)

Cons

No Cons

Best Uses

  • Intermediate (3)

Reviewed by 3 customers

Displaying reviews 1-3

Back to top

(4 of 4 customers found this review helpful)

 
4.0

Have your prerequisites ready

By Uche

from Milton Keynes UK

About Me Maker, Sys Admin

Verified Reviewer

Pros

  • Accurate
  • Concise
  • Helpful examples

Cons

  • A Little Fast

Best Uses

  • Expert
  • Intermediate
  • Student

Comments about oreilly Test-Driven Development:

Harry is a very enthusiastic and clearly knowledgeable developer. The course covers a lot of ground in the first few videos and the illustration of development best practice is worth the price of the course alone.

Saying this, I would not recommend this to anyone who doesn't have at least some exposure to Django in particular and maybe Git as well. Personally, for the video series, I probably would have chosen a different form of project to introduce TDD as a concept, maybe something that just used the Python 3 standard library exclusively, since I felt at times that the course gets a little bogged down with the details of Django's implementation in particular, which then becomes increasingly distracting as the course goes on.

So, in summary, you will likely get the most out of this video if you take a primer on Django development, familiarize yourself with Git, and get Harry's TDD book (which is excellent)...and maybe a video player that can slow playback down by, say, 10%!!

Having these prerequisites will allow you to truly appreciate the beauty of TDD.

PS: Harry's .vimrc file needs to be shared! Could that be included as an addendum to the course in an update? :)

(1 of 1 customers found this review helpful)

 
5.0

Fantastic high pace intro to TDD

By Fabfuel

from Berlin, Germany

About Me Developer

Verified Reviewer

Pros

  • Accurate
  • Helpful examples
  • High Pace
  • Well-written

Cons

    Best Uses

    • Intermediate

    Comments about oreilly Test-Driven Development:

    This video is not just informative, it's entertaining! It's a great start to get familiar with test-driven development and it's concepts.

    I'm new to Python and TDD and the pace of the lessons is pretty high, they are fully loaded with information. But I think this is great, as you can rewind and watch a section twice, instead of getting bored if the pace is to low.

    I already got the book and I look forward to dive deeper.
    Thanks Harry, I shall obey the testing goat!

    (3 of 3 customers found this review helpful)

     
    5.0

    The Galloping Gourmet of TDD

    By tfrance

    from Reading, PA

    About Me Developer

    Verified Reviewer

    Pros

    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Intermediate

      Comments about oreilly Test-Driven Development:

      The video and accompanying book are brilliant. A fast-paced soup-to-nuts review of the techniques and technologies for adopting TDD in python, especially for web development. The work is timely, because TDD and BDD need, I think, greater adoption in the python community. Mr Percival brings an infectious, almost manic, energy and charm to his projects. He is the Galloping Gourmet of TDD (what, too young? look it up; or don't. I don't Kerr). Henceforth, I shall obey the testing goat!

      Displaying reviews 1-3

      Back to top

       
      Buy 2 Get 1 Free Free Shipping Guarantee
      Buying Options
      Immediate Access - Go Digital what's this?
      Video:  $59.99
      (Streaming, Downloadable)