...
首页> 外文期刊>Computer Languages, Systems & Structures >A semantic approach for automated test oracle generation
【24h】

A semantic approach for automated test oracle generation

机译:用于自动生成测试Oracle的语义方法

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

摘要

This paper presents the design, implementation, and applications of a software testing tool, TAO, which allows users to specify and generate test cases and oracles in a declarative way. Extended from its previous grammar-based test generation tool, TAO provides a declarative notation for defining denotational semantics on each productive grammar rule, such that when a test case is generated, its expected semantics will be evaluated automatically as well, serving as its test oracle. TAO further provides a simple tagging mechanism to embed oracles into test cases for bridging the automation between test case generation and software testing. Two practical case studies are used to illustrate how automated oracle generation can be effectively integrated with grammar-based test generation in different testing scenarios: locating fault-inducing input patterns on Java applications; and Selenium-based automated web testing. (C) 2016 Elsevier Ltd. All rights reserved.
机译:本文介绍了软件测试工具TAO的设计,实现和应用,它允许用户以声明的方式指定和生成测试用例和预言。从以前的基于语法的测试生成工具扩展而来,TAO提供了一种声明性符号,用于定义每个生产性语法规则上的指称语义,以便在生成测试用例时,也会自动评估其预期的语义,并充当其测试Oracle。 。 TAO还提供了一种简单的标记机制,可以将oracle嵌入到测试用例中,以桥接测试用例生成和软件测试之间的自动化。通过两个实际案例研究来说明如何在不同的测试场景中将自动Oracle生成与基于语法的测试生成有效地集成在一起:在Java应用程序上定位引起错误的输入模式;以及基于硒的自动化网络测试。 (C)2016 Elsevier Ltd.保留所有权利。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号