• Cite Icon52
  • https://doi.org/10.1145/195274.195402Copy DOI Icon

Performing data flow testing on classes

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

The basic unit of testing in an object-oriented program is a class. Although there has been much recent research on testing of classes, most of this work has focused on black-box approaches. However, since black-box testing techniques may not provide sufficient code coverage, they should be augmented with code-based or white-box techniques. Dataflow testing is a code-based testing technique that uses the dataflow relations in a program to guide the selection of tests. Existing dataflow testing techniques can be applied both to individual methods in a class and to methods in a class that interact through messages, but these techniques do not consider the dataflow interactions that arise when users of a class invoke sequences of methods in an arbitrary order. We present a new approach to class testing that supports dataflow testing for dataflow interactions in a class. For individual methods in a class, and methods that send messages to other methods in a the class, our technique is similar to existing dataflow testing techniques. For methods that are accessible outside the class, and can be called in any order by users of the class, we compute dataflow information, and use it to test possible interactions between these methods. The main benefit of our approach is that it facilitates dataflow testing for an entire class. By supporting dataflow testing of classes, we provide opportunities to find errors in classes that may not be uncovered by black-box testing. Our technique is also useful for determining which sequences of methods should be executed to test a class, even in the absence of a specification. Finally, as with other code-based testing techniques, a large portion of our technique can be automated.

Similar Papers
  • Conference Article
  • Citations241

Performing data flow testing on classes

  • Dec 01, 1994
  • Mary Jean Harrold +1
  • Conference Article
  • Citations16

On the Right Objectives of Data Flow Testing

  • Mar 01, 2014
  • Giovanni Denaro +2
  • Research Article
  • Citations7

PRAGMATIC TESTING METHODS FOR EXPERT SYSTEMS

  • Jun 01, 1993
  • International Journal on Artificial Intelligence Tools
  • W.T Tsai +2
  • Research Article
  • Citations6

Analysis of various testing techniques

  • Apr 27, 2013
  • International Journal of System Assurance Engineering and Management
  • Kamaldeep Kaur +2
  • Research Article
  • Citations22

Data flow analysis and testing of JSP-based Web applications

  • Aug 14, 2006
  • Information and Software Technology
  • Chien-Hung Liu
  • Conference Article
  • Citations5

Data flow analysis and testing of Java server pages

  • Sep 28, 2004
  • Chien-Hung Liu
  • Research Article
  • Citations11

Toward an integration of data flow and domain testing

  • Jan 13, 1999
  • The Journal of Systems & Software
  • Bingchiang Jeng
  • Research Article
  • Citations17

Executable EFSM‐based data flow and control flow protocol test sequence generation using reachability analysis

  • Jul 01, 1999
  • Journal of the Chinese Institute of Engineers
  • Chung‐Ming Huang +2
  • Research Article
  • Citations15

Employing data flow testing on object-oriented classes

  • Jan 01, 2001
  • IEE Proceedings - Software
  • B.-Y Tsai +2
  • Conference Article
  • Citations4

A tool for data flow testing using evolutionary approaches (ETODF)

  • Dec 01, 2013
  • Shaukat Ali Khan +1
  • Conference Article
  • Citations27

A demand-driven analyzer for data flow testing at the integration level

  • May 01, 1996
  • Evelyn Duesterwald +2
  • Research Article
  • Citations130

Software testing and quality assurance: theory and practice

  • Feb 01, 2009
  • Choice Reviews Online
  • Kshirasagar Naik +1
  • Book Chapter
  • Citations4

Applying Evolutionary Approaches to Data Flow Testing at Unit Level

  • Jan 01, 2011
  • Shaukat Ali Khan +1
  • Conference Article
  • Citations2

Data Flow Testing for PLC Programs via Dynamic Symbolic Execution

  • Dec 01, 2021
  • Weigang He +4
  • Conference Article
  • Citations81

Object-based data flow testing of web applications

  • Nov 08, 2002
  • Chien-Hung Liu +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.