Testing in context: framework and test derivation

  • Authors:
  • Alexandre Petrenko;Nina Yevtushenko;Gregor V. Bochmann;Rachida Dssouli

  • Affiliations:
  • Département d'Informatique et de Recherche Opérationnelle, Université de Montréal, CP. 6128, Succ. Centre-Ville, Montréal (Québec H3C 3J7, Canada;Tomsk State University, 36 Lenin str., Tomsk, 634050, Russia;Département d'Informatique et de Recherche Opérationnelle, Université de Montréal, CP. 6128, Succ. Centre-Ville, Montréal (Québec H3C 3J7, Canada;Département d'Informatique et de Recherche Opérationnelle, Université de Montréal, CP. 6128, Succ. Centre-Ville, Montréal (Québec H3C 3J7, Canada

  • Venue:
  • Computer Communications
  • Year:
  • 1996

Quantified Score

Hi-index 0.25

Visualization

Abstract

The paper addresses the problem of testing a component embedded within a given modular system. A context of the component represents the rest of the system and serves as its operational or testing environment. A framework for testing in context is presented based on the model of a system of communicating finite state machines. In particular, the problems of test executability and fault propagation in the presence of the context are identified and discussed. The proposed solution to these problems consists in computing so-called approximation of the specification in context, i.e. the FSM model of the component's properties that can be controlled and observed through the context. The approximation assures executability of tests and fault propagation through the context and serves as a base for test derivation. A conformance relation used for test derivation is shown to be the reduction relation between an implementation and the approximation of the given specification. This relation requires that the implementation produces a (sub)set of output sequences that can be produced by its specification in response to every input sequence. An approach to test generation for the reduction relation and deterministic implementations is also presented.