I just learned that static library building skips the linking stage, which explains why my build process succeeds all the time when it's possible I actually haven't implemented a function in my header. In an executable project, the linking stage would alert me if I had done this.
What is the typical workflow for static library developers to get that extra verification? Do you just write a test class separately that tries to invoke everything in your library API to ensure you've done your job right?
When coding module for someone else, it also saves me from the need to painfully explain how to use it... (Why is it often said that the test cases need to be made before we start coding?)
– gnat Apr 30 '16 at 17:49