2 ms·
You do not want to test private implementation. You should be testing the public contract only. Reaching in and making private things public crystallizes the
by jayd16 6y ago
You do not want to test private implementation. You should be testing the public contract only. Reaching in and making private things public crystallizes the implementation and reduces your ability to refactor.