37
Views
0
CrossRef citations to date
0
Altmetric
Articles

Unit Test Case Selection to Evaluate Changes in Critical Time

&
Pages 163-174 | Received 01 Nov 2011, Accepted 01 Jul 2012, Published online: 02 Jun 2016
 

Abstract

Defects blocking major business transactions may be found while a software system is in production. Due to the urgency of returning the system to proper operation, these defects are frequently resolved in the production environment itself, under such a restricted deadline that there is not enough time to run the complete set of unit test cases upon the patched version of the software. Declining to run the test case suite allows quicker deployment to production, but also allows for other defects to be introduced into the system. This paper evaluates whether a heuristic search approach can help a decision-maker selecting a subset of a unit test case suite to validate a set of changes made in the production environment. The selected test cases should maximize the coverage of changed features and must be executed under a strict time constraint. We designed and executed an experiment which compared different algorithms and found that heuristic search can provide better solutions to this test case selection problem (though at higher cost) than local or random search when the time restriction is a small fraction of the time required to run the full suite.

The authors would like to express their gratitude for FAPERJ and CNPq, the research agencies that financially supported this project.

Notes

Log in via your institution

Log in to Taylor & Francis Online

PDF download + Online access

  • 48 hours access to article PDF & online version
  • Article PDF can be downloaded
  • Article PDF can be printed
USD 61.00 Add to cart

Issue Purchase

  • 30 days online access to complete issue
  • Article PDFs can be downloaded
  • Article PDFs can be printed
USD 182.00 Add to cart

* Local tax will be added as applicable

Related Research

People also read lists articles that other readers of this article have read.

Recommended articles lists articles that we recommend and is powered by our AI driven recommendation engine.

Cited by lists all citing articles based on Crossref citations.
Articles with the Crossref icon will open in a new tab.