- Tapa blanda: 296 páginas
- Editor: Manning Publications; Edición: 2 (7 de diciembre de 2013)
- Idioma: Inglés
- ISBN-10: 9781617290893
- ISBN-13: 978-1617290893
- ASIN: 1617290890
- Valoración media de los clientes: 2 opiniones de clientes
- Clasificación en los más vendidos de Amazon: nº49.288 en Libros en idiomas extranjeros (Ver el Top 100 en Libros en idiomas extranjeros)
- Ver el Índice completo
Compara precios en Amazon
+ Envío GRATIS
The Art of Unit Testing: with examples in C# (Inglés) Tapa blanda – 7 dic 2013
|Nuevo desde||Usado desde|
Comprados juntos habitualmente
Los clientes que compraron este producto también compraron
Descripción del producto
Reseña del editor
The Art of Unit Testing, Second Edition guides you step by step from writing your first simple tests to developing robust test sets that are maintainable, readable, and trustworthy. You'll master the foundational ideas and quickly move to high-value subjects like mocks, stubs, and isolation, including frameworks such as Moq, FakeItEasy, and Typemock Isolator. You'll explore test patterns and organization, working with legacy code, and even "untestable" code. Along the way, you'll learn about integration testing and techniques and tools for testing databases and other technologies.
About this Book
You know you should be unit testing, so why aren't you doing it? If you're new to unit testing, if you find unit testing tedious, or if you're just not getting enough payoff for the effort you put into it, keep reading.
The Art of Unit Testing, Second Edition guides you step by step from writing your first simple unit tests to building complete test sets that are maintainable, readable, and trustworthy. You'll move quickly to more complicated subjects like mocks and stubs, while learning to use isolation (mocking) frameworks like Moq, FakeItEasy, and Typemock Isolator. You'll explore test patterns and organization, refactor code applications, and learn how to test "untestable" code. Along the way, you'll learn about integration testing and techniques for testing with databases.
The examples in the book use C#, but will benefit anyone using a statically typed language such as Java or C++.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
- Create readable, maintainable, trustworthy tests
- Fakes, stubs, mock objects, and isolation (mocking) frameworks
- Simple dependency injection techniques
- Refactoring legacy code
About the Author
Roy Osherove has been coding for over 15 years, and he consults and trains teams worldwide on the gentle art of unit testing and test-driven development. His blog is at ArtOfUnitTesting.com.
Table of Contents
- The basics of unit testing
- A first unit test
- Using stubs to break dependencies
- Interaction testing using mock objects
- Isolation (mocking) frameworks
- Digging deeper into isolation frameworks
- Test hierarchies and organization
- The pillars of good unit tests
- Integrating unit testing into the organization
- Working with legacy code
- Design and testability
PART 1 GETTING STARTED
PART 2 CORE TECHNIQUES
PART 3 THE TEST CODE
PART 4 DESIGN AND PROCESS
Biografía del autor
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.
No es necesario ningún dispositivo Kindle. Descárgate una de las apps de Kindle gratuitas para comenzar a leer libros Kindle en tu smartphone, tablet u ordenador.
Obtén la app gratuita:
Detalles del producto
Si eres el vendedor de este producto, ¿te gustaría sugerir ciertos cambios a través del servicio de atención al vendedor?
Los clientes que vieron este producto también vieron
2 opiniones de clientes
Valorar este producto
Mostrando 1-2 de 2 opiniones
Ha surgido un problema al filtrar las opiniones justo en este momento. Vuelva a intentarlo en otro momento.
Opiniones de clientes más útiles en Amazon.com
The book is called "The ART of Unit Testing" for a reason. Roy Osherove is just as concerned (if not more concerned) with explaining how to write quality tests as he is with how to write a functioning test and for good reason - there's no point in writing tests that no one will want to run or understand later!
Don't look to this book for a comprehensive API on testing or mocking frameworks, but this book WILL give you the tools you need to understand what a unit test is, what an integration test is, what mocks and stubs are and the differences between them and it will give you enough high level information about many of the most popular testing and mocking frameworks for you to be up and writing tests very quickly.
Not sure I'm convinced by the author's definition of integration testing though.