Generate Test Selection Statistics With Automated Selective Mutation
2020 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE credits
Student thesis
Abstract [en]
Context. Software systems are under constant updating for being faulty and to improve and introduce features. The Software testing is the most commonly used method for validating the quality of software systems. Agile processes help to automate testing process. A regression test is the main strategy used in testing. Regression testing is time consuming, but with increase in codebases is making it more time extensive and time consuming. Making regression testing time efficient for continuous integration is the new strategy.
Objectives. This thesis focuses on co-relating code packages to test packages by automating mutation to inject error into C code. Regression testing against mutated code establishes co-relations. Co-relation data of particular modified code packages can be used for test selections. This method is most effective than the traditional test selection method. For this thesis to reduce the mutation costs selective mutation method is selected. Demonstrating the proof of concept helps to prove proposed hypothesis.
Methods. An experiment answers the research questions. Testing of hypothesis on open source C programs will evaluate efficiency. Using this correlation method testers can reduce the testing cycles regardless of test environments. Results. Experimenting with sample programs using automated selective mutation the efficiency to co-relate tests to code packages was 93.4%.
Results. After experimenting with sample programs using automated selective mutation the efficiency to co-relate tests to code packages was 93.4%.
Conclusions. This research concludes that the automated mutation to obtain test selection statistics can be adopted. Though it is difficult for mutants to fail every test case, supposing that this method works with 93.4% efficient test failure on an average, then this method can reduce the test suite size to 5% for the particular modified code package.
Place, publisher, year, edition, pages
2020.
Keywords [en]
Regression testing, test case selection, mutation testing, selective mutation.
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:bth-19313OAI: oai:DiVA.org:bth-19313DiVA, id: diva2:1414060
External cooperation
Axis Communications
Subject / course
DV2572 Master´s Thesis in Computer Science
Educational program
DVADA Master Qualification Plan in Computer Science
Supervisors
Examiners
2020-08-102020-03-122020-08-10Bibliographically approved