首页> 外文期刊>Software Testing, Verification and Reliability >A test purpose-based approach for testing timed input output automata
【24h】

A test purpose-based approach for testing timed input output automata

机译:一种基于测试目的的方法,用于测试定时输入输出自动机

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

摘要

Real-time applications are those reactive systems whose behavior depends not only on their interactions with the environment but also on the times at which these interactions take place. The timing aspect of such applications makes it hard to test them exhaustively because of the infinite number of possible computations. One way to deal with this difficulty is to have the tester choose some important features of the application and check if they are properly implemented. This paper follows this principle and proposes a method for testing real-time applications formally modeled as Timed Input Output Automata (TIOA), a variant of Timed Automata of Alur and Dill (Theor. Comp. Sci. 1994; 126:183-235). The method is based on test purposes. A test purpose is a description of a well-defined testing objective focusing on a single requirement or a set of requirements of the system under test. Test purposes, in this paper, are used to describe the features of the application to be checked by the tester. They are also formally modeled, in this paper, as a TIOA. Since test purposes are a partial behavior of the application under test, they significantly help to reduce the number of test cases to be generated, and consequently minimize the time, effort, and money to spend in testing the application. Basically, the paper proposes an approach, which takes as inputs a test purpose and a specification, and generates test cases, which are able to check if the test purpose is satisfied by an implementation of the specification. The proposed method consists of three main steps. First, the TIOAs of the specification and test purpose are combined together in one TIOA. Second, the resulting TIOA is sampled to construct a sub-automaton of the system with a finite number of executions for test generation. The sampling of a TIOA is done based on the number of clocks describing the timing behavior of the system. Finally, the sub-automaton resulting from the second step is traversed to generate test cases. The real-time applications dealt with in this paper are supposed to be deterministic; i.e. the test results are the same when the same input data are applied to the implementation of the application.
机译:实时应用程序是那些反应式系统,其行为不仅取决于它们与环境的交互作用,还取决于发生这些交互作用的时间。由于可能的计算数量众多,因此此类应用程序的计时方面使其难以进行详尽的测试。解决此难题的一种方法是让测试人员选择应用程序的某些重要功能,并检查其是否正确实现。本文遵循这一原理,并提出了一种测试实时应用程序的方法,该应用程序正式建模为定时输入输出自动机(TIOA),这是Alur和Dill定时自动机的一种变体(Theor。Comp。Sci。1994; 126:183-235) 。该方法基于测试目的。测试目的是对定义明确的测试目标的描述,该测试目标侧重于被测系统的单个需求或一组需求。本文中的测试目的用于描述测试人员要检查的应用程序的功能。在本文中,它们也被正式建模为TIOA。由于测试目的只是被测试应用程序的部分行为,因此它们显着地有助于减少要生成的测试用例的数量,从而最大程度地减少测试应用程序的时间,精力和金钱。基本上,本文提出了一种方法,该方法将测试目的和规范作为输入,并生成测试用例,这些案例可以检查规范的实现是否满足测试目的。所提出的方法包括三个主要步骤。首先,将规范和测试目的的TIOA合并到一个TIOA中。其次,对所得的TIOA进行采样,以构建系统的子自动机,并执行有限次数的执行以生成测试。 TIOA的采样是根据描述系统定时行为的时钟数量完成的。最后,遍历第二步产生的子自动机以生成测试用例。本文处理的实时应用程序应该是确定性的。即,当将相同的输入数据应用于应用程序的实现时,测试结果相同。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号