Simplest-shop.comonline shopping, the simple way |
Welcome | Help ![]() |
| Search for |
|
Home > Books > xUnit Test Patterns Refactoring Test Code Addison Wesley Signature Series
This website will be shutdown on 2008-04-01.
|
|
xUnit Test Patterns: Refactoring Test Code (Addison-Wesley Signature Series) | |||||||
![]()
| 80% Recommended by our customers. Publisher: Addison-Wesley Catalog: Book Release date: 2007-05-31 Media: Hardcover Number of pages: 833 Ean: 9780131495050 Book Isbn: 0131495054 Author:
|
| |||||
| Top stores | Description | Price | Link to shop |
| amazon.com |
Availability: in 24 hours Current discount:20% off !! |
$43.99 | |
| used | 9 used offers, as low as... | $41.84 | see more used offers |
| all new | 37 thirdParty new offers, as low as... | $41.87 | see more ThirdParty new offers |
| Professional Review: |
|
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 repeatable--and far more cost-effective. 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 in-depth test coding. The second part, a catalog of 18 frequently encountered "test smells," provides trouble-shooting 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
This book will benefit developers, managers, and testers working with any agile or conventional development process, whether doing test-driven 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 next-generation behavior-driven development frameworks such as RSpec and JBehave and to other kinds of test automation tools, including recorded test tools and data-driven test tools such as Fit and FitNesse. Foreword Preface Acknowledgments Introduction Refactoring a Test PART I: The Narratives Chapter 1 A Brief Tour Chapter 2 Test Smells Chapter 3 Goals of Test Automation Chapter 4 Philosophy of Test Automation Chapter 5 Principles of Test Automation Chapter 6 Test Automation Strategy Chapter 7 xUnit Basics Chapter 8 Transient Fixture Management Chapter 9 Persistent Fixture Management Chapter 10 Result Verification Chapter 11 Using Test Doubles Chapter 12 Organizing Our Tests Chapter 13 Testing with Databases Chapter 14 A Roadmap to Effective Test Automation PART II: The Test Smells Chapter 15 Code Smells Chapter 16 Behavior Smells Chapter 17 Project Smells PART III: The Patterns Chapter 18 Test Strategy Patterns Chapter 19 xUnit Basics Patterns Chapter 20 Fixture Setup Patterns Chapter 21 Result Verification Patterns Chapter 22 Fixture Teardown Patterns Chapter 23 Test Double Patterns Chapter 24 Test Organization Patterns Chapter 25 Database Patterns Chapter 26 Design-for-Testability Patterns Chapter 27 Value Patterns PART IV: Appendixes Appendix A Test Refactorings Appendix B xUnit Terminology Appendix C xUnit Family Members Appendix D Tools Appendix E Goals and Principles Appendix F Smells, Aliases, and Causes Appendix G Patterns, Aliases, and Variations Glossary References Index |
| User Reviews: |
|
Summary: A Must Have Reference Anyone who is serious about automated testing on their project should go out and read this book ASAP. Like Patterns of Enterprise Application Architecture [Fowler] and Design Patterns [GoF] before it, Gerard Meszaros has put together a very through (if not large... the book is twice the size of PoEAA)reference and catalog of test patterns to make testing more efficient. The book is rather voluminous, divided up into 3 parts. The first part, "The Narratives", is a refreshing lecture on the philosophy of test automation, a brief on test smells, test organization, and tests with external resources. Essentially an overview of several concepts involved in test automation. Part 2, aptly titled "The Test Smells," covers some of the common test smells, such as "Hard-to-Test Code", "Fragile Test", and "Slow Test" just to name a few. These are organized in the format Symptoms, Impact, Troubleshooting Advice, and Causes, with the Causes section broken down by cause, with Symptoms, Root Cause, and Possible Solution listed for each. I was impressed with this section as I already recognized some of the smells, as well as having already applied some of the solutions listed in the past. Part 3 is "The Patterns", which follows the form of most patten catalogs out there. This is the largest section as it makes up more than half of the book, covering a lot of a ground. The patterns are given in a similar form to the ones in PoEAA, and provide easy to follow examples and in depth analysis. I was happy to find myself applying two of the patterns in the section already on a current project. Overall, great book. Highly Recommended. ;) Summary: Fills an important void Writing good tests is not easy. Different developers have come up with many techniques to improve tests. You might have used Backdoor Manipulation to make tests faster or used Custom Assertions to make an Obscure Test more readable. Sometimes a failing test caused you to play Assertion Roulette while you were trying to figure out who the Mystery Guest in this test is and what role he plays. Gerard documented these (and many more) smells and patterns to help you write better tests. If you have written tests, you have probably used some of them, but even then looking at the patterns described in this book will help you tune your technique. For example Custom Assertions should always take the actual and expected values as parameters, so assertMagicObjectsAreEqual(actual, expected) is good, assertEverythingIsAlright(actual) is bad. And now you have a name for this technique, which makes it easier to explain to your fellow developers what you are doing. At 800+ pages you are bound to find plenty of new techniques as well. If you are worried that this is another work by the pattern weenies, rest assured. The book follows the very simple and pragmatic "How It Works" and "When to Use It" format also used by Martin Fowlers' Patterns of Enterprise Application Architecture. |
| Comparison map |
| Wondering how the book "xUnit Test Patterns: Refactoring Test Code (Addison-Wesley Signature Series)" relates to similar books? Find out at a glance here: |
| Price comparison |
![]() xUnit Test Patterns: Refactoring Test Code... |
![]() Continuous Integration: Improving Software Quality... |
![]() Implementation Patterns (Addison-Wesley Signature... |
![]() Test Driven Development: By Example... |
![]() Working Effectively with Legacy Code (Robert C.... |
![]() Refactoring: Improving the Design of Existing Code... |
| Our price | $43.99 | $37.53 | $33.59 | $37.51 | $48.54 | $47.99 |
| List price | $54.99 | $44.99 | $39.99 | $44.99 | $56.99 | $59.99 |
| Lowest used price | $41.84 | $39.98 | $28.00 | $26.90 | $38.98 | $25.20 |
| Lowest new price | $41.87 | $33.72 | $27.25 | $24.92 | $39.05 | $31.80 |
| Catalog | Book | Book | Book | Book | Book | Book |
| Release date | 2007-05-31 | 2007-07-09 | 2007-11-02 | 2002-11-18 | 2004-10-02 | 1999-07-08 |
| Media | Hardcover | Paperback | Paperback | Paperback | Paperback | Hardcover |
| Number of pages | 833 | 336 | 176 | 240 | 456 | 464 |
| Ean | 9780131495050 | 9780321336385 | 9780321413093 | 9780321146533 | 9780131177055 | 9780201485677 |
| Book Isbn | 0131495054 | 0321336380 | 0321413091 | 0321146530 | 0131177052 | 0201485672 |
| Upc | - | - | - | 785342146530 | 076092025986 | 785342485677 |
| Link to shop* (opens in a new window) | BUY IT NOW* | BUY IT NOW* | BUY IT NOW* | BUY IT NOW* | BUY IT NOW* | BUY IT NOW* |
| take one out? |
|
I am here: Home > Books > xUnit Test Patterns Refactoring Test Code Addison Wesley Signature Series
This website will be shutdown on 2008-04-01.
|
|
|
About the Simplest Shop | Help | Term of Use | Privacy Policy
Home | Contact us | Bookmark us | get paid for writing |
|
Copyright Simplest-Shop.com 2004. All rights reserved |