Tinfoil Test Plan: Difference between revisions
(3 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
= Scope = | = Scope = | ||
Test Cases will be designed to verify the different functionality of the API, all test cases should be designed to be executed in automated way. | |||
- The first stage of test is a set of basic test listed on [[#Features already tested | Features already tested]] | |||
- The subsequent improvements to the Test Suite should be listed on [[#Features to be tested | Features to be tested]] | |||
= Test Strategy = | = Test Strategy = | ||
<TBD> | |||
== Test Automation == | == Test Automation == | ||
Line 60: | Line 66: | ||
==Features to be tested== | ==Features to be tested== | ||
* parseRecipes | |||
* get_overlayed_recipes | |||
* get_skipped_recipes | |||
* get_all_providers | |||
* find_providers | |||
* get_runtime_providers | |||
* get_recipe_file | |||
* get_file_appends | |||
* build_file | |||
* parseCommandLine |
Latest revision as of 19:44, 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
Verify the functionality of Tinfoil API
Contacts
Scope
Test Cases will be designed to verify the different functionality of the API, all test cases should be designed to be executed in automated way.
- The first stage of test is a set of basic test listed on Features already tested
- The subsequent improvements to the Test Suite should be listed on Features to be tested
Test Strategy
<TBD>
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
Features to be tested
- parseRecipes
- get_overlayed_recipes
- get_skipped_recipes
- get_all_providers
- find_providers
- get_runtime_providers
- get_recipe_file
- get_file_appends
- build_file
- parseCommandLine