On 18 June 2012 16:04, Björn Stenberg <b...@enea.com> wrote:
> Typically the tests don't mix production and test code, since the purpose is 
> to test the production code. Rather the tests are isolated in separate files 
> that we relatively easily can build and install separately from the base 
> package.

The problem with that is that you can only test the external
interfaces, not the inner state (black box vs white box).  i.e. DBus
has test cases for each C file inside that C file, so it can exercise
both the external API and internal state.

Ross
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to