软件学报
軟件學報
연건학보
JOURNAL OF SOFTWARE
2005年
7期
1210-1220
,共11页
吴鹏%施小纯%唐江峻%林惠民%陈宗岳
吳鵬%施小純%唐江峻%林惠民%陳宗嶽
오붕%시소순%당강준%림혜민%진종악
软件测试%蜕变测试%特殊用例测试%随机测试%变异分析
軟件測試%蛻變測試%特殊用例測試%隨機測試%變異分析
연건측시%세변측시%특수용례측시%수궤측시%변이분석
software testing%metamorphic testing%special case testing%random testing%mutation analysis
提出了基于蜕变测试方法的集成测试环境MTest,进而为检验蜕变测试方法的能力和效率,以稀疏矩阵乘法程序为例设计了一组实验.该实验基于变异分析技术,分别以mutation score和错误发现率为度量指标,定量地分析和对比了特殊用例测试,以特殊测试用例和随机测试用例为源测试用例的蜕变测试这3种方法的测试能力和效率.该实验可在MTest测试环境下自动完成.实验结果表明,蜕变测试与特殊用例测试之间是互补的,而且就蜕变测试的源测试用例而言,随机测试用例在测试能力和效率上优于特殊测试用例.
提齣瞭基于蛻變測試方法的集成測試環境MTest,進而為檢驗蛻變測試方法的能力和效率,以稀疏矩陣乘法程序為例設計瞭一組實驗.該實驗基于變異分析技術,分彆以mutation score和錯誤髮現率為度量指標,定量地分析和對比瞭特殊用例測試,以特殊測試用例和隨機測試用例為源測試用例的蛻變測試這3種方法的測試能力和效率.該實驗可在MTest測試環境下自動完成.實驗結果錶明,蛻變測試與特殊用例測試之間是互補的,而且就蛻變測試的源測試用例而言,隨機測試用例在測試能力和效率上優于特殊測試用例.
제출료기우세변측시방법적집성측시배경MTest,진이위검험세변측시방법적능력화효솔,이희소구진승법정서위례설계료일조실험.해실험기우변이분석기술,분별이mutation score화착오발현솔위도량지표,정량지분석화대비료특수용례측시,이특수측시용례화수궤측시용례위원측시용례적세변측시저3충방법적측시능력화효솔.해실험가재MTest측시배경하자동완성.실험결과표명,세변측시여특수용례측시지간시호보적,이차취세변측시적원측시용례이언,수궤측시용례재측시능력화효솔상우우특수측시용례.
This paper presents an integrated metamorphic testing environment MTest and reports an experimental analysis of the effectiveness of metamorphic testing, which is carried out using MTest with a real program of sparse matrix multiplication. Quantitative evaluation and comparison of special case testing, metamorphic testing with special and random test cases are illustrated with two measurements: mutation score and fault detection ratio. The case study shows that metamorphic testing and special case testing are complementary to each other, and with respect to source test case for metamorphic testing, random test cases are preferred to special test cases.