• DocumentCode
    678770
  • Title

    Grammar-based program generation based on model finding

  • Author

    Soeken, Mathias ; Drechsler, Rolf

  • Author_Institution
    Inst. of Comput. Sci., Univ. of Bremen, Bremen, Germany
  • fYear
    2013
  • fDate
    16-18 Dec. 2013
  • Firstpage
    1
  • Lastpage
    5
  • Abstract
    This paper presents an algorithm that generates test programs in order to test programming languages and domain specific languages using formal methods. The novelty of the approach is that it is embedded into a model driven engineering environment and it is described as a model finding problem. The grammar of the language and the respective test programs are represented as meta-models and models, respectively. As a result, model finders are utilized to generate test programs based on user constraints while additionally ensuring embedded constraints of the programmmg languages. An experimental evaluation demonstrates the applicability of the approach.
  • Keywords
    grammars; program testing; programming languages; software engineering; domain specific language testing; formal methods; grammar-based program generation; meta-models; model driven engineering environment; model finding problem; programming language testing; test program generation; user constraints; Context; Data models; Grammar; Mathematical model; Syntactics; Unified modeling language;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Design and Test Symposium (IDT), 2013 8th International
  • Conference_Location
    Marrakesh
  • Type

    conf

  • DOI
    10.1109/IDT.2013.6727084
  • Filename
    6727084