Testing real-time systems under probabilistically distributed stimuli helps uncover faults that elude other forms of testing. In such testing, it is highly desirable that failures be detected rapidly, so that relevant internal states and traces can be collected. This paper describes a real-time validator which monitors inputs and outputs to the system under test and determines in real-time that a failure has occurred. It presents the key component of the validator, the models of beliefs about the legal evolutions of system behavior. The model is applicable to real-time systems whose external behavior is specified through communicating finite state machine models. The paper presents the derivation of belief models from the specification model and describes a more efficient, rule-based representation of such models. At the end, the paper describes experience with one implementation of a belief-based validator and its use in failure data collection for a small telephone exchange.
[1]
Carlos Urias Munoz.
An Approach to Software Product Testing
,
1988,
IEEE Trans. Software Eng..
[2]
Amir Pnueli,et al.
On the Formal Semantics of Statecharts (Extended Abstract)
,
1987,
LICS.
[3]
Debra J. Richardson,et al.
Approaches to specification-based testing
,
1989,
TAV3.
[4]
Wei-Tek Tsai,et al.
Automated Test Case Generation for Programs Specified by Relational Algebra Queries
,
1990,
IEEE Trans. Software Eng..
[5]
Bogdan Korel,et al.
Automated Software Test Data Generation
,
1990,
IEEE Trans. Software Eng..
[6]
David Harel,et al.
On visual formalisms
,
1988,
CACM.