Title :
CATest: A Test Automation Framework for Multi-agent Systems
Author :
Wang, Shufeng ; Zhu, Hong
Author_Institution :
Nat. Lab. for Parallel & Distrib. Process., Nat. Univ. of Defense Technol., Changsha, China
Abstract :
Agents are difficult to test because it is notoriously complicated to observe their proactive, autonomous and non-deterministic behaviours and hard to judge their correctness in dynamic environments. This paper proposes a specification-based test automation framework and presents a tool called CATest for testing multi-agent systems (MAS). The agent-based formal specification language SLABS plays three roles in the framework. First, it is used to guide the instrumentation of the agent under test so that its behaviour can be observed and recorded systematically. Second, the correctness of agent´s behaviours recorded during test executions are automatically checked against the formal specifications. Finally, the test adequacy is measured by the coverage of the specification and determined according to a set of adequacy criteria specifically designed for testing MAS. An experiment with the tool has demonstrated its capability of detecting faults in MAS.
Keywords :
automatic test software; formal specification; multi-agent systems; program testing; software agents; software fault tolerance; specification languages; CATest; MAS testing; SLABS; adequacy criteria; agent-based formal specification language; automatic checking; autonomous behaviour; dynamic environments; fault detection capability; multiagent system; nondeterministic behaviour; specification-based test automation framework; Automation; Computer architecture; Instruments; Runtime; Slabs; Software; Testing; Agent-oriented software; Software test automation; Specification-based test; Test adequacy criteria; Test oracle;
Conference_Titel :
Computer Software and Applications Conference (COMPSAC), 2012 IEEE 36th Annual
Conference_Location :
Izmir
Print_ISBN :
978-1-4673-1990-4
Electronic_ISBN :
0730-3157
DOI :
10.1109/COMPSAC.2012.24