跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:1606.04682 (cs)
[提交于 2016年6月15日]

标题:TUnit - Unit Testing For Template-based Code Generators

作者:Carsten Kolassa, Markus Look, Klaus Müller, Alexander Roth, Dirk Reiß, Bernhard Rumpe
查看论文《TUnit - Unit Testing For Template-based Code Generators》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Template-based code generator development as part of model-drivendevelopment (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 orchanged 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.
评论: 16 pages, 8 figures, Modellierung 2016 Conference
主题: 软件工程 (cs.SE)
引用方式: arXiv:1606.04682 [cs.SE]
  (或者 arXiv:1606.04682v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.1606.04682

提交历史

来自:Bernhard Rumpe
[v1] 2016年6月15日 星期三 08:57:40 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2016-06
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站