Book description
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.
Quotes
This book is an indispensable resource.
- Greg Wright, Kainos Software Ltd.
Serves as a valuable and humbling encouragement to double down and test well, something we need no matter how experienced we may be.
- Mark Nenadov, BorderConnect
I wish I had this book twenty years ago when I was starting my career in software development.
- Conor Redmond, Incomm Product Control
This is the kind of book on unit testing I have been waiting on for a long time.
- Jeremy Lange, G2
Publisher resources
Table of contents
- Copyright
- Brief Table of Contents
- Table of Contents
- Preface
- Acknowledgments
- About this book
- About the author
- About the cover illustration
- Part 1. The bigger picture
- Part 2. Making your tests work for you
- Part 3. Integration testing
- Part 4. Unit testing anti-patterns
- Chapter Map
- Index
- List of Figures
- List of Tables
- List of Listings
Product information
- Title: Unit Testing Principles, Practices, and Patterns
- Author(s):
- Release date: January 2020
- Publisher(s): Manning Publications
- ISBN: 9781617296277
You might also like
audiobook
Unit Testing Principles, Practices, and Patterns
This book is an indispensable resource. Greg Wright, Kainos Software Ltd. Unit Testing Principles, Patterns and …
video
Unit Testing Principles, Practices, and Patterns video edition
This book is an indispensable resource. Greg Wright, Kainos Software Ltd. Unit Testing Principles, Patterns and …
book
Dependency Injection Principles, Practices, and Patterns
Dependency Injection Principles, Practices, and Patterns teaches you to use DI to reduce hard-coded dependencies between …
book
Design Patterns: Elements of Reusable Object-Oriented Software
Capturing a wealth of experience about the design of object-oriented software, four top-notch designers present a …