arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1312.6201cs.SEcs.FL
收藏

测试不确定系统的覆盖博弈

Coverage Games for Testing Nondeterministic Systems

Farn Wang, Jung-Hsuan Wu, Sven Schewe, Chung-Hao Huang

摘要:

现代软件系统由于许多不可预测的因素而可能表现出不确定性行为。在这项工作中,我们提出了节点覆盖的游戏,一个两个玩家回合制游戏有限的游戏图上玩,作为一个正式的问题来测试这样的系统。图中的每个节点代表受试软件(SUT)的{ \em功能等效类}。一个参与者,测试者,希望最大化节点覆盖率,测量访问的节点数,当探索博弈图时,而他的对手,SUT,希望最小化它。最优测试将最大化覆盖率,这是一个有趣的问题,找到测试者可以保证访问的最大节点数,而不考虑SUT的响应。我们证明了保证是否小于给定数的决策问题是NP-完全的。然后,我们提出了技术测试非确定性SUT与现有的测试套件确定性模型。最后,我们报告我们的实施和实验。

英文摘要:

Modern software systems may exhibit a nondeterministic behavior due to many unpredictable factors. In this work, we propose the node coverage game, a two player turn-based game played on a finite game graph, as a formalization of the problem to test such systems. Each node in the graph represents a {\em functional equivalence class} of the software under test (SUT). One player, the tester, wants to maximize the node coverage, measured by the number of nodes visited when exploring the game graphs, while his opponent, the SUT, wants to minimize it. An optimal test would maximize the cover, and it is an interesting problem to find the maximal number of nodes that the tester can guarantee to visit, irrespective of the responses of the SUT. We show that the decision problem of whether the guarantee is less than a given number is NP-complete. Then we present techniques for testing nondeterministic SUTs with existing test suites for deterministic models. Finally, we report our implementation and experiments.

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

↑