Complete model-based equivalence class testing for nondeterministic systems

被引:22
作者
Huang, Wen-ling [1 ]
Peleska, Jan [1 ]
机构
[1] Univ Bremen, Dept Math & Comp Sci, Bremen, Germany
关键词
Model-based testing; Equivalence class partition testing; Random testing; Kripke structures; Nondeterminism; Complete testing theories;
D O I
10.1007/s00165-016-0402-2
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The main objective of this article is to present a complete finite black-box testing theory for nondeterministic Kripke structureswith possibly infinite input domains, but finite domains for internal state variables and outputs. To this end, an abstraction from Kripke structures of this sub-domain to finite state machines is developed. It is shown that every complete black-box testing theory for (deterministic or nondeterministic) finite state machines in the range of this abstraction induces a complete black-box input equivalence class partition testing (IECPT) theory for the Kripke structures under consideration. Additionally, it is shown that each of these IECPT theories can be combined with random testing, such that a random value is selected from an input equivalence class, whenever a representative from this class is required in a test step. Experiments have shown that this combination increases the test strength of equivalence class tests for systems under test (SUT) outside the fault domain, while we show here that this randomisation preserves the completeness property for SUT inside the domain. The investigations lead to several complete IECPT strategies which, to our best knowledge, were not known before for this sub-domain of Kripke structures. The elaboration and presentation of results is performed on a semantic level, so that the testing theories under consideration can be applied to models presented in any concrete formalism, whose behaviour is reflected by a member of our semantic category.
引用
收藏
页码:335 / 364
页数:30
相关论文
共 37 条
  • [1] An orchestrated survey of methodologies for automated software test case generation
    Anand, Saswat
    Burke, Edmund K.
    Chen, Tsong Yueh
    Clark, John
    Cohen, Myra B.
    Grieskamp, Wolfgang
    Harman, Mark
    Harrold, Mary Jean
    McMinn, Phil
    Bertolino, Antonia
    Li, J. Jenny
    Zhu, Hong
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2013, 86 (08) : 1978 - 2001
  • [2] Braunstein C, 2014, LECT NOTES COMPUT SC, V8829, P380, DOI 10.1007/978-3-319-11737-9_25
  • [3] CSP and Kripke Structures
    Cavalcanti, Ana
    Huang, Wen-ling
    Peleska, Jan
    Woodcock, Jim
    [J]. THEORETICAL ASPECTS OF COMPUTING - ICTAC 2015, 2015, 9399 : 505 - 523
  • [4] Testing for refinement in Circus
    Cavalcanti, Ana
    Gaudel, Marie-Claude
    [J]. ACTA INFORMATICA, 2011, 48 (02) : 97 - 147
  • [5] TESTING SOFTWARE DESIGN MODELED BY FINITE-STATE MACHINES
    CHOW, TS
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1978, 4 (03) : 178 - 187
  • [6] Clarke EM, 1999, MODEL CHECKING, P1
  • [7] Diaconescu R., 2008, Institution-independent model theory
  • [8] Dick J., 1993, FME'93: Industrial-Strength Formal Methods. First International Symposium of Formal Methods Europe Proceedings, P268, DOI 10.1007/BFb0024651
  • [9] Frantzen L, 2005, LECT NOTES COMPUT SC, V3395, P1
  • [10] TEST SELECTION BASED ON FINITE STATE MODELS
    FUJIWARA, S
    BOCHMANN, GV
    KHENDEK, F
    AMALOU, M
    GHEDAMSI, A
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1991, 17 (06) : 591 - 603