首页> 外文期刊>IEEE Transactions on Emerging Topics in Computational Intelligence >Search-Based Algorithm With Scatter Search Strategy for Automated Test Case Generation of NLP Toolkit
【24h】

Search-Based Algorithm With Scatter Search Strategy for Automated Test Case Generation of NLP Toolkit

机译:基于SIMPTION测试案例生成NLP Toolkit的散点图算法

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

摘要

Natural language processing (NLP), as a theory-motivated computational technique, has extensive applications. Automated test case generation based on path coverage, which is a popular structural testing activity, can automatically reveal logic defects that exist in NLP programs and can save testing consumption. NLP programs have many paths that can only be covered by specific input variables. This feature makes conventional search-based algorithm very difficult covering all possible paths in NLP programs. A strategy is required for improving the search ability of search-based algorithms. In this paper, we propose a scatter search strategy to automatically generate test cases for covering all possible paths of NLP programs. The scatter search strategy empowers search-based algorithms to explore all input variables and cover the paths that require specific input variables within a small amount of test cases. The experiment results show that the proposed scatter search strategy can quickly cover the paths, which requires specific input variables. Many test cases and running time consumptions will be saved when search-based algorithms combine with scatter search strategy.
机译:自然语言处理(NLP)作为理论激励的计算技术,具有广泛的应用。基于路径覆盖的自动测试案例是一种流行的结构测试活动,可以自动揭示NLP程序中存在的逻辑缺陷,可以节省测试消耗。 NLP程序有许多路径,只能由特定输入变量覆盖。此功能使基于传统的搜索算法非常困难地覆盖NLP程序中的所有可能的路径。提高搜索的算法的搜索能力需要一种策略。在本文中,我们提出了一种分散搜索策略,以自动生成测试用例,以涵盖NLP程序的所有可能路径。分散搜索策略赋予基于搜索的算法来探索所有输入变量,并在少量测试用例中覆盖需要特定输入变量的路径。实验结果表明,所提出的散点搜索策略可以快速覆盖所需的路径,这需要特定的输入变量。基于搜索的算法与分散搜索策略组合时,将保存许多测试用例和运行时间消费。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号