首页> 外文期刊>Journal of software maintenance and evolution rsearch and practice >Automated generation of oracled test cases with regular expressions and combinatorial techniques
【24h】

Automated generation of oracled test cases with regular expressions and combinatorial techniques

机译:具有正则表达式和组合技术的自动生成令人讨厌的测试用例

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

摘要

One of the main challenges of software testing research is the automated addition oforacles to the generated test cases: Whereas the automated generation of operationsequences (which is one of the essential components of test cases) is in practice asolved problem, the automated addition of the oracle (another indispensable element)is still an important problem and an open research question. This article proposesan approach to get executable test suites composed by complete test cases(i.e., they include the oracle). The core of the method is based on annotated regularexpressions. The test generation process, which is supported by a tool, follows threesteps: (1) creation of annotated regular expressions, where each regular expressiondescribes a set of sequences of operations to be executed against the system undertest; (2) expansion of the regular expressions to get sequences of operations, whichstill do not have parameter values; and (3) generation of the executable test caseswith oracle. In this third step, each test case is generated with the suitable oracle,depending on the conditions specified in the regular expression.
机译:软件测试研究的主要挑战之一是自动添加令人讨厌的测试用例:而自动化的操作序列(这是测试用例的基本组成部分之一)在实践中解决问题,oracle自动添加(另一个不可或缺的元素)仍然是一个重要的问题和开放的研究问题。本文提出了这篇文章一种通过完整测试用例组成的可执行测试套件的方法(即,它们包括Oracle)。该方法的核心基于注释常规表达。由工具支持的测试生成过程遵循三个步骤:(1)创建注释的正则表达式,其中每个正则表达式描述了一组要对系统执行的一组操作序列测试; (2)扩展正则表达式以获取业务序列,这仍然没有参数值; (3)生成可执行测试用例与甲骨文。在第三步中,每个测试用例都是用合适的oracle生成的,根据正则表达式中指定的条件。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号