【24h】

A Little Language for Testing

机译:一点测试语言

获取原文

摘要

The difficulty of writing test harnesses is a major obstacle to the adoption of automated testing and model checking. Languages designed for harness definition are usually tied to a particular tool and unfamiliar to programmers;moreover, such languages can limit expressiveness. Writing a harness directly in the language of the software under test (SUT) makes it hard to change testing algorithms, offers no support for the common testing idioms, and tends to produce repetitive, hard-to-read code. This makes harness generation a natural fit for the use of an unusual kind of domain-specific language (DSL). This paper defines a template scripting testing language, TSTL, and shows how it can be used to produce succinct, readable definitions of state spaces. The concepts underlying TSTL are demonstrated in Python but are not tied to it.
机译:编写测试工具的困难是采用自动测试和模型检查的主要障碍。为线束定义而设计的语言通常与特定工具相关联,而程序员并不熟悉;此外,此类语言可能会限制表达能力。直接用被测软件(SUT)的语言编写工具,很难更改测试算法,不支持常见的测试习惯,并且往往会产生重复的,难以阅读的代码。这使得线束生成自然适合使用一种特殊的领域特定语言(DSL)。本文定义了模板脚本测试语言TSTL,并展示了如何使用它来生成简洁明了的状态空间定义。 TSTL的基本概念已在Python中进行了演示,但并不与之相关。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号