Unit Testing Principles, Practices, and Patterns
- 7h 17m 55s
- Vladimir Khorikov
- Manning Publications
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
In this Audiobook
Chapter 1 - The Goal of Unit Testing
Chapter 2 - What is a Unit Test?
Chapter 3 - The Anatomy of a Unit Test
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
Chapter 8 - Why Integration Testing?
Chapter 9 - Mocking Best Practices
Chapter 10 - Testing the Database
Chapter 11 - Unit Testing Anti-Patterns