Help   About ProQuest | 

Dissertations & Theses
The world's most comprehensive collection of dissertations and theses.Learn More...

Citation/Abstract

Print  |  Email  |  Order a Copy  
Enhancing test data generation using constraint programming
by Cortes, Antonio, M.S., The University of Texas at El Paso, 2008, 88 pages; AAT 1453811

Abstract (Summary)

Testing is an important approach to uncover errors in software systems; but, effective testing can be time-consuming, cumbersome, and error-prone when done manually. One way to improve this process is to automate the generation of test data. Random generation of test data is easy to implement; it does not need explicit information about what methods expect, i.e., preconditions; and it can find errors that could be difficult to detect by manually writing test cases. However, it could be hard to generate valid test data when ignoring preconditions. For example, random generation may require a lot of time to produce a test case for a method whose precondition requires integers in a small range.

This work presents the design, implementation, and evaluation of a prototype to boost the performance of random testing for Java classes annotated with the Java Modeling Language--a specification language designed to document the behavior of Java modules. The prototype is based on a tool that performs pure random testing. The prototype guides the generation of values for primitive parameters by translating preconditions into constraint solving problems. Then, a constraint solver is used to find appropriate values for the test data. Experimental evaluation shows that the prototype finds at least the same number of bugs as the original pure-random tool but in much less time.

Indexing (document details)

Advisor:Cheon, Yoonsik
Committee members:Ceberio, Martine,  Tseng, Tzu-Liang
School:The University of Texas at El Paso
Department:Computer Science
School Location:United States -- Texas
Keyword(s):Random testing, Constraint programming, Test data generator, Runtime assertion checking, Preconditions, JML language
Source:MAI 46/06, Dec 2008
Source type:Dissertation
Subjects:Computer science
Publication Number: AAT 1453811
ISBN:9780549588078
Document URL:http://proquest.umi.com/pqdlink?did=1546799941&Fmt=7&clientI d=79356&RQT=309&VName=PQD
ProQuest document ID:1546799941


 

 » Purchase the full text

Dissertations and theses can be purchased in a variety of formats which may include: PDF for web download, softcover, hardcover, or microform. Click the "Order a Copy" button to see the formats available for this item.

Available without purchase:

Preview  Preview

Print  |  Email  |  Order a Copy  
^Back to Top
Copyright © 2009 ProQuest LLC. All rights reserved. Terms and Conditions