Timed Test Cases Generation Based on MSC-2000 Test Purposes Abdeslam En-Nouaary and Gang Liu Department of Electrical and Computer Engineering Concordia.

Slides:



Advertisements
Similar presentations
INTERVAL Next Previous 13/02/ Timed extensions to SDL Analysis requirements –Assumptions on moments and duration Semantics with controllable time.
Advertisements

Seyedehmehrnaz Mireslami, Mohammad Moshirpour, Behrouz H. Far Department of Electrical and Computer Engineering University of Calgary, Canada {smiresla,
Distributed Snapshots: Determining Global States of Distributed Systems Joshua Eberhardt Research Paper: Kanianthra Mani Chandy and Leslie Lamport.
Impossibility of Distributed Consensus with One Faulty Process
Language and Automata Theory
Tree Regular Model Checking P. Abdulla, B. Jonsson, P. Mahata and J. d’Orso Uppsala University.
Using TTCN-3 in Interoperability Testing for Real-time Communication Systems Zhiliang Wang, Jianping Wu, Xia Yin, Xingang Shi and Beihang Tian Department.
Timed Automata.
Give qualifications of instructors: DAP
Logical Circuit Design Week 11: Sequential Logic Circuits Mentor Hamiti, MSc Office ,
1 Dynamic Scan Scheduling Specification Bruno Dutertre System Design Laboratory SRI International
visualSTATE 4 Workshop Seminar Content, Day 1 Introduction Different analysis methods State/Transition principles,  Mealy notation  Moore notation.
Convertibility Verification and Converter Synthesis: Two Faces of the Same Coin Jie-Hong Jiang EE249 Discussion 11/21/2002 Passerone et al., ICCAD ’ 02.
Introduction to UML Part 2 Behavioral Modeling. Sequence (event) diagram Describes object interaction Typically captures behavior of a single use case.
Finite Automata Finite-state machine with no output. FA consists of States, Transitions between states FA is a 5-tuple Example! A string x is recognized.
EECE Hybrid and Embedded Systems: Computation T. John Koo, Ph.D. Institute for Software Integrated Systems Department of Electrical Engineering and.
Aho-Corasick String Matching An Efficient String Matching.
NFA- to NFA conversion. Purpose This presentation presents an example execution of the algorithm which takes as input an NFA with -transitions and produces.
UML Sequence Diagrams Eileen Kraemer CSE 335 Michigan State University.
Systems Analysis and Design in a Changing World, 6th Edition
Software Testing and QA Theory and Practice (Chapter 10: Test Generation from FSM Models) © Naik & Tripathy 1 Software Testing and Quality Assurance Theory.
Nawaf M Albadia Introduction. Components. Behavior & Characteristics. Classes & Rules. Grid Dimensions. Evolving Cellular Automata using Genetic.
Sequential Circuits Chapter 4 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer,  S.
UML Sequence Diagrams Michael L. Collard, Ph.D. Department of Computer Science Kent State University.
Natural Language Processing Lab Northeastern University, China Feiliang Ren EBMT Based on Finite Automata State Transfer Generation Feiliang Ren.
Timed UML State Machines Ognyana Hristova Tutor: Priv.-Doz. Dr. Thomas Noll June, 2007.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
An Effective Dynamic Scheduling Runtime and Tuning System for Heterogeneous Multi and Many-Core Desktop Platforms Authous: Al’ecio P. D. Binotto, Carlos.
Software Engineering Chapter 23 Software Testing Ku-Yaw Chang Assistant Professor Department of Computer Science and Information.
Chapter 2: Software Process Omar Meqdadi SE 2730 Lecture 2 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
1. Introduction 1.1 Background 1.2 Real-time applications 1.3 Misconceptions 1.4 Issues in real-time computing 1.5 Structure of a real-time system.
THEORY OF COMPUTATION 08 KLEENE’S THEOREM.
1 An Introduction to Formal Languages and Automata Provided by : Babak Salimi webAdd:
Transformation of Timed Automata into Mixed Integer Linear Programs Sebastian Panek.
EEL Software development for real-time engineering systems.
1 Software Reliability Assurance for Real-time Systems Joel Henry, Ph.D. University of Montana NASA Software Assurance Symposium September 4, 2002.
Reliable Communication in the Presence of Failures Based on the paper by: Kenneth Birman and Thomas A. Joseph Cesar Talledo COEN 317 Fall 05.
Qiao and Bochm ann, Univers ity of Ottawa Gregor v. Bochmann Department of Electrical Engineering and Computer Science University of Ottawa Canada presentation.
Ch. 2. Specification and Modeling 2.1 Requirements Describe requirements and approaches for specifying and modeling embedded systems. Specification for.
Real Time Event Based Communication Team Abhishekh Padmanabhan CIS 798 Final Presentation.
Introduction to Sequential Logic Design Finite State-Machine Design.
Timed I/O Automata: A Mathematical Framework for Modeling and Analyzing Real-Time Systems Frits Vaandrager, University of Nijmegen joint work with Dilsun.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Natallia Kokash (Accepted for PACO’2011) ACG, 31/05/ Input-output conformance testing for channel-based connectors 1.
By, Venkateswara Reddy. Tallapu Reddy. 1.Introduction. 2.What is X-Machine Testing..?? 3.Methods of X-Machine Testing. 4.Variants of X- Machine. 5.Stream.
Submodule construction in logics 1 Gregor v. Bochmann, University of Ottawa Using First-Order Logic to Reason about Submodule Construction Gregor v. Bochmann.
The Unified Modeling Language Part II Omar Meqdadi SE 2730 Lecture 9 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
Copyright © Curt Hill Finite State Machines The Simplest and Least Capable Automaton.
System Testing Beyond unit testing. 2 System Testing Of the three levels of testing, system level testing is closest to everyday experience We evaluate.
Collaboration Entities on Deterministic Finite Automata Minjun Wang Department of Electrical Engineering and Computer Science Syracuse University, U.S.A.
Automatic Testing of Neighbor Discovery Protocol Based on FSM and TTCN Zhiliang Wang, Xia Yin, Haibin Wang, Jianping Wu Department of Computer Science.
Towards Interoperability Test Generation of Time Dependent Protocols: a Case Study Zhiliang Wang, Jianping Wu, Xia Yin Department of Computer Science Tsinghua.
Testing OO software. State Based Testing State machine: implementation-independent specification (model) of the dynamic behaviour of the system State:
Modelling and Analysis of Time-related Properties in Web Service Compositions Raman KazhamiakinParitosh K. PandyaMarco Pistore
Revision Mid 1 Prof. Sin-Min Lee Department of Computer Science.
Overview of Previous Lesson(s) Over View  A token is a pair consisting of a token name and an optional attribute value.  A pattern is a description.
TOPIC : Introduction to Sequential Circuits UNIT 1: Modeling and Simulation Module 4 : Modeling Sequential Circuits.
Kalman Filter and Data Streaming Presented By :- Ankur Jain Department of Computer Science 7/21/03.
I&C Lab Seminar Procedure for the Software Requirements Specification for Safety Critical Systems Seo Ryong Koo Korea Advanced Institute Science.
Solve It Convert This Say What? Compare Us Final Jeopardy.
Finite State Machines Dr K R Bond 2009
Sequential Flexibility
CIS Automata and Formal Languages – Pei Wang
Copyright © Cengage Learning. All rights reserved.
G. Pullaiah College of Engineering and Technology
A Unifying View on Instance Selection
ECE 553: TESTING AND TESTABLE DESIGN OF DIGITAL SYSTES
Principles of Computing – UFCFA3-30-1
Engineering Mathematics
Synthesizing Controllers for Multi-Lane Traffic Maneuvers
Presentation transcript:

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

Abdeslam En-Nouaary & Gang Liu Timed Test Cases Generation based on MSC-2000 Test Purposes Contents n Introduction n Overview of Conformance Testing n Our Approach for Timed Test Cases Generation Based on Test Purpose n Conclusion and Future Works

Abdeslam En-Nouaary & Gang Liu Timed Test Cases Generation based on MSC-2000 Test Purposes Introduction n What is a real-time system ? - A system whose behavior is time dependent. - Example: air traffic control, monitoring medical device, multimedia applications. n 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

Abdeslam En-Nouaary & Gang Liu Timed Test Cases Generation based on MSC-2000 Test Purposes Overview of Conformance Testing

Abdeslam En-Nouaary & Gang Liu Timed Test Cases Generation based on MSC-2000 Test Purposes Main Operations of Our Approach n Four Phases: - Conversion of MSC test purpose into TIOA. - Synchronous product construction - Sampling - Test cases generation

Abdeslam En-Nouaary & Gang Liu Timed Test Cases Generation based on MSC-2000 Test Purposes FrameWork--- 1 st Variant

Abdeslam En-Nouaary & Gang Liu Timed Test Cases Generation based on MSC-2000 Test Purposes Timed Input Output Automata (TIOA) A Timed Input Output Automata (TIOA) is a tuple (I, O, L, l0, C, T), where: u I: the set of inputs. u O: the set of outputs. u L: the set of locations. u l0: the initial location. u C: the set of clocks all initialized to 0 in l0. u T : the set of transitions. A 2-Clock TIOA

Abdeslam En-Nouaary & Gang Liu Timed Test Cases Generation based on MSC-2000 Test Purposes Problems Related to Testing TIOA n Executability of test cases. n Infinity of time domain. n Fault Model. n Fault coverage. n Conformance relation. A 2-Clock TIOA

Abdeslam En-Nouaary & Gang Liu Timed Test Cases Generation based on MSC-2000 Test Purposes Message Sequence Chart (MSC) n 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

Abdeslam En-Nouaary & Gang Liu Timed Test Cases Generation based on MSC-2000 Test Purposes Converting MSC to TIOA n SIMPLE MSC assumptions n Received Msg and Send Msg -> Input and Output in TIOA n Create initial location and final location n For each event -> create a destination location n Each event is converted to a transition n Time constraints -> clocks and guards

Abdeslam En-Nouaary & Gang Liu Timed Test Cases Generation based on MSC-2000 Test Purposes Clock Minimizing

Abdeslam En-Nouaary & Gang Liu Timed Test Cases Generation based on MSC-2000 Test Purposes Synchronous Product Construction specificationTest Purpose Synchronous Product

Abdeslam En-Nouaary & Gang Liu Timed Test Cases Generation based on MSC-2000 Test Purposes Sampling – Grid Automaton

Abdeslam En-Nouaary & Gang Liu Timed Test Cases Generation based on MSC-2000 Test Purposes Traversal – Test Cases Derivation

Abdeslam En-Nouaary & Gang Liu Timed Test Cases Generation based on MSC-2000 Test Purposes FrameWork--- 2 nd Variant

Abdeslam En-Nouaary & Gang Liu Timed Test Cases Generation based on MSC-2000 Test Purposes Sampling First GA of specificationGA of Test Purpose Synchronous Product of GA

Abdeslam En-Nouaary & Gang Liu Timed Test Cases Generation based on MSC-2000 Test Purposes Sampling with Different Granularities

Abdeslam En-Nouaary & Gang Liu Timed Test Cases Generation based on MSC-2000 Test Purposes Conclusion and Future Works n Conclusion - an integrated process is provided - solves time related problems - less test cases generated than other methods n 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)