Show simple item record

dc.contributor.authorKolassa, Carsten
dc.contributor.authorLook, Markus
dc.contributor.authorMüller, Klaus
dc.contributor.authorRoth, Alexander
dc.contributor.authorReiß, Dirk
dc.contributor.authorRumpe, Bernhard
dc.contributor.editorOberweis, Andreas
dc.contributor.editorReussner, Ralf
dc.date.accessioned2017-06-21T07:40:52Z
dc.date.available2017-06-21T07:40:52Z
dc.date.issued2016
dc.identifier.isbn978-3-88579-648-0
dc.identifier.issn1617-5468
dc.description.abstractTemplate-based code generator development as part of model-driven development (MDD) demands for strong mechanisms and tools that support developers to improve robustness, i.e., the desired code is generated for the specified inputs. Although different testing methods have been proposed, a method for testing only parts of template-based code generators that can be employed in the early stage of development is lacking. Thus, in this paper we present an approach and an implementation based on JUnit to test template-based code generators. Rather than testing a complete code generator, it facilitates partial testing by supporting the execution of templates with a mocked environment. This eases testing of code generators in early stages of development as well as testing new or changed parts of a code generator. To test the source code generated by the templates under test, different methods are presented including string comparisons, API-based assertions, and abstract syntax tree based assertions.en
dc.language.isoen
dc.publisherGesellschaft für Informatik e.V.
dc.relation.ispartofModellierung 2016
dc.relation.ispartofseriesLecture Notes in Informatics (LNI) - Proceedings, Volume P-254
dc.titleTunit - unit testing for template-based code generatorsen
dc.typeText/Conference Paper
dc.pubPlaceBonn
mci.reference.pages221-236
mci.conference.locationKarlsruhe
mci.conference.date2.-4. März 2016


Files in this item

Thumbnail

Show simple item record