DocumentCode
3538374
Title
Function Substitution: Towards Constraint Solving in Software Testing
Author
Feng, Xin ; Marr, Simon ; O´Callaghan, Tony ; Zhou, Zhi Quan ; Carette, Jacques
Author_Institution
Div. of Sci. & Technol., BNU-HKBU United Int. Coll., Zhuhai, China
fYear
2012
fDate
27-29 Aug. 2012
Firstpage
31
Lastpage
40
Abstract
Constraint solving is a fundamental tenet of most test case generation strategies. However, conventional constraint solving methods were not designed in consideration of that aspect of test case generation. It has led to a situation where test case generation techniques can miss test cases when constraints contain function invocations. This is due to the fact that, when solving constraints to generate test cases, function invocations are not effectively handled and, as a result, solutions to some constraints are not found even though they do exist. This problem occurs in both specification-based and code-based testing. To address the problem, this paper presents a function substitution method that transforms test case constraints that contain certain types of functions into equivalent constraints that do not contain those functions. The transformation preserves the solution space and avoids missed test cases. As a result, the completeness of test case generation can be improved.
Keywords
program testing; code based testing; constraint solving methods; constraints contain function; function substitution method; software testing; specification based testing; test case generation; Educational institutions; Frequency modulation; Input variables; Marketing and sales; Software; Software testing; software testing; substitution completeness; tabular expression; test case constraint; test case generation;
fLanguage
English
Publisher
ieee
Conference_Titel
Quality Software (QSIC), 2012 12th International Conference on
Conference_Location
Xi´an, Shaanxi
ISSN
1550-6002
Print_ISBN
978-1-4673-2857-9
Type
conf
DOI
10.1109/QSIC.2012.32
Filename
6319223
Link To Document