Model based testing tools. Olli Pekka Puolitaival



Similar documents
Automated Model Based Testing for an Web Applications

TTCN-3, Qtronic and SIP

Utilizing Domain-Specific Modelling for Software Testing

Model-based Testing: Next Generation Functional Software Testing

Model Driven Testing AGEDIS Architecture Interfaces and Tools

Model Based Testing (MBT) J u n e

Testing automation of projects in telecommunication domain

Integrating Legacy Code / Models with Model Based Development Using Rhapsody

MODEL BASED TEST DESIGN FOR PERFORMANCE TESTING AND OTHER NON-FUNCTIONAL REQUIREMENTS MATTIAS ARMHOLT ERICSSON AB

System testing from UML diagrams

Model-based Testing of Automotive Systems

Model-driven development solutions To support your business objectives. IBM Rational Rhapsody edition comparison matrix

Automated Test Generation

Industrial Adoption of Automatically Extracted GUI Models for Testing

Software Production. Industrialized integration and validation of TargetLink models for series production

RapidIO Network Management and Diagnostics

Industrial Adoption of Automatically Extracted GUI Models for Testing

Integrated Model-based Software Development and Testing with CSD and MTest

Technical Report Methods for Testing and Specification (MTS); Model-Based Testing (MBT); Application of MBT in ETSI case studies

SOFTWARE TESTING TRAINING COURSES CONTENTS

What is Enterprise Architect? Enterprise Architect is a visual platform for designing and constructing software systems, for business process

Chapter 13 Computer Programs and Programming Languages. Discovering Computers Your Interactive Guide to the Digital World

Real Time Developer Studio. Emmanuel Gaudin

imc FAMOS 6.3 visualization signal analysis data processing test reporting Comprehensive data analysis and documentation imc productive testing

October 21 November 5 November 14 December 12. Washington DC Boston Chicago San Jose. ni.com

SQL Server Administrator Introduction - 3 Days Objectives

Announcements. SE 1: Software Requirements Specification and Analysis. Review: Use Case Descriptions

Function Point Modeler Enterprise Edition A Software Lifecycle Management Tool

Introduction to Automated Testing

Overview. Stakes. Context. Model-Based Development of Safety-Critical Systems

SCADE Suite in Space Applications

imc FAMOS 6.3 visualization signal analysis data processing test reporting Comprehensive data analysis and documentation imc productive testing

Part I. Introduction

Business Process Modeling with Structured Scenarios

WHITE PAPER on Test Automation Framework Using MBT. Dec 2013

Web Application Testing. Web Performance Testing

Writing Use Case Scenarios for Model Driven Development

Software support for economic research at CNB

Algorithm & Flowchart & Pseudo code. Staff Incharge: S.Sasirekha

DAQ in MATLAB HANS-PETTER HALVORSEN,

RUN THE RIGHT RACE. Keep pace with quickening release cycles. Discover automation with the human touch. CHOOSE A TEST TO RUN BELOW

DIABLO VALLEY COLLEGE CATALOG

CAREER OPPORTUNITIES

Model-Based Spotify. Kristian Karl

Instructor Özgür ZEYDAN BEU Dept. of Enve. Eng. CIV 112 Computer Programming Lecture Notes (1)

Introduction to MATLAB Gergely Somlay Application Engineer

Virtual Integration and Consistent Testing of Advanced Driver Assistance Functions

Monitoring, Tracing, Debugging (Under Construction)

ReqXChanger Closing the Gap between Requirements and Modelling

Which Enterprise Architect Edition Should I Purchase?

System Behaviour Analysis with UML and Ptolemy. Scope and goals

Development of AUTOSAR Software Components within Model-Based Design

The next step in test automation: computer-generated tests

Embedded Software Development with MPS

FSW QA Testing Levels Definitions

SAMPLE RESUME FORMAT

M.S. Computer Science Program

An Automated Model Based Approach to Test Web Application Using Ontology

Business Process Modelling Notation A tutorial

Effective Team Development Using Microsoft Visual Studio Team System

MDA Overview OMG. Enterprise Architect UML 2 Case Tool by Sparx Systems by Sparx Systems

WebRatio 5: An Eclipse-based CASE tool for engineering Web applications

Driver - Vehicle Environment simulation. Mauro Marchitto Kite Solutions

Machine Learning with MATLAB David Willingham Application Engineer

How To Set Up An Outsourcing Center In China

Introduction to Simulink & Stateflow. Coorous Mohtadi

Developing SOA solutions using IBM SOA Foundation

Testing. Chapter. A Fresh Graduate s Guide to Software Development Tools and Technologies. CHAPTER AUTHORS Michael Atmadja Zhang Shuai Richard

7. Classification. Business value. Structuring (repetition) Automation. Classification (after Leymann/Roller) Automation.

Exporting from WebSphere Business Modeler Unit 23

Bitrix Site Manager 4.1. User Guide

Going Faster: Testing The Web Application. By Adithya N. Analysis and Testing of Web Applications Filippo Ricca and Paolo Tonella

Standard for Software Component Testing

Revel8or: Model Driven Capacity Planning Tool Suite

Development of Tool Extensions with MOFLON

Software Development Kit

THREE YEAR DEGREE (HONS.) COURSE BACHELOR OF COMPUTER APPLICATION (BCA) First Year Paper I Computer Fundamentals

Model based testing of Datawarehouse

Java/J2EE or Web Developer. Formal Education. Technical knowledge. Spoken Languages

/ Department of Mechanical Engineering. Manufacturing Networks. Warehouse storage: cases or layers? J.J.P. van Heur. Where innovation starts

Getting Embedded C Applications to Market Faster using the Model-Driven Development Technologies of Modeling, Simulation and Code Generation

B.Sc. in Computer Information Systems Study Plan

Test case design techniques II: Blackbox testing CISS

UML SUPPORTED SOFTWARE DESIGN

Transcription:

Model based testing tools Olli Pekka Puolitaival

Index 1. Software testing evolution 2. model based testing (MBT): main idea 3. MBT: step by step 4. MBT: tools 5. Questions

Software testing evolution model based testing Keyword/Actionword testing Scripted testing Recording Manual testing

Software testing evolution model based testing Scripted testing Manual testing Picture adopted from: http://www.tol.oulu.fi/projects/wg4/minutes/wg4_0507_tty.pdf

What is model based testing? Model based testing is software testing in which test cases are generated in whole or in part from a model that describes some (usually functional) aspects of the system under test (SUT) Almost synonyms Model driven testing Test generation Hardware in the loop Two main approach Online MBT Offline MBT

Offline MBT System requirements Model Offline MBT tool Test suite Test requirements Automate test case generation Offline MBT means generating a finite set of tests and execute those later This allows automatic test execution in third party test execution platform Makes possible to create a tool chain: Test executor SUT Report

Online MBT System requirements Model Online MBT tool Test requirements Test case generation and execution in motion Next step is design after the output receiving Testing nondeterministic systems Infinite test suite running Adapter SUT Report

Modelling (1) Modelling Test generation Test concretization Test execution Test requirements selection Purpose: To describe the system requirements for test generator Many faults can be found already in this phase Important High abstraction level The model includes also expected output of the SUT Two main aspects Design model Test model

Modelling (2) Modelling Test generation Test concretization Test requirements selection Choosing criteria: Modelling notations General vs. domainspecific Control oriented vs. data flow oriented Model validation Example: Syntax Behaviour Test execution

Test requirements selection Modelling Test generation Test concretization Test execution Test requirements selection Purpose: guiding test generation Three main categories: 1. Targets in the model 2. Coverage criteria State coverage Transition coverage Not means code coverage 3. Walking algorithms Random walking Coverage guided

Test generation Modelling Test generation Test concretization Test execution Test requirements selection Purpose: Design as well tests as possible Offline Searching algorithms Test are written in determined format Online Walking algorithms or light searching algorithms The next test step is decided after the previous one execution and output value receiving Algorithms have to be fast

Test concretization Modelling Test generation Test requirements selection Purpose: Concretize abstract test suite to executable level Tools are providing Various test exporting formats Do it yourself plug ins Three concretization example: Test concretization Test execution

Test execution (1) Modelling Test generation Test concretization Test requirements selection Purpose: Test executing and output comparing to the expected output Offline Test are run in external test execution platform The platform is writing the document and analysing the results Test execution

Test execution (2) Modelling Test generation Test concretization Test requirements selection Online Test are executed during the test designing MBT tool write a report and analyse the results Makes possible to handle SUT nondeterministic Analysing results Traceability Reporting Test execution

Main benefits of MBT Easier test suite maintenance Automated test design Save effort Better test quality no human faults Computer can find more combinations for complex systems than human brain Online MBT provides also Testing nondeterministic systems Infinite test suite

MBT tools analyse Purpose: To describe most relevant available MBT tools as example Tools: Leirios test generator MaTeLo Qtronic Reactis Spec Explorer

Leirios Test Designer (1) Operating system: Windows, Linux (Ubuntu) Offline/Online: Offline Modelling: Languages: UML+OCL No internal modeller Supporting third party modelling tools: Rational Software Modeler Borland Together Model validation Checking generated test cases

Leirios Test Designer (2) Test generation guiding Targets: test are consisting three parts: Preamble Body (=target) Postamble Test writing: Exporting test suite Large variety of exporting formats Do it yourself adapter is provided Report & traceability Traceability matrix

MaTeLo (1) Operating system: Windows Offline/Online: Offline Modelling: Language: Markov Chain model (FSM + transition probabilities, extended with variables, Scilap/Scicos and Matlab/Simulink functions Include a modelling tool Supporting third party modelling tools: UML in XMI format MSC PR from SDL tool Model validation Manually checking the generated HTML file

MaTeLo (2) Test generation guiding Coverage criteria Boundary value State and transition coverage Others Most probable route Random Test writing: Exporting formats: TTCN 3 HTML TestStand Extra: Report management Asynchronous inputs

Conformiq Qtronic (1) Operating system: Windows or Linux Offline/Online: Both Modelling Languages: CQ (variant of LISP) QML (UML Stateflow + variant of java) Include a modelling tool Input supporting formats: UML2.0/2.1 models in XMI2.0/2.1 format Model validation Test suite exporting as HTML sequence diagram

Conformiq Qtronic (2) Test generation guiding 9 coverage criteria Targets (called as requirements) 3 walking algorithms for online MBT Test writing (offline): Export test suite with plug ins (HTML, TTCN 3) Do it yourself plug ins are provided Test execution (online) Adapter plug in for test executing Logger plug in for logging Extra: Provide nondeterministic systems testing Search depth control, various test stopping criteria

Reactis (1) Operating environment: Windows with Matlab+ Simulink Offline/Online: Offline Modelling: No internal modeller Support model created by Matlab/Simulink/Stateflow Model validation: Simulating

Reactis (2) Test generation guiding Random 10 coverage criteria Test execution: Exporting formats Matlab formats Plain ASCII Comma separate value Report & Traceability The test executor is reporting

Spec Explorer (1) Operating system: Windows Strongly bounded with: Visual Studio Offline/Online: Both Modelling language: Spec# (extended C#) AsmL (Abstract State Machine Language) FSM for visualization Modeller: MS Word or some other text editor License only for research

Spec Explorer (2) Test generation guiding: Random walking Shortest path Transition coverage Test writing (offline): Xml

Further reading Practical Model Based Testing a tool approach, Mark Utting and Bruno Legeard

Thank you Olli Pekka Puolitaival Research trainee Automated Testing Platforms team, VTT olli pekka.puolitaival@vtt.fi +358 40 060 6293