Preprint

An empirical evaluation of data flow testing of Java classes

  • Giovanni Denaro University of Milano-Bicocca, Dipartimento di Informatica, Sistemistica e Comunicazione, Milano, Italy
  • Gorla, Alessandra Facoltà di scienze informatiche, Università della Svizzera italiana, Svizzera
  • Pezzè, Mauro Facoltà di scienze informatiche, Università della Svizzera italiana, Svizzera
    2007

25 p.

English This paper tackles the problem of structural integration testing of stateful classes. Previous work on structural testing of object-oriented software exploits data flow analysis to derive test requirements for class testing and defines contextual def-use associations to characterize inter-method relations. Non-contextual data flow testing of classes works well for unit testing, but not for integration testing, since it misses definitions and uses when properly encapsulated. Contextual data ow analysis approaches investigated so far either do not focus on state dependent behavior, or have limited applicability due to high complexity. This paper proposes an efficient structural technique based on contextual data ow analysis to test state-dependent behavior of classes that aggregate other classes as part of their state.
Language
  • English
Classification
Computer science and technology
License
License undefined
Identifiers
  • RERO DOC 9048
  • ARK ark:/12658/srd1318138
Persistent URL
https://n2t.net/ark:/12658/srd1318138
Statistics

Document views: 40 File downloads:
  • ITR0703.pdf: 59