A Method for Systematically Generating Tests from Object-Oriented Class Interfaces

This thesis describes the development and evaluation of a manual black-box testing method inspired by Zweben's test adequacy criteria, which apply white-box analogues of all-DU-pairs and all-nodes to a flow graph generated from the black-box specification. The approach described herein generate...

Full description

Bibliographic Details
Main Author: Mungara, Mahesh Babu
Other Authors: Computer Science
Format: Others
Published: Virginia Tech 2011
Subjects:
Online Access:http://hdl.handle.net/10919/9620
http://scholar.lib.vt.edu/theses/available/etd-10252003-144535
id ndltd-VTETD-oai-vtechworks.lib.vt.edu-10919-9620
record_format oai_dc
spelling ndltd-VTETD-oai-vtechworks.lib.vt.edu-10919-96202020-09-29T05:41:30Z A Method for Systematically Generating Tests from Object-Oriented Class Interfaces Mungara, Mahesh Babu Computer Science Edwards, Stephen H. Rosson, Mary Beth Nance, Richard E. all-nodes class Interfaces all-DU-pairs Specification-based Testing This thesis describes the development and evaluation of a manual black-box testing method inspired by Zweben's test adequacy criteria, which apply white-box analogues of all-DU-pairs and all-nodes to a flow graph generated from the black-box specification. The approach described herein generates tests from a matrix representation of a class interface based on the flow graph concept. In this process, separate matrices for all-DU-pairs and all-nodes guide the generation of the required tests. The primary goal of the research is not to optimize the number of tests generated but to describe the process in a user-friendly manner so that practitioners can utilize it directly, quickly, and efficiently for real-world testing purposes. The approach has been evaluated to assess its effectiveness at detecting bugs. Both strategies - all-DU-pairs and all-nodes - were compared against three other testing methods: the commercial white-box testing tool Jtest, Orthogonal Array Testing Strategy (OATS), and test cases generated at random. The five approaches were applied across a sample of eleven java classes selected from java.util.*. Experimental results indicate that the two versions resulting from this research performed on par with or better than their respective equivalent approaches. The all-DU-pairs method performed better than all other approaches except for the random approach, with which it compared equally. Experimental evaluation results thus indicate that an automated approach based on the manual method is worth exploring. Master of Science 2011-08-06T14:42:31Z 2011-08-06T14:42:31Z 2003-09-15 2003-10-25 2003-11-19 2003-11-19 Thesis etd-10252003-144535 http://hdl.handle.net/10919/9620 http://scholar.lib.vt.edu/theses/available/etd-10252003-144535 appdx.pdf Thesis.pdf In Copyright http://rightsstatements.org/vocab/InC/1.0/ ETD application/pdf application/pdf Virginia Tech
collection NDLTD
format Others
sources NDLTD
topic all-nodes
class Interfaces
all-DU-pairs
Specification-based Testing
spellingShingle all-nodes
class Interfaces
all-DU-pairs
Specification-based Testing
Mungara, Mahesh Babu
A Method for Systematically Generating Tests from Object-Oriented Class Interfaces
description This thesis describes the development and evaluation of a manual black-box testing method inspired by Zweben's test adequacy criteria, which apply white-box analogues of all-DU-pairs and all-nodes to a flow graph generated from the black-box specification. The approach described herein generates tests from a matrix representation of a class interface based on the flow graph concept. In this process, separate matrices for all-DU-pairs and all-nodes guide the generation of the required tests. The primary goal of the research is not to optimize the number of tests generated but to describe the process in a user-friendly manner so that practitioners can utilize it directly, quickly, and efficiently for real-world testing purposes. The approach has been evaluated to assess its effectiveness at detecting bugs. Both strategies - all-DU-pairs and all-nodes - were compared against three other testing methods: the commercial white-box testing tool Jtest, Orthogonal Array Testing Strategy (OATS), and test cases generated at random. The five approaches were applied across a sample of eleven java classes selected from java.util.*. Experimental results indicate that the two versions resulting from this research performed on par with or better than their respective equivalent approaches. The all-DU-pairs method performed better than all other approaches except for the random approach, with which it compared equally. Experimental evaluation results thus indicate that an automated approach based on the manual method is worth exploring. === Master of Science
author2 Computer Science
author_facet Computer Science
Mungara, Mahesh Babu
author Mungara, Mahesh Babu
author_sort Mungara, Mahesh Babu
title A Method for Systematically Generating Tests from Object-Oriented Class Interfaces
title_short A Method for Systematically Generating Tests from Object-Oriented Class Interfaces
title_full A Method for Systematically Generating Tests from Object-Oriented Class Interfaces
title_fullStr A Method for Systematically Generating Tests from Object-Oriented Class Interfaces
title_full_unstemmed A Method for Systematically Generating Tests from Object-Oriented Class Interfaces
title_sort method for systematically generating tests from object-oriented class interfaces
publisher Virginia Tech
publishDate 2011
url http://hdl.handle.net/10919/9620
http://scholar.lib.vt.edu/theses/available/etd-10252003-144535
work_keys_str_mv AT mungaramaheshbabu amethodforsystematicallygeneratingtestsfromobjectorientedclassinterfaces
AT mungaramaheshbabu methodforsystematicallygeneratingtestsfromobjectorientedclassinterfaces
_version_ 1719345521052614656