Testing Concurrent Objects with Application-Specific Schedulers

  • Authors:
  • Rudolf Schlatte;Bernhard Aichernig;Frank Boer;Andreas Griesmayer;Einar Broch Johnsen

  • Affiliations:
  • International Institute for Software Technology, United Nations University (UNU-IIST), Macao S.A.R., China and Institute for Software Technology, Graz University of Technology, Austria;International Institute for Software Technology, United Nations University (UNU-IIST), Macao S.A.R., China and Institute for Software Technology, Graz University of Technology, Austria;CWI, Amsterdam, Netherlands;International Institute for Software Technology, United Nations University (UNU-IIST), Macao S.A.R., China;Department of Informatics, University of Oslo, Norway

  • Venue:
  • Proceedings of the 5th international colloquium on Theoretical Aspects of Computing
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper, we propose a novel approach to testing executable models of concurrent objects under application-specific scheduling regimes. Method activations in concurrent objects are modeled as a composition of symbolic automata; this composition expresses all possible interleavings of actions. Scheduler specifications, also modeled as automata, are used to constrain the system execution. Test purposes are expressed as assertions on selected states of the system, and weakest precondition calculation is used to derive the test cases from these test purposes. Our new testing technique is based on the assumption that we have full control over the (application-specific) scheduler, which is the case in our executable models under test. Hence, the enforced scheduling policy becomes an integral part of a test case. This tackles the problem of testing non-deterministic behavior due to scheduling.