New source layout.

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Mar 16 08:18:07 UTC 2015



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.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list