基于區(qū)間運(yùn)算的測(cè)試用例生成加速技術(shù)研究
[Abstract]:Software testing is an important method to ensure software quality. Unit test is the test of the smallest unit or module of the program under test, which is usually divided into three stages: test case generation, test case execution and test result statistics, in which the test case generation is usually done manually by the tester. Due to the huge workload and high repeatability of unit testing, a lot of manpower and time need to be invested. The automatic testing of unit testing, especially the development of automatic test case generation technology, solves the problems of low efficiency and high error rate of manual testing to a certain extent, promotes the development of software testing, and becomes the research focus in the field of software testing. In path-oriented unit testing, the problem of solving constraint sets on the target path is a difficult point in the automatic generation of test cases. Because of the complexity of the constraint system under test and the constraint of the algorithm, the efficiency of automatic generation of test cases and the correct rate of generating use cases are often not high. In this paper, aiming at improving the efficiency of automatic test case generation in unit testing, a library function constraint solving strategy based on semantic analysis and interval operation is proposed on the basis of branch bound test case framework and interval operation. It is used to solve the library function constraint in the target path. The interval consistency decision strategy based on iterative technique and interval operation is used to eliminate the influence of the processing order of constraints in the path on the results of interval operation and to reduce the interval of variables at the same time. The jump backtracking strategy based on variable correlation is used to avoid unnecessary backtracking and backward process and reduce the number of interval operations. The constraint transformation strategy converts some non-four operations in the path to be measured into four forms that can be processed by interval operation, and accelerates the solution of the constraint set on the target path by auxiliary variable assignment. The author encodes the above four strategies in the code test system (CodeTest System,CTS), and tests the effectiveness of these strategies in accelerating the automatic generation of test cases through related experiments. The experimental results show that the strategy proposed in this paper plays an obvious role in reducing the time of automatic test case generation and improving the efficiency of test case automatic generation.
【學(xué)位授予單位】:北京郵電大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2016
【分類(lèi)號(hào)】:TP311.53
【參考文獻(xiàn)】
相關(guān)期刊論文 前9條
1 潘爍;王曙燕;王歡;;基于改進(jìn)粒子群算法的組合測(cè)試數(shù)據(jù)生成[J];西安郵電學(xué)院學(xué)報(bào);2012年03期
2 王林;尤楓;趙瑞蓮;;基于改進(jìn)遺傳算法的面向路徑測(cè)試數(shù)據(jù)生成[J];計(jì)算機(jī)工程;2012年04期
3 曾凡平;袁園;潘能剛;鄧超強(qiáng);;不變量指導(dǎo)的隨機(jī)測(cè)試用例生成[J];小型微型計(jì)算機(jī)系統(tǒng);2011年11期
4 王雅文;宮云戰(zhàn);肖慶;楊朝紅;;基于抽象解釋的變量值范圍分析及應(yīng)用[J];電子學(xué)報(bào);2011年02期
5 王雅文;宮云戰(zhàn);肖慶;楊朝紅;;擴(kuò)展區(qū)間運(yùn)算的變量值范圍分析技術(shù)[J];北京郵電大學(xué)學(xué)報(bào);2009年03期
6 王雅文;宮云戰(zhàn);楊朝紅;;軟件測(cè)試工具綜述[J];北京化工大學(xué)學(xué)報(bào)(自然科學(xué)版);2007年S1期
7 薛云志;陳偉;王永吉;趙琛;王青;;一種基于Messy GA的結(jié)構(gòu)測(cè)試數(shù)據(jù)自動(dòng)生成方法[J];軟件學(xué)報(bào);2006年08期
8 李福川,宋曉秋;軟件測(cè)試中的新方法——區(qū)間代數(shù)方法[J];計(jì)算機(jī)工程與設(shè)計(jì);2005年10期
9 汪西原,汪西莉;啟發(fā)式搜索策略(爬山法)的改進(jìn)與實(shí)現(xiàn)[J];陜西師范大學(xué)學(xué)報(bào)(自然科學(xué)版);1999年01期
相關(guān)會(huì)議論文 前1條
1 曾勇軍;王清賢;奚琪;;基于抽象區(qū)間域的數(shù)組邊界檢查技術(shù)[A];計(jì)算機(jī)研究新進(jìn)展(2010)——河南省計(jì)算機(jī)學(xué)會(huì)2010年學(xué)術(shù)年會(huì)論文集[C];2010年
相關(guān)博士學(xué)位論文 前1條
1 邢穎;測(cè)試用例自動(dòng)生成的分支限界算法及實(shí)驗(yàn)研究[D];北京郵電大學(xué);2014年
相關(guān)碩士學(xué)位論文 前1條
1 郭勁松;約束滿(mǎn)足問(wèn)題(CSP)的求解技術(shù)研究[D];吉林大學(xué);2013年
,本文編號(hào):2492746
本文鏈接:http://www.sikaile.net/kejilunwen/ruanjiangongchenglunwen/2492746.html