A case study using the round-trip strategy for state-based class testing

G. Antoniol, L. C. Briand, M. Di Penta, Y. Labiche

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

Abstract

A number of strategies have been proposed for state-based class testing. An important proposal made by Chow (1978), that was subsequently adapted by Binder (1999), consists in deriving test sequences covering all round-trip paths in a finite state machine (FSMs). Based on a number of (rather strong) assumptions, and for traditional FSMs, it can be demonstrated that all operation and transfer errors in the implementation can be uncovered. Through experimentation, this paper investigates this strategy when used in the context of UML statecharts. Based on a set of mutation operators proposed for object-oriented code we seed a significant number of faults in an implementation of a specific container class. We then investigate the effectiveness of four test teams at uncovering faults, based on the round-trip path strategy, and analyze the faults that seem to be difficult to detect. Our main conclusion is that the round-trip path strategy is reasonably effective at detecting faults (87% average as opposed to 69% for size-equivalent, random test cases) but that a significant number of faults can only exhibit a high detection probability by augmenting the round-trip strategy with a traditional black-box strategy such as category-partition testing. This increases the number of test cases to run -and therefore the cost of testing- and a cost-benefit analysis weighting the increase of testing effort and the likely gain in fault detection is necessary.

Original languageEnglish
Title of host publicationISSRE 2002 - Proceedings, 13th International Symposium on Software Reliability Engineering
PublisherIEEE Computer Society
Pages269-279
Number of pages11
ISBN (Electronic)0769517633
DOIs
Publication statusPublished - 2002
Externally publishedYes
Event13th International Symposium on Software Reliability Engineering, ISSRE 2002 - Annapolis, United States
Duration: 12 Nov 200215 Nov 2002

Publication series

NameProceedings - International Symposium on Software Reliability Engineering, ISSRE
Volume2002-January
ISSN (Print)1071-9458

Conference

Conference13th International Symposium on Software Reliability Engineering, ISSRE 2002
Country/TerritoryUnited States
CityAnnapolis
Period12/11/0215/11/02

Keywords

  • Automata
  • Computer aided software engineering
  • Containers
  • Costs
  • Fault detection
  • Genetic mutations
  • Proposals
  • Software quality
  • Software testing
  • Unified modeling language

Fingerprint

Dive into the research topics of 'A case study using the round-trip strategy for state-based class testing'. Together they form a unique fingerprint.

Cite this