By taking you through the development of a real web application from beginning to end, the updated second edition of this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. You’ll learn how to write and run tests before building each part of your app, and then develop the minimum amount of code required to pass those tests. The result? Clean code that works.Author Harry J.W. Percival uses a concrete example—the development of a web site, from scratch—to teach TDD methodology and ho w it applies to web programming, from the basics of database integration and Javascript to more advanced topics such as mocking, Ajax, and REST APIs. It's ideal for relative newcomers and self-taught web developers looking to take their skills to the next level with a more structured approach.