
21 Dec
2011
21 Dec
'11
11:25 p.m.
I'm using the boost unit test framework to implement unit tests for code. I'm wondering if there is a best-practice for doing white-box testing/internal state inspection of types under test. My hack right now is to strip out "protected" and "private" from the header, but I hold my nose as I do that. Thoughts/suggestions? -- Chris Cleeland