Tinfoil Test Plan: Difference between revisions
Line 30: | Line 30: | ||
poky/meta/lib/oeqa/selftest/tinfoil.py | poky/meta/lib/oeqa/selftest/tinfoil.py | ||
- To create a new test case a Testopia instance should be created on [[https://bugzilla.yoctoproject.org/tr_show_plan.cgi?plan_id=25 OE-CORE]] under "Test Cases" the number given by Testopia should be added prior to the test case name as below: | |||
@testcase(<TESTOPIA_ID>) | |||
def TEST_CASE_NAME(self): | |||
- To send the patches of created or modified test cases rules defined [[http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded guide here]] should be followed. | |||
=Features= | =Features= |
Revision as of 18:23, 12 January 2017
This article is the test plan for Tinfoil.
About Tinfoil
Tinfoil is an API that allows you to write simple utilities that call into bitbake code to read variables, parse recipes, etc
Objectives
Contacts
Scope
Test Strategy
Test Automation
All the test should be automated and executed under oe-selftest suite
Test Approach
Design of test are intended to cover the functionality of tinfoil API, all the test will be executed every milestone on GDC AB and frecuently on main AB
Test Cases Maintenance
Test cases are located
poky/meta/lib/oeqa/selftest/tinfoil.py
- To create a new test case a Testopia instance should be created on [OE-CORE] under "Test Cases" the number given by Testopia should be added prior to the test case name as below:
@testcase(<TESTOPIA_ID>) def TEST_CASE_NAME(self):
- To send the patches of created or modified test cases rules defined [guide here] should be followed.
Features
Test are under poky/meta/lib/oeqa/selftest/tunfoil.py
Features already tested
- test_getvar - test_expand - test_getvar_bb_origenv - test_parse_recipe - test_parse_recipe_copy_expand - test_parse_recipe_initial_datastore - test_list_recipes - test_wait_event - test_setvariable_clean