Mutation Testing: A comparison of mutation selection methods
2012 (English)Independent thesis Advanced level (degree of Master (One Year)), 20 credits / 30 HE credits
Student thesis
Abstract [en]
Software is all around us in our lives in the industrialized world, and we as a society and individuals need it to function correctly. Software testing fills the role of performing behavior audits, to guide the correction of the software to its intended behavior. The consequences of faulty software can range to the late arrival of trains, to nuclear meltdowns.
This places quality requirements on the software of various levels. Program based mutation testing provides a high level of faultfinding capability. It does this by injecting many synthetic faults into the code under test, as described by mutation operators. These faults are used to search for testcases that would identify such faults, and consequently find real faults that the synthetic faults mimic.
However, mutation testing is costly on three accounts; each mutant of the original code is compiled, each mutant should ideally have an associated testcase to reveal that fault the mutant contains, finally the testcases are analyzed thoroughly by looking the output of the original and mutants to reveal the error in behavior.
In order to reduce cost while maintaining a high level of faultfinding, selective mutation testing is investigated, it uses a subset of all the available mutation operators. The investigation found that using Absolute value-, and Relational operator-, mutation reduces cost of mutation testing by 80%, while uncovering 83% of the injected faults.
Place, publisher, year, edition, pages
2012. , p. 82
Keywords [en]
Software Testing, Mutation, Testing Effectiveness, Selective Mutation
Keywords [sv]
Mjukvarutestning, Mutation, Testeffektivitet, Utvald Mutation
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:his:diva-6569OAI: oai:DiVA.org:his-6569DiVA, id: diva2:562326
Subject / course
Computer Science
Educational program
Informatics - Master's Programme
Uppsok
Technology
Supervisors
Examiners
2012-11-232012-10-242018-01-12Bibliographically approved