We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Computer Science & Information Technology/Test input generation with java PathFinder
PeriodicalsComputer Science & Information Technology

Test input generation with java PathFinder

Checking your access to this record.

Abstract & Overview

We show how model checking and symbolic execution can be used to generate test inputs to achieve structural coverage of code that manipulates complex data structures. We focus on obtaining branch-coverage during unit testing of some of the core methods of the red-black tree implementation in the Java TreeMap library, using the Java PathFinder model checker. Three different test generation techniques will be introduced and compared, namely, straight model checking of the code, model checking used in a black-box fashion to generate all inputs up to a fixed size, and lastly, model checking used during white-box test input generation. The main contribution of this work is to show how efficient white-box test input generation can be done for code manipulating complex data, taking into account complex method preconditions.

Cite this record

Willem Visser, Corina S. Păsăreanu, Sarfraz Khurshid (2004). Test input generation with java PathFinder. ACM SIGSOFT Software Engineering Notes, 29(4), 97–107. https://doi.org/10.1145/1013886.1007526

Copy in another style

Visser, W., Păsăreanu, C. S., & Khurshid, S. (2004). Test input generation with java PathFinder. ACM SIGSOFT Software Engineering Notes, 29(4), 97–107. https://doi.org/10.1145/1013886.1007526
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.