• DocumentCode
    390390
  • Title

    Application of AI planning techniques to automated code synthesis and testing

  • Author

    Yen, I-Ling ; Bastani, Farokh B. ; Mohamed, Fiaz ; Ma, Hui ; Linn, John

  • Author_Institution
    Dept. of Comput. Sci., Texas Univ., Dallas, TX, USA
  • fYear
    2002
  • fDate
    2002
  • Firstpage
    131
  • Lastpage
    137
  • Abstract
    Rapid growth in the demand for embedded systems and the increased complexity of embedded software pose an urgent need for advanced embedded software development techniques. One attractive approach is to enable semi-automated code generation and integration of systems from components. However, the implementation and validation of these systems requires a steep learning curve due to the large number, variety, and complexity of software components. In this paper, we discuss the potential application of AI planning techniques in assisting with the synthesis of glue code for assembling a system from existing components as well as automated testing of the system. The approach works by transforming component specifications into rules that operate on a domain-specific state space. Each rule captures the semantics of a method in a class. The code assembly and testing requirements are described by identifying conditions (goals) that should be achieved. An automated planning system computes a sequence of rules and their instantiations that will achieve the goal state. This sequence is then used to synthesize the code or to generate test cases. The approach is illustrated using an example.
  • Keywords
    automatic testing; computer aided software engineering; embedded systems; object-oriented programming; planning (artificial intelligence); program testing; AI planning techniques; automated code synthesis; automated code testing; component specifications; components; domain-specific state space; embedded software development techniques; embedded systems; glue code; rule sequence; rules; semantics; Application software; Artificial intelligence; Artificial satellites; Automatic testing; Automation; Computer science; Instruments; Read only memory; State-space methods; System testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Tools with Artificial Intelligence, 2002. (ICTAI 2002). Proceedings. 14th IEEE International Conference on
  • ISSN
    1082-3409
  • Print_ISBN
    0-7695-1849-4
  • Type

    conf

  • DOI
    10.1109/TAI.2002.1180797
  • Filename
    1180797