نام کتاب
Test-Driven Development with Python

Obey the Testing Goat: Using Django, Selenium, and JavaScript

Harry J.W. Percival

Paperback722 Pages
PublisherO'Reilly
Edition3
LanguageEnglish
Year2025
ISBN9781098148713
1K
A914
انتخاب نوع چاپ:
جلد سخت
1,107,000ت
0
جلد نرم
1,207,000ت(2 جلدی)
0
طلق پاپکو و فنر
1,227,000ت(2 جلدی)
0
مجموع:
0تومان
کیفیت متن:اورجینال انتشارات
قطع:B5
رنگ صفحات:دارای متن و کادر رنگی
پشتیبانی در روزهای تعطیل!
ارسال به سراسر کشور

#TDD

#Python

#Django

#Selenium

#JavaScript

#Clean_code

#REST_API

#Ajax

#workflow

#refactoring

#web_development

توضیحات

The third edition of this trusted guide demonstrates the practical advantages of test-driven development (TDD) with Python and describes how to develop a real web application. 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.


In the process, author Harry Percival teaches software and web developers the basics of Django, Selenium, Git, JavaScript, and Mock libraries, along with current web development techniques. This book--updated for Python 3.11 and Django 4--clearly demonstrates how TDD encourages simple designs and inspires confidence.


Fully updated, this third edition addresses:

  • The TDD workflow, including the unit test/code cycle and refactoring
  • Unit tests for classes and functions and functional tests for user interactions within the browser
  • Mock objects and the pros and cons of isolated versus integrated tests
  • Testing and automation of deployments with a staging server
  • Tests applied to the third-party plug-ins you integrate into your site
  • Automatic tests using a continuous integration environment
  • Using TDD to build a REST API with a JavaScript frontend interface


Table of Contents

Part I. The Basics of TDD and Django

Chapter 1. Getting Django Set Up Using a Functional Test

Chapter 2. Extending Our Functional Test Using the unittest Module

Chapter 3. Testing a Simple Home Page with Unit Tests

Chapter 4. What Are We Doing with All lhese Tests? (And, Refactoring)

Chapter 5. Saving User Input: Testing the Database

Chapter 6. Improving Functional Tests: Ensuring Isolation and Removing Magic Sleeps

Chapter 7. Working Incrementally

Chapter 8. Prettification: Layout and Styling, and What to Test About It

Part II. Going to Production

Chapter 9. Containerization aka Docker

Chapter 10. Making Our App Production-Ready

Chapter 11. Getting a Server Ready for Deployment

Chapter 12. Infrastructure as Code: Automated Deployments with Ansible

Part Ill. Forms and Validation

Chapter 13. Splitting Our Tests into Multiple Files,

and a Generic Wait Helper

Chapter 14. Validation at the Database Layer

Chapter 15. A Simple Form

Chapter 16. More Advanced Forms

Part IV. More Advanced Topics in Testing

Chapter 17. A Gentle Excursion into JavaScript

Chapter 18. Deploying Our New Code

Chapter 19. User Authentication, Spiking, and De-Spiking

Chapter 20. Using Mocks to Test External Dependencies

Chapter 21. Using Mocks for Test Isolation

Chapter 22. Test Fixtures and a Decorator for Explicit Waits

Chapter 23. Debugging and Testing Server Issues

Chapter 24. Finishing "My Lists": Outside-In TDD

Chapter 25. Cl: Continuous Integration

Chapter 26. The Token Social Bit, the Page Pattern, and an Exercise for the Reader

Chapter 27. Fast Tests, Slow Tests, and Hot Lava


About the Author

After an idyllic childhood spent playing with BASIC on French 8-bit computers like the Thomson T-07 whose keys go "boop" when you press them, Harry spent a few years being deeply unhappy as a management consultant. Soon he rediscovered his true geek nature, and was lucky enough to fall in with a bunch of XP fanatics, working on the pioneering but sadly defunct Resolver One spreadsheet. He now works at PythonAnywhere LLP, and spreads the gospel of TDD world-wide at talks, workshops and conferences, with all the passion and enthusiasm of a recent convert.

دیدگاه خود را بنویسید
نظرات کاربران (0 دیدگاه)
نظری وجود ندارد.
کتاب های مشابه
Data
1,829
Machine Learning for Streaming Data with Python
480,000 تومان
Python
1,133
OpenCV: Computer Vision Projects with Python
1,010,000 تومان
Python
1,069
Full Stack Python Security
536,000 تومان
Python
1,021
Scaling Python with Dask
442,000 تومان
Python
940
Machine Learning for Decision Sciences with Case Studies in Python
743,000 تومان
Python
4,075
Python Crash Course
1,003,000 تومان
Python
600
Python 101
1,108,000 تومان
Python
1,289
Hands-On Explainable AI (XAI) with Python
807,000 تومان
Python
631
Essentials of Excel VBA, Python, and R: Volume II
1,070,000 تومان
Python
1,495
Data Structures & Algorithms in Python
1,444,000 تومان
قیمت
منصفانه
ارسال به
سراسر کشور
تضمین
کیفیت
پشتیبانی در
روزهای تعطیل
خرید امن
و آسان
آرشیو بزرگ
کتاب‌های تخصصی
هـر روز با بهتــرین و جــدیــدتـرین
کتاب های روز دنیا با ما همراه باشید
آدرس
پشتیبانی
مدیریت
ساعات پاسخگویی
درباره اسکای بوک
دسترسی های سریع
  • راهنمای خرید
  • راهنمای ارسال
  • سوالات متداول
  • قوانین و مقررات
  • وبلاگ
  • درباره ما
چاپ دیجیتال اسکای بوک. 2024-2022 ©