Efficient specification-based testing using incremental techniques
dc.contributor.advisor | Khurshid, Sarfraz | en |
dc.creator | Uzuncaova, Engin | en |
dc.date.accessioned | 2012-10-10T20:40:23Z | en |
dc.date.available | 2012-10-10T20:40:23Z | en |
dc.date.issued | 2008-12 | en |
dc.description | text | en |
dc.description.abstract | As software systems grow in complexity, the need for efficient automated techniques for design, testing and verification becomes more and more critical. Specification-based testing provides an effective approach for checking the correctness of software in general. Constraint-based analysis using specifications enables checking various rich properties by automating generation of test inputs. However, as specifications get more complex, existing analyses face a scalability problem due to state explosion. This dissertation introduces a novel approach to analyze declarative specifications incrementally; presents a constraint prioritization and partitioning methodology to enable efficient incremental analyses; defines a suite of optimizations to improve the analyses further; introduces a novel approach for testing software product lines; and provides an experimental evaluation that shows the feasibility and scalability of the approach. The key insight behind the incremental technique is declarative slicing, which is a new class of optimizations. The optimizations are inspired by traditional program slicing for imperative languages but are applicable to analyzable declarative languages, in general, and Alloy, in particular. We introduce a novel algorithm for slicing declarative models. Given an Alloy model, our fully automatic tool, Kato, partitions the model into a base slice and a derived slice using constraint prioritization. As opposed to the conventional use of the Alloy Analyzer, where models are analyzed as a whole, we perform analysis incrementally, i.e., using several steps. A satisfying solution to the base slice is systematically extended to generate a solution for the entire model, while unsatisfiability of the base implies unsatisfiability of the entire model. We show how our incremental technique enables different analysis tools and solvers to be used in synergy to further optimize our approach. Compared to the conventional use of the Alloy Analyzer, this means even more overall performance enhancements for solving declarative models. Incremental analyses have a natural application in the software product line domain. A product line is a family of programs built from features that are increments in program functionality. Given properties of features as firstorder logic formulas, we automatically generate test inputs for each product in a product line. We show how to map a formula that specifies a feature into a transformation that defines incremental refinement of test suites. Our experiments using different data structure product lines show that our approach can provide an order of magnitude speed-up over conventional techniques. | en |
dc.description.department | Electrical and Computer Engineering | en |
dc.format.medium | electronic | en |
dc.identifier.uri | http://hdl.handle.net/2152/18266 | en |
dc.language.iso | eng | en |
dc.rights | Copyright is held by the author. Presentation of this material on the Libraries' web site by University Libraries, The University of Texas at Austin was made possible under a limited license grant from the author who has retained all copyrights in the works. | en |
dc.subject.lcsh | Computer software--Testing | en |
dc.subject.lcsh | Program transformation (Computer programming) | en |
dc.subject.lcsh | Constrained optimization | en |
dc.subject.lcsh | Declarative programming languages | en |
dc.title | Efficient specification-based testing using incremental techniques | en |
thesis.degree.department | Electrical and Computer Engineering | en |
thesis.degree.discipline | Electrical and Computer Engineering | en |
thesis.degree.grantor | The University of Texas at Austin | en |
thesis.degree.level | Doctoral | en |
thesis.degree.name | Doctor of Philosophy | en |