Rational Israel Users Conference Automated Model Driven Software Testing Rational Users Conference Tel Aviv June 7 2004 Alan Hartman IBM Israel – Haifa.

Slides:



Advertisements
Similar presentations
Integration of MBSE and Virtual Engineering for Detailed Design
Advertisements

imbus AG Kleinseebacher Strasse 9 D Moehrendorf Germany Phone: +49 (0) Fax: +49 (0) Web:
MDI 2010, Oslo, Norway Behavioural Interoperability to Support Model-Driven Systems Integration Alek Radjenovic, Richard Paige The University of York,
1 Software Testing and Quality Assurance Lecture 13 - Planning for Testing (Chapter 3, A Practical Guide to Testing Object- Oriented Software)
Sixth Hour Lecture 10:30 – 11:20 am, September 9 Framework for a Software Management Process – Artifacts of the Process (Part II, Chapter 6 of Royce’ book)
Software Engineering 1 Evolutionary Processes Lesson 11.
Galit Friedman, Alan Hartman, Kenneth Nagin, Tomer Shiran IBM Haifa Research Laboratory ISSTA 2002.
Software Testing and Quality Assurance
The Unified Software Development Process - Workflows Ivar Jacobson, Grady Booch, James Rumbaugh Addison Wesley, 1999.
Ontologies Reasoning Components Agents Simulations An Overview of Model-Driven Engineering and Architecture Jacques Robin.
1/31 CS 426 Senior Projects Chapter 1: What is UML? Chapter 2: What is UP? [Arlow and Neustadt, 2005] January 22, 2009.
CS 290C: Formal Models for Web Software Lecture 6: Model Driven Development for Web Software with WebML Instructor: Tevfik Bultan.
SwE 313 Introduction to Rational Unified Process (RUP)
Supplement 02CASE Tools1 Supplement 02 - Case Tools And Franchise Colleges By MANSHA NAWAZ.
Mastering OOA/OOD with UML. Contents Introduction Requirements Overview OOAOOD.
© 2008 IBM Corporation Behavioral Models for Software Development Andrei Kirshin, Dolev Dotan, Alan Hartman January 2008.
Introduction to Software Testing
Version Enterprise Architect Redefines Modeling in 2006 An Agile and Scalable modeling solution Provides Full Lifecycle.
- Chaitanya Krishna Pappala Enterprise Architect- a tool for Business process modelling.
Basic Concepts The Unified Modeling Language (UML) SYSC System Analysis and Design.
UML - Development Process 1 Software Development Process Using UML (2)
UML Tools ● UML is a language, not a tool ● UML tools make use of UML possible ● Choice of tools, for individual or group use, has a large affect on acceptance.
PTD Energy Management & Information Systems FERC TC: Information Technology for Reliability & Markets ISO-RTO Standards Collaborative July 14, 2004 J.
Aurora: A Conceptual Model for Web-content Adaptation to Support the Universal Accessibility of Web-based Services Anita W. Huang, Neel Sundaresan Presented.
Texas A&M University Department of Computer Science Sameh S. Sharkawi
An Introduction to MBT  what, why and when 张 坚
1 CSE 2102 CSE 2102 CSE 2102: Introduction to Software Engineering Ch9: Software Engineering Tools and Environments.
Copyright © Siemens AG All rights reserved. Essential Criteria on MBT to Ensure Quality of Software in Industry PVR Murthy Andreas Ulrich Siemens.
-Nikhil Bhatia 28 th October What is RUP? Central Elements of RUP Project Lifecycle Phases Six Engineering Disciplines Three Supporting Disciplines.
© 2012 WIPRO LTD | 1 Version 1.0a, 23 rd April 2012 TTCN-3 Users Conference Practical integration of TTCN-3 with Robot test automation framework.
Metadata Tools and Methods Chris Nelson Metanet Conference 2 April 2001.
RUP Implementation and Testing
MDE Model Driven Engineering Xavier Blanc Université Pierre et Marie Curie
Introduction to MDA (Model Driven Architecture) CYT.
1 MDWE'2008, Toulouse, France, September 30, 2008 A Comparative Analysis of Transformation Engines for User Interface Development Juan Manuel González.
Nicholas LoulloudesMarch 3 rd, 2009 g-Eclipse Testing and Benchmarking Grid Infrastructures using the g-Eclipse Framework Nicholas Loulloudes On behalf.
2nd TTCN-3 User Conference, June The TTCN-3 Metamodel – A Basis for Tool Integration Ina Schieferdecker TU Berlin/Fraunhofer Fokus Hajo Eichler,
Testing Workflow In the Unified Process and Agile/Scrum processes.
Software Engineering Research paper presentation Ali Ahmad Formal Approaches to Software Testing Hierarchal GUI Test Case Generation Using Automated Planning.
Framework for the Development and Testing of Dependable and Safety-Critical Systems IKTA 065/ Supported by the Information and Communication.
Model Driven Development An introduction. Overview Using Models Using Models in Software Feasibility of MDA MDA Technologies The Unified Modeling Language.
Systems Analysis and Design in a Changing World, 3rd Edition
AutoTester & UAT Automation Framework By SSTZ-UAT.
Unified Modeling Language* Keng Siau University of Nebraska-Lincoln *Adapted from “Software Architecture and the UML” by Grady Booch.
HRL © 2009 IBM Corporation Model-Driven Product-Lines for Embedded Software and for Supply-Chain Companies Tali Yatzkar-Haham Julia Rubin,
CASE1 Computer-Aided Software Engineering Advanced Software Engineering COM360 University of Sunderland © 2000.
Software Engineering Emphasis for Engineering Computing Courses William Hankley Computing & Information Sciences Kansas State University.
© 2006, National Research Council Canada © 2006, IBM Corporation Solving performance issues in OTS-based systems Erik Putrycz Software Engineering Group.
Source Mastering UML with Rational Rose 2002 Information System Engineering Introduction to UML.
Workforce Scheduling Release 5.0 for Windows Implementation Overview OWS Development Team.
 Programming - the process of creating computer programs.
August 2003 At A Glance The IRC is a platform independent, extensible, and adaptive framework that provides robust, interactive, and distributed control.
Process Asad Ur Rehman Chief Technology Officer Feditec Enterprise.
Test Plan: Introduction o Primary focus: developer testing –Implementation phase –Release testing –Maintenance and enhancement o Secondary focus: formal.
Copyright (C), No Magic, Inc Welcome to No Magic!
Ontologies Reasoning Components Agents Simulations An Overview of Model-Driven Engineering and Architecture Jacques Robin.
Viewpoint Modeling and Model-Based Media Generation for Systems Engineers Automatic View and Document Generation for Scalable Model- Based Engineering.
Model Based Systems Engineering Visualization Steven Corns Missouri University of Science & Technology.
© 2009 Artisan Software Tools. All rights reserved. Testing Solutions with UML/SysML Andrew Stuart, Matthew Hause.
Page 1 Hitachi Ltd. – FhI FOKUS TTCN-3 User Conference, June 2005 MDA based approach for generation of TTCN-3 test specifications Hideto Ogawa, Hitachi.
SWE 434 SOFTWARE TESTING AND VALIDATION LAB2 – INTRODUCTION TO JUNIT 1 SWE 434 Lab.
Software Tools and Environments
Advantages OF BDD Testing
Behavioral Models for Software Development
Evaluating Compuware OptimalJ as an MDA tool
Constructing MDA-based Application Using Rational XDE for .NET
Overview of the ETSI Test Description Language
Software Development Process Using UML Recap
Presentation transcript:

Rational Israel Users Conference Automated Model Driven Software Testing Rational Users Conference Tel Aviv June Alan Hartman IBM Israel – Haifa Research Laboratory

Rational Israel Users Conference Agenda AGEDIS Project Overview Architecture Methodology Interfaces Tools Future Plans

Rational Israel Users Conference AGEDIS Overview Automated model-based test Generation and Execution for DIStributed systems Methodology and tools for model-based testing Open interfaces Mixture of academic and industrial partners Three phase timetable of experiment and development November February 2004 Partially funded by the European Commission

Rational Israel Users Conference Consortium Partners IBM Haifa Research Lab Oxford University VERIMAG/IRISA Imbus France Telecom IBM UK Intrasoft International

Rational Israel Users Conference Methodology & Architecture UML based component testing Compliant with RUP High degree of automation No silver bullet

Rational Israel Users Conference Automated Testing Methodology

Rational Israel Users Conference Automated Testing Architecture GUI & Productivity Aids Model Generation Directives Execution Directives Compiler Intermediate Format Simulator Generator Abstract Test Suite Suite Execution Trace Analyzers Visualizer Editor Execution

Rational Israel Users Conference Benefits Starting from specification –Involves testers early in the development process –Teams testers with developers –Forces testability into product design Building behavioural model and test interface –Finds design and specification bugs - before code exists –The model is the test plan - and is easily maintained Automated test suite generation –Coverage is guaranteed - increases testing thoroughness –Matches coverage goals to testing budget –Zero test suite maintenance costs Automated test suite execution –Finds code and interface bugs –Includes a framework for the testing of distributed applications –Reduces test execution costs

Rational Israel Users Conference Interfaces UML Profile for AGEDIS Test Generation Directives Test Execution Directives IF Model Execution Interface Abstract Test Suite Suite Execution Trace UML TGD TED IF ATS SET

Rational Israel Users Conference User Modeling Interface The AGEDIS Modeling Language is a profile for UML 1.4: –UML Class diagrams - structure –UML Object diagrams - snapshots –UML State diagrams – behaviour & test purposes Annotated with an action language – IF

Rational Israel Users Conference Test Generation Directives Test Purposes – stereotyped system level state diagrams Coverage Directives – stereotyped system level state diagrams Coverage without tears – 4 levels – parameters to the test generation algorithm

Rational Israel Users Conference Test Execution Directives XML Schema –Model translation from model abstractions to SUT concrete implementations –Test architecture Host addresses Delays, timeouts Prologues, epilogues

Rational Israel Users Conference IF - Model Execution Interface IF Encoding of the model –Classes –Objects –State machines

Rational Israel Users Conference Test Suite and Trace Interface XML schema – for test execution and tracing Model description –classes : constants, types, control & observable signatures –a special class is defined for the tester –object identities Test Suite - set of test cases Test Trace – record of executed test cases

Rational Israel Users Conference Test Case and Test Trace Interaction graphs - between the tester and the SUT Associated verdicts (Pass, Fail, Inconclusive) Alternate paths for non-determinism in test cases Expected results in test suite Observed results and verdicts in trace

Rational Israel Users Conference Abstract Test Suite

Rational Israel Users Conference Tools User Interface Modeler & Model Compiler Model Simulator Test Generator Test Execution Engine Test Suite/Trace Viewer/Editor Feedback & Analysis Bug Reporter Report Generator UI & RG C S G FA VE EE

Rational Israel Users Conference GUI

ModelingTool & Compiler Modeling Tool & Compiler Objecteering UML modeling tool Tool profile to convert to XML General purpose XML to IF compiler –Written in Java, with XMI in mind as a future input format

Rational Israel Users Conference Model Simulator

Rational Israel Users Conference Test Generator Based on GOTCHA and TGV GOTCHA –uses Murphi specification language –explicit traversal of state space –extensive coverage criteria TGV –language independent simulator –focus on distributed applications –explicit test purposes as sequences of interactions

Rational Israel Users Conference Test Execution Engine –Input: Abstract Test Suite and Test Execution Directives –Output: Suite Execution Trace –Multiple platform (e.g. Linux, Windows) support –Multiple external interface (Java,C++,C) support –Test distribution + centralized logging –Interactive test case execution –GUI to view execution progress, inputs, and outputs

Rational Israel Users Conference Execution Engine Architecture N e t w o r k Test Suite Driver I/O Host Manager Process Manager 11 on each host1..N on each host... Object

Rational Israel Users Conference Feedback Tools Coverage analysis –Detect uncovered areas of the model in either test suite or test trace –Create test purposes to reach them –Invokes a functional coverage tool from Defect analysis –Clustering of defects –Feature extraction from clusters –Create test purposes to reproduce the bug

Rational Israel Users Conference AGEDIS Future Plans

Rational Israel Users Conference Future Plans Exploitation Activity –Available under license for non-commercial use –Available as a service Incorporation in wider Model Driven SE Effort –Integrate methodology with RUP –Migrate to Eclipse, XDE –Focus on business integration domain

Rational Israel Users Conference ModelWare New European Project Model driven software engineering Eclipse based tools for UML modeling, and the full MDA lifecycle –Model driven architecture –Platform independent and platform specific models –Model simulation –Model transformation

Rational Israel Users Conference Thanks to: A. Ramfos., S. Liapis, N. Giannelos, A. Hondouridakis, M. Sardis, K. Bechrakis, V. Akousi-Krivki K. Dussa-Zieger, J. Trost, B. Nossem, T. Linz, B. Mattern, J. Hofer, H. Raessler, T. Rossner, I. Craggs, I. Griffiths Y.-M. Quemener, D. Vincent, T. Heuillard, N. Moteau A.Bertolino, A. Wills, S. Reid K. Nagin, O. Edelstein, A. Kirshin, S. Olvovsky, M. Berg, L. Raskin, T. Shiran, C. Sacharen, M. Barshay, D. Neimer L. Mounier, M. Bozga, Y. Lakhnech T. Jeron, E. Demairy, V. Tschaen J. Davies, A. Cavarra, C. Crichton, J. Woodcock, M. Field