Tinfoil Test Plan: Difference between revisions
From Yocto Project
Jump to navigationJump to search
Line 23: | Line 23: | ||
== Test Approach == | == Test Approach == | ||
Design of test are intended to cover the functionality of | Design of test are intended to cover the functionality of Tinfoil API, all the test will be executed every milestone on GDC AB and frequently on [https://autobuilder.yoctoproject.org main AB] | ||
== Test Cases Maintenance == | == Test Cases Maintenance == |
Revision as of 18:27, 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 frequently 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 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