Outline of the Lecture. Software Testing. Unit & Integration Testing. Components. Lecture Notes 3 (of 4)



Similar documents

Reasoning to Solve Equations and Inequalities

Vendor Rating for Service Desk Selection

Hillsborough Township Public Schools Mathematics Department Computer Programming 1

AntiSpyware Enterprise Module 8.5


Techniques for Requirements Gathering and Definition. Kristian Persson Principal Product Specialist

Appendix D: Completing the Square and the Quadratic Formula. In Appendix A, two special cases of expanding brackets were considered:

Test Management using Telelogic DOORS. Francisco López Telelogic DOORS Specialist

Source Code verification Using Logiscope and CodeReducer. Christophe Peron Principal Consultant Kalimetrix

Enterprise Risk Management Software Buyer s Guide

ClearPeaks Customer Care Guide. Business as Usual (BaU) Services Peace of mind for your BI Investment

Homework 3 Solutions

Small Business Cloud Services

Corporate Compliance vs. Enterprise-Wide Risk Management

JaERM Software-as-a-Solution Package

Protocol Analysis / Analysis of Software Artifacts Kevin Bierhoff

Quality Evaluation of Entrepreneur Education on Graduate Students Based on AHP-fuzzy Comprehensive Evaluation Approach ZhongXiaojun 1, WangYunfeng 2

5 a LAN 6 a gateway 7 a modem

EQUATIONS OF LINES AND PLANES

Unleashing the Power of Cloud

One Minute To Learn Programming: Finite Automata

Health Information Systems: evaluation and performance of a Help Desk

Quick Reference Guide: One-time Account Update

Welch Allyn CardioPerfect Workstation Installation Guide

Implementation Evaluation Modeling of Selecting ERP Software Based on Fuzzy Theory

Small Business Networking

Data replication in mobile computing

SyGEMe: Integrated Municipal Facilities Management of Water Ressources Swiss Geoscience Meeting, Neuchâtel, 21 novembre 2009 k

How To Network A Smll Business

Engineer-to-Engineer Note

FAULT TREES AND RELIABILITY BLOCK DIAGRAMS. Harry G. Kwatny. Department of Mechanical Engineering & Mechanics Drexel University

An Undergraduate Curriculum Evaluation with the Analytic Hierarchy Process

Engineer-to-Engineer Note

ENHANCING CUSTOMER EXPERIENCE THROUGH BUSINESS PROCESS IMPROVEMENT: AN APPLICATION OF THE ENHANCED CUSTOMER EXPERIENCE FRAMEWORK (ECEF)

RTL Power Optimization with Gate-level Accuracy

Experiment 6: Friction

WEB DELAY ANALYSIS AND REDUCTION BY USING LOAD BALANCING OF A DNS-BASED WEB SERVER CLUSTER

How To Be A Successful Mobile Ppliction And Regression Tester

Helicopter Theme and Variations

ffiiii::#;#ltlti.*?*:j,'i#,rffi

Unit 6: Exponents and Radicals

Model Checking for Software Architectures

Utilization of Smoking Cessation Benefits in Medicaid Managed Care,

Inter-domain Routing

Complexity Results in Epistemic Planning

2 DIODE CLIPPING and CLAMPING CIRCUITS

A Network Management System for Power-Line Communications and its Verification by Simulation

Section 7-4 Translation of Axes

In addition, the following elements form an integral part of the Agency strike prevention plan:

Start Here. IMPORTANT: To ensure that the software is installed correctly, do not connect the USB cable until step 17. Remove tape and cardboard

All pay auctions with certain and uncertain prizes a comment

Introducing Kashef for Application Monitoring

Advanced Baseline and Release Management. Ed Taekema

2. Transaction Cost Economics

Series. Setup Guide. (P.4) +800mm MEMO

Polynomial Functions. Polynomial functions in one variable can be written in expanded form as ( )

DlNBVRGH + Sickness Absence Monitoring Report. Executive of the Council. Purpose of report

The 8 Essential Layers of Small-Business IT Security

Solving BAMO Problems

Automated Grading of DFA Constructions

Small Business Networking

STRM Log Manager Installation Guide

Small Business Networking

Move, Inc Citi EMT Conference January 5, 2010

AN ANALYTICAL HIERARCHY PROCESS METHODOLOGY TO EVALUATE IT SOLUTIONS FOR ORGANIZATIONS

Example 27.1 Draw a Venn diagram to show the relationship between counting numbers, whole numbers, integers, and rational numbers.

Intellio Video System 25

OUTLINE SYSTEM-ON-CHIP DESIGN. GETTING STARTED WITH VHDL August 31, 2015 GAJSKI S Y-CHART (1983) TOP-DOWN DESIGN (1)

EE247 Lecture 4. For simplicity, will start with all pole ladder type filters. Convert to integrator based form- example shown

Facilitating Rapid Analysis and Decision Making in the Analytical Lab.

Small Business Networking

flex Regular Expressions and Lexical Scanning Regular Expressions and flex Examples on Alphabet A = {a,b} (Standard) Regular Expressions on Alphabet A

Space Vector Pulse Width Modulation Based Induction Motor with V/F Control

Tablet Charging Wall Mount 12

Software Cost Estimation Model Based on Integration of Multi-agent and Case-Based Reasoning

Engineer-to-Engineer Note

IaaS Configuration for Virtual Platforms

Small Businesses Decisions to Offer Health Insurance to Employees

FUEL SYSTEMS MERCARB 2 BARREL CARBURETOR 5 B

Java CUP. Java CUP Specifications. User Code Additions You may define Java code to be included within the generated parser:

Economics Letters 65 (1999) macroeconomists. a b, Ruth A. Judson, Ann L. Owen. Received 11 December 1998; accepted 12 May 1999

QoS Framework for SIP Signalling

1.00/1.001 Introduction to Computers and Engineering Problem Solving Fall Final Exam

Treatment Spring Late Summer Fall Mean = 1.33 Mean = 4.88 Mean = 3.

Kofax Reporting. Administrator's Guide

Section 5.2, Commands for Configuring ISDN Protocols. Section 5.3, Configuring ISDN Signaling. Section 5.4, Configuring ISDN LAPD and Call Control

Transcription:

Outline of the Lecture Softwre Testing Lecture Notes 3 (of 4) Integrtion Testing Top-down ottom-up ig-ng Sndwich System Testing cceptnce Testing istriution of ults in lrge Industril Softwre System (ISST 2002) Jnury, 2007 US, S, Mrim Kmkr, I, LiU 1 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 2 Unit & Integrtion Testing Ojective: to ensure tht code implemented the design properly. ode = System esign Specifiction omponent code omponent code Unit Unit Tested components Tested components esign Specifiction Integrtion Integrted modules Jnury, 2007 US, S, Mrim Kmkr, I, LiU 3 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 4 omponents driver omponent to e ed oundry conditions independent pths interfce... stu stu Test cses Jnury, 2007 US, S, Mrim Kmkr, I, LiU 5 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 6 1

Top-down Stus for four components Jnury, 2007 US, S, Mrim Kmkr, I, LiU 7 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 8 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 9 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 10 Top-down Top-down Test Test Test Test Jnury, 2007 US, S, Mrim Kmkr, I, LiU 11 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 12 2

Modified Top-down Modified Top-down Test Test Test Test Test,,, Test,,,,,, Jnury, 2007 US, S, Mrim Kmkr, I, LiU 13 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 14 ottom-up river for five components Jnury, 2007 US, S, Mrim Kmkr, I, LiU 15 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 16 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 17 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 18 3

ottom-up Jnury, 2007 US, S, Mrim Kmkr, I, LiU 19 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 20 ottom-up ig-ng Test Test Test Tets Test Test Test Test Tets Test Test Test Tets Test Test Jnury, 2007 US, S, Mrim Kmkr, I, LiU 21 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 22 Sndwich Trget level,, Jnury, 2007 US, S, Mrim Kmkr, I, LiU 23 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 24 4

Sndwich Modified Sndwich Test Test Test,, Trget level,, Test Test, Test Test Jnury, 2007 US, S, Mrim Kmkr, I, LiU 25 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 26 Modified Sndwich omprison of Integrtion Strtegies Test Test Top-down Modified Top-own ottom-up ig-ng Sndwich Modified Sndwich Test Test,, Integrtion rly rly rly Lte rly rly Test Test Test, Test Time to sic working progrm river needed rly No rly Lte Lte rly rly Test Test Stus needed No Jnury, 2007 US, S, Mrim Kmkr, I, LiU 27 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 28 System Testing Steps unction ing / Thred ing Performnce ing cceptnce ing Instlltion ing Ojective: to ensure tht the system does wht the customer wnts it to do. ustomer System Testing eveloper Test utomtion Termintion Prolem Requirements definition Requirements specifiction unctionl requirements Nonfunctionl requirements Jnury, 2007 US, S, Mrim Kmkr, I, LiU 29 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 30 5

omponent code omponent code Unit Unit Tested components Tested components esign Specifiction Integrtion Integrted modules Integrted modules System functionl requirements unction cceptnce ustomer requirements spec. unctioning systems ccepted system Other softwre requirements Performnce Instlltion User environment Verified vlidted softwre System In Use! Jnury, 2007 US, S, Mrim Kmkr, I, LiU 31 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 32 unction ing/thred ing (ing one function t time) functionl requirements Threds: scenrio of norml usge stimulus/response pir ehvior tht results from sequence of system-level input n interleved sequence of port input nd output events sequence of tomic system functions (S) S: n tomic system function is n ction tht is oservle t the system level in terms of port input nd output events function checks tht the integrted system performs its function s specified in the requirement uidelines use tem independent of the designers nd progrmmers know the expected ctions nd output oth vlid nd invlid input never modify the system just to mke ing esier hve stopping criteri Jnury, 2007 US, S, Mrim Kmkr, I, LiU 33 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 34 use-nd-ffect-rph ( cse genertion from req.) cuses: inputs effects: outputs nd trnsformtions cuses-nd-effect grph: oolen grph reflecting cuses nd effects reltionships is forml lnguge into which nturl lnguge specifiction is trnslted sic cuse-effect grph symols c Identity: if then nd: if ( nd ) then c d Identity: if (not ) then c Or: if ( or or c) then d Jnury, 2007 US, S, Mrim Kmkr, I, LiU 35 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 36 6

Specifiction: the chrcter in column 1 must e n or. The chrcter in column 2 must e digit. In this sitution, the file updte is mde. If the first chrcter is incorrect, messge X12 is issued. If the second chrcter is not digit, messge X13 is issued. uses 1: chrcter in column 1 is 2: chrcter in column 1 is 3: chrcter in column 2 digit ffects 1: updte mde 2: messge X12 is issued 3:messge X13 is issued Smple cuse-effect grph 1 Intermedite node 2 11 2 1 3 3 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 37 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 38 onstrint symols Smple cuse-effect grph with exclusive constrint cuse-constrint: t most one of or cn e true I cuse-constrint: I t lest one of, nd c must lwys e true c 1 2 11: Intermedite node 11 2 1 R M O O cuse-constrint: one, nd only one, of nd must e true R cuse-constrint: for to e true, must e true M effect-constrint: If effect to is true, ffect is forced to e flse 3 3 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 39 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 40 ecision tle for cuse-nd effect grph Test 1 Test 2 Test 3 Test 4 use 1 1 0 0 X use 2 0 1 0 X use 3 1 1 X 0 ffect 1 1 1 0 0 ffect 2 0 0 1 0 ffect 3 0 0 0 1 Performnce Testing nonfunctionl requirements Stress s Volume s onfigurtion s omptiility s Regression s Security s Timing s nvironment s Qulity s Recovery s Mintennce s ocumenttion s Humn fctors s / usility s Jnury, 2007 US, S, Mrim Kmkr, I, LiU 41 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 42 7

cceptnce Testing customers, users need enchmrk : set of specil cses Pilot : everydy working lph : t the developer s site, controlled environment et : t one or more customer site. Instlltion Testing users site cceptnce t developers site instlltion t users site, otherwise my not e needed!! Prllel : new system in prllel with previous one Jnury, 2007 US, S, Mrim Kmkr, I, LiU 43 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 44 Test utomtion utomting prts of the ing process cn provide long-term enefits to orgniztion, such s: reducing the mount of time it tkes to execute suite of s reducing the er s involvement in executing s fcilitting regression ing llowing for the simultion of hundreds of users voiding humn mistkes y hving tools control repetitive nd tedious tsks Test utomtion refers to two key ing ctivities: xecuting the s vluting the output utomted Testing Tools ode nlysis tools Sttic, ynmic Test execution tools pture-nd-reply Stus & rivers omprtors Test cse genertor Jnury, 2007 US, S, Mrim Kmkr, I, LiU 45 Jnury, 2007 US, S, Mrim Kmkr, I, LiU 46 Termintion Prolem How decide when to stop ing The min prolem for mngers! Termintion tkes plce when resources (time & udget) re over found the seeded fults somecoverge is reched Jnury, 2007 US, S, Mrim Kmkr, I, LiU 47 8