Unit Testing Principles, Practices, and Patterns: Effective testing styles, patterns, and reliable automation for unit testing, mocking, and integration testing with examples in C#
$49.99
Description
Book Synopsis: Radically improve your testing practice and software quality with new testing styles, good patterns, and reliable automation.
Key Features
- A practical and results-driven approach to unit testing
- Refine your existing unit tests by implementing modern best practices
- Learn the four pillars of a good unit test
- Safely automate your testing process to save time and money
- Spot which tests need refactoring, and which need to be deleted entirely
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About The Book
Great testing practices maximize your project quality and delivery speed by identifying bad code early in the development process. 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.
Unit Testing Principles, Patterns and Practices teaches you to design and write tests that target key areas of your code including the domain model. In this clearly written guide, you learn to develop professional-quality tests and test suites 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 You Will Learn
- 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
This Book Is Written For
For readers who know the basics of unit testing. Examples are written in C# and can easily be applied 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.
Table of Contents:
Part 1: The Bigger Picture
- The goal of unit testing
- What is a unit test?
- The anatomy of a unit test
Part 2: Making Your Tests Work For You
- The four pillars of a good unit test
- Mocks and test fragility
- Styles of unit testing
- Refactoring toward valuable unit tests
Part 3: Integration Testing
- Why integration testing?
- Mocking best practices
- Testing the database
Part 4: Unit Testing Anti-Patterns
- Unit testing anti-patterns
Read more
Details
Improve your testing practice and software quality with 'Unit Testing Principles, Practices, and Patterns'. This book provides effective testing styles, patterns, and reliable automation for unit testing, mocking, and integration testing.
With a practical and results-driven approach, this book will help you refine your existing unit tests by implementing modern best practices. You will learn the four pillars of a good unit test and how to safely automate your testing process to save time and money.
Don't waste your time and resources on wrong tests that break your code and increase bugs. Purchase 'Unit Testing Principles, Practices, and Patterns' to maximize your project quality and delivery speed by identifying bad code early in the development process.
Get your copy today and revolutionize your testing practice!
Discover More Best Sellers in Programming Languages
Shop Programming Languages
C++20 - The Complete Guide: First Edition
$64.14


$44.99


Burp Suite Cookbook: Web application security made easy with Burp Suite
$49.99


$33.59


Impractical Python Projects: Playful Programming Activities to Make You Smarter
$18.32


100 Go Mistakes and How to Avoid Them
$57.34


Deep Learning with Python, Second Edition
$56.99
