Testing techniques, example 14.4.2004.

Slides:



Advertisements
Similar presentations
EP & Boundary Questions
Advertisements

2017/3/25 Test Case Upgrade from “Test Case-Training Material v1.4.ppt” of Testing basics Authors: NganVK Version: 1.4 Last Update: Dec-2005.
Dynamic Testing Techniques
Test Design Overview.
Overview Functional Testing Boundary Value Testing (BVT)
Black Box Testing Csci 565 Spring 2009.
Equivalence Class Testing
Sample Problems for Testing For “Program” Level Testing: –Triangle –Next Date –Sales Commission For “System” Level Testing: –ATM system –Currency conversion.
Black box testing  Black box tests focus on the input/output behavior of the component  Black-box tests do not deal with the internal aspects of the.
1 Test Cases CSSE 376, Software Quality Assurance Rose-Hulman Institute of Technology March 13, 2007.
Black-box Testing Lakeisha Dubose November 30, 2006 CSCI 362.
Software Testing and Quality Assurance
Microsoft Excel How to do a quick loan using PMT.
Example 4 Loan Repayment Chapter 4.3 A business property is purchased with a promise to pay off a $60,000 loan plus the $16,500 interest on this loan by.
1 Functional Testing Motivation Example Basic Methods Timing: 30 minutes.
CS 325: Software Engineering March 31, 2015 Software Testing Black-Box Testing White-Box Testing Regression Testing.
Interest on Loans Section 6.8. Objectives Calculate simple interest Calculate compound interest Solve applications related to credit card payments.
Let us start from the V-Model Verification Phases Requirements analysis System Design Architecture Design Module Design Coding Validation phases Unit.
CS 217 Software Verification and Validation Week 6, Summer 2014 Instructor: Dong Si
CMSC 345 Fall 2000 Unit Testing. The testing process.
Digital Electronics Understanding truth tables. AND gate How many lines did a 2-input AND gate truth table have? ABZ (output) Answer:4.
Black-Box Testing Techniques I Software Testing Lecture 4.
By Asst.Prof.Dr. Wararat Songpan (Rungworawut) Faculty of Computer Science, Department of Science, Khon Kaen University, Thailand 1 Chapter 3: Equivalence.
CS 217 Software Verification and Validation Week 3, Summer 2014 Instructor: Dong Si
CS /51 Illinois Institute of Technology CS487 Software Engineering Software Testing Techniques Mr. David A. Lash.
Requirements-based Test Generation for Functional Testing (© 2012 Professor W. Eric Wong, The University of Texas at Dallas) 1 W. Eric Wong Department.
A right triangle is shown below. The triangle is dilated by a scale factor of 3.5 to create a new triangle. What is the area of the new triangle? A. 24.
TOP 5 REASONS TO REGISTER FOR AN ON-LINE ACCOUNT AT NSLSC National Student Loans Service Centre.
Black-Box Testing Techniques I
Software testing techniques Software testing techniques Equivalence partitioning Presentation on the seminar Kaunas University of Technology.
INF 111 / CSE 121: Software Tools and Methods Lecture Notes for Fall Quarter, 2007 Michele Rousseau Set 12 (Some slides adapted from Sommerville 2000 &
Black Box Testing Techniques Chapter 7. Black Box Testing Techniques Prepared by: Kris C. Calpotura, CoE, MSME, MIT  Introduction Introduction  Equivalence.
Test Drivers and Stubs More Unit Testing Test Drivers and Stubs CEN 5076 Class 11 – 11/14.
Software Engineering 2 Software Testing Claire Lohr pp 413 Presented By: Feras Batarseh.
CS 217 Software Verification and Validation Week 7, Summer 2014 Instructor: Dong Si
Software Testing Input Space Partition Testing. 2 Input Space Coverage Four Structures for Modeling Software Graphs Logic Input Space Syntax Use cases.
Team Assignment Present Be All You Can Be Copyright © by Team 1.
Fractions 3 4 numerator denominator
Notes on Loan Model. Amortization Schedule  Beginning Principal Balance –A form of cumulative (declining) cash flows  The same modeling technique applies.
Jeopardy Begins with c Loans Poor credit Consumer Credit consumer Finance Q $100 Q $200 Q $300 Q $400 Q $500 Q $100 Q $200 Q $300 Q $400 Q $500 Final.
1. Black Box Testing  Black box testing is also called functional testing  Black box testing ignores the internal mechanism of a system or component.
1 © 2011 Professor W. Eric Wong, The University of Texas at Dallas Requirements-based Test Generation for Functional Testing W. Eric Wong Department of.
Equivalence Class Testing Use the mathematical concept of partitioning into equivalence classes to generate test cases for Functional (Black-box) testing.
Black Box Unit Testing What is black-box testing? Unit (code, module) seen as a black box No access to the internal or logical structure Determine.
Dynamic Black-Box Testing Part 1 What is dynamic black-box testing? How to reduce the number of test cases using: Equivalence partitioning Boundary value.
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)?
Confidential. © D+H, Stay Informed about your Student Loans Register for an NSLSC On-Line Services Account.
Equivalence Partitioning
Chapter 3: Equivalence Class Testing :EC Software Testing
Subject Name: Software Testing Subject Code: 10CS842 Prepared By:
Equivalence partitioning
Equivalence partitioning
Domain Testing Functional testing which tests the application by giving inputs and evaluating its appropriate outputs. system does not accept invalid and.
WARNING 20 min These slides are not optimized for printing or exam preparation. These are for lecture delivery only. These slides are made for PowerPoint.
Boundary Value Analysis
Black-Box Testing Techniques I
Decision Table Based Testing
Types of Testing Visit to more Learning Resources.
UNIT-4 BLACKBOX AND WHITEBOX TESTING
Black-Box Testing Techniques III
Equivalence Class Testing
Cause and Effect Graphing
Register for an NSLSC On-Line Services Account
Determining Factors and Multiples
Testing techniques and methods
Home loan for $185,000 for 30 years at 8.5%
SECTION 10-2 Monthly Payment and Total Interest pp
Process Exchange Transactions Activity
Chapter 1: Boundary Value Testing
UNIT-4 BLACKBOX AND WHITEBOX TESTING
Presentation transcript:

Testing techniques, example

Equivalence Partitioning (EP) Partition (divide) the inputs, outputs, etc. into areas which are same (equivalent) assumption: if one value works, all will work one from each partition better than all from one invalid valid invalid

Boundary Value Analysis (BVA) Fault tend to lurk near boundaries, godd place to look for faults test values both sides of boundaries invalid valid invalid

Example: Loan application Input: –Customer name; 2-64 characters –Account number; 6 digits, 1st non-zero –Loan amount requested; € –term of loan; 1 to 10 years –monthly repayment; minimum 10 € Output: –Term, Repayment, Interest Rate, Total paid back

Example; Customer name Number of chars: invalid valid Valid characters: A-Z a-z -, space

Example; Account number First character: valid: non-zero invalid: zero Number of digits : invalid valid

Example; Loan amount invalid valid invalid

Condition template

Test cases

Questions and assumptions… Input of loan amount is a number of euros, no cents First 3 fields are mandatory; Term OR Repayment is mandatory (not both) Term of loan is in whole years Monthly payment is in euros and cents What is the maximum monthly repayment (Mmax)? Is it the amount of loan ?

Coverage of test case table

Coverage summary We can see from the coverage table how thoroughly we have tested the EP and BVA conditions that we have identified. valid partitions invalid partitions valid boundaries invalid boundaries input conditions 100% (5/5) 12% (2/17) 70% (7/10) 7% (1/13)