Interpolated N-Grams for Model Based Testing

被引:16
|
作者
Tonella, Paolo [1 ]
Tiella, Roberto [1 ]
Cu Duy Nguyen [2 ]
机构
[1] Fdn Bruno Kessler, Trento, Italy
[2] Univ Luxembourg, Luxembourg, Luxembourg
关键词
Model based testing; test case generation; N-gram statistics;
D O I
10.1145/2568225.2568242
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Models - in particular finite state machine models - provide an invaluable source of information for the derivation of effective test cases. However, models usually approximate part of the program semantics and capture only some of the relevant dependencies and constraints. As a consequence, some of the test cases that are derived from models are infeasible. In this paper, we propose a method, based on the computation of the N-gram statistics, to increase the likelihood of deriving feasible test cases from a model. Correspondingly, the level of model coverage is also expected to increase, because infeasible test cases do not contribute to coverage. While N-grams do improve existing test case derivation methods, they show limitations when the N-gram statistics is incomplete, which is expected to necessarily occur as N increases. Interpolated N-grams overcome such limitation and show the highest performance of all test case derivation methods compared in this work.
引用
收藏
页码:562 / 572
页数:11
相关论文
共 50 条
  • [1] An improved N-grams based Model for Authorship Attribution
    Boughaci, Dalila
    Benmesbah, Mounir
    Zebiri, Aniss
    [J]. 2019 INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION SCIENCES (ICCIS), 2019, : 70 - 75
  • [2] Contextual Spellchecking Based on N-grams
    Srdic, Ivan
    Gledec, Gordan
    [J]. CENTRAL EUROPEAN CONFERENCE ON INFORMATION AND INTELLIGENT SYSTEMS: PROCEEDINGS ARCHIVE 2017, 2017, : 29 - 33
  • [3] The Distribution of N-Grams
    Leo Egghe
    [J]. Scientometrics, 2000, 47 : 237 - 252
  • [4] Collocations and N-grams
    FREEBURY-JONES, D. A. R. R. E. N.
    [J]. RENAISSANCE AND REFORMATION, 2021, 44 (04) : 210 - 216
  • [5] The distribution of N-grams
    Egghe, L
    [J]. SCIENTOMETRICS, 2000, 47 (02) : 237 - 252
  • [6] Automatic statistical translation based on n-grams
    Oliver, Antonio
    Badia, Toni
    Boleda, Gemma
    Melero, Maite
    [J]. PROCESAMIENTO DEL LENGUAJE NATURAL, 2005, (35): : 77 - 84
  • [7] A Probabilistic Model Based on n-Grams for Bilingual Word Sense Disambiguation
    Vilarino, Darnes
    Pinto, David
    Tovar, Mireya
    Balderas, Carlos
    Beltran, Beatriz
    [J]. ADVANCES IN ARTIFICIAL INTELLIGENCE, MICAI 2010, PT I, 2010, 6437 : 82 - 91
  • [8] IDF for Word N-grams
    Shirakawa, Masumi
    Hara, Takahiro
    Nishio, Shojiro
    [J]. ACM TRANSACTIONS ON INFORMATION SYSTEMS, 2017, 36 (01)
  • [9] A Pseudo-document-based Topical N-grams model for short texts
    Lin, Hao
    Zuo, Yuan
    Liu, Guannan
    Li, Hong
    Wu, Junjie
    Wu, Zhiang
    [J]. WORLD WIDE WEB-INTERNET AND WEB INFORMATION SYSTEMS, 2020, 23 (06): : 3001 - 3023
  • [10] A Pseudo-document-based Topical N-grams model for short texts
    Hao Lin
    Yuan Zuo
    Guannan Liu
    Hong Li
    Junjie Wu
    Zhiang Wu
    [J]. World Wide Web, 2020, 23 : 3001 - 3023