3 ms·
> then you probably don't need to be writing unit tests for internal APIs, since they might as well be considered private entities. The reason to write a unit
by TomSwirly 6y ago
> then you probably don't need to be writing unit tests for internal APIs, since they might as well be considered private entities.
The reason to write a unit test _is to try to find bugs._
If your most effective way to find bugs is to test an internal API, then you should do that.