使用行为编程测试反应式系统,一种以模型为中心的方法
Testing Reactive Systems Using Behavioural Programming, a Model Centric Approach
摘要:
测试是软件开发的一个重要方面。随着系统变得越来越复杂,其使用对社会的安全和功能变得至关重要,对确保可靠性和尽早发现故障的测试方法的需求变得至关重要。最有前途的方法是基于模型的方法,其中开发的模型定义了系统的预期行为以及如何反应。测试是来自模型和测试结果的分析进行的基础上it.We将调查使用行为编程(BP)的基于模型的测试(MBT)的方法,我们将开发的前景。我们将开发一种用于表示需求的自然语言。这个模型将被输入我们将要开发的算法。这包括自动创建覆盖所有系统需求的最小测试用例集的算法,分析测试结果以及支持测试过程的其他工具。我们方法的重点将是发现由不同需求之间的交互导致的故障,这些故障是测试人员难以检测到的。具体来说,我们将把注意力集中在并发问题上,比如死锁和逻辑争用条件。我们将使用各种方法,使BP成为可能,如场景的非确定性执行和使用代码内模型检查来构建测试场景,并使用组合测试设计(CTD)方法来找到系统需求的测试场景的最小覆盖范围。我们将开发一个概念验证工具包,使我们能够演示和评估上述功能。我们将使用我们定义和开发的比较标准,将我们的工具的性能与手动测试人员和其他基于模型的工具的性能进行比较。
英文摘要:
Testing is a significant aspect of software development. As systems become complex and their use becomes critical to the security and the function of society, the need for testing methodologies that ensure reliability and detect faults as early as possible becomes critical. The most promising approach is the model-based approach where a model is developed that defines how the system is expected to behave and how it is meant to react. The tests are derived from the model and an analysis of the test results is conducted based on it. We will investigate the prospects of using the Behavioral Programming (BP) for a model-based testing (MBT) approach that we will develop. We will develop a natural language for representing the requirements. The model will be fed to algorithms that we will develop. This includes algorithms for the automatic creation of minimal sets of test cases that cover all of the system's requirements, analysing the results of the tests, and other tools that support the testing process. The focus of our methodology will be to find faults caused by the interaction between different requirements in ways that are difficult for the testers to detect. Specifically, we will focus our attention to concurrency issues such as deadlocks and logical race condition. We will use a variety of methods that are made possible by BP, such as non-deterministic execution of scenarios and use of in-code model-checking for building test scenarios and for finding minimal coverage of the test scenarios for the system requirements using Combinatorial Test Design (CTD) methodologies. We will develop a proof-of-concept tool kit which will allow us to demonstrate and evaluate the above mentioned capabilities. We will compare the performance of our tools with the performance of manual testers and of other model-based tools using comparison criteria that we will define and develop.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。