Blackbox Testing Fra: CS2335 - Fall 2002. Blackbox Testing AKA Specification-Based Uses functional requirements to derive test cases Assumes errors include.

Slides:



Advertisements
Similar presentations
Equivalence Partitioning
Advertisements

Whitebox Testing Fra: CS Fall Whitebox Testing AKA Structural, Basis Path Test Normally used at unit level Assumes errors at unit level are.
Testing and Test Case Development A “primitive” method of testing, with NO test preparation, may include the following steps : – Initiate the system –
Ossi Taipale, Lappeenranta University of Technology
Annoucements  Next labs 9 and 10 are paired for everyone. So don’t miss the lab.  There is a review session for the quiz on Monday, November 4, at 8:00.
Alternative Work Week Schedules
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 CODE TESTING Principles and Alternatives. 2 Testing - Basics goal - find errors –focus is the source code (executable system) –test team wants to achieve.
Black-box Testing Lakeisha Dubose November 30, 2006 CSCI 362.
Software Testing and Quality Assurance
Testing an individual module
Chapter 18 Testing Conventional Applications
1 Software Testing and Quality Assurance Lecture 5 - Software Testing Techniques.
7.6 Function Operations. Review: What is a function? A relationship where every domain (x value has exactly one unique range (y value). Sometimes we talk.
Fair Labor Standards Act (FLSA)
1 Software Testing Techniques CIS 375 Bruce R. Maxim UM-Dearborn.
Equivalence Class Testing
Black Box Software Testing
Test Design Techniques
© 2004 SHRM SHRM Weekly Online Survey: November 30, Holidays Sample comprised of 359 randomly selected HR professionals. Analyzing 359 out of.
CS 325: Software Engineering March 31, 2015 Software Testing Black-Box Testing White-Box Testing Regression Testing.
Software Testing Sudipto Ghosh CS 406 Fall 99 November 9, 1999.
Dynamic Black-Box Testing Part 2
Let us start from the V-Model Verification Phases Requirements analysis System Design Architecture Design Module Design Coding Validation phases Unit.
Introduction Telerik Software Academy Software Quality Assurance.
CMSC 345 Fall 2000 Unit Testing. The testing process.
CS4311 Spring 2011 Unit Testing Dr. Guoqiang Hu Department of Computer Science UTEP.
Software Engineering Chapter 23 Software Testing Ku-Yaw Chang Assistant Professor Department of Computer Science and Information.
From anywhere… to anyone Page 1 The electronic version is the only valid copy of this document. Non-Standard Schedules Naming Convention for PSAC, APOC,
CS /51 Illinois Institute of Technology CS487 Software Engineering Software Testing Techniques Mr. David A. Lash.
Lecture 11.   Modular arithmetic is arithmetic in which numbers do not continue forever.  Modulo 7 has numbers 0, 1, 2, 3, 4, 5, and 6.  Modulo 5.
Introduction to Software Testing. Types of Software Testing Unit Testing Strategies – Equivalence Class Testing – Boundary Value Testing – Output Testing.
Holidays STEPHEN P. POSTALAKIS Blaugrund, Herbert, Kessler, Miller, Myers & Postalakis, Incorporated Ohio Association of.
Software testing techniques Software testing techniques Equivalence partitioning Presentation on the seminar Kaunas University of Technology.
CS451 – Software Testing Technologies Blackbox Testing Equivalence Partitioning.
Black Box Testing Techniques Chapter 7. Black Box Testing Techniques Prepared by: Kris C. Calpotura, CoE, MSME, MIT  Introduction Introduction  Equivalence.
Black-box Testing.
VARIABLE WEEK AND MAXIFLEX WORK SCHEDULES Informational Briefing November
Today’s Agenda  Reminder: HW #1 Due next class  Quick Review  Input Space Partitioning Software Testing and Maintenance 1.
How EXFC calculates the “number of days to deliver” EXFC follows the Origin Destination Information System (ODIS) calculation rules. The number of days.
Equivalence Class Testing In chapter 5, we saw that all four variations of boundary value testing are vulnerable to –gaps of untested functionality, and.
Pay Periods Pay Periods Work Hours Work Hours Reasonable Accommodations Reasonable Accommodations Holidays Holidays Annual Leave Annual Leave Sick Leave.
Veterans’ Day Veterans’ Day Observance November 11 th Established by Federal Law (5 U.S.C. 6103). HHhH.
6.6 Function Operations.
Testing Data Structures Tao Xie Visiting Professor, Peking University Associate Professor, North Carolina State University
Theory and Practice of Software Testing Chapter 14 Presman Software Testing Tactics BLACK BOX TESTING.
7.6 Function Operations. Review: What is a function? A relationship where every domain (x value) has exactly one unique range (y value). Sometimes we.
1 © 2011 Professor W. Eric Wong, The University of Texas at Dallas Requirements-based Test Generation for Functional Testing W. Eric Wong Department of.
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.
Equivalence Partitioning
Software Testing.
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.
Data Types Variables are used in programs to store items of data e.g a name, a high score, an exam mark. The data stored in a variable is entered from.
Black Box Testing PPT Sources: Code Complete, 2nd Ed., Steve McConnell
Input Space Partition Testing CS 4501 / 6501 Software Testing
Simulation based verification: coverage
Testing Approaches.
UNIT-4 BLACKBOX AND WHITEBOX TESTING
Transforming functions
Objective 1A f(x) = 2x + 3 What is the Range of the function
7.6 Function Operations.
10.6 Function Operations.
Test Instructions Part 1 (Calculator allowed; Multiple Choice)
7.6 Function Operations.
Function Operations.
7.6 Function Operations.
1.5 Function Operations.
UNIT-4 BLACKBOX AND WHITEBOX TESTING
Presentation transcript:

Blackbox Testing Fra: CS Fall 2002

Blackbox Testing AKA Specification-Based Uses functional requirements to derive test cases Assumes errors include missing or improperly implemented functions No knowledge of implementation details F(x) x Result

Equivalence Partitioning Divide input domain into classes of data Single test case can cover all “equivalent” data elements Partitions consist of valid and invalid sets

Basic Rules Range of values: one valid, two invalid partitions Specific value: one valid, two invalid partitions Set member: one valid and one invalid partition Boolean value: one valid and one invalid class Other elements: use common sense and analysis

Invoice Specification Invoices are calculated using the following algorithm based on quantity of x and y: Item X sells for $5 and Item Y sells for $10 Invoice Total >=$200 get 5% discount Invoice Total >=$1000 get 10% discount Invoices that order more than 30 X items get a 5% discount

Invoice Equivalence Partitions X Classes: Y Classes: Invoice Total Classes: =0 30 Total < 200 Total >=1000 Total >=200, Total <1000

Border/Boundary Conditions Most errors happen at the boundary, so select test cases that test at and on each side of the boundary. X Boundaries: 30, 31, -1, 0 Y Boundaries:-1, 0 Invoice Total Boundaries: If there are specification limits on data sizes be sure to test at the limits i.e. program must store up to 100 numbers, then test at 100. What happens at 101??? 200, 199, 999,1000

Is Spec testing really hard? U.S. Army Personnel specification for holidays: Executive Order provided in the case of an employee whose work week varied from the normal Monday through Friday work week that Labor Day and Thanksgiving Day each were to be observed on the next succeeding workday when the holiday fell on a day outside the employee’s regular basic work week. Now, when Labor Day, Thanksgiving Day or any Monday holiday is outside the employee’s basic workweek, the immediately preceding workday will be his holiday when the non-workday on which the holiday falls is the second non-workday or the non-workday designated as the employee’s day off in lieu of Saturday. When the non- workday on which the holiday falls is the first non-workday or the non- workday designated as the employee’s day off in lieu of Sunday, the holiday observance is moved to the next succeeding workday.