• Home
  • Search
  • Behavioral Execution Comparison: Are Tests Representative of Field Behavior?
  • Cite Icon29
  • https://doi.org/10.1109/icst.2017.36Copy DOI Icon

Behavioral Execution Comparison: Are Tests Representative of Field Behavior?

  • Mar 1, 2017
  • Qianqian Wang +2 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Software testing is the most widely used approach for assessing and improving software quality, but it is inherently incomplete and may not be representative of how the software is used in the field. This paper addresses the questions of to what extent tests represent how real users use software, and how to measure behavioral differences between test and field executions. We study four real-world systems, one used by endusers and three used by other (client) software, and compare test suites written by the systems' developers to field executions using four models of behavior: statement coverage, method coverage, mutation score, and a temporal-invariant-based model we developed. We find that developer-written test suites fail to accurately represent field executions: the tests, on average, miss 6.2% of the statements and 7.7% of the methods exercised in the field, the behavior exercised only in the field kills an extra 8.6% of the mutants, finally, the tests miss 52.6% of the behavioral invariants that occur in the field. In addition, augmenting the in-house test suites with automatically-generated tests by a tool targeting high code coverage only marginally improves the tests' behavioral representativeness. These differences between field and test executions—and in particular the finer-grained and more sophisticated ones that we measured using our invariantbased model—can provide insight for developers and suggest a better method for measuring test suite quality.

Similar Papers
  • Research Article
  • Citations22

Statement frequency coverage: A code coverage criterion for assessing test suite effectiveness

  • Sep 19, 2020
  • Information and Software Technology
  • Alireza Aghamohammadi +2
  • Book Chapter
  • Citations5

On Technical Debt in Software Testing - Observations from Industry

  • Jan 01, 2022
  • Sigrid Eldh
  • Conference Article
  • Citations12

Do Pseudo Test Suites Lead to Inflated Correlation in Measuring Test Effectiveness?

  • Apr 01, 2019
  • Jie M Zhang +4
  • Research Article
  • Citations36

A correlation study between automated program repair and test-suite metrics

  • Sep 30, 2017
  • Empirical Software Engineering
  • Jooyong Yi +4
  • Dissertation
  • Citations1

Parallelizing unit test execution on GPU

  • Jun 26, 2020
  • Taghreed Bagies
  • Research Article

Understanding the potentially confounding effect of test suite size in test effectiveness evaluation

  • Aug 28, 2025
  • ACM Transactions on Software Engineering and Methodology
  • Zeyu Lu +11
  • Research Article
  • Citations3

Assessing Effectiveness of Test Suites: What Do We Know and What Should We Do?

  • Apr 17, 2024
  • ACM Transactions on Software Engineering and Methodology
  • Peng Zhang +10
  • Research Article
  • Citations3

Exploring granular test coverage and its evolution with matrix visualizations

  • Mar 01, 2023
  • Information and Software Technology
  • Kaj Dreef +2
  • Conference Article
  • Citations24

Empirically Evaluating the Quality of Automatically Generated and Manually Written Test Suites

  • Oct 01, 2014
  • Jeshua S Kracht +2
  • Research Article
  • Citations6

Search-based test case implantation for testing untested configurations

  • Mar 14, 2019
  • Information and Software Technology
  • Dipesh Pradhan +4
  • Research Article

Editorial: Software testing is an elephant

  • Nov 20, 2008
  • Software Testing, Verification and Reliability
  • Jeff Offutt
  • Research Article

Gravitational Bee Search Algorithm with Fuzzy Logic for Effective Test Suite Minimization and Prioritization

  • Oct 27, 2016
  • Indian Journal of Science and Technology
  • J Srividhya +1
  • PDF
  • Research Article
  • Citations7

Genetic Algorithm for Test Suite Optimization: An Experimental Investigation of Different Selection Methods

  • Apr 10, 2021
  • Turkish Journal of Computer and Mathematics Education (TURCOMAT)
  • Chetan J Shingadiya Et.Al
  • Conference Article
  • Citations21

An Experience-Based Approach for Test Execution Effort Estimation

  • Nov 01, 2008
  • Xiaochun Zhu +4
  • Conference Article
  • Citations14

Evaluating the Effects of Compiler Optimizations on Mutation Testing at the Compiler IR Level

  • Oct 01, 2016
  • Farah Hariri +4
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.