...
【24h】

TSTL: the template scripting testing language

机译:TSTL:模板脚本测试语言

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

摘要

A test harness, in automated test generation, defines the set of valid tests for a system, as well as their correctness properties. The difficulty of writing test harnesses is a major obstacle to the adoption of automated test generation and model checking. Languages for writing test harnesses are usually tied to a particular tool and unfamiliar to programmers, and often limit expressiveness. Writing test harnesses directly in the language of the software under test (SUT) is a tedious, repetitive, and error-prone task, offers little or no support for test case manipulation and debugging, and produces hard-to-read, hard-to-maintain code. Using existing harness languages or writing directly in the language of the SUT also tends to limit users to one algorithm for test generation, with little ability to explore alternative methods. In this paper, we present TSTL, the template scripting testing language, a domain-specific language (DSL) for writing test harnesses. TSTL compiles harness definitions into an interface for testing, making generic test generation and manipulation tools for all SUTs possible. TSTL includes tools for generating, manipulating, and analyzing test cases, including simple model checkers. This paper motivates TSTL via a large-scale testing effort, directed by an end-user, to find faults in the most widely used geographic informa- tion systems tool. This paper emphasizes a new approach to automated testing, where, rather than focus on developing a monolithic tool to extend, the aim is to convert a test harness into a language extension. This approach makes testing not a separate activity to be performed using a tool, but as natural to users of the language of the system under test as is the use of domain-specific libraries such as ArcPy, NumPy, or QIIME, in their domains. TSTL is a language and tool infrastructure, but is also a way to bring testing activities under the control of an existing programming language in a simple, natural way.
机译:在自动测试生成中,测试工具定义了系统的一组有效测试及其正确性。编写测试工具的困难是采用自动测试生成和模型检查的主要障碍。编写测试工具的语言通常与特定工具联系在一起,而程序员对此并不熟悉,并且通常会限制表达能力。直接用被测软件(SUT)的语言编写测试工具是一项繁琐,重复且容易出错的任务,几乎不提供或完全不支持测试用例的操作和调试,并且产生难以理解,难以理解的结果。 -维护代码。使用现有的工具语言或直接用SUT的语言编写文字,也往往会限制用户使用一种算法来生成测试,而几乎没有能力探索其他方法。在本文中,我们介绍了TSTL,模板脚本测试语言,用于编写测试工具的领域特定语言(DSL)。 TSTL将线束定义编译到用于测试的接口中,从而使针对所有SUT的通用测试生成和操作工具成为可能。 TSTL包括用于生成,处理和分析测试用例的工具,包括简单的模型检查器。本文通过在最终用户的指导下进行大规模测试来激发TSTL,以发现使用最广泛的地理信息系统工具中的故障。本文强调了一种自动化测试的新方法,该方法不是将重点放在开发用于扩展的整体工具上,而是将测试工具转换为语言扩展。这种方法使测试不是使用工具执行的单独活动,而是对于被测系统语言的用户来说自然而然,就像在其域中使用特定领域的库(例如ArcPy,NumPy或QIIME)一样。 TSTL是一种语言和工具基础结构,但也是一种以简单自然的方式将测试活动置于现有编程语言的控制之下的方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号