• DocumentCode
    626393
  • Title

    Search Based Testing of Embedded Systems Implemented in IEC 61131-3: An Industrial Case Study

  • Author

    Doganay, Kivanc ; Bohlin, Markus ; Sellin, Ola

  • Author_Institution
    Swedish Inst. of Comput. Sci., Vasteras, Sweden
  • fYear
    2013
  • fDate
    18-22 March 2013
  • Firstpage
    425
  • Lastpage
    432
  • Abstract
    This paper presents a case study of search-based test generation for embedded system software units developed using the Function Block Diagrams (FBDs), a graphical language in the IEC 61131-3 standard aimed at programmable logic controllers (PLCs). We consider 279 different components from the train control software developed by Bombardier Transportation, a major rail vehicle manufacturer. The software is compiled into C code with a particular structure. We use a modified hill climbing algorithm for generating test data to maximize MC/DC coverage for assignments with logical expressions in the C code, while retaining the semantics of the original FBD implementation. An experimental evaluation for comparing the effectiveness (coverage rate) and the efficiency (required number of executions) of hill climbing algorithm with random testing is presented. The results show that random testing performs well for most units under test, while around 30% of the artifacts significantly benefit from the hill climbing algorithm. Structural properties of the units that affect the performance of hill climbing and random testing are also discussed.
  • Keywords
    IEC standards; embedded systems; program testing; programmable controllers; search problems; Bombardier Transportation; C code; FBD; IEC 61131-3 standard; MC/DC coverage; PLC; embedded system software unit; function block diagram; graphical language; modified hill climbing algorithm; programmable logic controller; random testing; search-based test generation; train control software; IEC standards; Semantics; Software; Software algorithms; Testing; Transportation; control systems; search-based testing; MC/DC; function block diagrams; structural testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Testing, Verification and Validation Workshops (ICSTW), 2013 IEEE Sixth International Conference on
  • Conference_Location
    Luxembourg
  • Print_ISBN
    978-1-4799-1324-4
  • Type

    conf

  • DOI
    10.1109/ICSTW.2013.78
  • Filename
    6571665