Test-Driven Web Development with Python
Fewer Bugs and Less Stress with Selenium, Django, and JavaScript
Publisher: O'Reilly Media
Released: March 2013
Pages: 430

With Early Release ebooks, you get books in their earliest form—the author's raw and unedited content as he or she writes—so you can take advantage of these technologies long before the official release of these titles. You'll also receive updates when significant changes are made, new chapters as they're written, and the final ebook bundle. This Early Release version includes 4 of 27 chapters and an appendix.

Test-Driven Development with Python focuses on web development, with some coverage of JavaScript (inescapable for any web programmer). This book uses a concrete example—the development of a web site, from scratch—to teach the TDD metholology, and how it applies to web programming: from the basics of database integration and JavaScript, going via browser-automation tools like Selenium, to advanced (and trendy) topics like NoSQL, websockets and Async programming.

Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyTest-Driven Web Development with Python
 
4.4

(based on 19 reviews)

Ratings Distribution

  • 5 Stars

     

    (10)

  • 4 Stars

     

    (7)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (1)

  • 1 Stars

     

    (0)

89%

of respondents would recommend this to a friend.

Pros

  • Easy to understand (15)
  • Helpful examples (15)
  • Well-written (11)
  • Accurate (7)
  • Concise (5)

Cons

    Best Uses

    • Intermediate (12)
    • Novice (12)
    • Student (9)
      • Reviewer Profile:
      • Developer (16), Sys admin (3)

    Reviewed by 19 customers

    Sort by

    Displaying reviews 1-10

    Back to top

    Previous | Next »

     
    4.0

    a great book but can be better

    By Tholapz

    from Los Angeles,CA

    About Me Developer, Educator, Maker

    Verified Buyer

    Pros

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

    Cons

    • Too basic

    Best Uses

    • Expert
    • Intermediate
    • Novice
    • Student

    Comments about oreilly Test-Driven Web Development with Python:

    A great book full of detailed information I need to develop my mindset for TDD. It would be nice however, if there is a cheat sheet page that list all of the useful commands, procedures, or tips for references.

    (1 of 1 customers found this review helpful)

     
    5.0

    Great book on TDD, Django Dev, and more!

    By Sceva

    from Omaha, NE

    About Me Developer

    Verified Buyer

    Pros

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

    Cons

      Best Uses

      • Intermediate
      • Student

      Comments about oreilly Test-Driven Web Development with Python:

      I have been learning Python and Django for a web application, and had been frustrated trying to learn how to include testing. TDD, Selenium, models, views, controllers, html, JavaScript, ... all of these together were overwhelming me. Harry's book does a great job introducing all these concepts and more. His minimalist style (YAGNI) has been illuminating also. Did I mention that the code in the book has no errors - the most accurate programming book I have ever read.

       
      5.0

      Best web developement book I've read

      By Jarmelias

      from Helsinki, Finland

      About Me Developer

      Verified Buyer

      Pros

      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Intermediate
        • Novice
        • Student

        Comments about oreilly Test-Driven Web Development with Python:

        Simply great book that guides you through the entire process of creating web applications. Also serves as a great introduction to test driven developement.

        (1 of 1 customers found this review helpful)

         
        5.0

        This is how it should be done.

        By Oddcog

        from Netherlands

        Verified Reviewer

        Pros

        • Easy to understand
        • Helpful examples
        • Well-written

        Cons

          Best Uses

          • Novice

          Comments about oreilly Test-Driven Web Development with Python:

          For me, this is technical exposition at its best, with an informal and engaging tone, good organization structured around a project, and clear sentences. The rate of information delivery and the level of detail is perfect for a beginner. The author takes care over little details, such as which directory files should be created in, which other writers often neglect. I have tried other books on Django and had to give up on them because of errors and lack of clarity in the text. It is aimed at beginners to TTD and to Django but be warned that it is quite challenging because a lot of other technologies are explained as well (eg version control, Selenium, and others).

          (2 of 2 customers found this review helpful)

           
          4.0

          Takes you through the thought-process

          By mcg

          from Sydney, Australia

          About Me Developer

          Verified Buyer

          Pros

          • Accurate
          • Easy to understand
          • Helpful examples

          Cons

            Best Uses

            • Intermediate

            Comments about oreilly Test-Driven Web Development with Python:

            Being a Web programmer that's struggled to stick with TDD and abandoned it out of frustration several times, this is exactly the book that I needed: one long example of a practical Web application detailing the fail-pass-refactor cycle every step of the way. A lot of the "but what if...?" questions I had when previously attempting TDD were answered and I finally feel like I might be able to actually develop this way.

            If you understand the idea of TDD but have struggled to use it practically, this might well be the book for you.

            (0 of 3 customers found this review helpful)

             
            2.0

            All over the map

            By gc

            from va

            About Me Hobbyist

            Pros

            • It's Okay

            Cons

            • There Are Better Books

            Best Uses

            • Intermediate

            Comments about oreilly Test-Driven Web Development with Python:

            The concept is good, but the author seems to miss the point of where's he is trying to lead. A lot of extraneous details in the middle of an explanation and then a sudden jump back to the concept.

            Not necessarily boring, but without clear directions as each piece was added, I did not enjoy the journey and put the book aside for others.

            (3 of 3 customers found this review helpful)

             
            5.0

            A classic in the making...

            By gsv

            from Sydney, Australia

            About Me CEO, Developer, Sys Admin

            Verified Buyer

            Pros

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

            Cons

            • Still A Work In Progress

            Best Uses

            • Intermediate
            • Novice
            • Student

            Comments about oreilly Test-Driven Web Development with Python:

            I purchased this book as I was keen to explore the world of TDD, and it does an excellent job of introducing the reader to this subject.

            What surprised me were the unexpected side benefits that I received... it serves as so much more for people who are new to Python and/or the Django framework.

            In particular...

            Deployment: DEPLOYING Django is a pain for any newcomer thus the first 7 Chapters alone are worth the asking price for the clear and comprehensive path that is laid out for them, literally deployment becomes mundane after this... right now this is the definitive book on Django deployment.

            Resources: Want to know about Forms... Fabric... South... Git... Javascript integration... it's all here and whilst not exhaustive on any one subject it serves as a clear introduction to the topic and along with the references to find out more will get you started in the right direction...

            References: The authors references made along the way are comprehensive, pertinent and incredibly valuable... finding them by yourself would take many many, hours of googling (if you were lucky)... having gone through the book once (to the point that it is currently completed) I now find myself returning to earlier parts and following the references supplied to raise my skill level in each discipline...

            The bottom line is simple... If you are learning Python, Django or TDD this is already a must have!

            I will add a further review upon the books completion.

            (1 of 5 customers found this review helpful)

             
            3.0

            Too many moving parts

            By kracekumar

            from Bangalore, India

            About Me Developer

            Verified Reviewer

            Pros

              Cons

                Best Uses

                  Comments about oreilly Test-Driven Web Development with Python:

                  I felt there is too much rewrite of code. It is hard to write code knowing this assumption will be invalid after few pages. After chapter 6 I lost interest to code, because changing single line view will make me change code in unit tests, functional test, at some point more than application logic test logic was present.

                  TDD for web development is vast. Touching too many parts makes too hard to hold interest. It would be really nice if TDD was followed for server side logic alone.

                  (4 of 4 customers found this review helpful)

                   
                  5.0

                  Much more than just TDD

                  By Jr.

                  from Wales

                  About Me Developer

                  Pros

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

                  Cons

                    Best Uses

                    • Intermediate
                    • Novice
                    • Student

                    Comments about oreilly Test-Driven Web Development with Python:

                    This is by far the most useful Django/ Python book I've read to date. At the time of my writing this review, it hasn't yet been completed. However, what's already been written is enough for any beginner to rapidly advance their understanding.

                    The writers conversational style and the pace with which the book progresses work together to create an excellent learning experience. Although currently a beginner, by chapter 7 I was starting to form my own ideas and implement my own features (using Test Driven Development methods of course!).

                    The book also provides introductions to several topics that are an essential part of the modern developers toolkit. Git, Javascript, Jenkins (for continuous integration) etc..

                    For anyone looking at programming and web-development in python I would recommend this book. To get the most out of it, I would suggest reading, "Learn Python The Hard Way" and working through, "Writing Your First Django App" (search them on google). You'll probably struggle with this book if you don't know the concepts presented in these free resources.

                    Happy learning!

                     
                    5.0

                    The testing goat is my new friend

                    By Not A Ninja

                    from Cork

                    About Me Developer

                    Pros

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

                    Cons

                      Best Uses

                      • Intermediate

                      Comments about oreilly Test-Driven Web Development with Python:

                      Great practical intro to TDD that also serves as a good starting point for anybody looking to get up and running with Django or Selenium or ....

                      Displaying reviews 1-10

                      Back to top

                      Previous | Next »

                       
                      Buy 2 Get 1 Free Free Shipping Guarantee
                      Buying Options
                      Immediate Access - Go Digital what's this?
                      Pre-Order  Print: $44.99
                      June 2014 (est.)