arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1903.08531cs.SE
收藏

Prioritized Process Test:当前过程测试策略的替代方案

Prioritized Process Test: An Alternative to Current Process Testing Strategies

Miroslav Bures, Bestoun S. Ahmed, Kamal Z. Zamli

摘要:

信息和物联网系统中的测试流程和工作流是典型软件测试工作的主要部分。一致的和有效的基于路径的测试用例,以支持这些测试。由于软件系统工作流的某些部分具有比其他部分更高的业务优先级,因此在测试用例的生成中必须涉及这一事实。在本文中,我们提出了一个优先级的过程测试(PPT),这是一个基于模型的测试用例生成算法,目前已建立的算法,使用有向图和测试要求来模拟测试系统的替代。PPT接受有向多重图作为模型来表达优先级,并且使用边权重代替测试需求。为了确定测试用例的测试覆盖级别,使用了测试深度级别的概念。我们将所呈现的PPT与五个备选方案进行了比较(即,过程循环测试,由过程循环测试、蛮力算法、基于集合覆盖的解决方案和基于匹配的前缀图解决方案创建的测试集的朴素约简)用于边缘覆盖和边缘对覆盖。为了评估这些策略产生的基于路径的测试用例的最优性,我们使用了基于这些测试用例的属性的14个度量标准和为三个真实世界系统创建的59个模型。对于所有边缘覆盖,PPT在大多数指标方面产生了比替代方案更优的测试用例。对于边对覆盖,PPT策略产生了类似的结果的替代品。因此,PPT策略是一个适用的替代方案,因为它同时反映了所需的测试覆盖级别和业务优先级。

英文摘要:

Testing processes and workflows in information and Internet of Things systems is a major part of the typical software testing effort. Consistent and efficient path-based test cases are desired to support these tests. Because certain parts of software system workflows have a higher business priority than others, this fact has to be involved in the generation of test cases. In this paper, we propose a Prioritized Process Test (PPT), which is a model-based test case generation algorithm that represents an alternative to currently established algorithms that use directed graphs and test requirements to model the system under test. The PPT accepts a directed multigraph as a model to express priorities, and edge weights are used instead of test requirements. To determine the test-coverage level of test cases, a test-depth-level concept is used. We compared the presented PPT with five alternatives (i.e., the Process Cycle Test, a naive reduction of test set created by the Process Cycle Test, Brute Force algorithm, Set-covering Based Solution and Matching-based Prefix Graph Solution) for edge coverage and edge-pair coverage. To assess the optimality of the path-based test cases produced by these strategies, we used fourteen metrics based on the properties of these test cases and 59 models that were created for three real-world systems. For all edge coverage, the PPT produced more optimal test cases than the alternatives in terms of the majority of the metrics. For edge-pair coverage, the PPT strategy yielded similar results to those of the alternatives. Thus, the PPT strategy is an applicable alternative, as it reflects both the required test coverage level and the business priority in parallel.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑