Investigating the use of analysis contracts to support fault isolation in object oriented code

L. C. Briand, Y. Labiche, H. Sun

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

A number of activities involved in testing software are known to be difficult and time consuming. Among them is the isolation of faults once failures have been detected. In this paper, we investigate how the instrumentation of contracts could address this issue. Contracts are known to be a useful technique to specify the precondition and postcondition of operations and class invariants, thus making the definition of object-oriented analysis or design elements more precise. Our aim in this paper is to reuse and instrument contracts to ease testing. A thorough case study is run where we define contracts, instrument them using a commercial tool, and assess the benefits and limitations of doing so to support the isolation of faults. We then draw practical conclusions regarding the applicability of the approach and its limitations.

Original languageEnglish
Title of host publicationProceedings of the ACM SIGSOFT 2002 International Symposium on Software Testing and Analysis
EditorsP.G. Frankl
PublisherAssociation for Computing Machinery (ACM)
Pages70-80
Number of pages11
ISBN (Print)1581135629, 9781581135626
DOIs
Publication statusPublished - 2002
Externally publishedYes
EventISSTA 02 Proceedings of the ACM SIGSOFT 2002 International Symposium on Software Testing and Analysis - Roma, Italy
Duration: 22 Jul 200224 Jul 2002

Publication series

NameProceedings of the ACM SIGSOFT 2002 International Symposium on Software Testing and Analysis

Conference

ConferenceISSTA 02 Proceedings of the ACM SIGSOFT 2002 International Symposium on Software Testing and Analysis
Country/TerritoryItaly
CityRoma
Period22/07/0224/07/02

Keywords

  • Contracts
  • Object-Oriented Analysis
  • Object-Oriented Testing
  • Testability

Fingerprint

Dive into the research topics of 'Investigating the use of analysis contracts to support fault isolation in object oriented code'. Together they form a unique fingerprint.

Cite this