Publication Type
Conference Proceeding Article
Version
acceptedVersion
Publication Date
8-2019
Abstract
Automated test case generation is attractive as it can reduce developer workload. To generate test cases, many Symbolic Execution approaches first produce Path Conditions (PCs), a set of constraints, and pass them to a Satisfiability Modulo Theories (SMT) solver. Despite numerous prior studies, automated test case generation by Symbolic Execution is still slow, partly due to SMT solvers’ high computationally complexity. We introduce InSPeCT, a Path Condition solver, that leverages elements of ILS (Iterated Local Search) and Tabu List. ILS is not computational intensive and focuses on generating solutions in search spaces while Tabu List prevents the use of previously generated infeasible solutions. InSPeCT is evaluated against two state-of-the-art solvers, MLB and Z3, on ten Java subject programs of varying size and complexity. The results show that InSPeCT is able to solve 16% more PCs than MLB and 41% more PCs than Z3. On average, it is 103 and 5 times faster than Z3 and MLB, respectively. It also generates tests with higher test coverage than both MLB and Z3.
Keywords
Iterated Local search, Path condition, Automated test case generation, Infeasible solutions
Discipline
Computer Sciences | Databases and Information Systems | Theory and Algorithms
Research Areas
Data Science and Engineering
Publication
2019 15th IEEE International Conference on Automation Science and Engineering (CASE): Vancouver, August 22-26: Proceedings
First Page
1724
Last Page
1729
ISBN
9781728103556
Identifier
10.1109/COASE.2019.8843039
Publisher
IEEE
City or Country
Piscataway, NJ
Citation
CHEN, Fuxiang; GUNAWAN, Aldy; LO, David; and KIM, Sunghun.
InSPeCT: Iterated local search for solving path conditions. (2019). 2019 15th IEEE International Conference on Automation Science and Engineering (CASE): Vancouver, August 22-26: Proceedings. 1724-1729.
Available at: https://ink.library.smu.edu.sg/sis_research/4521
Copyright Owner and License
Authors
Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-No Derivative Works 4.0 International License.
Additional URL
https://doi.org/10.1109/COASE.2019.8843039