作者: Johannes Härtel , Lukas Härtel , Ralf Lämmel
DOI: 10.1007/978-3-319-11245-9_19
关键词:
摘要: We describe a method and corresponding tool for grammar-based test-data generation (GBTG). The basic principle is to enumerate test data based on grammatical choices. However, broken down into two phases deal with context-sensitive properties in an efficient convenient manner. first phase enumerates (i.e., parse trees) placeholders. second instantiates the placeholders through post-processors. A DSL grammar transformation used customize given grammar, meant parsing, be more suitable generation. Post-processors are derived from object-oriented framework. actual tool, Xtextgen, extends theXtext technology language development.