Great product quality needs great unit testing – and one of the most important components of unit testing is the proper use of mocks. Filled with illustrations and practical tips, Exploring Mocks in Unit Testing helps tame the steep learning curve of mocks. You’ll learn mocking best practices and start on the road to mastery of these important testing tools. And it’s absolutely free!
about the book
Exploring Mocks in Unit Testing
is a collection of three chapters from two Manning books chosen by Microsoft MVP and author Vladimir Khorikov. This free mini ebook zooms in on what mocks are and how you should use them, maximizing their value and minimizing their cost, and how to choose the best mocking framework for your needs. By mastering mocks, you’ll begin to write better code, increase your productivity, and improve the overall quality of your software. This free mini ebook is the perfect first step!
- “Mocks and test fragility” – Chapter 5 from Unit Testing Principles, Practices, and Patterns by Vladimir Khorikov
- “Mocking best practices” – Chapter 9 from Unit Testing Principles, Practices, and Patterns by Vladimir Khorikov
- “Isolation (mocking) frameworks” – Chapter 5 from The Art of Unit Testing by Roy Osherove
about the author
is an author, blogger, and Microsoft MVP. He has mentored numerous teams on the ins and outs of unit testing.