Would you like to see this page in English? Click here.

 

ou
Ouvrez une session pour activer Commander en 1-Click.
 
 
D'autres produits offerts
20 neufs & d'occasion à partir de CDN$ 45.35

Vous en avez un à vendre?
Vendez les vôtres ici
 
   
xUnit Test Patterns: Refactoring Test Code
 
 

xUnit Test Patterns: Refactoring Test Code (Hardcover)

de Gerard Meszaros (Author) "There are a lot of principles, patterns, and smells in this book-and even more patterns that couldn't fit into the book ..." En savoir plus
5.0étoiles sur 5  Voir tous les commentaires (2 évaluations de client)
Prix éditeur: CDN$ 71.99
Price: CDN$ 45.35 & Livraison super-économique GRATUITE pour cet article. Détails
Vous économisez : CDN$ 26.64 (37%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
En stock.
Vendu et expédié par Amazon.ca.

Commandez-vous pour Noël? Pour livraison garantie le 24 décembre à Toronto, à Ottawa, ou à Montréal, choisissez Livraison super-économique GRATUITE  lors de votre commande. En savoir plus.

14 neufs à partir de CDN$ 45.35 6 d'occasion à partir de CDN$ 70.02

Produits fréquemment achetés ensemble

xUnit Test Patterns: Refactoring Test Code + Test Driven Development: By Example + Refactoring: Improving the Design of Existing Code
Prix public : CDN$ 209.97
Prix pour les trois: CDN$ 132.27

Afficher la disponibilité du produit et le mode de livraison

  • Cet article : xUnit Test Patterns: Refactoring Test Code de Gerard Meszaros

    En stock.
    Vendu et expédié par Amazon.ca.
    Livraison super-économique GRATUITE pour cet article. Détails

  • Test Driven Development: By Example de Kent Beck

    En stock.
    Vendu et expédié par Amazon.ca.
    Se qualifie pour Livraison super-économique GRATUITE pour des commandes de plus de CDN$ 39. Détails

  • Refactoring: Improving the Design of Existing Code de Martin Fowler

    En stock.
    Vendu et expédié par Amazon.ca.
    Livraison super-économique GRATUITE pour cet article. Détails


Les clients qui ont acheté cet article ont aussi acheté

Test Driven Development: By Example

Test Driven Development: By Example

de Kent Beck
4.3étoiles sur 5 (17)  CDN$ 37.79
Continuous Integration: Improving Software Quality and Reducing Risk

Continuous Integration: Improving Software Quality and Reducing Risk

de Paul Duvall
3.5étoiles sur 5 (2)  CDN$ 37.79
Implementation Patterns

Implementation Patterns

de Kent Beck
CDN$ 34.01
Refactoring: Improving the Design of Existing Code

Refactoring: Improving the Design of Existing Code

de Martin Fowler
4.6étoiles sur 5 (95)  CDN$ 49.13
Working Effectively with Legacy Code

Working Effectively with Legacy Code

de Michael Feathers
5.0étoiles sur 5 (1)  CDN$ 45.35
Découvrez des articles similaires

Les détails du produit


Descriptions du produit

Product Description

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

  • Writing better tests--and 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 speed

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.


Visual Summary of the Pattern Language 
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 




About the Author

Gerard Meszaros is Chief Scientist and Senior Consultant at ClearStream Consulting, a Calgary-based consultancy specializing in agile development. He has more than a decade of experience with automated unit testing frameworks and is a leading expert in test automation patterns, refactoring of software and tests, and design for testability.

Dans ce livre (les détails)
First Sentence
There are a lot of principles, patterns, and smells in this book-and even more patterns that couldn't fit into the book. Lire la première page
Parcourir les pages échantillon
Plat recto | Droit d'auteur | Table des matières | Extrait | Index | Plat verso
Cherchez à l'intérieur de ce livre:

Mots-clés inspirés de produits similaires

 (De quoi s'agit-il ?)
Soyez le premier à ajouter un mot-clé pertinent (fortement associé à ce produit)
 
(2)
(1)

Vos mots-clés : Ajouter votre premier mot-clé
 

What Do Customers Ultimately Buy After Viewing This Item?

xUnit Test Patterns: Refactoring Test Code
71% buy the item featured on this page:
xUnit Test Patterns: Refactoring Test Code 5.0étoiles sur 5 (2)
CDN$ 45.35
Test Driven Development: By Example
11% buy
Test Driven Development: By Example 4.3étoiles sur 5 (17)
CDN$ 37.79
Implementation Patterns
6% buy
Implementation Patterns
CDN$ 34.01
Refactoring: Improving the Design of Existing Code
6% buy
Refactoring: Improving the Design of Existing Code 4.6étoiles sur 5 (95)
CDN$ 49.13

 

L'avis des consommateurs

2 évaluations
5 étoiles:
 (2)
4 étoiles:    (0)
3 étoiles:    (0)
2 étoiles:    (0)
1 étoiles:    (0)
 
 
 
 
 
Évaluation du client type
5.0étoiles sur 5 (2 évaluations de client)
 
 
 
 
Partagez votre opinion avec les autres clients:
Commentaires client les plus utiles

 
5.0étoiles sur 5 Inspired to Test, Déc 23 2007
Par C. Kilgore (Atlanta, GA USA) - Voir tous mes commentaires
(REAL NAME)   
I've been familiar with agile concepts of automated unit testing (AUT) and test-driven development (TDD) for awhile now. In the past few years I've made several attempts at incorporating AUT and TDD into my own personal workflow, but each attempt soon resulted in my abandoning the whole idea. The testing effort quickly outweighed the benefits. I've believed in the ideal of TDD, but I didn't see quite how to pull it off.

Then I bought XUnit Test Patterns by Gerard Meszaros. Wow! Finally the issues I've struggled with are being addressed. Okay, I must admit I'm not very plugged in to the online software development community, and I'm sure these issues have been discussed before. But this book looks special. I sense it's giving voice to these issues in a big way that's introducing many developers to these ideas for the first time. After all, it had to take time for this kind of book to be written. Time for the patterns to be developed through hard and frustrating work.

Rarely have I bought a thick book on software development and eagerly read every single word from cover to cover. But I have with this book. And I know I'll soon do it again. I'm even tempted to also purchase the PDF version of the book, just so I can reference it wherever I happen to be.

It's not the final word on AUT, but it has me embracing the ideal of TDD once more. The company I work for develops a huge OO-based enterprise software system with no automated tests. As Meszaros explains, this kind of legacy system is the most difficult for incorporating AUT (and daunting for those new to AUT). But at least now I feel like we have a good chance.
Ce commentaire vous a-t-il été utile ? Oui Non (Signaler ce commentaire)



 
5.0étoiles sur 5 Comprehensive, Aoû 3 2007
Par Nicholas Roeder - Voir tous mes commentaires
(TOP 500 REVIEWER)    (REAL NAME)   
This book is advertised as "three books in one" which I originally figured was just the usual publisher's marketing. But it really delivers in all three areas: introductory narratives, discussion of test code smells, and of course, the testing patterns themselves.

Even if you have done automated unit testing using any of the xUnit frameworks in the past, it will be useful to read the introductory narratives. Meszaros accomplishes the difficult task of clearly describing all of the aspects of xUnit including fixture management. I say "difficult", because it can be hard to document something that is so familiar that you do every day. Even though most of this content is not new, it provides clear terminology, which is valuable in making the rest of the book understandable.

Mezaros writes in a clear and highly detailed style and the book appears suprisingly free of typos and grammatical errors, which is a nice change for technical books.

Don't be scared by the size of the book. There isn't anything unnecessary here, and even the glossary is comprehensive and useful.

Highly recommended!
Ce commentaire vous a-t-il été utile ? Oui Non (Signaler ce commentaire)


Partagez votre opinion avec les autres clients: Créer votre propre commentaire
 
 
Rechercher uniquement sur les commentaires portant sur ce produit



Listmania!


Cherchez des articles semblables par catégorie


Chercher des articles semblables par sujet


Commentaires

Souhaitez-vous compléter ou améliorer les informations sur ce produit ? Ou faire modifier les images?

Votre historique récent

 (En savoir plus)

Après avoir visualisé des pages détaillées produit ou des résultats de recherche, regardez ici pour trouver une façon simple de poursuivre votre navigation sur des pages qui vous intéressent.