Timed Test Cases Generation Based on MSC-2000 Test Purposes - PowerPoint PPT Presentation

About This Presentation
Title:

Timed Test Cases Generation Based on MSC-2000 Test Purposes

Description:

Montr al, Qu bec, Canada. November 2, 2004. 2. Abdeslam En-Nouaary & Gang Liu ... extend the approach to a general form of MSC - multi instances (processes) included ... – PowerPoint PPT presentation

Number of Views:16
Avg rating:3.0/5.0
Slides: 19
Provided by: tele67
Learn more at: http://sdl-forum.org
Category:

less

Transcript and Presenter's Notes

Title: Timed Test Cases Generation Based on MSC-2000 Test Purposes


1
Timed Test Cases Generation Based on MSC-2000
Test Purposes
  • Abdeslam En-Nouaary and Gang Liu
  • Department of Electrical and Computer
    Engineering
  • Concordia University
  • Montréal, Québec, Canada
  • November 2, 2004

2
Contents
  • Introduction
  • Overview of Conformance Testing
  • Our Approach for Timed Test Cases Generation
    Based on Test Purpose
  • Conclusion and Future Works

3
Introduction
  • What is a real-time system ?
  • - A system whose behavior is time dependent.
  • - Example air traffic control, monitoring
    medical device, multimedia
    applications.
  • Some characteristics of real-time systems?
  • - real-time systems have complicated behaviors
  • - failure could cost lives and huge economy
    damage
  • - too much test cases generated by existing
    algorithms
  • - Testing both actions and their time constraints

4
Overview of Conformance Testing
5
Main Operations of Our Approach
  • Four Phases
  • - Conversion of MSC test purpose into TIOA.
  • - Synchronous product construction
  • - Sampling
  • - Test cases generation

6
FrameWork--- 1st Variant
7
Timed Input Output Automata(TIOA)
  • A Timed Input Output Automata (TIOA) is a tuple
    (I, O, L, l0, C, T), where
  • I the set of inputs.
  • O the set of outputs.
  • L the set of locations.
  • l0 the initial location.
  • C the set of clocks all initialized to 0 in l0.
  • T the set of transitions.

A 2-Clock TIOA
8
Problems Related to Testing TIOA
  • Executability of test cases.
  • Infinity of time domain.
  • Fault Model.
  • Fault coverage.
  • Conformance relation.

A 2-Clock TIOA
9
Message Sequence Chart(MSC)
  • A MSC is a structure
  • M (P, S, R, A, O, T, Tx, Y), where
  • - P is a finite set of instances
  • - S is a finite set of sending Message events
  • - R is a finite set of receiving message events
  • - A is a finite set of local events
  • - O is ordering of S,R and A
  • - T is set of timers
  • - Tx associates each timer related event with its
    timer
  • - Y associates each pair of dependent events with
    its timing restriction and duration

10
Converting MSC to TIOA
  • SIMPLE MSC assumptions
  • Received Msg and Send Msg -gt Input and Output in
    TIOA
  • Create initial location and final location
  • For each event -gt create a destination location
  • Each event is converted to a transition
  • Time constraints -gt clocks and guards

11
Clock Minimizing
12
Synchronous Product Construction
specification
Test Purpose
Synchronous Product
13
Sampling Grid Automaton
14
Traversal Test Cases Derivation
15
FrameWork--- 2nd Variant
16
Sampling First
GA of specification
GA of Test Purpose
Synchronous Product of GA
17
Sampling with Different Granularities
18
Conclusion and Future Works
  • Conclusion
  • - an integrated process is provided
  • - solves time related problems
  • - less test cases generated than other methods
  • Future Works
  • - extend the approach to a general form of MSC
  • - multi instances (processes) included
  • - test cases expressed as Tree and Tabular
    Combined Notation (TTCN)
Write a Comment
User Comments (0)
About PowerShow.com