Practical Testing: 1 - Introduction
I’m writing some blog entries that show how to write tests for non trivial pieces of code. This is part 1.
The code that we’re going to test is CCallbackTimer. This is a class that lives in our Win32Tools library. It’s used by users of our SocketTools library. The class provides a very light-weight timer manager that gets around the various issues we had with using standard Win32 timers.
The timer is designed to be used in vast quantities.