Test-Driven Development with Python: Obey the Testing Goat: Using Django, Selenium, and JavaScript, 2/e (Paperback)

Harry J. W. Percival

買這商品的人也買了...

商品描述

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 how 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.

商品描述(中文翻譯)

通過從頭到尾開發一個真實的網絡應用程序,這本實踐指南的第二版展示了使用Python進行測試驅動開發(TDD)的實際優勢。您將學習如何在構建應用程序的每個部分之前編寫和運行測試,然後開發最少量的代碼以通過這些測試。結果是能夠正常運作的乾淨代碼。

作者Harry J.W. Percival使用一個具體的例子——從頭開始開發一個網站——來教授TDD方法論以及它如何應用於網絡編程,從基礎的數據庫集成和Javascript到更高級的主題,如模擬、Ajax和REST API。這本書非常適合相對新手和自學網絡開發人員,他們希望通過更有結構性的方法提升自己的技能水平。