...
首页> 外文期刊>Operations Research >SIT: Sampling-based interactive testing for self-adaptive apps
【24h】

SIT: Sampling-based interactive testing for self-adaptive apps

机译:SIT:针对自适应应用程序的基于采样的交互式测试

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

获取外文期刊封面封底 >>

       

摘要

Self-adaptive apps contain adaptation logic which decides methods of delivering services based on environmental conditions.. These app are usually meant for embedded systems or smart phones and their sensors collect information on environmental conditions. The apps have an interaction loop that connects to its running environment and adaptive logic makes changes according to the sensed changes. Though self-adaptive apps offer flexible services, they have to address environmental uncertainty. Developing these applications is not easy and is error prone. A self-adaptive app executes in an infinite reaction loop with its environment and as the environment changes it has to make decisions based on an infinite series of input/output pairs, which may not be independent. Testing of self-adaptive apps is not straight forward since it must consider the environment. This article uses iteration to denote one pass in executing an app's reaction loop. A self-adaptive app interacts with its environment in an uncertain way called internal and external uncertainty. The former is related to the adaptation algorithm. This article is concerned with external uncertainty where the app understands the environment and makes normal or faulty decisions. While traditional program bugs are related to the software, a self-adaptive app's bugs depend on the program, its running environment and uncertainty in the interaction between the app and its environment. The bugs can be present in any one of the three. This uniqueness makes the test of self-adaptive apps more challenging. An app can fail after its multiple executions of its reaction loop with its environment. These executions are different iterations with different input/output pairs. Thus testing by taking in to account is a difficult task and the possibility of missing should not be overruled. Many of the existing approaches for testing under these uncertainties have a drawback of missing about 30% of the bugs or more. This study proposes an ideal approach SIT for testing self-adaptive apps. The test consists of an interactive application model and a test generation method. This approach is light-weight in the sense that it samples only those inputs that require exploration. This method improves bug detection by 22.4% to 42.2% with reduced cost. (50 refs.)
机译:自适应应用程序包含自适应逻辑,该逻辑可根据环境条件决定提供服务的方法。这些应用程序通常用于嵌入式系统或智能手机,其传感器收集有关环境条件的信息。这些应用程序具有一个连接到其运行环境的交互循环,自适应逻辑根据感知到的变化进行更改。尽管自适应应用程序提供灵活的服务,但它们必须解决环境的不确定性。开发这些应用程序并不容易,而且容易出错。自适应应用程序在与环境有关的无限响应循环中执行,并且随着环境的变化,它必须基于无限个输入/输出对(可能不是独立的)来做出决策。自适应应用程序的测试不是直接的,因为它必须考虑环境。本文使用迭代来表示执行应用程序的反应循环的一个过程。自适应应用程序以不确定的方式(即内部和外部不确定性)与其环境交互。前者与自适应算法有关。本文涉及外部不确定性,其中应用程序了解环境并做出正常或错误的决策。尽管传统的程序错误与软件有关,但自适应应用程序的错误取决于程序,其运行环境以及应用程序与环境之间交互的不确定性。这些bug可以存在于三个中的任何一个中。这种独特性使对自适应应用程序的测试更具挑战性。应用程序在其环境中多次执行响应循环后可能会失败。这些执行是具有不同输入/输出对的不同迭代。因此,考虑到测试是一项艰巨的任务,因此不应忽略丢失的可能性。在这些不确定性条件下进行测试的许多现有方法都有一个缺点,就是缺少大约30%的错误或更多。这项研究提出了一种用于测试自适应应用程序的理想方法SIT。该测试由交互式应用程序模型和测试生成方法组成。从仅对那些需要探索的输入进行采样的意义上讲,这种方法是轻量级的。此方法可将错误检测提高22.4%至42.2%,同时降低了成本。 (50参考)

著录项

  • 来源
    《Operations Research》 |2018年第6期|533-536|共4页
  • 作者

    Yi Qin; Chang Xu; Ping Yu; Jian Lu;

  • 作者单位

    State Key Laboratory for Software Technology, Nanjing University, China Department of Computer Science and Technology, Nanjing University, China;

    State Key Laboratory for Software Technology, Nanjing University, China Department of Computer Science and Technology, Nanjing University, China;

    State Key Laboratory for Software Technology, Nanjing University, China Department of Computer Science and Technology, Nanjing University, China;

    State Key Laboratory for Software Technology, Nanjing University, China Department of Computer Science and Technology, Nanjing University, China;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号