close menu
Bookswagon-24x7 online bookstore
close menu
My Account
Home > Computing and Information Technology > Computer programming / software engineering > Software Engineering > Software testing and verification > Essential Test-Driven Development: (Addison-Wesley Signature Series (Cohn))
Essential Test-Driven Development: (Addison-Wesley Signature Series (Cohn))

Essential Test-Driven Development: (Addison-Wesley Signature Series (Cohn))

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

Techniques and Insights to Deliver High-Quality, Maintainable Code

Test-Driven Development (TDD) is not only a way to test your code but a complete method of crafting software: How you think about code, the act of writing code, and how you continuously interact with your team's code. Essential Test-Driven Development guides you through writing tests before code, ensuring that every feature is clearly specified, thoroughly validated, and ready to meet evolving business needs.

This book shows how TDD can transform your development process by reducing costly bugs and empowering your team to deliver value with confidence. You'll see fewer defects with less worry about breaking existing features while implementing new ones. Developers can confidently reshape their code's internal design to accommodate new features and spend less time debugging.

The techniques and real-world examples in this book make TDD accessible to developers, managers, and product owners alike. Learn how to create a safety net of automated tests that protect your investment, accelerate delivery, and enable fearless innovation--whether working with legacy systems or new technologies. By adopting a test-driven mindset, you gain the skills to build software that's not only reliable today but is resilient to change tomorrow.

  • Master the core TDD workflow of "Red, Green, Refactor" for iterative, quality-driven development
  • Build and extend behaviors with clear, executable specifications
  • Design for exceptional cases and edge conditions to prevent costly surprises
  • Sustain a healthy, maintainable test suite with proven, long-term strategies
  • Use test doubles to isolate dependencies and keep your tests fast and focused
  • Apply TDD techniques to legacy codebases, making old software testable and reliable
  • Understand the business impact of wholehearted TDD: fewer defects, faster feature delivery, and greater adaptability
  • Explore how TDD principles extend across languages, frameworks, and modern agentic AI development

Take a practical step toward fewer bugs and smoother releases by exploring TDD at your own pace, with targeted examples and guidance you can actually use.

Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.



Table of Contents:

Foreword xiii
Preface xix
Acknowledgments xxix
About the Author xxxi

Part I: Core Techniques 1

Chapter 1: Thinking Test-Driven 3
The Safety Net 4
Units of Behavior 4
Behavioral Boundaries 6
A Taste of TDD 9
The Future of Test-Driven Development 14
Summary 20

Chapter 2: Basic Moves 21
The TDD Flowchart 21
Thinking in Tests 23
Three Basic Techniques 26
Requests, Tasks, and a To-Do List 26
Exercise Walk-Through 30
Summary 45

Chapter 3: Build upon Existing Behavior 47
Next Steps 47
Improving the Tests 53
Refactoring the Tests 55
Removing the Symptomless Defect 57
Triangulating Away Side Effects 60
A Picture Is Worth a Thousand Words 62
Combining Behaviors 66
Summary 71

Chapter 4: Exceptional Behaviors 73
Raising/Throwing 73
A Test That Passes When the Code "Fails" 75
External Exceptions 77
Summary 78

Chapter 5: Sustaining a Test-Driven Practice 79
Attributes of a Good Unit Test 80
Where to Start 83
What to Test 88
When Code Is Difficult to Test 96
Test Smells and Refactorings 97
Other Common Testing Challenges 136
How to Test a Private
Summary 138

Part II: Ancillary Practices 139

Chapter 6: Test Doubles 141
The Trouble with Dependencies 142
A Test Double Taxonomy 143
Additional Recommendations 153
Summary: Use with Care 160

Chapter 7: Testing Legacy Code 163
Characterization Testing 165
Other Considerations 177
Introduce Virtualizing Proxy 180
Summary: The Complete Toolbox 186

Part III: Return on Investment 189

Chapter 8: The Black Swans 191
The Agilist's Dilemma 192
The Three Levels of Value 193
The Black Swan User Stories 195
Taming the Black Swans 204
Summary 205

Appendix: Exercises 207

Index 213


Best Seller

| | See All


Product Details
  • ISBN-13: 9780134494425
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Addison Wesley
  • Language: English
  • Series Title: Addison-Wesley Signature Series (Cohn)
  • ISBN-10: 0134494423
  • Publisher Date: 01 Mar 2025
  • Binding: Digital download
  • No of Pages: 368
  • Weight: 1 gr


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
Essential Test-Driven Development: (Addison-Wesley Signature Series (Cohn))
Pearson Education (US) -
Essential Test-Driven Development: (Addison-Wesley Signature Series (Cohn))
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Essential Test-Driven Development: (Addison-Wesley Signature Series (Cohn))

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    | | See All


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA