On 13/03/15 14:21, Amar Takhar wrote:
>Information hiding is a key principle in software engineering.
But not software testing. If you hide information it makes software difficult
to test as the testable areas become less obvious. If you hide interfaces
behind layers of includes what ends up happening is the first API only gets
tested. This is the principal behind flattening: You are able to test all
functions at every layer from the 'top down' or 'bottom up'.
It makes no sense to make the complete RTEMS implementation visible to
<rtems.h>. If you want to unit test a certain low level interface, then
simply include the corresponding internal header file (e.g.
<rtems/score/threadimpl.h>.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel