[yocto] Discussion: Package testing

Burton, Ross ross.burton at intel.com
Tue Jun 19 04:24:27 PDT 2012


On 18 June 2012 16:04, Björn Stenberg <bjst at 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



More information about the yocto mailing list