4 ms·
I'm concerned that this will facilitate testing of private implementation details; I do believe that the public API is the only thing that should ever be tested
by ScottSauyet 15y ago
I'm concerned that this will facilitate testing of private implementation details; I do believe that the public API is the only thing that should ever be tested. If you need to test the implementation details of your unit, then that should be pulled out into another unit which is in some way included in this main unit, and tested in that context.