ODBIERZ TWÓJ BONUS :: »

Test-Driven Development with Python Yagnanarayana Dande

Język publikacji: angielski
Test-Driven Development with Python Yagnanarayana Dande - okladka książki

Test-Driven Development with Python Yagnanarayana Dande - okladka książki

Autor:
Yagnanarayana Dande
Ocena:
Bądź pierwszym, który oceni tę książkę
Stron:
426
Dostępne formaty:
     ePub
     Mobi
Ebook
125,10 zł 139,00 zł (-10%)
139,00 zł najniższa cena z 30 dni

Dodaj do koszyka Dostępny natychmiast po opłaceniu zakupu lub Kup na prezent Kup 1-kliknięciem

Przenieś na półkę

Do przechowalni

Description
Test-driven development (TDD) is a development approach that flips traditional coding on its head by writing tests before writing the actual code. This powerful methodology helps developers write cleaner, more maintainable, and bug-resistant software. In the world of Python, TDD is not just a best practice; it is a game-changer. This book is your hands-on guide to mastering TDD the Pythonic way.

This book begins with the fundamentals of TDD, such as what it is, why it matters, and how to set up your development environment for test-first coding. Each chapter introduces you to core concepts like unit testing, test automation with unittest and pytest, mocking, refactoring, and continuous integration. You will build real Python applications through a TDD lens, progressing from simple functions to fully tested modules and components. A few chapters will explore TDD for APIs, working with databases, and using test doubles effectively, and each chapter ends with a practical mini-project to reinforce learning.

By the end of this book, you will not only be comfortable with writing tests first but also confident in designing cleaner architecture and delivering production-ready Python code faster. This book will also empower you to build smarter and ship with confidence.

What you will learn
Learn TDD principles to write reliable Python code faster.
Use unittest and pytest to automate Python test coverage.
Understand mocks and stubs to test isolated components.
Develop APIs and apps using TDD for real-world readiness.
Apply CI and refactoring techniques for clean, testable code.
Design class constructor APIs and validate private object methods.
Implement JWT authentication and deploy characterization tests on seams.
Write failing tests first to drive incremental functional implementations.

Who this book is for
This book is for Python developers, QA engineers, automation testers, and software engineers transitioning into test-first coding. A basic understanding of Python programming is required; however, intermediate professionals can skip prior TDD experience to master building reliable applications.

Table of Contents
1. Introduction to TDD and Python Setup
2. Unit Testing with Unittest
3. Embracing Pytest for Simpler Tests
4. Writing Test-first Functions
5. Incremental Implementation with TDD
6. TDD with Classes and Objects
7. Mocking, Stubbing, and Isolating Tests
8. Building a Calculator API with TDD
9. Testing Database Interactions
10. Test Coverage and Refactoring
11. Integrating TDD with Continuous Integration
12. TDD in Teams and Real-World Projects
13. Final Project, Full-stack Task Manager Using TDD
14. Securing, Scaling & Testing Legacy Code

Wybrane bestsellery

BPB Publications - inne książki

Zamknij

Przenieś na półkę
Dodano produkt na półkę
Usunięto produkt z półki
Przeniesiono produkt do archiwum
Przeniesiono produkt do biblioteki

Zamknij

Wybierz metodę płatności

Ebook
125,10 zł
Dodaj do koszyka
Płatności obsługuje:
Ikona płatności Alior Bank Ikona płatności Apple Pay Ikona płatności Bank PEKAO S.A. Ikona płatności Bank Pocztowy Ikona płatności Banki Spółdzielcze Ikona płatności BLIK Ikona płatności Crédit Agricole e-przelew Ikona płatności dawny BNP Paribas Bank Ikona płatności Google Pay Ikona płatności ING Bank Śląski Ikona płatności Inteligo Ikona płatności iPKO Ikona płatności mBank Ikona płatności Millennium Ikona płatności Nest Bank Ikona płatności Paypal Ikona płatności PayPo | PayU Płacę później Ikona płatności PayU Płacę później Ikona płatności Plus Bank Ikona płatności Płacę z Getin Bank Ikona płatności Płać z BOŚ Ikona płatności Płatność online kartą płatniczą Ikona płatności Santander Ikona płatności Visa Mobile