A CEP- and UTP-Based Testing Scheme for Event-Based Systems

Haochuan Kuang, Taewoong Jeon · 2014

Testing event-driven systems is not easy because there are a large number of possible event sequences that need to be monitored and analyzed for checking the correct system behavior. Test cases for an event-driven system are sequences of events rather than simple inputs. These factors make it difficult to test event-driven systems at integration level for monitoring defects in the process which we are interested in. In this research, we describe a scheme for designing a CEP- and UTP-based test system built on JUnit framework for testing event-based systems at unit- and integration levels. The proposed testing scheme makes the testing of the event-driven system more controllable and observable. We used UML to describe the scheme in detail. The proposed scheme is implemented using JUnit, which is a programmer-oriented testing framework for java. We use a TankWar event-driven system as a case study for exemplifying our method.

Read the paper · More papers on PaperTik