180 likes | 286 Views
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. Introduction Overview of Conformance Testing
E N D
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
Introduction Overview of Conformance Testing Our Approach for Timed Test Cases Generation Based on Test Purpose Conclusion and Future Works Contents
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 Introduction
Four Phases: - Conversion of MSC test purpose into TIOA. - Synchronous product construction - Sampling - Test cases generation Main Operations of Our Approach
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. Timed Input Output Automata(TIOA) A 2-Clock TIOA
Executability of test cases. Infinity of time domain. Fault Model. Fault coverage. Conformance relation. Problems Related to Testing TIOA A 2-Clock TIOA
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 Message Sequence Chart(MSC)
SIMPLE MSC assumptions Received Msg and Send Msg -> Input and Output in TIOA Create initial location and final location For each event -> create a destination location Each event is converted to a transition Time constraints -> clocks and guards Converting MSC to TIOA
Synchronous Product Construction specification Test Purpose Synchronous Product
Sampling First GA of specification GA of Test Purpose Synchronous Product of GA
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) Conclusion and Future Works