Automated Test Sequence Generation Using Sequencing Constraints for Concurrent Programs

  • Authors:
  • Bengi Karaçali;Kuo-Chung Tai

  • Affiliations:
  • -;-

  • Venue:
  • PDSE '99 Proceedings of the International Symposium on Software Engineering for Parallel and Distributed Systems
  • Year:
  • 1999

Quantified Score

Hi-index 0.00

Visualization

Abstract

Sequencing constraints for a concurrent program specify restrictions on the allowed sequences of synchronization events, and they can be used in generating test sequences for the program. In earlier work, the notion of CSPE (Constraints on Succeeding and Preceding Events) constraint was defined, and the CSPE-1 coverage criterion, which requires the coverage of each CSPE constraint at least once, was shown to be effective for fault detection. In this paper we show how to automatically generate test sequences to satisfy the CSPE-1 criterion for a set of CSPE constraints. Our test sequence generation strategy is to determine (a) the number of instances for each process type for accomplishing the CSPE-1 coverage criterion such that the total instance number is minimumand (b) the smallest sequence set among all sets satisfying (a). Empirical results of applying our test generation strategy to the bounded buffer problemand seven versions of the readers and writers problem are presented.