On Fri, 7 Jun 2019 at 09:46, Maciej Pijanowski <[email protected]> wrote: > > Would you be able to write a small test for this, along the lines of > > test_recipetool_create_*() in > > meta/lib/oeqa/selftest/cases/recipetool.py?
> Sure, I will try that. I haven't been contributing to the QA parts yet. > Is there any documentation / guidelines I should refer to? > Or looking at other test cases should be enough to get it done? Thanks, that's much appreciated. Looking at the other test_recipetool_create_* tests in that file should show you enough to write the test case, the hardest bit will most likely be picking a suitable Python module for the test case! To execute the tests, use oe-selftest: # This runs all tests, will take quite a long time $ oe-selftest -a # Run just the recipetool tests $ oe-selftest -r recipetool # Run just test_recipetool_create_git_http $ oe-selftest -r recipetool.RecipetoolTests.test_recipetool_create_git_http Ross -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
