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 条
  • [31] A practical and complete algorithm for testing real-time systems
    Cardell-Oliver, R
    Glover, T
    FORMAL TECHNIQUES IN REAL-TIME AND FAULT-TOLERANT SYSTEMS, 1998, 1486 : 251 - 261
  • [32] Online testing of real-time systems using UPPAAL
    Larsen, KG
    Mikucionis, M
    Nielsen, B
    FORMAL APPROACHES TO SOFTWARE TESTING, 2005, 3395 : 79 - 94
  • [33] Testing real-time systems using genetic algorithms
    Wegener, J
    Sthamer, H
    Jones, BF
    Eyres, DE
    SOFTWARE QUALITY MANAGEMENT V: THE QUALITY CHALLENGE, 1997, : 259 - 268
  • [34] Two architectures for testing distributed real-time systems
    Siddiquee, Shoukat Hayat
    En-Nouaary, Abdeslam
    Proc. - Int. Conf. Inf. Commun. Technol.: Theory Appl., ICTTA, (3388-3393):
  • [35] FUNDAMENTAL ISSUES IN TESTING DISTRIBUTED REAL-TIME SYSTEMS
    SCHUTZ, W
    REAL-TIME SYSTEMS, 1994, 7 (02) : 129 - 157
  • [36] A rigorous method for testing real-time reactive systems
    Alagar, VS
    Zheng, M
    APSEC 2001: EIGHTH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE, PROCEEDINGS, 2001, : 213 - 220
  • [37] Testing real-time systems using genetic algorithms
    Joachim Wegener
    Harmen Sthamer
    Bryan F. Jones
    David E. Eyres
    Software Quality Journal, 1997, 6 : 127 - 135
  • [38] Stress testing real-time systems with genetic algorithms
    Briand, Lionel C.
    Labiche, Yvan
    Shousha, Marwa
    GECCO 2005: GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE, VOLS 1 AND 2, 2005, : 1021 - 1028
  • [39] Event-Based Real-Time Decomposed Conformance Analysis
    vanden Broucke, Seppe K. L. M.
    Munoz-Gama, Jorge
    Carmona, Josep
    Baesens, Bart
    Vanthienen, Jan
    ON THE MOVE TO MEANINGFUL INTERNET SYSTEMS: OTM 2014 CONFERENCES, 2014, 8841 : 345 - 363
  • [40] Testing real-time systems from compositional symbolic specifications
    Adriana C. Damasceno
    Patricia D. L. Machado
    Wilkerson L. Andrade
    International Journal on Software Tools for Technology Transfer, 2017, 19 : 53 - 71