首页> 外文会议>IEEE International Conference on Software Testing, Verification and Validation Workshops >Test Case Generation with Regular Expressions and Combinatorial Techniques
【24h】

Test Case Generation with Regular Expressions and Combinatorial Techniques

机译:使用正则表达式和组合技术生成测试用例

获取原文

摘要

A test case describes a specific execution scenario of the system under test (SUT). Its goal is to discover errors by means of its oracle, that emits a pass or fail verdict depending on the SUT behavior. The test case has a sequence of calls to SUT's operations with specific test data, which may come from the application of a combinatorial algorithm. This paper describes a method to describe generic test scenarios by means of regular expressions, whose symbols point to a SUT operation. The tester assigns values to each operation's parameter. A further step expands the regular expression and produces a set of operation sequences, which are then passed to a combinatorial algorithm to generate actual test cases. Regular expressions are annotated with a set of when clauses, that are processed by the combinatorial algorithm to include the oracle in the generated test cases.
机译:测试用例描述了被测系统(SUT)的特定执行方案。其目标是通过其预言机发现错误,该预言机会根据SUT行为发出通过或失败的结论。测试用例通过特定的测试数据对SUT的操作进行了一系列调用,这些调用可能来自组合算法的应用。本文介绍了一种通过正则表达式描述通用测试场景的方法,正则表达式的符号指向SUT操作。测试人员为每个操作的参数分配值。进一步的步骤扩展了正则表达式并生成了一组操作序列,然后将这些操作序列传递给组合算法以生成实际的测试用例。正则表达式由一组when子句注释,该子句由组合算法处理,以将oracle包含在生成的测试用例中。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号