• Home
  • Search
  • Effective test case selection for context-aware applications based on mutation testing and adequacy testing from a context diversity perspective
  • https://doi.org/10.5353/th_b5043441Copy DOI Icon

Effective test case selection for context-aware applications based on mutation testing and adequacy testing from a context diversity perspective

  • Jan 1, 2013
  • Huai Wang
Show More
  • Abstract
  • Literature Map
  • Similar Papers
Abstract

Mutation testing and adequacy testing are two major technologies to assure the quality of software. In this thesis, we present the first work that alleviates the high cost of mutation testing and ineffectiveness of adequacy testing for context-aware applications. We also present large-scale multi-subject case studies to evaluate how our work successfully alleviates these problems.
\nMutation testing incurs a high execution cost if randomly selected test inputs kill a small percentage of remaining live mutants. To address this problem, we formulate the notion of context diversity to measure the context changes inherent in test inputs, and propose three context-aware strategies in the selection of test inputs. The empirical results show that the use of test inputs with higher context diversity can significantly benefit mutation testing in terms of resulting in fewer test runs, fewer test case trials, and smaller resultant test suites that achieve a high mutation score level. The case study also shows that at the test case level, the context diversity of test inputs positively and strongly correlates with multiple types of adequacy metrics, which provide a foundation on why context diversity contributes to the effectiveness of test cases in revealing faults in context-aware applications.
\nIn adequacy testing, many strategies randomly select test cases to construct adequate test suites with respect to program-based adequacy criteria. They usually exclude redundant test cases that are unable to improve the coverage of the test requirements of an adequacy criterion achieved by constructing test suites. These strategies have not explored in the diversity in test inputs to improve the test effectiveness of test suites. To address this problem, we propose three context-aware refined strategies to check whether redundant test cases can replace previously selected test cases to achieve the same coverage level but with different context diversity levels. The empirical study shows that context diversity can be significantly injected into adequate test suites, and favoring test cases with higher context diversity can significantly improve the fault detection rates of adequate test suites for testing context-aware applications.
\nIn conclusion, this thesis makes the significant contributions to the research in testing context-aware applications: (1) It has formulated context diversity, a novel metric to measure context changes inherent in test inputs. (2) It has proposed three context-aware strategies to select test cases with different levels of context diversity. Compared with the baseline strategy, the strategy CAS-H that uses test cases with higher context diversity can significantly reduce the cost of mutation testing over context-aware applications in terms of less number of test runs, smaller adequate test suites, and less number of test inputs used to construct test suites. (3) It has defined three context-aware refined strategies to construct adequate test suites with different context diversity levels. Compared with the baseline strategy, the strategy CARS-H that favors test cases with higher context diversity can significantly improve the effectiveness of adequacy testing in terms of higher fault detection rates.

Similar Papers
  • Research Article
  • Citations1

Measuring Redundancy Score for Test Suite Evaluation by Using Test Cases Matching Approach

  • May 27, 2021
  • Journal of Robotics, Networking and Artificial Life
  • Mochamad Chandra Saputra +5
  • Conference Article
  • Citations19

A Fault Based Approach to Test Case Prioritization

  • Dec 01, 2017
  • Faiza Farooq +1
  • Book Chapter
  • Citations16

Test Suite Quality for Model Transformation Chains

  • Jan 01, 2011
  • Eduard Bauer +2
  • PDF
  • Research Article
  • Citations12

Multi-objective regression test suite optimization using three variants of adaptive neuro fuzzy inference system

  • Dec 03, 2020
  • PLoS ONE
  • Ayesha Kiran +6
  • PDF
  • Research Article

Novel Metrics for Mutation Analysis

  • Jan 01, 2023
  • Computer Systems Science and Engineering
  • Savas Takan +1
  • Conference Article
  • Citations4

Finding representative test suit for test case reduction in regression testing

  • Sep 01, 2015
  • Sudhir Kumar Mohapatra +1
  • Conference Article
  • Citations6

A Test Case Prioritization Approach Based on Software Component Metrics

  • Oct 01, 2019
  • Dennis Savio Silva +4
  • Research Article
  • Citations2

Toward Improving the Quality of Mutation Operator and Test Case Effectiveness in Higher-Order Mutation Testing

  • Jul 20, 2022
  • Vietnam Journal of Computer Science
  • Van-Nho Do +2
  • PDF
  • Research Article
  • Citations33

On the Effectiveness of Using Elitist Genetic Algorithm in Mutation Testing

  • Sep 09, 2019
  • Symmetry
  • Shweta Rani +2
  • Report Series
  • Citations14

Fine-Grained Test Minimization

  • Aug 09, 2018
  • EasyChair preprint
  • Arash Vahabzadeh +2
  • Conference Article
  • Citations31

Fine-grained test minimization

  • May 27, 2018
  • Arash Vahabzadeh +2
  • Conference Article
  • Citations12

Minimizing test cases to reduce the cost of regression testing

  • Mar 01, 2014
  • Sudhir Kumar Mohapatra +1
  • Conference Article
  • Citations57

MuTMuT: Efficient Exploration for Mutation Testing of Multithreaded Code

  • Apr 01, 2010
  • Milos Gligoric +2
  • Book Chapter
  • Citations17

Higher Order Mutation Testing to Drive Development of New Test Cases: An Empirical Comparison of Three Strategies

  • Jan 01, 2016
  • Quang Vu Nguyen +1
  • Research Article
  • Citations21

Enhancing Efficiency of the Test Case Prioritization Technique by Improving the Rate of Fault Detection

  • Mar 16, 2017
  • Arabian Journal for Science and Engineering
  • Soumen Nayak +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.