Have you been frustrated by so-called “engineering experts” who extol the virtues of unit testing, yet can offer little more than hand waving when asked for tool recommendations for native code?
In the February issue of MSDN Magazine, Maria Blees introduces you to her native code unit testing tool called WinUnit. With WinUnit, you can make a DLL with only tests in it, run those tests, and the testing framework takes care of the reporting and logging.
WinUnit will accept any number of DLLs or directories, process them, report the total results, and return with an exit code.
Don’t forget to browse Maria’s sample code and grab the article’s code download, which includes the WinUnit utility.