首页> 外国专利> Dynamically configurable test doubles for software testing and validation

Dynamically configurable test doubles for software testing and validation

机译:动态可配置的测试加倍,用于软件测试和验证

摘要

Method for generating dynamically configurable test doubles for software testing includes: detecting functions or methods invocations in a source code under test; collecting information about parameters and return types of one or more of original functions and original methods that are invoked by the source code under test, generating test doubles using source code with alternative definitions based on collected information; instrumenting the source code under test to replace the calls to one or more of original functions and methods with calls to the generated test doubles; and dynamically configuring runtime behavior of the generated test doubles, where all input parameters and return values of the one or more of original functions and original methods are provided to respective retrieved trigger objects by passing said input parameters and return values as arguments to function calls.
机译:为软件测试生成可动态配置的测试双打的方法包括:在被测试的源代码中检测功能或方法调用;收集与被测试源代码调用的一个或多个原始函数和原始方法的参数和返回类型有关的信息,使用源代码以及基于所收集信息的替代定义来生成测试倍数;检测被测试的源代码,以对生成的测试双打的调用替换对一个或多个原始函数和方法的调用;动态配置生成的测试的运行时性能加倍,其中通过将所述输入参数和返回值作为参数传递给函数调用,将原始函数和原始方法中一个或多个的所有输入参数和返回值提供给相应的检索到的触发对象。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号