Automatic Test Data Generation using Constraint Programming and Search Based Software Engineering Techniques. Sakti, A. Ph.D. Thesis, Polytechnique Montr�al, December, 2014. 174 pages.
Paper abstract bibtex Proving that some software system corresponds to its specification or revealing hidden errors in its implementation is a time consuming and tedious testing process, accounting for 50% of the total software. Test-data generation is one of the most expensive parts of the software testing phase. Therefore, automating this task can significantly reduce software cost, development time, and time to market. Many researchers have proposed automated approaches to generate test data. Among the proposed approaches, the literature showed that Search-Based Software Test-data Generation (SB-STDG) techniques can automatically generate test data. However, these techniques are very sensitive to their guidance which impact the whole test-data generation process. The insufficiency of information relevant about the test-data generation problem can weaken the SB-STDG guidance and negatively affect its efficiency and effectiveness. In this dissertation, our thesis is statically analyzing source code to identify and extract relevant information to exploit them in the SB-STDG process could offer more guidance and thus improve the efficiency and effectiveness of SB-STDG. To extract information relevant for SB-STDG guidance, we statically analyze the internal structure of the source code focusing on six features, i.e., constants, conditional statements, arguments, data members, methods, and relationships. Focusing on these features and using different existing techniques of static analysis, i.e., constraints programming (CP), schema theory, and some lightweight static analyses, we propose four approaches: (1) focusing on arguments and conditional statements, we define a hybrid approach that uses CP techniques to guide SB-STDG in reducing its search space; (2) focusing on conditional statements and using CP techniques, we define two new metrics that measure the difficulty to satisfy a branch, hence we derive two new fitness functions to guide SB-STDG; (3) focusing on conditional statements and using schema theory, we tailor genetic algorithm to better fit the problem of test-data generation; (4) focusing on arguments, conditional statements, constants, data members, methods, and relationships, and using lightweight static analyses, we define an instance generator that generates relevant test-data candidates and a new representation of the problem of object-oriented test-data generation that implicitly reduces the SB-STDG search space. We show that using static analyses improve the SB-STDG efficiency and effectiveness. The achieved results in this dissertation show an important improvements in terms of effectiveness and efficiency. They are promising and we hope that further research in the field of test-data generation might improve efficiency or effectiveness.
@PHDTHESIS{Sakti14-PhD,
AUTHOR = {Abdelilah Sakti},
SCHOOL = {Polytechnique Montr�al},
TITLE = {Automatic Test Data Generation using Constraint
Programming and Search Based Software Engineering Techniques},
YEAR = {2014},
OPTADDRESS = {},
MONTH = {December},
NOTE = {174 pages.},
OPTTYPE = {},
KEYWORDS = {Test case generation},
URL = {http://www.ptidej.net/publications/documents/Thesis+of+Abdelilah+Sakti.doc.pdf},
PDF = {http://www.ptidej.net/publications/documents/Thesis+of+Abdelilah+Sakti.ppt.pdf},
ABSTRACT = {Proving that some software system corresponds to its
specification or revealing hidden errors in its implementation is a
time consuming and tedious testing process, accounting for 50\% of
the total software. Test-data generation is one of the most expensive
parts of the software testing phase. Therefore, automating this task
can significantly reduce software cost, development time, and time to
market. Many researchers have proposed automated approaches to
generate test data. Among the proposed approaches, the literature
showed that Search-Based Software Test-data Generation (SB-STDG)
techniques can automatically generate test data. However, these
techniques are very sensitive to their guidance which impact the
whole test-data generation process. The insufficiency of information
relevant about the test-data generation problem can weaken the
SB-STDG guidance and negatively affect its efficiency and
effectiveness. In this dissertation, our thesis is statically
analyzing source code to identify and extract relevant information to
exploit them in the SB-STDG process could offer more guidance and
thus improve the efficiency and effectiveness of SB-STDG. To extract
information relevant for SB-STDG guidance, we statically analyze the
internal structure of the source code focusing on six features, i.e.,
constants, conditional statements, arguments, data members, methods,
and relationships. Focusing on these features and using different
existing techniques of static analysis, i.e., constraints programming
(CP), schema theory, and some lightweight static analyses, we propose
four approaches: (1) focusing on arguments and conditional
statements, we define a hybrid approach that uses CP techniques to
guide SB-STDG in reducing its search space; (2) focusing on
conditional statements and using CP techniques, we define two new
metrics that measure the difficulty to satisfy a branch, hence we
derive two new fitness functions to guide SB-STDG; (3) focusing on
conditional statements and using schema theory, we tailor genetic
algorithm to better fit the problem of test-data generation; (4)
focusing on arguments, conditional statements, constants, data
members, methods, and relationships, and using lightweight static
analyses, we define an instance generator that generates relevant
test-data candidates and a new representation of the problem of
object-oriented test-data generation that implicitly reduces the
SB-STDG search space. We show that using static analyses improve the
SB-STDG efficiency and effectiveness. The achieved results in this
dissertation show an important improvements in terms of effectiveness
and efficiency. They are promising and we hope that further research
in the field of test-data generation might improve efficiency or
effectiveness.}
}
Downloads: 0
{"_id":"bPgCCJ5wkhWuxagW6","bibbaseid":"sakti-automatictestdatagenerationusingconstraintprogrammingandsearchbasedsoftwareengineeringtechniques-2014","downloads":0,"creationDate":"2018-02-22T19:07:02.708Z","title":"Automatic Test Data Generation using Constraint Programming and Search Based Software Engineering Techniques","author_short":["Sakti, A."],"year":2014,"bibtype":"phdthesis","biburl":"http://ptidej.polymtl.ca/yann-gael/Work/Publications/Biblio/complete-bibliography.bib?","bibdata":{"bibtype":"phdthesis","type":"phdthesis","author":[{"firstnames":["Abdelilah"],"propositions":[],"lastnames":["Sakti"],"suffixes":[]}],"school":"Polytechnique Montr�al","title":"Automatic Test Data Generation using Constraint Programming and Search Based Software Engineering Techniques","year":"2014","optaddress":"","month":"December","note":"174 pages.","opttype":"","keywords":"Test case generation","url":"http://www.ptidej.net/publications/documents/Thesis+of+Abdelilah+Sakti.doc.pdf","pdf":"http://www.ptidej.net/publications/documents/Thesis+of+Abdelilah+Sakti.ppt.pdf","abstract":"Proving that some software system corresponds to its specification or revealing hidden errors in its implementation is a time consuming and tedious testing process, accounting for 50% of the total software. Test-data generation is one of the most expensive parts of the software testing phase. Therefore, automating this task can significantly reduce software cost, development time, and time to market. Many researchers have proposed automated approaches to generate test data. Among the proposed approaches, the literature showed that Search-Based Software Test-data Generation (SB-STDG) techniques can automatically generate test data. However, these techniques are very sensitive to their guidance which impact the whole test-data generation process. The insufficiency of information relevant about the test-data generation problem can weaken the SB-STDG guidance and negatively affect its efficiency and effectiveness. In this dissertation, our thesis is statically analyzing source code to identify and extract relevant information to exploit them in the SB-STDG process could offer more guidance and thus improve the efficiency and effectiveness of SB-STDG. To extract information relevant for SB-STDG guidance, we statically analyze the internal structure of the source code focusing on six features, i.e., constants, conditional statements, arguments, data members, methods, and relationships. Focusing on these features and using different existing techniques of static analysis, i.e., constraints programming (CP), schema theory, and some lightweight static analyses, we propose four approaches: (1) focusing on arguments and conditional statements, we define a hybrid approach that uses CP techniques to guide SB-STDG in reducing its search space; (2) focusing on conditional statements and using CP techniques, we define two new metrics that measure the difficulty to satisfy a branch, hence we derive two new fitness functions to guide SB-STDG; (3) focusing on conditional statements and using schema theory, we tailor genetic algorithm to better fit the problem of test-data generation; (4) focusing on arguments, conditional statements, constants, data members, methods, and relationships, and using lightweight static analyses, we define an instance generator that generates relevant test-data candidates and a new representation of the problem of object-oriented test-data generation that implicitly reduces the SB-STDG search space. We show that using static analyses improve the SB-STDG efficiency and effectiveness. The achieved results in this dissertation show an important improvements in terms of effectiveness and efficiency. They are promising and we hope that further research in the field of test-data generation might improve efficiency or effectiveness.","bibtex":"@PHDTHESIS{Sakti14-PhD,\r\n AUTHOR = {Abdelilah Sakti},\r\n SCHOOL = {Polytechnique Montr�al},\r\n TITLE = {Automatic Test Data Generation using Constraint \r\n Programming and Search Based Software Engineering Techniques},\r\n YEAR = {2014},\r\n OPTADDRESS = {},\r\n MONTH = {December},\r\n NOTE = {174 pages.},\r\n OPTTYPE = {},\r\n KEYWORDS = {Test case generation},\r\n URL = {http://www.ptidej.net/publications/documents/Thesis+of+Abdelilah+Sakti.doc.pdf},\r\n PDF = {http://www.ptidej.net/publications/documents/Thesis+of+Abdelilah+Sakti.ppt.pdf},\r\n ABSTRACT = {Proving that some software system corresponds to its \r\n specification or revealing hidden errors in its implementation is a \r\n time consuming and tedious testing process, accounting for 50\\% of \r\n the total software. Test-data generation is one of the most expensive \r\n parts of the software testing phase. Therefore, automating this task \r\n can significantly reduce software cost, development time, and time to \r\n market. Many researchers have proposed automated approaches to \r\n generate test data. Among the proposed approaches, the literature \r\n showed that Search-Based Software Test-data Generation (SB-STDG) \r\n techniques can automatically generate test data. However, these \r\n techniques are very sensitive to their guidance which impact the \r\n whole test-data generation process. The insufficiency of information \r\n relevant about the test-data generation problem can weaken the \r\n SB-STDG guidance and negatively affect its efficiency and \r\n effectiveness. In this dissertation, our thesis is statically \r\n analyzing source code to identify and extract relevant information to \r\n exploit them in the SB-STDG process could offer more guidance and \r\n thus improve the efficiency and effectiveness of SB-STDG. To extract \r\n information relevant for SB-STDG guidance, we statically analyze the \r\n internal structure of the source code focusing on six features, i.e., \r\n constants, conditional statements, arguments, data members, methods, \r\n and relationships. Focusing on these features and using different \r\n existing techniques of static analysis, i.e., constraints programming \r\n (CP), schema theory, and some lightweight static analyses, we propose \r\n four approaches: (1) focusing on arguments and conditional \r\n statements, we define a hybrid approach that uses CP techniques to \r\n guide SB-STDG in reducing its search space; (2) focusing on \r\n conditional statements and using CP techniques, we define two new \r\n metrics that measure the difficulty to satisfy a branch, hence we \r\n derive two new fitness functions to guide SB-STDG; (3) focusing on \r\n conditional statements and using schema theory, we tailor genetic \r\n algorithm to better fit the problem of test-data generation; (4) \r\n focusing on arguments, conditional statements, constants, data \r\n members, methods, and relationships, and using lightweight static \r\n analyses, we define an instance generator that generates relevant \r\n test-data candidates and a new representation of the problem of \r\n object-oriented test-data generation that implicitly reduces the \r\n SB-STDG search space. We show that using static analyses improve the \r\n SB-STDG efficiency and effectiveness. The achieved results in this \r\n dissertation show an important improvements in terms of effectiveness \r\n and efficiency. They are promising and we hope that further research \r\n in the field of test-data generation might improve efficiency or \r\n effectiveness.}\r\n}\r\n\r\n","author_short":["Sakti, A."],"key":"Sakti14-PhD","id":"Sakti14-PhD","bibbaseid":"sakti-automatictestdatagenerationusingconstraintprogrammingandsearchbasedsoftwareengineeringtechniques-2014","role":"author","urls":{"Paper":"http://www.ptidej.net/publications/documents/Thesis+of+Abdelilah+Sakti.doc.pdf"},"keyword":["Test case generation"],"downloads":0},"search_terms":["automatic","test","data","generation","using","constraint","programming","search","based","software","engineering","techniques","sakti"],"keywords":["test case generation"],"authorIDs":[],"dataSources":["ascnA6qYXirdFSqqy"]}