Model Based Testing implementing with tools Ruud van Houwelingen 1 December 2, 2009.

Slides:



Advertisements
Similar presentations
Model-Based Testing with Smartesting Jean-Pierre Schoch Sogetis Second Testing Academy 29 April 2009.
Advertisements

© SMARTESTING 2011 – This document is the property of Smartesting. It may not be reproduced in whole or in part Cliquez pour modifier le style du titre.
Testing Workflow Purpose
Test Yaodong Bi.
PROGRESS User Committee Meeting, December 11, On the Fundamental Design Gap in Complex Systems Mark Verhappen Piet van der Putten.
Ossi Taipale, Lappeenranta University of Technology
Towards Self-Testing in Autonomic Computing Systems Tariq M. King, Djuradj Babich, Jonatan Alava, and Peter J. Clarke Software Testing Research Group Florida.
CS487 Software Engineering Omar Aldawud
Stoimen Stoimenov QA Engineer SitefinityLeads,SitefinityTeam6 Telerik QA Academy Telerik QA Academy.
Alternate Software Development Methodologies
SYSC System Analysis and Design
Rational Tool Overview. Introduction Requirements-Driven Software Development with Rational Analyst Studio. Tafadzwa Nzara Analysis & Design Consultant.
PRJ270: Essentials of Rational Unified Process
Development Processes UML just is a modeling technique, yet for using it we need to know: »what do we model in an analysis model? »what do we model in.
ORDINA NV Ringwade LM Nieuwegein Tel: Fax: e y on d B t h e o rd ina r y Gastcollege.
1 Software Testing and Quality Assurance Lecture 30 - Introduction to Software Testing.
Creating Architectural Descriptions. Outline Standardizing architectural descriptions: The IEEE has published, “Recommended Practice for Architectural.
SwE 313 Introduction to Rational Unified Process (RUP)
Copyright  Larry Dribin, Ph.D. SE470_EngFlows_v1.ppt SE470 EngFlows - 1 Excellence in Software Engineering Repeatable Level Defined Level Manage.
Introduction to Software Testing
Copyright © Panaya Oracle ® E-Business Suite Testing: How to Get Your Business Users On-Board Amir Farhi Director, Product Marketing.
Test Design Techniques
Yaxiong Lin TestOptimalTestOptimal, LLC TestOptimal Model-based Testing Effective Test Case Design And Test Automation Twin Cities Quality Assurance Association.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 18 Slide 1 Software Reuse.
The information contained in this document is highly confidential and privileged. No part of this document may be copied or circulated without express.
Chapter 3 – Agile Software Development 1Chapter 3 Agile software development.
An Introduction to MBT  what, why and when 张 坚
University of Palestine software engineering department Testing of Software Systems Testing throughout the software life cycle instructor: Tasneem.
Copyright © Siemens AG All rights reserved. Essential Criteria on MBT to Ensure Quality of Software in Industry PVR Murthy Andreas Ulrich Siemens.
Business Modeling : basic concepts Extracted from Rational UML Profile for business modeling.mht.
Copyright 2002 Prentice-Hall, Inc. Chapter 1 The Systems Development Environment 1.1 Modern Systems Analysis and Design.
Introduction Telerik Software Academy Software Quality Assurance.
CMSC 345 Fall 2000 Unit Testing. The testing process.
RUP Implementation and Testing
Business Analysis and Essential Competencies
© SMARTESTING – This document is the property of Smartesting. It may not be reproduced in whole or in part Model-Based Testing for Information.
Overview of Software Testing 07/12/2013 WISTPC 2013 Peter Clarke.
Chapter 2: Software Process Omar Meqdadi SE 2730 Lecture 2 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
Identify steps for understanding and solving the
Systems Design Approaches The Waterfall vs. Iterative Methodologies.
Testing Workflow In the Unified Process and Agile/Scrum processes.
Object-oriented Analysis and Design Stages in a Software Project Requirements Writing Analysis Design Implementation System Integration and Testing Maintenance.
Software Construction Lecture 18 Software Testing.
Rational Unified Process Fundamentals Module 5: Implementing RUP.
The Role of Experience in Software Testing Practice Zahra Molaei Soheil Hedayatitezengi Comp 587 Prof. Lingard 1 of 21.
Agile Test-based Modeling 資工 聶順成. Outline  Introduction : Modeling meets Programming  Agile Modeling: Using Models in Agile Projects  Model-based.
Rational Unified Process Fundamentals Module 3: Disciplines I.
1 UP MBT Extending the Unified Process with Model-Based Testing Fabrice Bouquet, Stéphane Debricon, Bruno Legeard and Jean-Daniel Nicolet MoDeV 2 a 2006.
Rational Unified Process Fundamentals Module 7: Process for e-Business Development Rational Unified Process Fundamentals Module 7: Process for e-Business.
MODEL-BASED SOFTWARE ARCHITECTURES.  Models of software are used in an increasing number of projects to handle the complexity of application domains.
Chapter 2: Testing in Software Life Cycle MNN1063 System Testing and Evaluation.
Software Engineering1  Verification: The software should conform to its specification  Validation: The software should do what the user really requires.
Smart Home Technologies
Rational Unified Process Fundamentals Module 4: Core Workflows II - Concepts Rational Unified Process Fundamentals Module 4: Core Workflows II - Concepts.
Modelling the Process and Life Cycle. The Meaning of Process A process: a series of steps involving activities, constrains, and resources that produce.
Rational Unified Process Fundamentals Best Practices of Software Engineering Rational Unified Process Fundamentals Best Practices of Software Engineering.
Unit – I Presentation. Unit – 1 (Introduction to Software Project management) Definition:-  Software project management is the art and science of planning.
Testing Constrained Combinations Telerik Software Academy Software Quality Assurance.
T EST T OOLS U NIT VI This unit contains the overview of the test tools. Also prerequisites for applying these tools, tools selection and implementation.
Lecturer: Eng. Mohamed Adam Isak PH.D Researcher in CS M.Sc. and B.Sc. of Information Technology Engineering, Lecturer in University of Somalia and Mogadishu.
Test Automation Steffen Goerlitz Barry Lange Mitchell Meerman Harry Schultz Trevor Spees.
 The processes used for RE vary widely depending on the application domain, the people involved and the organisation developing the requirements.  However,
Department of Computer Science Introduction to Information Security Chapter 8 ISO/IEC Semester 1.
Embedded Systems Software Engineering
Unified Process Source & Courtesy: Jing Zou.
Object oriented system development life cycle
Advantages OF BDD Testing
Introduction to Software Testing
Mumtaz Ali Rajput +92 – SOFTWARE PROJECTMANAGMENT– WEEK 4 Mumtaz Ali Rajput +92 – 301-
Presented by Elodie Bernard
Presentation transcript:

Model Based Testing implementing with tools Ruud van Houwelingen 1 December 2, 2009

2 Agenda Introduction Model Based Testing – Definition Tool Overview Implementation Conclusions

3 Introduction Who am I Why This Presentation? Updated Version of This Presentation on:

4 Model Based Testing – Definition Model-Based Testing is the automatic generation of efficient test procedures/vectors using models of system requirements and specified functionality. Model-based testing is software testing in which test cases are derived in whole or in part from a model that describes some (usually functional) aspects of the system under test (SUT). (Wikipedia) Model-based testing is the automation of black-box test design. A modelbased testing tool uses various test generation algorithms and strategies to generate tests from a behavioral model of the SUT. (Utting / Legeard)

5 Why Use MBT? Raise Quality Complex systems (System Interaction) ‘Exploding’ number of Test cases (> 100,000) Testing cannot keep up with the speed of Software Development or Deployment High Maintainability of Test Cases Test automation Possible Reduce Testing Time Reduce Costs

6 Automation of the Test Process ExecutionEvaluation

7 Model Based Testing Process Model TestManager Test scenarios SUT test execution test evaluation Pass / Fail Adapter test generation Report

8 ClassicalMBT create tests execute tests evaluate outcome result100 tests in 2 weeks specification modeling tests in 1 night Model Based Testing Process

9 Advantages / Challenges Advantages Automatically generate test cases in a short period of time Experiment with test cases No ambivalent test base Well defined coverage on the specification level Maintainability of the model Test scripts in formal notation (for test execution tools) Validation through simulation Challenges Selection of test cases to be generated (and oracles as well!!) (Skills for) making/defining the model The building of the model itself (abstraction level) Collecting the requirements for the model

10 What is the position of MBT today? Where does MBT fit in the “V-model” What is the relation between the models for development and testing?

11 MBT and the V-model CUSTOMER NEEDS & BUSINESS CASE REQUIREMENTS & CONSTRAINTS FUNCTIONAL DESIGN TECHNICAL DESIGN DEVELOPMENT & CONFIGURATION COMPONENT/UNIT TESTING USER ACCEPTANCE TESTING IMPLEMENTATION FUNCTIONAL ACCEPTANCE SUPPLIERS SYSTEM TESTING BUSINESS PURPOSE NEEDS & LIMITATION SOLUTION DEFINITION CUSTOMER SYSTEM INTEGRATION TESTING

Product requirements Process requirements & design Syst. Req. & design `Build Unit Test System tests Acceptance tests Deployment Operational time MBT and the V-model

13 Tools What kind of Tools Making the model Test Generation Tools Test Execution What can be automated by which tool? Rational / Borland (Micro Focus)  SmarTesting  QTP Conformiq  QTP Testmanager (Axini) Interoperabiliy needs to be worked on

14 Generating Test Cases How can Risk Based Testing be applied? Do we test all possibilities? Do we make a representative subset? What about the Efficiency of the Generator?

15 Immigration and Naturalisation Service We want to test more thorough but thorough testing costs too much time/effort Classical test automation is not sufficient Research University Twente, Enschede, Radbout, Nijmegen Many more…. model-based testing

16

17 INDiGO Architecture ESB BVVBuZaGBA..... Network Partners

18 BeInformed Suite

19 BeInformed Suite II

20 Concerns At this point in the project it is impossible to test all modeled laws, rules and regulations; Because of the incremental development/deployment of the system this characteristic must also reflect on testing strategy; The ultimate goal is to have all modeled laws, rules and regulations tested with maximum coverage, to minimize the risk of knowledge modeling.

21 Testing the BeInformed Legal Based Models BeInformed is part of the INDiGO Architecture; BeInformed functionality is part of the Siebel user-interface Legal Base Models in BeInformed are, through a ‘instrument’, published as a Web Service; The Web Services functionality is ‘well’ defined and is used within a ‘Application Workflow’; With the definition of each “Application Workflow’ the scope of the Web Services is determined and can be tested.

22 INDiGO architecture ESB BVVBuZaGBA..... Involved Organisations

23 Testing of the BeInformed system It is not about testing the way the models were build…

24 Testing of the BeInformed system … but about testing the way the information is used

25 Testing of the BeInformed system … with the same legal basis

Axini Testmanager 26

27 Testing per Instrument De kennismodellen worden middels instrumenten gepubliceerd op de ESB/GKI en zijn beschikbaar voor INDiGO concept Instrument Application Workflow Examples are: Price of a Single Document Term for a process step to be ended Legal end Preferred end Documents needed for a single application Countries / Nationality Classification (European Citizen)

28 Testing per Instrument Each Instrument covers a part of the Legal Based Models concept Instrument Application Workflow

29 Testing per Instrument per Application Workflow concept Instrument Each Application Workflow covers a part of the Legal Based Models per instrument Application Workflow

30 ? / ? Some parts of the decision tree do not apply to this specific subject under test ? / ? Within each Application Workflow you only cover a part of the model ? / ? Testing per Instrument per Application Workflow

31 The more we test, the more we cover the modeled laws and rules concept Instrument Application Workflow Testing per Instrument per Application Workflow

32 Testing per Instrument per Application Workflow – All Workflows Tested If all Application Workflows have been tested, we cover (nearly) all modeled laws and rules concept Instrument Application Workflow

33 Testing per Instrument / System Functions The Ultimate Goal of this approach is to cover all Legal based models, but at least to have a maximum coverage of all instruments. concept Instrument Application Workflow

34 Conclusions Highly Qualified key-users should not / must not be involved in “easy but intensive” testing process; Experience, Knowledge and Insight must give input for MBT in stead of writing Test scripts; Using MBT-tools improves coverage of all possible paths through the model; In an Agile, iterative and complex environment: MBT-tools can easily adapt to changes;

ORDINA N.V. Ringwade 1Tel: www.ordina.nl 3439 LM NieuwegeinFax: