What are unit tests?
Unit tests should be testing the publ ic contract and public functionality of an object. In this example, the tested code isn’t part of any public contract or interface. Using mocks instead of stubs
What is this book on unit testing?
This book covers the basics of writing a unit test, moves on to the basics of interaction testing, and then introduces best practices for writing, managing, and maintaining unit tests in the real world. Licensed to Abraham Rosner xix
What are the basics of unit testing developer?
20CHAPTER 1 The basics of unit testing developer when deciding where to place your tests, what kind of tests to write when, and which option is better for a specific problem. It will also help you identify how to fix problems with tests that are already causing you headaches.
What is Chapter 6 of unit testing?
Chapter 6 first covers the role of unit testing as part of an automated build process, and follows with several techniques for organizing the different kinds of tests according to categories (speed, type) with a goal of reaching what I call the “safe green zone.” It also explains how to “grow” a test API or test infrastructure for your application.