Video descriptionThis book is an indispensable resource.
Greg Wright, Kainos Software Ltd.
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.
- 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 audience
For developers 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.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
NARRATED BY NATE COLITTO
Table of contents
- Part 1 The bigger picture
- Chapter 1 The goal of unit testing
- Chapter 2 What is a unit test?
- Chapter 3 The anatomy of a unit test
- Part 2 Making your tests work for you
- Chapter 4 The four pillars of a good unit test
- Chapter 5 Mocks and test fragility
- Chapter 6 Styles of unit testing
- Chapter 7 Refactoring toward valuable unit tests
- Part 3 Integration testing
- Chapter 8 Why integration testing?
- Chapter 9 Mocking best practices
- Chapter 10 Testing the database
- Part 4 Unit testing anti-patterns
- Chapter 11 Unit testing anti-patterns
- Title: Unit Testing Principles, Practices, and Patterns
- Release date: June 2020
- Publisher(s): Manning Publications
- ISBN: None
You might also like
Clean Code: A Handbook of Agile Software Craftsmanship
Even bad code can function. But if code isn't clean, it can bring a development organization …
51+ hours of video instruction. Overview The professional programmer’s Deitel® video guide to Python development with …
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …