Unit Testing Principles, Patterns and Practices shows you how to refine your existing unit tests by implementing modern best practices. You’ll learn to spot which tests are performing, which need refactoring, and which need to be deleted entirely! Upgrade your testing suite with new testing styles, good patterns, and reliable automated testing.
about the technology
Great testing practices will help maximize your project quality and delivery speed. Wrong tests will break your code, multiply bugs, and increase time and costs. You owe it to yourself—and your projects—to learn how to do excellent unit testing to increase your productivity and the end-to-end quality of your software.
about the book
Unit Testing Principles, Patterns and Practices teaches you to design and write tests that target the domain model and other key areas of your code base. In this clearly written guide, you learn to develop professional-quality test suites, safely automate your testing process, and integrate testing throughout the application life cycle. As you adopt a testing mindset, you’ll be amazed at how better tests cause you to write better code.
what's inside
Universal guidelines to assess any unit test
Testing to identify and avoid anti-patterns
Refactoring tests along with the production code
Using integration tests to verify the whole system
about the reader
For readers who know the basics of unit testing. The C# examples apply to any language.
about the author
Vladimir Khorikov is an author, blogger, and Microsoft MVP. He has mentored numerous teams on the ins and outs of unit testing.
eBook
$39.99
$27.99
print
$49.99
$34.99
online + audio
$39.99
$27.99
with subscription
$24.99
This book is an indispensable resource.
Serves as a valuable and humbling encouragement to double down and test well, something we need no matter how experienced we may be.
I wish I had this book twenty years ago when I was starting my career in software development.
This is the kind of book on unit testing I have been waiting on for a long time.
4.9
Out of 5.0
Overall Rating
100%
of customers that buy this product give it a 4 or 5-Star rating.
Verified Buyer
“Great buy”
Practical, thorough, sensible.
May 28, 2024 by Chris (NL)
“Unit testing with a practical, thorough and sensible approach, can’t recommend it enough.”
Company Choice
For the book and the discount
Product Choice
Dor the author
Verified Buyer
“Great value”
Best Information for unit testing i've read
April 8, 2024 by Eduard Krämer (BW, DE)
“Great introduction into the topic of unit testing. The examples for bad and good Unit Tests and the relation to the code design is very good. It was pleasant to read and understandable even for non native english speaker. Recommended for Software engineers which are suffering with Mocking-Style Unit Tests.”
Company Choice
Great books and good offers
Product Choice
Required for my personal improvement
Verified Buyer
“Great buy”
Great value / Must read
March 16, 2024 by Mircea F. (Cluj, Romania)
“I wish I've read this book before... In most projects, testing code and testing strategies are undervalued. This book highlights strategies and practices that will make your testing shine! And if your testing shines your production code will shine. It doesn't really matter where you are with your production code, if the testing code is not ok, you production code will decay and there will be no way to stop the decay.
I would also mention the structure of the book, examples and the way of explaining concepts which make it an easy ready, easy to understand and easy to apply in real life.”
Company Choice
Price and formats.
Product Choice
Content, reviews & popularity.
Verified Buyer
“Great buy”
March 17, 2023 by Joe C. (Kentucky, US)
“Excellent overview of unit tests, why we write them and what can make them valuable versus a hindrance. Also surprisingly has some architecture stuff in there — in service of more testable code.”
Company Choice
good experiences
Product Choice
a friend recommended it, and gave details that sounded interesting
Verified Buyer
“Great value”
Perfect
December 28, 2022 by A Reviewer (SE)
“Perfect for studying purposes, fast delivery to a satisfied customer”
related titles
related titles
choose your plan
pro
monthly
annual
$24.99
$249.99
only $20.83 per month
access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
choose another free product every time you renew
choose twelve free products per year
exclusive 50% discount on all purchases
Unit Testing Principles, Practices, and Patterns ebook for free
team
monthly
annual
$49.99
$399.99
only $33.33 per month
five seats for your team
access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
choose another free product every time you renew
choose twelve free products per year
exclusive 50% discount on all purchases
Unit Testing Principles, Practices, and Patterns ebook for free