Identifiez-vous pour activer la commande 1-Click.
en essayant gratuitement Amazon Premium pendant 30 jours. Votre inscription aura lieu lors du passage de la commande. En savoir plus.
Amazon Rachète votre article
Recevez un chèque-cadeau de EUR 10,85
Amazon Rachète cet article
Plus de choix
Vous l'avez déjà ? Vendez votre exemplaire ici
Désolé, cet article n'est pas disponible en
Image non disponible pour la
couleur :
Image non disponible

Dites-le à l'éditeur :
J'aimerais lire ce livre sur Kindle !

Vous n'avez pas encore de Kindle ? Achetez-le ici ou téléchargez une application de lecture gratuite.

The Art of Unit Testing [Anglais] [Broché]

Roy Osherove

Prix : EUR 35,79 Livraison à EUR 0,01 En savoir plus.
  Tous les prix incluent la TVA
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
Il ne reste plus que 4 exemplaire(s) en stock (d'autres exemplaires sont en cours d'acheminement).
Expédié et vendu par Amazon. Emballage cadeau disponible.
Voulez-vous le faire livrer le jeudi 18 septembre ? Choisissez la livraison en 1 jour ouvré sur votre bon de commande. En savoir plus.
Vendez cet article - Prix de rachat jusqu'à EUR 10,85
Vendez The Art of Unit Testing contre un chèque-cadeau d'une valeur pouvant aller jusqu'à EUR 10,85, que vous pourrez ensuite utiliser sur tout le site Amazon.fr. Les valeurs de rachat peuvent varier (voir les critères d'éligibilité des produits). En savoir plus sur notre programme de reprise Amazon Rachète.

Description de l'ouvrage

5 décembre 2013


A step-by-step guide to unit testing

Easily create readable, maintainable, trustworthy tests

Great for both novice and experienced unit testers



This book is written for .NET Developers and anyone else who wants to learn unit testing.

Offres spéciales et liens associés

Produits fréquemment achetés ensemble

The Art of Unit Testing + Dep.Injection in NET + Professional Test Driven Development with C#: Developing Real World Applications with TDD
Acheter les articles sélectionnés ensemble

Descriptions du produit

Biographie de l'auteur



Roy Osherove
consults and trains teams worldwide on the gentle art of unit testing and test-driven development, and trains team leaders how to lead better at 5whys.com. He tweets at @RoyOsherove and has many videos about unit testing at ArtOfUnitTesting.com. His testing blog is at http://osherove.com/blog.

Détails sur le produit

En savoir plus sur les auteurs

Découvrez des livres, informez-vous sur les écrivains, lisez des blogs d'auteurs et bien plus encore.

Dans ce livre (En savoir plus)
Parcourir les pages échantillon
Couverture | Copyright | Table des matières | Extrait | Index | Quatrième de couverture
Rechercher dans ce livre:

Vendre une version numérique de ce livre dans la boutique Kindle.

Si vous êtes un éditeur ou un auteur et que vous disposez des droits numériques sur un livre, vous pouvez vendre la version numérique du livre dans notre boutique Kindle. En savoir plus

Quels sont les autres articles que les clients achètent après avoir regardé cet article?

Commentaires en ligne 

Il n'y a pas encore de commentaires clients sur Amazon.fr
5 étoiles
4 étoiles
3 étoiles
2 étoiles
1 étoiles
Commentaires client les plus utiles sur Amazon.com (beta)
Amazon.com: 4.6 étoiles sur 5  12 commentaires
9 internautes sur 9 ont trouvé ce commentaire utile 
5.0 étoiles sur 5 Great for developers using any language 10 janvier 2014
Par skunkworks - Publié sur Amazon.com
This is an impressive book about the ins-and-outs of unit testing. It managed to break down the big picture of unit testing that all other resources failed to explain.

Yes, examples are in C#, but the art of writing good tests goes beyond the language you use. The C# example code is highly readable, and even the usage of specific .NET mocking frameworks is acceptable since it stays light on the more language-specific details (e.g. parameterized tests, InternalsVisibleTo).

Here's what I found most useful:

* The definition of what a unit test is actually testing (a unit of work, i.e. the sum of actions from a public method call that produces a single noticeable end result)
* How to verify that single noticeable end result, and why certain types of verification (return values, public state/behavior change) are preferable to others (testing for interaction between objects)
* Using stubs to decouple your code from external dependencies
* Refactoring your code to create seams, inject new behavior, and ultimately make your code more testable and change-proof
* When it's appropriate to perform interaction testing with mocks
* The dangers of overspecifying tests - testing internal implementation vs. external behavior
* Detecting when your test is telling you that your production code sucks
* Smart ways to test event-related code

I enjoyed the author's balanced perspective on testing. He clearly lays out the pros and cons of each technique. This is important because it serves as a fair reminder that fancy design patterns and clever ways to mock and stub your code can hurt the readability and maintainability of your tests. Even when the author expresses an opinion, he makes it clear that it's only his opinion and not gospel.

For the most part, there isn't that much coverage of TDD. There's some discussion about red-green-refactor, and why it's good to see a test fail before it passes (answer: it tests your test). He makes a good point early on about why he won't cover that much about TDD: it requires that you know how to write good tests first, and to do that, you have to first see the code that needs testing.

Anyway, if you've ever sat down to write a unit test and got stuck asking yourself "what am I really testing here," this is the book for you.
3 internautes sur 3 ont trouvé ce commentaire utile 
5.0 étoiles sur 5 Excellent Introduction to Unit Testing and Isolation Frameworks 18 mars 2014
Par Jason - Publié sur Amazon.com
If you are new to unit testing, or you think you know the basics and want to get a more thorough grounding, then this book is essential.

At about 250 pages, this book is short enough to grasp the basic concepts and start writing unit tests in a weekend (that's how I approached it).

Some of the things that I really liked included:

* Selecting proper unit test and isolation frameworks.
* Common unit testing patterns.
* Learning the differences between fakes, stubs, and mocks (finally).
* In depth-coverage of the qualities that make for good unit tests--Chapter 8 is fantastic.
* The three main types of results that unit tests can assert against, and how unit tests differ from other types of testing (like integration testing).
* Understanding the need to design for testability, and some of the caveats when working with legacy or test-remiss code.

A lot of the book could apply to non-.NET developers, especially the second half of the book. However, I did find that as a C#/.NET developer, all of the information concerning tools was also relevant.

There are a few things that I felt could be improved with the book:

* The source code files could have been more organized.
* The code samples from chapters 3, 4, and 5 could have been more complete, for those of us who like to follow along.
* A larger or more complex example tying together the different unit testing techniques.

This book has helped me to improve the quality of my tests, and also the quality of the code I write. Highly recommended.
2 internautes sur 2 ont trouvé ce commentaire utile 
5.0 étoiles sur 5 Clear, simple and detailed guide to C# unit testing 12 janvier 2014
Par F. V. Buontempo - Publié sur Amazon.com
This book gives a detailed account of how to unit test with NUnit. I don't believe any other books covers the same ground as this.

Roy has managed to balance the need for details without writing a huge weighty tome that only body-builders can lift - many techy books nowadays are far too long. This is just right.

It would allow a beginner to get started unit testing easily and even an experienced programmer can pick up a few new tricks. I intend to buy a copy for the grad I am currently mentoring at work - I know it will get her up to speed quickly.

The example tests tend to be written *after* the code, rather than developing test-driven, which goes against the grain for me, but it allowed Roy to focus on how to test and to explore different feature of NUnit.
1 internautes sur 1 ont trouvé ce commentaire utile 
5.0 étoiles sur 5 Great book on unit testing 14 mai 2014
Par Keith S. Safford - Publié sur Amazon.com
Format:Broché|Achat vérifié
I have just finished chapter 2 and have already learned a lot and an applying it to a project I am working on. The author does an excellent job of explaining what to do, explains all the options pertaining to NUnit and why to use and not use some of them. I feel after completing this book, my code will be more accurate, maintainable and correct.
1 internautes sur 1 ont trouvé ce commentaire utile 
5.0 étoiles sur 5 Comprehensive and fun to read 28 février 2014
Par MR CONSTANTINOS CHRISTOU - Publié sur Amazon.com
Covers everything you need to get started with unit testing and excel at it. Perfect length and clear examples that are not language specific.
Ces commentaires ont-ils été utiles ?   Dites-le-nous

Discussions entre clients

Le forum concernant ce produit
Discussion Réponses Message le plus récent
Pas de discussions pour l'instant

Posez des questions, partagez votre opinion, gagnez en compréhension
Démarrer une nouvelle discussion
Première publication:
Aller s'identifier

Rechercher parmi les discussions des clients
Rechercher dans toutes les discussions Amazon

Rechercher des articles similaires par rubrique


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