Validating, verifying and testing timed data-flow reactive systems in Coq from controlled natural-language requirements

被引:2
|
作者
Carvalho, Gustavo [1 ]
Meira, Igor [1 ]
机构
[1] Univ Fed Pernambuco, Ctr Informat, BR-50740560 Recife, PE, Brazil
关键词
Timed data-flow reactive system; Interactive theorem proving; Property-based testing; Controlled natural language; GENERATION;
D O I
10.1016/j.scico.2020.102537
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Data-flow reactive systems (DFRSs) form a class of embedded systems whose inputs and outputs are always available as signals. Input signals can be seen as data provided by sensors, whereas the output data are provided to system actuators. In previous works, verifying well-formedness properties of DFRS models was accomplished in a programmatic way, with no formal guarantees, and test cases were generated by translating these models into other notations. Here, we use Coq as a single framework to specify, validate and verify DFRS models. Moreover, the specification of DFRSs in Coq is automatically derived from controlled natural-language requirements, and well-formedness properties are formally verified with no user intervention. System validation is supported by bounded exploration of models; general and domain-specific system property verification is supported by the development of proof scripts, and test generation is achieved with the aid of the QuickChick tool. Considering examples from the literature, but also from the aerospace (Embraer) and the automotive (Mercedes) industries, our automatic testing strategy was evaluated in terms of performance and the ability to detect defects generated by mutation. Within seconds, test cases were generated automatically from the requirements, achieving an average mutation score of about 75%. (C) 2020 Elsevier B.V. All rights reserved.
引用
收藏
页数:29
相关论文
共 7 条
  • [1] Modelling timed reactive systems from natural-language requirements
    Carvalho, Gustavo
    Cavalcanti, Ana
    Sampaio, Augusto
    FORMAL ASPECTS OF COMPUTING, 2016, 28 (05) : 725 - 765
  • [2] A Formal Model for Natural-Language Timed Requirements of Reactive Systems
    Carvalho, Gustavo
    Carvalho, Ana
    Rocha, Eduardo
    Cavalcanti, Ana
    Sampaio, Augusto
    FORMAL METHODS AND SOFTWARE ENGINEERING, ICFEM 2014, 2014, 8829 : 43 - 58
  • [3] Simulation of Hybrid Systems from Natural-Language Requirements
    Oliveira, Bruno
    Carvalho, Gustavo
    Mousavi, Mohammad Reza
    Sampaio, Augusto
    2017 13TH IEEE CONFERENCE ON AUTOMATION SCIENCE AND ENGINEERING (CASE), 2017, : 1320 - 1325
  • [4] Extracting Requirements Models from Natural-Language Document for Embedded Systems
    Wang, Chunhui
    Hou, Lu
    Chen, Xiaohong
    2022 IEEE 30TH INTERNATIONAL REQUIREMENTS ENGINEERING CONFERENCE WORKSHOPS (REW), 2022, : 18 - 21
  • [5] PROGRAMMING AND VERIFYING REAL-TIME SYSTEMS BY MEANS OF THE SYNCHRONOUS DATA-FLOW LANGUAGE LUSTER
    HALBWACHS, N
    LAGNIER, F
    RATEL, C
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1992, 18 (09) : 785 - 793
  • [6] CPN simulation-based test case generation from controlled natural-language requirements
    Silva, Bruno Cesar E.
    Carvalho, Gustavo
    Sampaio, Augusto
    SCIENCE OF COMPUTER PROGRAMMING, 2019, 181 : 111 - 139
  • [7] Generating Test Cases for Timed Systems from Controlled Natural Language Specifications
    Schnelte, Matthias
    2009 THIRD IEEE INTERNATIONAL CONFERENCE ON SECURE SOFTWARE INTEGRATION AND RELIABILITY IMPROVEMENT, PROCEEDINGS, 2009, : 348 - 353