HadoopMutator: A Cloud-Based Mutation Testing Framework

  • Iman Saleh
  • Khaled Nagi
Conference paper

DOI: 10.1007/978-3-319-14130-5_13

Part of the Lecture Notes in Computer Science book series (LNCS, volume 8919)
Cite this paper as:
Saleh I., Nagi K. (2014) HadoopMutator: A Cloud-Based Mutation Testing Framework. In: Schaefer I., Stamelos I. (eds) Software Reuse for Dynamic Systems in the Cloud and Beyond. ICSR 2015. Lecture Notes in Computer Science, vol 8919. Springer, Cham

Abstract

Mutation testing is a software engineering methodology where code mutation is used to assess the quality of a testing technique. Mutation testing is carried out by injecting errors in the code and measuring the ability of a testing tool to detect these errors. However, it is a time-consuming process, as tests need to be run on many variants of the code, called mutants. Each mutant represents a version of the code under test, with an injected error. In this paper, we propose HadoopMutator; a cloud-based mutation testing framework that reuses the MapReduce programming model in order to speed up the generation and testing of mutants. We show, through experimentation, that we can significantly enhance the performance of automated mutation testing and provide a scalable solution that is applicable for large-scale software projects. Based on two use cases, we show that the performance can be enhanced 10 folds, on average, using our proposed framework. By treating source code as data, our work paves the way for new reuse opportunities of the novel data-centric frameworks.

Keywords

Hadoop MapReduce Mutation Testing Experimentation 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer International Publishing Switzerland 2014

Authors and Affiliations

  • Iman Saleh
    • 1
  • Khaled Nagi
    • 2
  1. 1.Graduate SchoolUniversity of MiamiCoral GablesUSA
  2. 2.Dept. of Computer and Systems Engineering, Faculty of EngineeringAlexandria UniversityEgypt

Personalised recommendations