Loading…

On the use of a similarity function for test case selection in the context of model-based testing

Test case selection in model‐based testing is discussed focusing on the use of a similarity function. Automatically generated test suites usually have redundant test cases. The reason is that test generation algorithms are usually based on structural coverage criteria that are applied exhaustively....

Full description

Saved in:
Bibliographic Details
Published in:Software testing, verification & reliability verification & reliability, 2011-06, Vol.21 (2), p.75-100
Main Authors: Cartaxo, Emanuela G., Machado, Patrícia D. L., Neto, Francisco G. Oliveira
Format: Article
Language:English
Subjects:
Citations: Items that this one cites
Items that cite this one
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:Test case selection in model‐based testing is discussed focusing on the use of a similarity function. Automatically generated test suites usually have redundant test cases. The reason is that test generation algorithms are usually based on structural coverage criteria that are applied exhaustively. These criteria may not be helpful to detect redundant test cases as well as the suites are usually impractical due to the huge number of test cases that can be generated. Both problems are addressed by applying a similarity function. The idea is to keep in the suite the less similar test cases according to a goal that is defined in terms of the intended size of the test suite. The strategy presented is compared with random selection by considering transition‐based and fault‐based coverage. The results show that, in most of the cases, similarity‐based selection can be more effective than random selection when applied to automatically generated test suites. Copyright © 2009 John Wiley & Sons, Ltd. The main objective of this paper is to present a strategy to select the most different test cases of a test suite based on similarity function. The similarity‐based strategy was compared to random selection by considering transition‐based and fault‐based coverage. The results revealed that, in the most of the test cases, similarity‐based selection can be more effective than random selection when applied to automatically generated test suites. Copyright © 2009 John Wiley & Sons, Ltd.
ISSN:0960-0833
1099-1689
DOI:10.1002/stvr.413