【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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号