@leonardo

Generating Test Sequences from Statecharts for Concurrent Program Testing

, , and . IEICE Trans Inf Syst, E89-D (4): 1459--1469 (2006)
DOI: 10.1093/ietisy/e89-d.4.1459

Abstract

This paper presents an approach to specification-based testing of concurrent programs with representative test sequences generated from Statecharts. Representative test sequences are a subset of all possible interleavings of concurrent events that define the behaviors of a concurrent program. Because a program's correctness may be determined by checking whether a program implemented all behaviors in its specification or not, the program can be regarded as being correct if it can supply an alternative execution that has the same effects as the program's behavior with each representative test sequence. Based on this observation, we employ each representative test sequence as a seed to generate an automaton that accepts its equivalent sequences to reveal the same behavior. In order to effectively test a concurrent program, the automaton such generated accepts all sequences equivalent to the representative test sequence and it is used to control test execution. This paper describes an automated process of generating automata from a Statecharts specification and shows how the proposed approach works on Statecharts specifications through some examples.

Links and resources

Tags

community

  • @dblp
  • @leonardo
@leonardo's tags highlighted