首页> 外文会议>2011 ACM international conference on object oriented programming, systems, languages and applications >Integrated Language Definition Testing: Enabling Test-Driven Language Development
【24h】

Integrated Language Definition Testing: Enabling Test-Driven Language Development

机译:集成语言定义测试:启用测试驱动的语言开发

获取原文
获取原文并翻译 | 示例

摘要

The reliability of compilers, interpreters, and development environments for programming languages is essential for effective software development and maintenance. They are often tested only as an afterthought. Languages with a smaller scope, such as domain-specific languages, often remain untested. General-purpose testing techniques and test case generation methods fall short in providing a low-threshold solution for test-driven language development. In this paper we introduce the notion of a language-parametric testing language (LPTL) that provides a reusable, generic basis for declaratively specifying language definition tests. We integrate the syntax, semantics, and editor services of a language under test into the LPTL for writing test inputs. This paper describes the design of an LPTL and the tool support provided for it, shows use cases using examples, and describes our implementation in the form of the Spoofax testing language.
机译:编程语言的编译器,解释器和开发环境的可靠性对于有效的软件开发和维护至关重要。它们通常仅作为事后检验。范围较小的语言(例如特定领域的语言)通常未经测试。通用测试技术和测试用例生成方法无法为测试驱动的语言开发提供低阈值解决方案。在本文中,我们介绍了一种语言参数测试语言(LPTL)的概念,该语言为以声明方式指定语言定义测试提供了可重用的通用基础。我们将被测语言的语法,语义和编辑器服务集成到LPTL中,以编写测试输入。本文描述了LPTL的设计和为其提供的工具支持,使用示例展示了用例,并以Spoofax测试语言的形式描述了我们的实现。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号