• DocumentCode
    2603308
  • Title

    Model-based automatic test generation for Simulink/Stateflow using extended finite automaton

  • Author

    Li, Meng ; Kumar, Ratnesh

  • Author_Institution
    Dept. of Electr. & Comput. Eng., Iowa State Univ., Ames, IA, USA
  • fYear
    2012
  • fDate
    20-24 Aug. 2012
  • Firstpage
    857
  • Lastpage
    862
  • Abstract
    Simulink/Stateflow is a popular commercial model-based development tool for many industrial domains. For safety and security concerns, verification and testing must be performed on the Simulink/Stateflow designs and the generated code. In this paper, we present an automatic test generation approach for Simulink/Stateflow based on its translation to Input/Output Extended Finite Automata (I/O-EFA) that we have developed in our prior works. The test generation problem requires identifying the executable paths of the I/O-EFA model and also generating a test input for those paths. Note in order to execute a path, a certain sequence of other paths must be executed first, which we automatically identify. The approach is implemented by applying two different techniques, model checking and constraint solving. Both test generation implementations are validated by a case study. The results show that both implementations can generate test cases as expected and the implementation based on constraint solving is in general faster.
  • Keywords
    constraint handling; digital simulation; finite automata; formal verification; program testing; IO-EFA model; Simulink-stateflow; commercial model-based development tool; constraint solving; extended finite automaton; industrial domains; input-output extended finite automata; model checking; model-based automatic test generation; test generation implementations; Analytical models; Automata; Computational modeling; Generators; Mathematical model; Radiation detectors; Software packages;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Automation Science and Engineering (CASE), 2012 IEEE International Conference on
  • Conference_Location
    Seoul
  • ISSN
    2161-8070
  • Print_ISBN
    978-1-4673-0429-0
  • Type

    conf

  • DOI
    10.1109/CoASE.2012.6386487
  • Filename
    6386487