3 ms·
People expose too much of their code as a public api. The public interface should be small, and that's what the unit tests should test against. If users should
by UK-Al05 6y ago
People expose too much of their code as a public api. The public interface should be small, and that's what the unit tests should test against.
If users should not access it directly, you don't have to unit test it directly, you test them indirectly via the public interface.
- deleted 6y ago[deleted]