<link rel="stylesheet" href="styles.cf390c6bfbe7555f.css">

Verallgemeinertes Rahmenwerk zur constraintbasierten Testdatenerzeugung aus Programmflussgraphen

dc.contributor.authorGerlich, Ralf
dc.date.accessioned2016-03-15T11:04:19Z
dc.date.available2016-03-15T11:04:19Z
dc.date.created2009
dc.description.abstractWe present a new constraint-based method for generating test data for code-based unit testing. The method allows for the first time to combine strategies of path search on control flow graphs, and introduces new strategies. Annotations on the control flow graph describe the instructions inside the graph nodes and are automatically derived from the code. The path through the unit-under-test is composed recursively from partial paths, independent of the actual order of execution of the path. Performance is increased using structural information from the graphs to avoid selection of infeasible paths. We establish formal operational semantics of annotated control flow graphs. An easy-to-use formal notation for structural test criteria is presented, supporting all classical coverage criteria for unit test and allowing further extensions towards more specific test criteria. Structural information from the control flow graph is used for prediction of control- and data-flow to avoid selection of infeasible paths. We provide a framework of path construction and constraint propagation rules, including recursive path decomposition, forward- and backward-stepping, program state and control flow prediction, which can be combined arbitrarily to a strategy matching the test goal. Test data is selected randomly from the constrained search space. Statistical analysis on possible bias of the method is performed and strategies for bias compensation are proposed. Finally, results from a prototypical implementation for an imperative subset of Java using CHR and Prolog are presented. Several path construction strategies are assessed for their performance, concluding that none of them is optimal, but some of them have clear advantages over others depending on the program-under-test and the test criteria. Experience on CHR practice gained from the implementation is also discussed.
dc.identifier.doihttp://dx.doi.org/10.18725/OPARU-3887
dc.identifier.ppn615944787
dc.identifier.urlhttps://oparu.uni-ulm.de/xmlui/123456789/3914
dc.identifier.urnhttp://nbn-resolving.de/urn:nbn:de:bsz:289-vts-71553
dc.language.isode
dc.publisherUniversität Ulm
dc.rightsStandard (Fassung vom 01.10.2008)
dc.rights.urihttps://oparu.uni-ulm.de/xmlui/license_v2
dc.subjectAutomatisierung
dc.subjectKontrollflussgraph
dc.subjectModultest
dc.subjectNichtausführbare Wege
dc.subjectRahmenwerk
dc.subjectStatistischer Test
dc.subject.ddcDDC 004 / Data processing & computer science
dc.subject.gndCHR <Programmiersprache>
dc.subject.gndConstraint-Programmierung
dc.subject.gndFormale Semantik
dc.subject.gndJava <Programmiersprache>
dc.subject.gndPROLOG <Programmiersprache>
dc.subject.gndTestdaten
dc.subject.gndTesten
dc.subject.gndÜberdeckungstest
dc.subject.lcshConstraint programming (Computer science)
dc.subject.meshSoftware
dc.titleVerallgemeinertes Rahmenwerk zur constraintbasierten Testdatenerzeugung aus Programmflussgraphen
dc.typeDissertation
uulm.affiliationGeneralFakultät für Ingenieurwissenschaften und Informatik
uulm.bibliographieuulm
uulm.categoryPublikationen
uulm.freischaltungVTS2009-12-22T10:33:25Z
uulm.peerReviewnein
uulm.shelfmarkZ: J-H 13.496; W: W-H 11.932
uulm.typeDCMIText
uulm.updateStatusURNurl_update_general
uulm.vtsID7155

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
vts_7155_10060.pdf
Size:
1.82 MB
Format:
Adobe Portable Document Format
Description:
162 Seiten

Collections