首页> 外文期刊>ACM transactions on autonomous and adaptive systems >Improving the Effectiveness of Testing Pervasive Software via Context Diversity
【24h】

Improving the Effectiveness of Testing Pervasive Software via Context Diversity

机译:通过上下文多样性提高测试普及型软件的有效性

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

摘要

Context-aware pervasive software is responsive to various contexts and their changes. A faulty implementation of the context-aware features may lead to unpredictable behavior with adverse effects. In software testing, one of the most important research issues is to determine the sufficiency of a test suite to verify the software under test. Existing adequacy criteria for testing traditional software, however, have not explored the dimension of serial test inputs and have not considered context changes when constructing test suites. In this article, we define the concept of context diversity to capture the extent of context changes in serial inputs and propose three strategies to study how context diversity may improve the effectiveness of the data-flow testing criteria. Our case study shows that the strategy that uses test cases with higher context diversity can significantly improve the effectiveness of existing data-flow testing criteria for context-aware pervasive software. In addition, test suites with higher context diversity are found to execute significantly longer paths, which may provide a clue that reveals why context diversity can contribute to the improvement of effectiveness of test suites.
机译:上下文感知普及软件对各种上下文及其变化做出响应。上下文感知功能的错误实现可能会导致无法预测的行为,并产生不利影响。在软件测试中,最重要的研究问题之一是确定测试套件的充分性以验证被测软件。但是,用于测试传统软件的现有适当性标准尚未探索串行测试输入的维度,并且在构建测试套件时也未考虑上下文变化。在本文中,我们定义了上下文多样性的概念以捕获串行输入中上下文变化的程度,并提出了三种策略来研究上下文多样性如何改善数据流测试标准的有效性。我们的案例研究表明,使用具有较高上下文多样性的测试案例的策略可以显着提高针对上下文感知的普及型软件的现有数据流测试标准的有效性。此外,发现具有较高上下文多样性的测试套件可以执行更长的路径,这可能提供了一个线索,揭示了上下文多样性为什么可以有助于提高测试套件的有效性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号