首页> 外文会议>12th International Conference on Quality Software. >Function Substitution: Towards Constraint Solving in Software Testing
【24h】

Function Substitution: Towards Constraint Solving in Software Testing

机译:功能替代:寻求软件测试中的约束解决方案

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

摘要

Constraint solving is a fundamental tenet of most test case generation strategies. However, conventional constraint solving methods were not designed in consideration of that aspect of test case generation. It has led to a situation where test case generation techniques can miss test cases when constraints contain function invocations. This is due to the fact that, when solving constraints to generate test cases, function invocations are not effectively handled and, as a result, solutions to some constraints are not found even though they do exist. This problem occurs in both specification-based and code-based testing. To address the problem, this paper presents a function substitution method that transforms test case constraints that contain certain types of functions into equivalent constraints that do not contain those functions. The transformation preserves the solution space and avoids missed test cases. As a result, the completeness of test case generation can be improved.
机译:约束解决是大多数测试用例生成策略的基本原则。但是,传统的约束求解方法并未考虑到测试用例生成的这一方面。这就导致了这样一种情况,即当约束包含函数调用时,测试用例生成技术可能会错过测试用例。这是由于以下事实:在解决约束以生成测试用例时,不能有效地处理函数调用,结果,即使存在某些约束,也找不到解决方案。在基于规范和基于代码的测试中都会发生此问题。为了解决该问题,本文提出了一种函数替换方法,该方法将包含某些类型的函数的测试用例约束转换为不包含这些函数的等效约束。转换保留了解决方案空间并避免了测试用例的遗漏。结果,可以提高测试用例生成的完整性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号