Second Printing. For a complete list of updates and fixes, please see errata.
New in this release:
New in this release:
New in this release:
The following chapters have changed to use a C-Only test harness (Unity), and there are other significant changes:
There are three new appendices:
In Chapter 10, The Mock Object, we get right next to the silicon to demonstrate how a device driver can be tested right from the manufacturer’s spec. The complex interactions of the driver with the device provide a good opportunity to pull a self-verifying Mock Object out of the test-driven developer’s tool kit.
Beta 2.0 includes the new Chapter 9, Runtime Bound Test Doubles. See how and why function pointers are used for binding test doubles at runtime, giving you more flexibility for intercepting calls from the code under test.