计算机技术与发展
計算機技術與髮展
계산궤기술여발전
Computer Technology and Development
2015年
9期
187-193
,共7页
探索性测试%测试用例%测试设计%缺陷%复用
探索性測試%測試用例%測試設計%缺陷%複用
탐색성측시%측시용례%측시설계%결함%복용
exploratory testing%test case%test design%bugs%reusable
深入分析了软件探索性测试的特点、开展必要性及其当前研究现状局限性。在普通测试用例构成要素的基础上,充分结合已有的漫游探索性测试设计方法,从探索意义和探索思路的角度增添了测试用例的一些新的要素,提出了基于探索性测试思想的可复用测试用例设计过程,并应用于某高校教务资源管理平台系统测试阶段的测试用例设计及复用中。通过实验数据对比,基于探索性测试思想的可复用测试用例设计方法在测试中后期阶段,对所发现一般性缺陷的比率尽管略低于普通测试用例设计方法,但是对所发现的严重性缺陷与致命性缺陷的比率却高出普通方法的11.25%与12.5%。在测试用例命中缺陷比率方面,命中一般性缺陷的比率高出普通方法4%,而命中严重性与致命性缺陷的比率则分别高出普通方法的7%与12%。实验结果证明,构建具有探索性测试思想的可复用测试用例设计过程对于提供测试对象新功能的快速反馈、测试中后期增加发现重要缺陷比率、提高测试用例命中缺陷效率与复用程度方面均起到重要作用。
深入分析瞭軟件探索性測試的特點、開展必要性及其噹前研究現狀跼限性。在普通測試用例構成要素的基礎上,充分結閤已有的漫遊探索性測試設計方法,從探索意義和探索思路的角度增添瞭測試用例的一些新的要素,提齣瞭基于探索性測試思想的可複用測試用例設計過程,併應用于某高校教務資源管理平檯繫統測試階段的測試用例設計及複用中。通過實驗數據對比,基于探索性測試思想的可複用測試用例設計方法在測試中後期階段,對所髮現一般性缺陷的比率儘管略低于普通測試用例設計方法,但是對所髮現的嚴重性缺陷與緻命性缺陷的比率卻高齣普通方法的11.25%與12.5%。在測試用例命中缺陷比率方麵,命中一般性缺陷的比率高齣普通方法4%,而命中嚴重性與緻命性缺陷的比率則分彆高齣普通方法的7%與12%。實驗結果證明,構建具有探索性測試思想的可複用測試用例設計過程對于提供測試對象新功能的快速反饋、測試中後期增加髮現重要缺陷比率、提高測試用例命中缺陷效率與複用程度方麵均起到重要作用。
심입분석료연건탐색성측시적특점、개전필요성급기당전연구현상국한성。재보통측시용례구성요소적기출상,충분결합이유적만유탐색성측시설계방법,종탐색의의화탐색사로적각도증첨료측시용례적일사신적요소,제출료기우탐색성측시사상적가복용측시용례설계과정,병응용우모고교교무자원관리평태계통측시계단적측시용례설계급복용중。통과실험수거대비,기우탐색성측시사상적가복용측시용례설계방법재측시중후기계단,대소발현일반성결함적비솔진관략저우보통측시용례설계방법,단시대소발현적엄중성결함여치명성결함적비솔각고출보통방법적11.25%여12.5%。재측시용례명중결함비솔방면,명중일반성결함적비솔고출보통방법4%,이명중엄중성여치명성결함적비솔칙분별고출보통방법적7%여12%。실험결과증명,구건구유탐색성측시사상적가복용측시용례설계과정대우제공측시대상신공능적쾌속반궤、측시중후기증가발현중요결함비솔、제고측시용례명중결함효솔여복용정도방면균기도중요작용。
Analyze the characteristics,necessity and application status limitations of exploratory testing software highly. Based on the com-mon structure elements of test cases,fully combined existing roaming exploratory testing design method,some new elements of test cases are added from the perspective of exploring significance and exploring ideas,and put forward the exploratory testing process of reusable test case design,and the process of test case design and reuse is applied on an university educational resource management platform during the system testing phase. By comparison with experimental data,based on exploratory testing of reusable test case design methods in the middle and later periods of the test phase,although slightly for general defects found less than the ratio of common test case design meth-ods,the seriousness of the found defects and fatal defect is higher than that of common method to 11. 25% and 12. 5%. In the aspect of test cases to hit the defect ratio,ratio of the common defects of 4% higher than normal method,while the hit rate of serious and fatal de-fects method are 7% and 12% higher than normal respectively. The experimental results show that building an exploratory testing thought of reusable test cases design process plays an important role in providing quick feedback test object a new function feedback,increasing important defect detecting in the middle and later periods of the test phase,improving the efficiency of test cases to cover defects and re-use degree.