Functional Testing 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Lecture 01 – Functional Testing.

Slides:



Advertisements
Similar presentations
Copyright © 2013 Pearson Education, Inc. publishing as Prentice Hall2-1.
Advertisements

Welcome and Orientation Find dates an easy way… Click on one carat-go back one month, click on two carats-go back one year. Hold on box & slide.
Csci 565 Spring  Originally proposed by [Weiser 88]and [Gallagher 91] in software maintenance  Useful for  Software Debugging  Software Maintenance.
1 ECE 453 – CS 447 – SE 465 Software Testing & Quality Assurance Instructor Kostas Kontogiannis.
Sample Problems for Testing For “Program” Level Testing: –Triangle –Next Date –Sales Commission For “System” Level Testing: –ATM system –Currency conversion.
1 1 Slide © 2001 South-Western College Publishing/Thomson Learning Anderson Sweeney Williams Anderson Sweeney Williams Slides Prepared by JOHN LOUCKS QUANTITATIVE.
Boundary Value Testing A type of “Black box” functional testing –The program is viewed as a mathematical “function” –The program takes inputs and maps.
Prepare a deposit slip Record entries in a check register
White Box Testing and Symbolic Execution Written by Michael Beder.
Unit 211 Requirements Phase The objective of this section is to introduce software system requirements and to explain different ways of expressing these.
The Asset Market, Money, and Prices
©Silberschatz, Korth and Sudarshan4.1Database System Concepts Modification of the Database – Deletion Delete all account records at the Perryridge branch.
Computer Science 1620 Programming & Problem Solving.
CHAPTER 10 Created by, David Zolzer, Reversed By ::Oldog Workshop::, Roger Lan E-commerce Payment Systems.
© The McGraw-Hill Companies, 2006 Chapter 7 Implementing classes.
1 Software Testing and Quality Assurance Lecture 5 - Software Testing Techniques.
C++ fundamentals.
Lecture Note 8 Using Data Flow Diagrams
Equivalence Class Testing
Click to edit Master title style A tool designed to provide useful information and assist Propex Plus Partners!
Accounting & Financial Analysis 11 Lecture 2
CELTS Collection Exchange & Loan Tracking System Efficiency Tools, Inc. P.O. Box Carrollton, Texas Phone Let Efficiency.
Banking Jeopardy Double Jeopardy Banking Terms Electronic Banking Savings Accounts Signing.
Banking and Finance Business and Computer Science Mr. Dukes.
1 CSC103: Introduction to Computer and Programming Lecture No 13.
1 1 Slide Integer Linear Programming Professor Ahmadi.
1 Understanding Inheritance COSC 156 C++ Programming Lecture 8.
CMSC 345 Fall 2000 Unit Testing. The testing process.
1 1 Slide Integer Linear Programming Professor Ahmadi.
Case Study :. Introduction The ATM network will consist of a large number of ATM machines distributed over a wide geographical area. The network must.
Welcome and Orientation Find dates an easy way… Click on one carat-go back one month, click on two carats-go back one year. Hold on box & slide.
30S Applied Math Mr. Knight – Killarney School Slide 1 Unit: Budgeting Lesson: Cheque Records & Deposit Slips Cheque Records & Deposit Slips Learning Outcome.
Chapter 14 System Testing.
Faculty of Computer & Information Software Engineering Third year
A General Discussion on Functional (Black-box) Testing What are some of the concerns of testers ? –Have we got enough time to test (effort & schedule)?
Slideshow 2 Setting Up Bank Services, Tax Services and Schedule Codes.
Sample Problems for Testing
Programming Logic and Design Sixth Edition Chapter 5 Looping.
Example 2 Adding Integers Find the sum – CHECK You can use a number line to check your answer –= 8 – Use sign of number with greater absolute.
Comerica Bank Bank of America DFCU Financial
1 Boundary Value Testing Chapter 5. 2 Introduction Input domain testing is the most commonly taught (and perhaps the most commonly used) software testing.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
Data Structures and Algorithms Dr. Tehseen Zia Assistant Professor Dept. Computer Science and IT University of Sargodha Lecture 1.
1. Please turn in your BETTER DEAL page to the box. 2
School of Computer Science & Information Technology G6DICP - Lecture 4 Variables, data types & decision making.
GOALS BUSINESS MATH© Thomson/South-WesternLesson 3.2Slide 1 3.2Electronic Banking Record electronic banking transactions Find account balance when banking.
3.7 Money Market and CD Accounts
1 Requirements Engineering From System Goals to UML Models to Software Specifications Axel Van Lamsweerde.
Creating A Survey Using Office of Student Affairs Assessment The University of Georgia A-Team Training-Skills Session 1 October 30, 2007.
PestPac Software. Leads The Leads Module allows you to track all of your pending sales for your company from the first contact to the close. By the end.
Lec 09 Integration & System Testing- 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Lecture 09-Integration and System Testing 9/25/2013.
1 10/15/04CS150 Introduction to Computer Science 1 Reading from and Writing to Files Part 2.
1 Software Testing & Quality Assurance Lecture 5 Created by: Paulo Alencar Modified by: Frank Xu.
Boundary Value Testing 1.A type of “Black box” functional testing –The program is viewed as a mathematical “function” –The program takes inputs and maps.
1. Please turn in your HOMEWORK to the box. 2. Please pick up your WEEKEND SKILL BUILDER. 3. Complete the LAST section of your SKILL BUILDER. 4. Please.
Boundary Value Testing
More bankingChecks, etc. Check types ServicesMisc. Banking Banking Services Game.
Do Now Why do people have checking accounts?. Unit 4: Lesson 13: Checking Accounts Day 1 Objective: identify vocabulary terms related to checking accounts.
Prepared by Johnny Howard © 2015 South-Western, a part of Cengage Learning.
C++ Programming: CS102 LOOP. Not everything that can be counted counts, and not every thing that counts can be counted. −Albert Einstein Who can control.
Lec 10 Integration Testing- 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Lecture 10 – Integration Testing 9/30/
Subject Name: Software Testing Subject Code: 10CS842 Prepared By:
CSCE 747 Software Testing and Quality Assurance
How An ATM Work's Prepaid by, kakani Dinesh.
Sarbanes-Oxley, Internal Control, and Cash
CSCE 747 Software Testing and Quality Assurance
SECTION 4-4 Bank Statements pp
Chapter 1: Boundary Value Testing
Review What is the difference between simple interest and compound interest? Which will earn more? What 4 methods can you use to take money out of a checking.
Overview Functional Testing Boundary Value Testing (BVT)
Presentation transcript:

Functional Testing 1 CSCE 747 Fall 2013 CSCE 747 Software Testing and Quality Assurance Lecture 01 – Functional Testing

Functional Testing 2 CSCE 747 Fall 2013 Last Time Today Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 3 CSCE 747 Fall 2013 The NextDate Function Problem Statement NextDate is a function of three variables: month, day, and year. It returns the date of the day after the input date. The month, day, and year variables have integer values subject to these conditions: c1. 1 ≤ month ≤ 12 c2. 1 ≤ day ≤ 31 c ≤ year ≤ 2012 Jorgensen, Paul C. ( ). Software Testing (Page 22). Auerbach Publications. Kindle Edition. Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 4 CSCE 747 Fall 2013 The Commission Problem Problem Statement A rifle salesperson in the former Arizona Territory sold rifle locks, stocks, and barrels made by a gunsmith in Missouri. Locks cost $45, stocks cost $30, and barrels cost $25. The salesperson had to sell at least one complete rifle per month, and production limits were such that the most the salesperson could sell in a month was 70 locks, 80 stocks, and 90 barrels. After each town visit, the salesperson sent a telegram to the Missouri gunsmith with the number of locks, stocks, and barrels sold in that town. At the end of a month, the salesperson sent a very short telegram showing –1 lock sold. The gunsmith then knew the sales for the month were complete and computed the salesperson’s commission as follows: – 10% on sales up to (and including) $1000, – 15% on the next $800, and – 20% on any sales in excess of $1800. The commission program produced a monthly sales report that gave the total number of locks, stocks, and barrels sold, the salesperson’s total dollar sales, and, finally, the commission. Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 5 CSCE 747 Fall 2013 Simple ATM (SATM) GUI/Interface Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 6 CSCE 747 Fall Problem Statement The SATM system communicates with bank customers via the 15 screens shown in Figure 2.4. Using a terminal with features as shown in Figure 2.3, SATM customers can select any of three transaction types: – deposits, – withdrawals, and – balance inquiries. These transactions can be done on two types of accounts: checking and savings. Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 7 CSCE 747 Fall 2013

Functional Testing 8 CSCE 747 Fall 2013

Functional Testing 9 CSCE 747 Fall 2013 Currency Converter

Functional Testing 10 CSCE 747 Fall 2013 Saturn Windshield Wiper Controller The windshield wiper on some Saturn automobiles is controlled by a lever with a dial. The lever has four positions — OFF, INT (for intermittent), LOW, and HIGH — and the dial has three positions, numbered simply 1, 2, and 3. The dial positions indicate three intermittent speeds, and the dial position is relevant only when the lever is at the INT position. The decision table below shows the windshield wiper speeds (in wipes per minute) for the lever and dial positions.

Functional Testing 11 CSCE 747 Fall 2013

Functional Testing 12 CSCE 747 Fall 2013 Functional Testing Black Box testing Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 13 CSCE 747 Fall 2013 Boundary Value Testing Consider testing f(x,y) subject to constraints a  x  b c  y  d “Strongly typed languages (such as Ada®and Pascal) permit explicit definition of such variable ranges.” Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 14 CSCE 747 Fall 2013 Input domain Input domain of a function of two variables. Automatically generate test cases Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 15 CSCE 747 Fall 2013 T – Test case generator The tool T – generates test cases automatically – Min – Min+ – Nom (nominal) – Max- – Max MAXINT – -- /usr/include/limits.h Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 16 CSCE 747 Fall 2013 logical (versus physical) variables, Physical variables – tied to a real thing, temperature, age, etc. Logical variable – Pin numbers Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 17 CSCE 747 Fall 2013 Robustness Testing Robustness Testing adds Max+ Min- Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 18 CSCE 747 Fall 2013 Worst-Case Testing Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 19 CSCE 747 Fall 2013 Robust worst-case test cases Combines robust and worst case Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 20 CSCE 747 Fall 2013 Special value testing Special value testing is probably the most widely practiced form of functional testing. most intuitive and least uniform. Ad hoc Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 21 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 22 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 23 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 24 CSCE 747 Fall 2013 Input Space of Commission Problem Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 25 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 26 CSCE 747 Fall 2013 Eclipse and Java Assignment Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 27 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 28 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 29 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 30 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 31 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 32 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 33 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 34 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 35 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 36 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 37 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 38 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 39 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 40 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 41 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 42 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 43 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 44 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach

Functional Testing 45 CSCE 747 Fall 2013 Jorgensen, Paul C. Software Testing A Craftsman Approach