A testing framework for DEVS formalism implementations

  • Authors:
  • Xiaobo Li;Hans Vangheluwe;Yonglin Lei;Hongyan Song;Weiping Wang

  • Affiliations:
  • Natl. Univ. of Defense Technology, Changsha, PRC and University of Antwerp, Antwerp, Belgium;University of Antwerp, Antwerp, Belgium and McGill University, Montréal, Canada;Natl. Univ. of Defense Technology, Changsha, PRC;McGill University, Montréal, Canada;Natl. Univ. of Defense Technology, Changsha, PRC

  • Venue:
  • Proceedings of the 2011 Symposium on Theory of Modeling & Simulation: DEVS Integrative M&S Symposium
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

The Discrete-Event system Specification (DEVS) is a widely used formalism for discrete-event modelling and simulation. A variety of DEVS modelling and simulation tools have been implemented. Diverse implementations with platform-specific characteristics and often tailored to specific problem domains need to be tested to ensure their compliance with the precise and formal DEVS formalism specification. Such compliance allows for meaningful exchange and re-use of models. It also allows for the correct comparison of simulator implementation performance and hence of specific implementation optimizations. In this paper, we focus on testing correctness and preciseness of DEVS implementations and propose a testing framework. Our testing framework combines black-box and white-box testing approaches and uses a standard XML representation for event- and state-traces (also known as segments). We apply our testing framework to Python-DEVS and DEVS++, two concrete implementations of the Classic DEVS formalism. Analysis of the test results reveals candidate items for improvement of the two tools. Finally, insights gained into DEVS standardization are discussed.