Xunit Test Patterns: Refactoring Test Code

Xunit Test Patterns: Refactoring Test Code

In Stock
SKU: SONG0131495054
UPC: 9780131495050
Brand: Addison-Wesley Professional
Condition: Used
Regular price$48.00
Quantity
Add to wishlist
Add to compare

Sold by Ergodebooks, an authorized reseller.

Returns accepted within 30 days | support@ergodebooks.com

Verified
Shipping Information
  • Free Standard Shipping — United States only
  • Processing Time: 1–3 business days
  • Estimated Delivery: 3–5 business days after dispatch
  • Double-boxed, fully insured & discreetly packaged
  • Tracking number sent via email once dispatched
  • Orders over $250 require signature upon delivery. Taxes calculated at checkout.
Returns & Refund

Returns accepted within 30 days of delivery.

Damaged or Defective Item

Free return shipping + replacement or full refund

Wrong Item Received

Free return shipping + replacement or full refund

Change of Mind

Return shipping at customer's expense · 25% restocking fee applies

All returns require a Return Authorization (RA) number before sending.

To initiate a return, contact us:

support@ergodebooks.com +1 (281) 738-1050
View Full Return & Refund Policy
Payment Option
Payment Methods

Help

If you have any questions, you are always welcome to contact us. We'll get back to you as soon as possible, withing 24 hours on weekdays.

Customer service

All questions about your order, return and delivery must be sent to our customer service team by e-mail at yourstore@yourdomain.com

Sale & Press

If you are interested in selling our products, need more information about our brand or wish to make a collaboration, please contact us at press@yourdomain.com

Automated Testing Is A Cornerstone Of Agile Development. An Effective Testing Strategy Will Deliver New Functionality More Aggressively, Accelerate User Feedback, And Improve Quality. However, For Many Developers, Creating Effective Automated Tests Is A Unique And Unfamiliar Challenge.Xunit Test Patterns Is The Definitive Guide To Writing Automated Tests Using Xunit, The Most Popular Unit Testing Framework In Use Today. Agile Coach And Test Automation Expert Gerard Meszaros Describes 68 Proven Patterns For Making Tests Easier To Write, Understand, And Maintain. He Then Shows You How To Make Them More Robust And Repeatableand Far More Costeffective.Loaded With Information, This Book Feels Like Three Books In One. The First Part Is A Detailed Tutorial On Test Automation That Covers Everything From Test Strategy To Indepth Test Coding. The Second Part, A Catalog Of 18 Frequently Encountered Test Smells, Provides Troubleshooting Guidelines To Help You Determine The Root Cause Of Problems And The Most Applicable Patterns. The Third Part Contains Detailed Descriptions Of Each Pattern, Including Refactoring Instructions Illustrated By Extensive Code Samples In Multiple Programming Languages.Topics Covered Include Writing Better Testsand Writing Them Faster The Four Phases Of Automated Tests: Fixture Setup, Exercising The System Under Test, Result Verification, And Fixture Teardown Improving Test Coverage By Isolating Software From Its Environment Using Test Stubs And Mock Objects Designing Software For Greater Testability Using Test Smells (Including Code Smells, Behavior Smells, And Project Smells) To Spot Problems And Know When And How To Eliminate Them Refactoring Tests For Greater Simplicity, Robustness, And Execution Speedthis Book Will Benefit Developers, Managers, And Testers Working With Any Agile Or Conventional Development Process, Whether Doing Testdriven Development Or Writing The Tests Last. While The Patterns And Smells Are Especially Applicable To All Members Of The Xunit Family, They Also Apply To Nextgeneration Behaviordriven Development Frameworks Such As Rspec And Jbehave And To Other Kinds Of Test Automation Tools, Including Recorded Test Tools And Datadriven Test Tools Such As Fit And Fitnesse.Visual Summary Of The Pattern Languageforewordprefaceacknowledgmentsintroductionrefactoring A Testpart I: The Narrativeschapter 1 A Brief Tourchapter 2 Test Smellschapter 3 Goals Of Test Automationchapter 4 Philosophy Of Test Automationchapter 5 Principles Of Test Automationchapter 6 Test Automation Strategychapter 7 Xunit Basicschapter 8 Transient Fixture Managementchapter 9 Persistent Fixture Managementchapter 10 Result Verificationchapter 11 Using Test Doubleschapter 12 Organizing Our Testschapter 13 Testing With Databaseschapter 14 A Roadmap To Effective Test Automationpart Ii: The Test Smellschapter 15 Code Smellschapter 16 Behavior Smellschapter 17 Project Smellspart Iii: The Patternschapter 18 Test Strategy Patternschapter 19 Xunit Basics Patternschapter 20 Fixture Setup Patternschapter 21 Result Verification Patternschapter 22 Fixture Teardown Patternschapter 23 Test Double Patternschapter 24 Test Organization Patternschapter 25 Database Patternschapter 26 Designfortestability Patternschapter 27 Value Patternspart Iv: Appendixesappendix A Test Refactoringsappendix B Xunit Terminologyappendix C Xunit Family Membersappendix D Toolsappendix E Goals And Principlesappendix F Smells, Aliases, And Causesappendix G Patterns, Aliases, And Variationsglossaryreferencesindex

⚠️ WARNING (California Proposition 65):

This product may contain chemicals known to the State of California to cause cancer, birth defects, or other reproductive harm.

For more information, please visit www.P65Warnings.ca.gov.

  • Q: How many pages does this book have? A: This book has eight hundred thirty-three pages. It provides in-depth coverage of automated testing strategies and patterns.
  • Q: What is the binding type of this book? A: The binding type is hardcover. This ensures durability and longevity for repeated use.
  • Q: What are the dimensions of the book? A: The dimensions are seven point twenty-four inches in length, two point zero one inches in width, and nine point forty-nine inches in height. This size is typical for comprehensive reference texts.
  • Q: Who is the author of this book? A: The author is Gerard Meszaros. He is recognized as an expert in test automation and agile development.
  • Q: What is the main focus of this book? A: The main focus is on automated testing using xUnit frameworks. It offers patterns for writing effective tests.
  • Q: How should I use this book for learning? A: You should read it sequentially for foundational knowledge or refer to specific sections for troubleshooting. It is structured to cater to both beginners and experienced developers.
  • Q: Is this book suitable for beginners in programming? A: Yes, this book is suitable for beginners. It includes tutorials and foundational concepts in automated testing.
  • Q: What programming frameworks does this book cover? A: The book primarily covers xUnit frameworks but also discusses next-generation behavior-driven development frameworks like RSpec and JBehave.
  • Q: Can I use this book for non-xUnit testing tools? A: Yes, the principles and patterns apply to various testing tools, including data-driven test tools like Fit and FitNesse.
  • Q: How should I care for this hardcover book? A: Keep it in a dry, cool place to prevent damage. Avoid exposure to direct sunlight to preserve the cover and pages.
  • Q: What is the shelf-life of this book in terms of relevance? A: The concepts in this book are relevant as long as automated testing practices evolve. It serves as a lasting resource.
  • Q: Can I return this book if I'm not satisfied? A: Yes, you can return the book within the seller's return policy timeframe. Ensure it is in original condition for a full refund.
  • Q: What if my book arrives damaged? A: If the book arrives damaged, contact customer support for a replacement or refund as per the return policy.
  • Q: What if I have trouble understanding the patterns? A: If you have trouble, refer to the detailed descriptions and code samples. You may also seek online forums for additional support.
  • Q: Should I read this book if I use agile methodologies? A: Yes, this book is highly beneficial for those using agile methodologies. It aligns with agile principles and practices.
  • Q: Are there real-world examples in this book? A: Yes, the book includes extensive code samples in multiple programming languages to illustrate the patterns discussed.

Recently Viewed