TestLocal: just-in-time parametrized testing of local variables
TestLocal: just-in-time parametrized testing of local variables
复制标题
TestLocal:局部变量的即时参数化测试
DOI:
10.1145/3297280.3297613
复制
发表时间:
2019
期刊:
影响因子:
--
通讯作者:
Namin, Akbar Siami
中科院分区:
文献类型:
--
作者:
Heimlich, Marcel;Namin, Akbar Siami
Variables local to methods play an important role in implementing not only the logic of desired algorithms but also the control of global variables. The values of these variables dictate the paths to be taken while executing the program. While testing is an effective way to exercise the programs under test, the values of these local variables determines the reachability of execution paths. Hence, it is possible that these local variables control the execution of the program and thus may result in some paths never to be tested adequately. This paper introduces a methodology and a prototype tool, called"TestLocal", to enable testing of methods by changing the values of local variables at runtime thus enabling traversing the paths that are hard to execute. By changing the values of local variables during the execution, the unexpected paths are intentionally forced to be executed. In comparison with the existing approaches (e.g., Microsoft IntelliTest), the proposed methodology requires little to no modifications to the given code. The novelty of the proposed approach is that it integrates a constraint solver and a debugger to forcefully execute unreachable paths.
登录
查看更多内容
DOI:
--
发表时间:
2010
期刊:
2010 ACM/IEEE 32nd International Conference on Software Engineering
影响因子:
--
作者:
N. Tillmann;J. D. Halleux;Tao Xie
通讯作者:
Tao Xie
影响因子:
0.9
作者:
Xiaozhen Xue;Sima Siami‐Namini;A. Namin
通讯作者:
A. Namin
影响因子:
5.6
作者:
Sartoli, Sara;Namin, Akbar Siami
通讯作者:
Namin, Akbar Siami
DOI:
--
发表时间:
2014
期刊:
International Conference on Machine Learning and Applications
影响因子:
--
作者:
Xiaozhen Xue;Yulei Pang;A. Namin
通讯作者:
A. Namin
DOI:
--
发表时间:
2015
期刊:
2015 IEEE/ACM 37th IEEE International Conference on Software Engineering
影响因子:
--
作者:
Sara Sartoli;A. Namin
通讯作者:
A. Namin