A small-scale rule of thumb. This article will land much better with a concrete example, but I am drawing a blank here, so you gotta just blindly trust my say so!
I work in silicon verification where we do extremely thorough testing, and that is nonsense. It’s perfectly fine to test internals of a system because often it is difficult or impossible to get good test coverage of internal parts of a system just using the public interface.
I work in silicon verification where we do extremely thorough testing, and that is nonsense. It’s perfectly fine to test internals of a system because often it is difficult or impossible to get good test coverage of internal parts of a system just using the public interface.