Proceedings of the 2004 ACM SIGSOFT International Symposium on Software Testing and Analysis 2004
DOI: 10.1145/1007512.1007526
|View full text |Cite
|
Sign up to set email alerts
|

Test input generation with java PathFinder

Abstract: 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… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2
1

Citation Types

0
273
0
3

Year Published

2008
2008
2018
2018

Publication Types

Select...
7
2

Relationship

0
9

Authors

Journals

citations
Cited by 373 publications
(278 citation statements)
references
References 65 publications
0
273
0
3
Order By: Relevance
“…The empirical evidence on research in this area often focuses on container classes [4,5,6,7,10,12,14,17,19,22,23,26,27,29,30,31,33,34]-containers are an important part of many standard libraries, and bugs in these containers could significantly affect applications, so directing testing efforts to these containers is worthwhile. Testing containers is not only important but also challenging to achieve with some advanced testing technique such as those based on symbolic execution [30].…”
Section: Introductionmentioning
confidence: 99%
“…The empirical evidence on research in this area often focuses on container classes [4,5,6,7,10,12,14,17,19,22,23,26,27,29,30,31,33,34]-containers are an important part of many standard libraries, and bugs in these containers could significantly affect applications, so directing testing efforts to these containers is worthwhile. Testing containers is not only important but also challenging to achieve with some advanced testing technique such as those based on symbolic execution [30].…”
Section: Introductionmentioning
confidence: 99%
“…Existing model-checking technology has been applied to test-case generation in a number of other projects, such as Java PathFinder [28] or SAL2 [15]. Recently, model checking and testing were given a more uniform view, combining over-approximating and under-approximating analyses [14] and using interpolation [24].…”
Section: Related Workmentioning
confidence: 99%
“…Static analysis of the control flow graph is perhaps the oldest, and best known, approach to identify such paths. Recent tools adopting this approach are Java PathFinder (Visser et al, 2004), Exe (Cadar et al, 2006), and Klee (Cadar et al, 2008). …”
Section: Related Workmentioning
confidence: 99%
“…The problem of generating test cases that increase code coverage is being recently tackled by approaches that generate test cases using symbolic and concolic (that is, interwoven concrete and symbolic) execution (Visser et al, 2004;Godefroid et al, 2005;Sen et al, 2005). These approaches explore the executable space of a program, typically in depth-first order, and generate test cases accordingly.…”
Section: Introductionmentioning
confidence: 99%