Modbat: A Model-Based API Tester for Event-Driven Systems
Modbat: A Model-Based API Tester for Event-Driven Systems
复制标题
DOI:
10.1007/978-3-319-03077-7_8
复制
发表时间:
2013-11
期刊:
影响因子:
--
通讯作者:
Cyrille Artho;Armin Biere;M. Hagiya;E. Platon;M. Seidl;Yoshinori Tanabe;M. Yamamoto
中科院分区:
文献类型:
--
作者:
Cyrille Artho;Armin Biere;M. Hagiya;E. Platon;M. Seidl;Yoshinori Tanabe;M. Yamamoto
Model-based testing derives test executions from an abstract model that describes the system behavior. However, existing approaches are not tailored to event-driven or input/output-driven systems. In particular, there is a need to support non-blocking I/O operations, or operations throwing exceptions when communication is disrupted.Our new tool “Modbat” is specialized for testing systems where these issues are common. Modbat uses extended finite-state machines to model system behavior. Unlike most existing tools, Modbat offers a domain-specific language that supports state machines and exceptions as first-class constructs. Our model notation also handles non-determinism in the system under test, and supports alternative continuations of test cases depending on the outcome of non-deterministic operations.These features allow us to model a number of interesting libraries succinctly. Our experiments show the flexibility of Modbat and how language support for model features benefits their correct use.