Currently the most common way to test BitBake is in conjunction with a Poky/OE-Core and running some builds. Developing a BitBake test harness and suite of tests would help us both to: * ensure that changes to the code don't introduce regressions * more rapidly test newly developed features
A start at this: http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=rpurdie/t2&id=c917bc7e068e195cba6bbfa0edbb5abb5967607f
This has now merged into master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=12ebec4c940f37b17bc565299347dddf44cd1b90 with 75 tests, run by executing "bitbake-selftest". Whilst we need a lot more test coverage, particularly of the fetcher this is a start. We need to ensure we run this test as part of the QA tests and maybe also have the autobuilder run it once during one of the misc set of tests.
We have the beginnings of a test suite in master.
Test suite works here