harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Loenko" <mloe...@gmail.com>
Subject Re: Unit testing revisited
Date Mon, 27 Mar 2006 03:32:44 GMT
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

Mime
View raw message