计算机应用
計算機應用
계산궤응용
COMPUTER APPLICATION
2014年
z1期
280-283
,共4页
杜元柱%黄松%惠战伟%陆丽丽
杜元柱%黃鬆%惠戰偉%陸麗麗
두원주%황송%혜전위%륙려려
变异%变异分析%蜕变测试%充分性条件
變異%變異分析%蛻變測試%充分性條件
변이%변이분석%세변측시%충분성조건
mutant%mutation analysis%metamorphic testing%sufficiency condition
变异分析是研究软件测试的一种有效手段,在蜕变测试的研究中也经常采用这种方法。测试数据杀死变异需要满足一定的条件,但在蜕变测试中,测试用例满足变异测试中的条件不一定能够杀死变异,需要比一般的变异测试更严格的测试数据才能杀死变异。从变异测试中杀死变异的三类条件出发,探究蜕变测试数据杀死变异的条件。通过三角形实验分析蜕变测试用例满足的条件以及测试结果,总结蜕变测试用例杀死变异的规律,提出蜕变测试用例杀死变异的一种充分性条件。
變異分析是研究軟件測試的一種有效手段,在蛻變測試的研究中也經常採用這種方法。測試數據殺死變異需要滿足一定的條件,但在蛻變測試中,測試用例滿足變異測試中的條件不一定能夠殺死變異,需要比一般的變異測試更嚴格的測試數據纔能殺死變異。從變異測試中殺死變異的三類條件齣髮,探究蛻變測試數據殺死變異的條件。通過三角形實驗分析蛻變測試用例滿足的條件以及測試結果,總結蛻變測試用例殺死變異的規律,提齣蛻變測試用例殺死變異的一種充分性條件。
변이분석시연구연건측시적일충유효수단,재세변측시적연구중야경상채용저충방법。측시수거살사변이수요만족일정적조건,단재세변측시중,측시용례만족변이측시중적조건불일정능구살사변이,수요비일반적변이측시경엄격적측시수거재능살사변이。종변이측시중살사변이적삼류조건출발,탐구세변측시수거살사변이적조건。통과삼각형실험분석세변측시용례만족적조건이급측시결과,총결세변측시용례살사변이적규률,제출세변측시용례살사변이적일충충분성조건。
Mutation analysis is an effective way of researching software testing, and it is frequently used in metamorphic testing. The test data is hedged with some given qualifications to kill the mutants. As for metamorphic testing, things may go far beyond that, even more restricted qualifications need to be satisfied with. On the basis of studying the three traditional kinds of conditions in mutation testing, this paper tried to figure out the qualifications for the metamorphic test data to kill the mutants. A triangle experiment was carried out to research the qualifications for the metamorphic test data. Through analyzing the results, this paper came to a conclusion of its regular pattern to kill mutants, and thus put forward a brand new sufficiency condition.