Hi Richard,

> Why? IMHO, it's easier to write test cases through public API. And the
> internals may possibly change, so if we write test cases directly for
> the internals, our test cases will not be stable.

One of examples might be: to test something trough public API
you need a test of 1000 lines of code, but if you can access internals,
10 lines is enough

Thanks,
Mikhail

Reply via email to