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 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 the difference between unit tests and integration tests?
Integration tests generally run slower than unit tests, which usually happen in memory, so the fast-running tests are usually unit tests and the slow-running tests are usually integration tests. Automated builds usually fall into two categories: those that are too long to run every 15 minutes, and those that can be run every 15 min- utes or less.
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