Journal article icon

Journal article

Query-Driven Program Testing.

Abstract:
We present a new approach to program testing which enables the programmer to specify test suites in terms of a versatile query language. Our query language subsumes standard coverage criteria ranging from simple basic block coverage all the way to predicate complete coverage and multiple condition coverage, but also facilitates on-the-fly requests for test suites specific to the code structure, to external requirements, or to ad hoc needs arising in program understanding/exploration. The query language is supported by a model checking backend which employs the CBMC framework. Our main algorithmic contribution is a method called iterative constraint strengthening which enables us to solve a query for an arbitrary coverage criterion by a single call to the model checker and a novel form of incremental SAT solving: Whenever the SAT solver finds a solution, our algorithm compares this solution against the coverage criterion, and strengthens the clause database with additional clauses which exclude redundant new solutions. We demonstrate the scalability of our approach and its ability to compute compact test suites with experiments involving device drivers, automotive controllers, and open source projects. © 2009 Springer Berlin Heidelberg.

Actions

Access Document

Publisher copy:
10.1007/978-3-540-93900-9_15

Authors

Contributors

Role:
Editor
Role:
Editor


Publisher:
Springer
Journal:
VMCAI More from this journal
Volume:
5403
Pages:
151-166
Publication date:
2009-01-01
DOI:
EISSN:
1611-3349
ISSN:
0302-9743


Language:
English
Pubs id:
pubs:293776
UUID:
uuid:09eb0e75-a804-4991-b809-eef68ec7d897
Local pid:
pubs:293776
Source identifiers:
293776
Deposit date:
2012-12-19
ARK identifier:

Terms of use


Views and Downloads






If you are the owner of this record, you can report an update to it here: Report update to this record

TO TOP