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

非确定时间自动机的离线测试选择

Off-line test selection with test purposes for non-deterministic timed automata

Nathalie Bertrand, Thierry Jéron, Amélie Stainer, Moez Krichen

摘要:

本文提出了一种新的离线测试生成技术,从非确定性时间自动机与输入和输出(TAIO)的形式化框架的Tioco一致性理论。在这种情况下,第一个问题是TAIO的确定,这是必要的,以预见下一个可观察的跟踪后启用的动作,但一般是不可能的,因为不是所有的时间自动机是可确定的。这个问题是解决了由于近似确定使用游戏的方法。该算法执行IO抽象,保留了TIOCO一致性关系,从而保证生成的测试用例的可靠性。第二个问题是从TAIO规范中选择测试用例。这里的选择依赖于要测试的定时行为的精确描述,这是通过TAIO的泛化建模的表达性测试目的来进行的。最后,描述了一种算法,该算法生成的TAIO的形式配备的判决,使用一个象征性的co-reachability分析指导的测试目的的测试用例。属性的测试用例,然后分析的精度方面的近似确定:当确定是准确的,这是已知的可确定类的情况下,除了健全性,属性特征的充分性测试用例判决也得到保证。

英文摘要:

This article proposes novel off-line test generation techniques from non-deterministic timed automata with inputs and outputs (TAIOs) in the formal framework of the tioco conformance theory. In this context, a first problem is the determinization of TAIOs, which is necessary to foresee next enabled actions after an observable trace, but is in general impossible because not all timed automata are determinizable. This problem is solved thanks to an approximate determinization using a game approach. The algorithm performs an io-abstraction which preserves the tioco conformance relation and thus guarantees the soundness of generated test cases. A second problem is the selection of test cases from a TAIO specification. The selection here relies on a precise description of timed behaviors to be tested which is carried out by expressive test purposes modeled by a generalization of TAIOs. Finally, an algorithm is described which generates test cases in the form of TAIOs equipped with verdicts, using a symbolic co-reachability analysis guided by the test purpose. Properties of test cases are then analyzed with respect to the precision of the approximate determinization: when determinization is exact, which is the case on known determinizable classes, in addition to soundness, properties characterizing the adequacy of test cases verdicts are also guaranteed.

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

↑