Reducing the cost of model-based testing through test case diversity

Hadi Hemmati, Andrea Arcuri, Lionel Briand

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

Abstract

Model-based testing (MBT) suffers from two main problems which in many real world systems make MBT impractical: scalability and automatic oracle generation. When no automated oracle is available, or when testing must be performed on actual hardware or a restricted-access network, for example, only a small set of test cases can be executed and evaluated. However, MBT techniques usually generate large sets of test cases when applied to real systems, regardless of the coverage criteria. Therefore, one needs to select a small enough subset of these test cases that have the highest possible fault revealing power. In this paper, we investigate and compare various techniques for rewarding diversity in the selected test cases as a way to increase the likelihood of fault detection. We use a similarity measure defined on the representation of the test cases and use it in several algorithms that aim at maximizing the diversity of test cases. Using an industrial system with actual faults, we found that rewarding diversity leads to higher fault detection compared to the techniques commonly reported in the literature: coverage-based and random selection. Among the investigated algorithms, diversification using Genetic Algorithms is the most cost-effective technique.

Original languageEnglish
Title of host publicationTesting Software and Systems - 22nd IFIP WG 6.1 International Conference, ICTSS 2010, Proceedings
Pages63-78
Number of pages16
DOIs
Publication statusPublished - 2010
Externally publishedYes
Event22nd IFIP WG 6.1 International Conference on Testing Software and Systems, ICTSS 2010 - Natal, Brazil
Duration: 8 Nov 201010 Nov 2010

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume6435 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference22nd IFIP WG 6.1 International Conference on Testing Software and Systems, ICTSS 2010
Country/TerritoryBrazil
CityNatal
Period8/11/1010/11/10

Keywords

  • Adaptive Random Testing
  • Clustering algorithms
  • Genetic Algorithms
  • Jaccard Index
  • Model-based testing
  • Search-based testing
  • Similarity measure
  • Test case selection
  • UML state machines

Fingerprint

Dive into the research topics of 'Reducing the cost of model-based testing through test case diversity'. Together they form a unique fingerprint.

Cite this