Unit Test Case Selection to Evaluate Changes in Critical Time

Unit Test Case Selection to Evaluate Changes in Critical Time

0.00 Avg rating0 Votes
Article ID: iaor20135052
Volume: 50
Issue: 4
Start Page Number: 163
End Page Number: 174
Publication Date: Nov 2013
Journal: INFOR: Information Systems and Operational Research
Authors: ,
Keywords: heuristics, maintenance, repair & replacement
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.

Reviews

Required fields are marked *. Your email address will not be published.