计算机工程与应用
計算機工程與應用
계산궤공정여응용
COMPUTER ENGINEERING AND APPLICATIONS
2010年
8期
71-74
,共4页
因子相关度%Pairwise%因子相关度测试(FRBT)
因子相關度%Pairwise%因子相關度測試(FRBT)
인자상관도%Pairwise%인자상관도측시(FRBT)
factor relationship%Pairwise%Factor Relationship-Based Test(FRBT)
针对Pairwise工程方法测试用例数量巨大的不足,提出了一种基于因子相关度的最优测试用例集生成工程方法(Factor Relationship-Based Test,FRBT).它通过因子相关度计算模型分析UML设计模型和程序源码,计算出被测系统各模块的因子相关度矩阵,并通过相关因子覆盖算法实现按因子相关度的两两正交覆盖.最关键的改进点是FBBT方法采用了数学模型来挑选相交因子,从而解决了其他工程方法中完全依赖STE(Software Test Engineer)经验挑选因子所带来的风险与不稳定性,使测试用例设计更加快速、客观.实验表明,FBBT工程方法不仅生成的测试用例数量最少,而且将Pairwise工程方法的缺陷命中率从26.518%提升到了52.568%.
針對Pairwise工程方法測試用例數量巨大的不足,提齣瞭一種基于因子相關度的最優測試用例集生成工程方法(Factor Relationship-Based Test,FRBT).它通過因子相關度計算模型分析UML設計模型和程序源碼,計算齣被測繫統各模塊的因子相關度矩陣,併通過相關因子覆蓋算法實現按因子相關度的兩兩正交覆蓋.最關鍵的改進點是FBBT方法採用瞭數學模型來挑選相交因子,從而解決瞭其他工程方法中完全依賴STE(Software Test Engineer)經驗挑選因子所帶來的風險與不穩定性,使測試用例設計更加快速、客觀.實驗錶明,FBBT工程方法不僅生成的測試用例數量最少,而且將Pairwise工程方法的缺陷命中率從26.518%提升到瞭52.568%.
침대Pairwise공정방법측시용례수량거대적불족,제출료일충기우인자상관도적최우측시용례집생성공정방법(Factor Relationship-Based Test,FRBT).타통과인자상관도계산모형분석UML설계모형화정서원마,계산출피측계통각모괴적인자상관도구진,병통과상관인자복개산법실현안인자상관도적량량정교복개.최관건적개진점시FBBT방법채용료수학모형래도선상교인자,종이해결료기타공정방법중완전의뢰STE(Software Test Engineer)경험도선인자소대래적풍험여불은정성,사측시용례설계경가쾌속、객관.실험표명,FBBT공정방법불부생성적측시용례수량최소,이차장Pairwise공정방법적결함명중솔종26.518%제승도료52.568%.
According to the shortcoming of Pairwise testing,which needs abundant test case set,an engineering approach for the generation of optimization test case set based on factor relationship(FRBT)is put forward.By analyzing the UML design model and resource code according to the Factor Relationship Calculation Model to work out the matrix of factor relationship,and make the form which covers each pair of input parameters by the way of one to one orthogonality through using the algorithm of generation covering form based on factor relationship.The most important improvement point is using math model to choose the covering factors,as a result,reducing the risk and unsteadiness caused by other engineering approach which chooses coveting factor only depending on STE(Software Test Engineer),so making the test design more quick and objective.The experiment results demonstrate that FRBT not only generates the minimum test cases,but also improves the rate of discovering defect from 26.518% to 52.568%.