Model Driven Testing Overview

Similar documents
Test Execution Engine

Model Based Software Testing GOTCHA-TCBeans AGEDIS

Ten Years of Model Based Testing A Sober Evaluation. Agenda. What is Model Based Testing. What is Model Based Testing. The testing value proposition

Automated model-based test generation and execution

Adaptation of Model Based Testing to Industry

In this Lecture you will Learn: Testing in Software Development Process. What is Software Testing. Static Testing vs.

Using Layered Model-Based Requirements to achieve Continuous Testing

VST System & Foundation

IBM Rational Application Developer for WebSphere Software, Version 7.0

Micro Focus Studio Enterprise Edition Test Server

Sample Exam. Advanced Test Automation - Engineer

Software Testing Interview Question and Answer

Advanced Software Engineering: Software Testing

Three General Principles of QA. COMP 4004 Fall Notes Adapted from Dr. A. Williams

Testing, Validating, and Verifying with Model-Based Design Phil Rottier

What s new in Mainframe Express 3.0

From business need to implementation Design the right information solution

Focused Iterative Testing: A Test Automation Case Study Mechelle Gittens, Pramod Gupta, David Godwin, Hebert Pereyra, Jeff Riihimaki

Chap 2. Introduction to Software Testing

Overview. State-of-the-Art. Relative cost of error correction. CS 619 Introduction to OO Design and Development. Testing.

Test Design Techniques ISTQB (International Software Testing Qualifications Board)

Cursul Aprilie

Bridge Course On Software Testing

(Complete Package) We are ready to serve Latest Testing Trends, Are you ready to learn? New Batches Info

The team that wrote this redbook

FOUR INDEPENDENT TOOLS TO MANAGE COMPLEXITY INHERENT TO DEVELOPING STATE OF THE ART SYSTEMS. DEVELOPER SPECIFIER TESTER

Ninja or Samurai? The Art of War and the Future of Testing

Test Concepts and Technologies

Test Automation Strategies in Continuous Delivery. Nandan Shinde Test Automation Architect (Tech CoE) Cognizant Technology Solutions

1 Visible deviation from the specification or expected behavior for end-user is called: a) an error b) a fault c) a failure d) a defect e) a mistake

Discover, Relate, Model, and Integrate Data Assets with Rational Data Architect

Chapter 6 Architectural Design. Lecture 1. Chapter 6 Architectural design

IBM WebSphere Studio Asset Analyzer, Version 5.1

Quality Assurance: Test Development & Execution. Ian S. King Test Development Lead Windows CE Base OS Team Microsoft Corporation

IBM Enterprise Modernization for System z: Wrap existing COBOL programs as Web Services with IBM Rational Developer for System z

Version Overview. Business value

Testing. ECE/CS 5780/6780: Embedded System Design. Why is testing so hard? Why do testing?

Amit. Amit - Active Middleware. Technology Overview. IBM Research Lab in Haifa Active Technologies October 2002

Deliver robust products at reduced cost by linking model-driven software testing to quality management.

CERTIFIED. Faster & Cheaper Testing. Develop standards compliant C & C++ faster and cheaper, with Cantata automated unit & integration testing.

Testing is the process of evaluating a system or its component(s) with the intent to find whether it satisfies the specified requirements or not.

Oliopäivät Modelling Now and in the Future, with Acronyms or without = RSA

J2EE Application Development : Conversion and Beyond Osmond Ng

Simple to purchase, flexible to use

Certified Tester Foundation Level(CTFL)

NordiaSoft SCA Architect 2016

WHITEPAPER. Is Single Automation Framework possible for all Application Layers?

ITM DEVELOPMENT (ITMD)

Manuel Oriol, CHCRC-C, Software Testing ABB

Model-Based Testing. The Next Step in Test Automation!? Jan Tretmans SUT. model. TorXakis. SUMBAT: SUpersizing. Model.

IBM Rational Developer for System z Version 7.5

Empowering DBA's with IBM Data Studio. Deb Jenson, Data Studio Product Manager,

Model driven Engineering & Model driven Architecture

Diploma in Software Testing (DST)

Verification and Validation

SOLUTION BRIEF CA TEST DATA MANAGER AND CA SERVICE VIRTUALIZATION. CA Test Data Manager and CA Service Virtualization

a.k.a. Introducing the IBM MQ Appliance

10. Software Testing Fundamental Concepts

Number: Passing Score: 800 Time Limit: 120 min File Version:

Solution overview VISUAL COBOL BUSINESS CHALLENGE SOLUTION OVERVIEW BUSINESS BENEFIT

NEC ExpressCluster Introduction.

IBM C Rational Functional Tester for Java. Download Full Version :

Chapter 9 Quality and Change Management

TDDD04: Integration and System level testing. Lena Buffoni

Structured Approach to Testing - Android in an Agile Environment

Welcome to the Oracle Enterprise Manager Technical Webcast Series

Pearson Education 2007 Chapter 9 (RASD 3/e)

Sahi. Cost effective Web Automation

Client-server application testing plan

Test Plan and Cases (TPC) City of Los Angeles Personnel Department Mobile Applications

Pearson Education 2005 Chapter 9 (Maciaszek - RASD 2/e) 2

9 th CA 2E/CA Plex Worldwide Developer Conference 1

Customer Success Onboarding Guide. Version 11.3

Chapter 10. Testing and Quality Assurance

Highly Available Forms and Reports Applications with Oracle Fail Safe 3.0

Software Testing. An Overview

Diploma in Software Testing 2.0 (HP)

Testing Tools. Software Testing and Verification. Lecture 14. Stephen M. Thebaut, Ph.D. Prepared by. University of Florida

745: Advanced Database Systems

Web Applications (Part 2) The Hackers New Target

Module 1 : Fundamentals of Testing. Section 1: Manual Testing

Sample Exam Syllabus

Software Testing using Visual Studio 2010

Appendix to The Health of Software Engineering Research

CA Test Data Manager Key Scenarios

Automated Acceptance testing by Developers & Automated Functional Testing by Testers

SE 3S03 - Tutorial 2. Zahra Ali. Week of Feb 8, 2016

Acceptance Test Plan

Introduction To Software Testing. Brian Nielsen. Center of Embedded Software Systems Aalborg University, Denmark CSS

Verification and Validation of Models for Embedded Software Development Prashant Hegde MathWorks India Pvt. Ltd.

1. Which programming language is used in approximately 80 percent of legacy mainframe applications?

Higher-order Testing. Stuart Anderson. Stuart Anderson Higher-order Testing c 2011

Automated Test Design with TTCN-3

SOFTWARE MODELING AND DESIGN. UML, Use Cases, Patterns, and. Software Architectures. Ki Cambridge UNIVERSITY PRESS. Hassan Gomaa

Service Virtualization

Excel on the Java VM. Generating Fast Code from Spreadsheet Models. Peter Arrenbrecht codewise.ch / Abacus Research AG Submission ID: 30

Chapter Outline. Chapter 2 Distributed Information Systems Architecture. Distributed transactions (quick refresh) Layers of an information system

Helix Test Case Management Best Practices

Examination Questions Time allowed: 1 hour 15 minutes

SAP Solution Manager Test Workbench

Transcription:

Software and Verification Technologies Model Driven ing Overview July 2003 www.agedis.de w3.haifa.il.ibm.com\softwaretesting\gtcb IBM Internal Use Only IBM Labs in Haifa

Outline Motivation Process Technology Generation Execution Analysis Use Cases Deployments 2

Defect Cost Over Time (Apar $15-40,000) $14,000 85% %Defects Introduced in this phase Percentage of Bugs $25 Coding $130 Unit $250 Funct $1000 Field Post Release % Defects found in this in phase $ Cost to repair defect in this phase source: Applied Software Measurement, Capers Jones,1996 3

In the News 4 Source: Gartner Group

Downtime Costs (per Hour) Brokerage operations $6,450,000 Credit card authorization $2,600,000 Ebay (1 outage 22 hours) $225,000 Amazon.com $180,000 Package shipping services $150,000 Home shopping channel $113,000 Catalog sales center $90,000 Airline reservation center $89,000 Cellular service activation $41,000 On-line network fees $25,000 ATM service fees $14,000 Sources: InternetWeek 4/3/2000 + Fibre Channel: A Comprehensive Introduction, R. Kembel 2000, p.8....based on a survey done by Contingency Planning Research." 5

Current State of the ART 100% 80% 60% 40% 20% 0% 15% 50% 20% Cause of System Crashes 15% 18% 21% 53% 18% 10% 1985 1993 2001 Failures due to people up, hard to measure VAX crashes 85, 93 [Murp95]; extrap. to 01 HW/OS 70% in 85 to 28% in 93. In 01, 10%? 69% 5% 5% (est.) How get administrator to admit mistake? (Heisenberg?) Other: app, power, network failure System management: actions + N/problem Operating System failure Hardware failure (based on the lecture Recovery Oriented Computing by Dave Patterson, Berkeley) 6

ing Problem Today 80% of testers focus is making testing possible and only 20% is in making it meaningful Most defects discovered in system test could have been discovered in function test Cost of developing and supporting private test automation solutions in each lab Gap between developer and tester environment Gap between unit, function and system test System Under complexity 7

Model Based ing Process System Specs. Design 1.Modelling Design 2.Generation Interface 3.Translation State Abstract Machine Editor Model GOTCHA Suite Spider Scripts Legend Data 5.Execution 4.Execution Code Executor Tool Bug Interface Spider Code System Under Execution Log 8

Benefits of Model Driven ing 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 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 9

Model Driven ing Function test Model the procedures, functions, classes both public and private behavior White box and black box testing Component compliance test Model the external functionality of a component the actual behavior against model (spec) Black box testing (e.g., API level) Integration test Model the interaction between components the interaction and system behavior 10

GOTCHA Coverage directed Generation Behavior model describes: Data types Variables Behavior rules (methods) Generate tests to cover the input Cover the behavior rules Cover the rule parameter combinations Cover transitions between parameter combinations Generate tests to cover the behavior Cover variable combinations Cover transitions between variable combinations Interactive test generation Walk through the model Record and play the walk-through 11

Execution Engine Distributed support for major platforms (Windows, Unix) Direct execution in Java, C, C++, command line, sockets Translation to existing test harness Automated comparison with predicted results (traceable back to ATS) Synchronous & Asynchronous support: Environment to SUT interactions SUT to Environment interactions Add invariant operations, e.g. setup and cleanup object multiplication and stepwise synchronization Interactive and batch execution 12

SUT System Under Object... Object Process... Process Host... Host N e t w o r k Distributed Components 13

System Overview Host 1 Host 2 Host 3 O O O O O O PC PC HM PC HM HM PC TSD Main Host Legend: TSD Suite Driver HM Host Manager PC Process Controller O Object 14

Object Proxy SUT Object SUT Object Object Proxy Process Controller Process Controller may interact: directly with the SUT Object indirectly via Object Proxies created by the tester Java and C++ Proxy support wizards for creating proxy templates N e t w o r k 15

Analysis Technology Defect cluster analysis Coverage analysis of test suite and execution trace Feedback to test generation 16

Model Driven ing Architecture Model User Interface Generation Directives Compiler Analyzer Edit/Browser Intermediate Format Encoding Suite Execution Trace Generator Abstract Suite Execution Directives Execution 17

Use Cases Data Exchange Formats: ATS Abstract Suite (XML) GD Generation Directives TED Execution Directives (XML) SET Suite Execution Trace (XML) Tools used: GOTCHA Generator AGEDIS Generator TSDriver Suite Driver TSBrowser Suite browser Wizard TED & Proxy Wizard Con Concurrency er AGEDIS Suite Editor AGEDIS Suite Coverage Analyzer AGEDIS Defect Cluster Analyzer 18

GOTCHA Modeling SPEC. GOTCHA Text Editor GDL Model + coverage criteria + test constraints GOTCHA + Generation Options TSBrowser Abstract Suite 19

AGEDIS Modeling SPEC. Objecteering AML Model + coverage criteria + test purposes AGEDIS + Generation Options Abstract Suite TSBrowser 20

AGEDIS Suite Editor AGEDIS Suite Editor Abstract Suite TSBrowser 21

Suite Reuse: SPIDER Input Variation Wizard ATS-TED Editor Abstract Suite Exec. Dir. Wizard SPIDER TSBrowser Cloning Proxy Proxy Proxy Con System Under Suite Event Trace 22

Feedback and Analysis Suite Execution Engine Suite Trace Generator Coverage Analyzer Defect Analyzer Reports Generation Directives 23

Simulation Driven Execution Model Simulator GOTCHA or AGEDIS SPIDER System Under Suite Event Trace 24

Deployments Service Processor Controller Wireless Storage Controller Mainframe Messaging middleware Data Base Application Call Center Application 25

Three Tier A large number of DB update methods Three tier Websphere application COBOL code with a Java testing interface Rapid deployment! 5 person team working within 2 weeks Automated model template from COBOL Wizard for execution interface SQL code generated Bugs: 21 code, 19 error handling, 39 documentation 26

File System Retest of functions Modelling and translation by testers Comparison Original test: 18 bugs,12 PM Pilot test: 15 original bugs + 2 escapes, 10 PM (INCLUDING learning curve) Conclusions: Efficient way to free the tester for creative testing Replaces a large part of the manual test case writing DEFECTS BY SEVERITY # % 1 0 0 2 10 58.8 3 6 35.2 4 1 5.8 DEFECTS BY # % ODC TRIGGERS Coverage 6 35.2 Variation 1 5.8 Sequencing 8 47.0 Interaction 1 5.8 Load 1 5.8 27

Call Center Live test of Java based Call Center Modelling and Execution Function Regression System : Reusing function test Distributing test on many hosts Multiplying test clients DEFECTS BY SEVERITY # % 1 1 2.7 2 21 56.7 3 14 37.8 4 1 2.7 DEFECTS BY # % TRIGGERS Coverage 7 18.9 Variation 4 10.8 Sequencing 17 45.9 Interaction 5 13.5 Reliability 2 5.4 Recovery 2 5.4 28

Engineering Software- Microcode Service Processor Components Under State Manager Event Notifier Challenges Asynchronous Simulation environment Hardware environment 8 Defects discovered multiplication found difficult synchronization bug 29