On testing of classes in object-oriented programs

  • Authors:
  • Dechang Gu;Yin Zhong;Sarwar Ali

  • Affiliations:
  • Department of Computer Science, School of Engineering, North Carolina A & T State University, Greensboro, NC;Department of Computer Science, School of Engineering, North Carolina A & T State University, Greensboro, NC;Department of Computer Science, School of Engineering, North Carolina A & T State University, Greensboro, NC

  • Venue:
  • CASCON '94 Proceedings of the 1994 conference of the Centre for Advanced Studies on Collaborative research
  • Year:
  • 1994

Quantified Score

Hi-index 0.00

Visualization

Abstract

Object-oriented technology has been widely studied and applied. Substantial research has been carried out in object-oriented analysis, design and programming language. However, relatively little attention has been paid to testing of object-oriented programs. In this paper, we review several techniques proposed in the literature for testing object-oriented software, and investigate the impact of object-oriented approach on the design of testing strategies. In particular, we focus on the test case selection problem in class testing. We observe that an effective test case should consists of a tuple (s, ψ) where s is a class state and ψ a sequence of operations that may be applied to the state. State space analysis and trace analysis techniques are discussed, which may be used to characterize the class state space and the interactions of operations, so that effective test data can be selected.