Conformance testing for real-time systems

被引:101
|
作者
Krichen, Moez [1 ]
Tripakis, Stavros [1 ]
机构
[1] Ctr Equat, Verimag Lab, F-38610 Gieres, France
关键词
Conformance testing; Test generation; Coverage; Partial observability; On-the-fly algorithms; Real-time systems; Timed automata; Specification and verification;
D O I
10.1007/s10703-009-0065-1
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We propose a new framework for black-box conformance testing of real-time systems. The framework is based on the model of partially-observable, non-deterministic timed automata. We argue that partial observability and non-determinism are essential features for ease of modeling, expressiveness and implementability. The framework allows the user to define, through appropriate modeling, assumptions on the environment of the system under test (SUT) as well as on the interface between the tester and the SUT. We consider two types of tests: analog-clock tests and digital-clock tests. Our algorithm for generating analog-clock tests is based on an on-the-fly determinization of the specification automaton during the execution of the test, which in turn relies on reachability computations. The latter can sometimes be costly, thus problematic, since the tester must quickly react to the actions of the system under test. Therefore, we provide techniques which allow analog-clock testers to be represented as deterministic timed automata, thus minimizing the reaction time to a simple state jump. We also provide algorithms for static or on-the-fly generation of digital-clock tests. These tests measure time only with finite-precision digital clocks, another essential condition for implementability. We also propose a technique for location, edge and state coverage of the specification, by reducing the problem to covering a symbolic reachability graph. This avoids having to generate too many tests. We report on a prototype tool called TTG and two case studies: a lighting device and the Bounded Retransmission Protocol. Experimental results obtained by applying TTG on the Bounded Retransmission Protocol show that only a few tests suffice to cover thousands of reachable symbolic states in the specification.
引用
收藏
页码:238 / 304
页数:67
相关论文
共 50 条
  • [41] Testing real-time multi input-output systems
    Briones, LB
    Brinksma, E
    FORMAL METHODS AND SOFTWARE ENGINEERING, PROCEEDINGS, 2005, 3785 : 264 - 279
  • [42] Real-time testing for control and protection systems of HVDC and FACTS
    Zheng, Sanli
    Lei, Xianzhang
    Huang, Mei
    Retzmann, D.
    Diangong Jishu Xuebao/Transactions of China Electrotechnical Society, 2004, 19 (06): : 90 - 94
  • [43] Model-Based Testing of Real-Time Distributed Systems
    Vain, Jueri
    Halling, Evelin
    Kanter, Gert
    Anier, Aivo
    Pal, Deepak
    DATABASES AND INFORMATION SYSTEMS, DB&IS 2016, 2016, 615 : 272 - 286
  • [44] Specification-based testing for real-time reactive systems
    Alagar, VS
    Ormandjieva, O
    Zheng, M
    TECHNOLOGY OF OBJECT-ORIENTED LANGUAGES AND SYSTEMS - TOOLS 34, PROCEEDINGS, 2000, : 25 - 36
  • [45] Integration of functional and timed testing of real-time and concurrent systems
    Kuliamin, VV
    Petrenko, AK
    Pakoulin, NV
    Kossatchev, AS
    Bourdonov, IB
    PERSPECTIVES OF SYSTEM INFORMATICS, 2003, 2890 : 450 - 461
  • [46] An expressive and implementable formal framework for testing real-time systems
    Krichen, M
    Tripakis, S
    TESTING OF COMMUNICATING SYSTEMS, PROCEEDINGS, 2005, 3502 : 209 - 225
  • [47] Testing real-time systems from compositional symbolic specifications
    Damasceno, Adriana C.
    Machado, Patricia D. L.
    Andrade, Wilkerson L.
    INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2017, 19 (01) : 53 - 71
  • [48] Timed Wp-method: Testing real-time systems
    En-Nouaary, A
    Dssouli, R
    Khendek, F
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2002, 28 (11) : 1023 - 1038
  • [49] Specification-based testing of real-time embedded systems
    Núñez, M
    Rodríguez, I
    From Specification to Embedded Systems Application, 2005, 184 : 115 - 124
  • [50] PARAGON: A paradigm for the specification, verification and testing of real-time systems
    BenAbdallah, H
    Clarke, D
    Lee, I
    Sokolsky, O
    1997 IEEE AEROSPACE CONFERENCE PROCEEDINGS, VOL 2, 1997, : 469 - 488