• DocumentCode
    1634603
  • Title

    Systematic Testing of Reactive Software with Non-Deterministic Events: A Case Study on LG Electric Oven

  • Author

    Yongbae Park ; Shin Hong ; Moonzoo Kim ; Dongju Lee ; Junhee Cho

  • Author_Institution
    CS Dept., KAIST, Daejeon, South Korea
  • Volume
    2
  • fYear
    2015
  • Firstpage
    29
  • Lastpage
    38
  • Abstract
    Most home appliance devices such as electric ovens are reactive systems which repeat receiving a user input/event through an event handler, updating their internal state based on the input, and generating outputs. A challenge to test a reactive program is to check if the program correctly reacts to various non-deterministic sequence of events because an unexpected sequence of events may make the system fail due to the race conditions between the main loop and asynchronous event handlers. Thus, it is important to systematically generate/test various sequences of events by controlling the order of events and relative timing of event occurrences with respect to the main loop execution. In this paper, we report our industrial experience to solve the aforementioned problem by developing a systematic event generation framework based on concolic testing technique. We have applied the framework to a LG electric oven and detected several critical bugs including one that makes the oven ignore user inputs due to the illegal state transition.
  • Keywords
    electrical engineering computing; ovens; program debugging; program testing; LG electric oven; asynchronous event handlers; concolic testing technique; critical bugs; event handler; home appliance devices; illegal state transition; main loop execution; nondeterministic events; nondeterministic events sequence; reactive systems; systematic event generation framework; systematic reactive software testing; user input-event; Computer bugs; Light emitting diodes; Ovens; Probes; Software; Systematics; Testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering (ICSE), 2015 IEEE/ACM 37th IEEE International Conference on
  • Conference_Location
    Florence
  • Type

    conf

  • DOI
    10.1109/ICSE.2015.132
  • Filename
    7202947