Eclat : automatic generation and classification of test inputs

Thesis (S.M.)--Massachusetts Institute of Technology, Dept. of Electrical Engineering and Computer Science, 2005.

Bibliographic Details
Main Author: Pacheco, Carlos, S.M. Massachusetts Institute of Technology
Other Authors: Michael D. Ernst.
Format: Thesis
Language:eng
Published: Massachusetts Institute of Technology 2006
Subjects:
Online Access:http://hdl.handle.net/1721.1/33855
_version_ 1811098220996067328
author Pacheco, Carlos, S.M. Massachusetts Institute of Technology
author2 Michael D. Ernst.
author_facet Michael D. Ernst.
Pacheco, Carlos, S.M. Massachusetts Institute of Technology
author_sort Pacheco, Carlos, S.M. Massachusetts Institute of Technology
collection MIT
description Thesis (S.M.)--Massachusetts Institute of Technology, Dept. of Electrical Engineering and Computer Science, 2005.
first_indexed 2024-09-23T17:11:49Z
format Thesis
id mit-1721.1/33855
institution Massachusetts Institute of Technology
language eng
last_indexed 2024-09-23T17:11:49Z
publishDate 2006
publisher Massachusetts Institute of Technology
record_format dspace
spelling mit-1721.1/338552019-04-12T16:06:02Z Eclat : automatic generation and classification of test inputs Automatic generation and classification of test inputs Pacheco, Carlos, S.M. Massachusetts Institute of Technology Michael D. Ernst. Massachusetts Institute of Technology. Dept. of Electrical Engineering and Computer Science. Massachusetts Institute of Technology. Dept. of Electrical Engineering and Computer Science. Electrical Engineering and Computer Science. Thesis (S.M.)--Massachusetts Institute of Technology, Dept. of Electrical Engineering and Computer Science, 2005. Includes bibliographical references (p. 51-54). This thesis describes a technique that selects, from a large set of test inputs, a small subset likely to reveal faults in the software under test. The technique takes a program or software component, plus a set of correct executions-say, from observations of the software running properly, or from an existing test suite that a user wishes to enhance. The technique first infers an operational model of the software's operation. Then, inputs whose operational pattern of execution differs from the model in specific ways are suggestive of faults. These inputs are further reduced by selecting only one input per operational pattern. The result is a small portion of the original inputs, deemed by the technique as most likely to reveal faults. Thus, the technique can also be seen as an error-detection technique. The thesis describes two additional techniques that complement test input selection. One is a technique for automatically producing an oracle (a set of assertions) for a test input from the operational model, thus transforming the test input into a test case. The other is a classification-guided test input generation technique that also makes use of operational models and patterns. When generating inputs, it filters out code sequences that are unlikely to contribute to legal inputs, improving the efficiency of its search for fault-revealing inputs. (cont.) We have implemented these techniques in the Eclat tool, which generates unit tests for Java classes. Eclat's input is a set of classes to test and an example program execution- say, a passing test suite. Eclat's output is a set of JUnit test cases, each containing a potentially fault-revealing input and a set of assertions at least one of which fails. In our experiments, Eclat successfully generated inputs that exposed fault-revealing behavior; we have used Eclat to reveal real errors in programs. The inputs it selects as fault-revealing are an order of magnitude as likely to reveal a fault as all generated inputs. by Carlos Pacheco. S.M. 2006-08-25T18:51:17Z 2006-08-25T18:51:17Z 2005 2005 Thesis http://hdl.handle.net/1721.1/33855 66277169 eng M.I.T. theses are protected by copyright. They may be viewed from this source for any purpose, but reproduction or distribution in any format is prohibited without written permission. See provided URL for inquiries about permission. http://dspace.mit.edu/handle/1721.1/7582 54 p. 2353622 bytes 2355771 bytes application/pdf application/pdf application/pdf Massachusetts Institute of Technology
spellingShingle Electrical Engineering and Computer Science.
Pacheco, Carlos, S.M. Massachusetts Institute of Technology
Eclat : automatic generation and classification of test inputs
title Eclat : automatic generation and classification of test inputs
title_full Eclat : automatic generation and classification of test inputs
title_fullStr Eclat : automatic generation and classification of test inputs
title_full_unstemmed Eclat : automatic generation and classification of test inputs
title_short Eclat : automatic generation and classification of test inputs
title_sort eclat automatic generation and classification of test inputs
topic Electrical Engineering and Computer Science.
url http://hdl.handle.net/1721.1/33855
work_keys_str_mv AT pachecocarlossmmassachusettsinstituteoftechnology eclatautomaticgenerationandclassificationoftestinputs
AT pachecocarlossmmassachusettsinstituteoftechnology automaticgenerationandclassificationoftestinputs