3 ms·
Wouldn't testing the public interface that calls the private code, be enough in most situations? If they are few and simple I test them indirectly by testing th
by anuragsoni 10y ago
Wouldn't testing the public interface that calls the private code, be enough in most situations? If they are few and simple I test them indirectly by testing the public interface that makes use of them, otherwise they can factored out to a new class/module where they can be tested directly.