Examples on Functional Testing

Slides:



Advertisements
Similar presentations
Do Now In your notebook, answer the following question in complete sentences: What causes the seasons?
Advertisements

Which season do you like best? 1106 Grade 8 Unit 9.
Forms of Equivalence Class Testing Normal • only equivalence classes are valid and invalid input values • emphasis is on "single failures" • works.
ECE453/SE465 Prof. Alencar University of Waterloo 1 Data Flow Testing Slice-Based Testing Winter 2007 Based on the tutorials by Prof. Kontogiannis, Winter.
ECE 453/ SE 465 Prof. Alencar University of Waterloo 1 Examples on Functional Testing Winter 2007 Based on the tutorials by Prof. Kontogiannis, Winter.
Chapter 1, Section 1.  Earth moves in two ways:  Rotation  Revolution.
Functional Testing 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Lecture 01 – Functional Testing.
CS447/ECE453/SE465 Prof. Alencar University of Waterloo 1 CS447/ECE453/SE465 Software Testing Tutorial Winter 2008 Based on the tutorials by Prof. Kontogiannis,
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt CalendarTime.
1 Session-5 CSIT 121 Spring 2006 Part D due now String Rules Chapter 2 Topics Lab Demo Exercise Assignment.
Black-box Testing Lakeisha Dubose November 30, 2006 CSCI 362.
Chapter 6 Control Structures.
ECE 301 – Digital Electronics Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #17)
ECE 201 Circuit Theory I1 Natural Response of an RC Circuit.
ECE 331 – Digital Systems Design Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #19)
Prepositions of Time at, in, on. At 1. At a specific time: … at five o’clock … at half past three 2. At a period of time: … at noon … at night … at midnight.
Whole School Attendance Whole School Attendance 94.64% Overall School Absence 5.36%
Reasons for the Seasons Environmental Science Chapter 13.1 Notes GraduateHavard GraduateHavard.
1 ECE 453 – CS 447 – SE 465 Software Testing & Quality Assurance Instructor Kostas Kontogiannis.
August 12th 5:30 pm Atrium.  Banners- Flyers on Table  Program Ads  November 16 th Golf Tournament.
 January is a winter month. It is the first month of the new year. It is after December and before February. What is the weather like in January?
1 School Based Services Medicaid Provider Liaison Meeting Michigan Department of Community Health February 25, 2010.
 Dependent variable (y) – The 2 nd coordinate of ordered pairs; it is the variable that changes depending on the value of the 1 st coordinate  Independent.
1 Troop Annual Program Chesterfield Missouri Troop 848 Highcroft Ridge Elementary School PSO XX tags :: BSA, Boy Scouts, Troop 848, Annual.
2nd Grade March Evaluation. 1. Divide the class in four teams 2.Choose a leader per question to compete for the turn to answer. 3.The leader with the.
WORD JUMBLE. Months of the year Word in jumbled form e r r f b u y a Word in jumbled form e r r f b u y a february Click for the answer Next Question.
WEATHER BY: JENNIFER FAUTH KINDERGARTEN.
DATE POWER 2 INCOME JANUARY 100member X 25.00P2, FEBRUARY 200member X 25.00P5, MARCH 400member X 25.00P10, APRIL 800member.
Concept Map. This affects the angle of the Sun’s rays and the length of the daylight hours.
Monthly Calendar What You Should Be Doing Every Month As A Yearbook Staff.
2011 Calendar Important Dates/Events/Homework. SunSatFriThursWedTuesMon January
Semester Calendar Academic Affairs. Proposed Calendar Outline Two 15 weeks semesters, one week of finals, one week for grading Fall Semester – Begin:
Software using a flowchart method of creating a control programme.
2/25/2016The Seasons1 The Reasons for Seasons. 2/25/2016The Seasons2 Day Night Cycle.
Pre-Algebra Chapter 8 Review. Question #1 In which quadrant or on which axis does each point fall? a)(0,2) b)(-4,8) c)(7,1)
ECE 453, Prof. Kontogiannis University of Waterloo 1 Data Flow Testing Slice-Based Testing Winter 2006 Presented by Nikos Giannopoulos
Agenda MC Aug 13.
School Calendar August 25,28 All Certified Staff In-service
Labour Day (May 1st) Spring (March-May) Women’s Day (March 8th)
Gantt Chart October November December Step One Step Two
Mark Ruane Vice President, Credit and Enterprise Risk Management
and Loudoun County School
IGG Agenda 17th December 2009 Minutes from Previous IGG Meeting
Seasons Notes.
School Calendar August 23,24,27 All Certified Staff In-service
Year 2 Autumn Term Week 12 Lesson 1
Business Application Development
CSCE 747 Software Testing and Quality Assurance
Do Now Get posters from front of the room
CSCE 747 Software Testing and Quality Assurance
Digital and Analogue Sensing
Washington 21st CCLC Annual Performance Report Technical Support Webinar Samantha Sniegowski November 2015 Copyright © 2015 American Institutes for Research.
Prepositions of Time at, in, on.
CONSEQUENCES OF REVOLUTION
Year 2 Autumn Term Week 12 Lesson 1
BAS DATA.
Calendar.
Why Do We Have Seasons?. Why Do We Have Seasons?
Digital and Analogue Sensing
Welcome Back to the District Assessment Selection Committee (DASC)!
Numbers Time By 張映芬老師.
WHEN IS YOUR BIRTHDAY? IT’S ON THE 5TH (FIFTH) OF MAY.
Overview Functional Testing Boundary Value Testing (BVT)
Daily Agenda for Rules & Expectations Our website Review Mitosis
Chapter 14 Section 4 What are the solstices and equinoxes?
WHEN IS YOUR BIRTHDAY? IT’S ON THE 5TH (FIFTH) OF MAY.
August September October December January February March April May
Arrivalist Seasonal Maps of Actual Visits
2015 January February March April May June July August September
Specials Calendar Time Day 1 Day 2 Day 3 Day 4 Day 5 Day 6
Presentation transcript:

Examples on Functional Testing Winter 2006 Presented by Nikos Giannopoulos nikos@swen.uwaterloo.ca ECE 453, Prof. Kontogiannis University of Waterloo

University of Waterloo Agenda Telephone Billing Example Flowchart → Decision Table Example ECE 453, Prof. Kontogiannis University of Waterloo

University of Waterloo Agenda Telephone Billing Example Flowchart → Decision Table Example ECE 453, Prof. Kontogiannis University of Waterloo

Telephone Billing Example The Spring and Fall changes between Standard and Daylight Savings time create an interesting problem for telephone bills. Develop equivalence classes for a long distance telephone service that bills calls at a flat rate of $0.05 per minute. Assume that the chargeable time of a call begins when the called party answers, and ends when the calling party disconnects ECE 453, Prof. Kontogiannis University of Waterloo

Telephone Billing Example For simplicity we consider a fixed Daylight Saving Time beginning date (March 13), and a fixed Standard Time beginning date (November 7) For simplicity we consider that time switches at midnight (March 13 and November 7) ECE 453, Prof. Kontogiannis University of Waterloo

Telephone Billing Example Inputs: Start Date Start Time End Date End Time Outputs: Charge Start Date & Time < End Date & Time ECE 453, Prof. Kontogiannis University of Waterloo

Telephone Billing Example Proposed equivalence relation: which are the crucial start/end dates to consider and which are the crucial start/end times that affect the billing procedure? ECE 453, Prof. Kontogiannis University of Waterloo

Telephone Billing Example Start Date SD1 = { startDate : January 1 ≤ startDate < March 13 } SD2 = { startDate : startDate = March 13 } SD3 = { startDate : March 13 < startDate < November 7 } SD4 = { startDate : startDate = November 7 } SD5 = { startDate : November 7 < startDate ≤ December 31 } Start Time ST1 = { startTime : startTime = 24h clock } End Date ED1 = { endDate : January 1 ≤ endDate < March 13 } ED2 = { endDate : endDate = March 13 } ED3 = { endDate : March 13 < endDate < November 7 } ED4 = { endDate : endDate = November 7 } ED5 = { endDate : November 7 < endDate ≤ December 31 } End Time ET1 = { endTime : endTime = 24h clock } ECE 453, Prof. Kontogiannis University of Waterloo

Telephone Billing Example Weak Equivalence Class Test Cases Traditional Equivalence Class Test Cases SD6 = { startDate : invalid dates } ED6 = { endDate : invalid dates } ST2 = { startTime : invalid times } ET2 = { endTime : invalid times } ECE 453, Prof. Kontogiannis University of Waterloo

Telephone Billing Example Strong Equivalence Class Test Cases ECE 453, Prof. Kontogiannis University of Waterloo

Telephone Billing Example Decision Table ECE 453, Prof. Kontogiannis University of Waterloo

University of Waterloo Agenda Telephone Billing Example Flowchart → Decision Table Example ECE 453, Prof. Kontogiannis University of Waterloo

Flowchart → Decision Table Example ECE 453, Prof. Kontogiannis University of Waterloo

Flowchart → Decision Table Example ECE 453, Prof. Kontogiannis University of Waterloo

University of Waterloo Agenda Telephone Billing Example Flowchart → Decision Table Example ECE 453, Prof. Kontogiannis University of Waterloo

University of Waterloo References Software Testing A Craftsman's Approach 2nd edition, Paul C. Jorgensen, CRC Press (Chapters 5, 6, and 7) Software Testing Techniques, Second Edition, Boris Beizer ECE 453, Prof. Kontogiannis University of Waterloo