Black Box Software Testing Copyright © 2003 Cem Kaner & James Bach 1 Black Box Software Testing Spring 2005 PART 7 -- FUNCTION TESTING by Cem Kaner, J.D.,

Slides:



Advertisements
Similar presentations
More and Better Test Ideas Rikard Edgren TIBCO Spotfire EuroSTAR share one-liner test ideas.
Advertisements

Black Box Software Testing Copyright © Cem Kaner & James Bach 1 Black Box Software Testing Spring 2005 Part 4 -- QUALITY COST ANALYSIS by Cem Kaner,
Black Box Software Testing Copyright © 2003 Cem Kaner & James Bach 1 Black Box Software Testing Fall 2004 PART PAIRED EXPLORATORY TESTING by Cem.
Prototyping. Horizontal Prototyping Description of Horizontal Prototyping A Horizontal, or User Interface, Prototype is a model of the outer shell of.
Access 2007 Product Review. With its improved interface and interactive design capabilities that do not require deep database knowledge, Microsoft Office.
What is a good length of string? –Depends on its use How do you design a good length of string? –Can be determined by a process What is a good user interface?
Applications Software
1 CSc Senior Project Software Testing. 2 Preface “The amount of required study of testing techniques is trivial – a few hours over the course of.
Adding Automated Functionality to Office Applications.
1. Learning Outcomes At the end of this lecture, you should be able to: –Define the term “Usability Engineering” –Describe the various steps involved.
1 Chapter 6 Understanding Computers, 11 th Edition Software Ownership Rights Software license: agreement, either included in a software package or displayed.
ACCB 133 Information Technology and Accounting Applications Lecture 6: Application Software.
We Need Your Help What we need you to do for us: If we build it, will you use it? Be willing to test-drive the user interface and provide feedback. Help.
Software testing techniques Software testing techniques Testing based on specifications Presentation on the seminar Kaunas University of Technology.
Black Box Software Testing Copyright © 2003 Cem Kaner & James Bach 1 Black Box Software Testing Fall 2004 Part Exercises by Cem Kaner, J.D., Ph.D.
Copyright (c) Cem Kaner Black Box Software Testing (Academic Course - Fall 2001) Cem Kaner, J.D., Ph.D. Florida Institute of Technology Section:
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
Copyright (c) Cem Kaner Black Box Software Testing (Academic Course - Fall 2001) Cem Kaner, J.D., Ph.D. Florida Institute of Technology Section:
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Lesson 1 Introduction.
Productivity Programs Common Features and Commands.
© Copyright 2011 John Wiley & Sons, Inc.
Black Box Software Testing Copyright © Cem Kaner & James Bach 1 Black Box Software Testing Fall 2005 Overview—Part 2 (Mission of Testing) Cem Kaner,
Black Box Software Testing Copyright © 2003 Cem Kaner & James Bach 1 Black Box Software Testing Fall 2004 PART USER TESTING by Cem Kaner, J.D., Ph.D.
Black Box Software Testing Copyright © Cem Kaner & James Bach 1 Black Box Software Testing Fall 2005 Overview for Students Cem Kaner, J.D., Ph.D.
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
Black Box Software Testing Copyright © Cem Kaner & James Bach 1 Black Box Software Testing Fall 2005 Overview—Part 3 (Test oracles) Cem Kaner,
Black Box Software Testing Copyright © 2003 Cem Kaner & James Bach 1 Black Box Software Testing Fall 2004 PART 7 -- TEST DESIGN by Cem Kaner, J.D., Ph.D.
Black Box Software Testing Copyright © 2003 Cem Kaner & James Bach 1 Black Box Software Testing Fall 2004 PART 6 -- SCENARIO TESTING by Cem Kaner, J.D.,
BACKGROUND The Web is a global information resource Web users that seek information vary, culturally and ethnically Users of different cultural backgrounds.
Black Box Software Testing Copyright © 2003 Cem Kaner & James Bach 1 Black Box Software Testing Fall 2004 PART STOCHASTIC TESTING by Cem Kaner, J.D.,
Creating Macros in Excel Adding Automated Functionality to Excel & Office Applications.
Black Box Software Testing Copyright © 2003 Cem Kaner & James Bach 1 Black Box Software Testing 2004 Academic Edition Part EDITING BUGS by Cem Kaner,
Session # Rational User Conference 2002 Author Note: To edit Session # go to: View/Master/Title Master ©1998, 1999, 2000, 2001, 2002 Rational Software.
OBJECTIVES  Understand relational databases  Explore a database  Create a database  Create a table  Create primary keys  Relate two tables  Enter.
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
COMPUTER SOFTWARE FORM 1. Learning Area Introduction to computer software Operating System (OS) Application Software Word Processing Software Presentation.
Using Document Collaboration, Integration, and Charting Tools
BACKGROUND The Web is a global information resource Web users that seek information vary, culturally and ethnically Users of different cultural backgrounds.
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
Black Box Software Testing Copyright © 2003 Cem Kaner & James Bach 1 Black Box Software Testing Fall 2004 PART REGRESSION TESTING by Cem Kaner, J.D.,
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
Black Box Software Testing Copyright © 2003 Cem Kaner & James Bach 1 Black Box Software Testing Spring 2005 PART 8 -- TEST DESIGN by Cem Kaner, J.D., Ph.D.
IBM Software Group © 2006 IBM Corporation Confidentiality/date line: 13pt Arial Regular, white Maximum length: 1 line Information separated by vertical.
Lesson 17 Mail Merge. Overview Create a main document. Create a data source. Insert merge fields into a main document. Perform a mail merge. Use data.
Using Web 2.0 to Increase Effectiveness of Staff Training Brian C. Gray Case Western Reserve University Kelvin Smith Library Head of Reference & Engineering.
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
Engineering and Education Partnership: Preparing the Next Generation of Cross Disciplinary Trained STEM Teachers Dr. Michael de Miranda School of Education.
Black Box Software Testing (Professional Seminar)
Black Box Software Testing Spring 2005
PowerPoint presentation
Black Box Software Testing 2004 Academic Edition
Black Box Software Testing Spring 2005
Black Box Software Testing (Academic Course - Fall 2001)
Black Box Software Testing Fall 2004
Discussion and Conclusion
Integrating Word, Excel, and Access
Roberta Roth, Alan Dennis, and Barbara Haley Wixom
Introduction to Software Testing
Title of session For Event Plus Presenters 12/5/2018.
Black Box Software Testing Fall 2004
Black Box Software Testing Fall 2005 Overview – Part 1 of 3
Black Box Software Testing 2004 Academic Edition
Black Box Software Testing (Academic Course - Fall 2001)
Black Box Software Testing (Academic Course - Fall 2001)
Data Groupings: File File: a group of related records
Black Box Software Testing Fall 2005 Overview—Part 3 (Test oracles) Cem Kaner, J.D., Ph.D. Professor of Software Engineering Florida Institute of Technology.
Black Box Software Testing (Professional Seminar)
This material is based upon work supported by the National Science Foundation under Grant #XXXXXX. Any opinions, findings, and conclusions or recommendations.
Exploring Exploratory Testing
Presentation transcript:

Black Box Software Testing Copyright © 2003 Cem Kaner & James Bach 1 Black Box Software Testing Spring 2005 PART 7 -- FUNCTION TESTING by Cem Kaner, J.D., Ph.D. Professor of Software Engineering Florida Institute of Technology and James Bach Principal, Satisfice Inc. Copyright (c) Cem Kaner & James Bach, This work is licensed under the Creative Commons Attribution-ShareAlike License. To view a copy of this license, visit or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. These notes are partially based on research that was supported by NSF Grant EIA ITR/SY+PE: "Improving the Education of Software Testers." Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

Black Box Software Testing Copyright © 2003 Cem Kaner & James Bach 2 Function Testing Tag lines –“Black box unit testing.” –"Test what it can do" Fundamental question or goal –Test each function thoroughly, one at a time. Paradigmatic case(s) –Spreadsheet, test each item in isolation. –Database, test each report in isolation Strengths –Best for assessing capability rather than reliability –If used as a dominant technique, thorough analysis of each item tested Blind spots –Misses interactions, misses exploration of the benefits offered by the program.

Black Box Software Testing Copyright © 2003 Cem Kaner & James Bach 3 Some Function Testing Tasks A function is something the product can do –Functions may be called features / commands or they may be identified only by what they do (usually, some of each) Identify each function and sub-function –From specifications or the draft user manual –From walking through the user interface –From trying commands at the command line –From searching the program or resource files for command names From this information, build the function list

Black Box Software Testing Copyright © 2003 Cem Kaner & James Bach 4 Primary Artefact: The Function List Category of functions (e.g. Editing) –Individual functions (e.g. Cut, Paste, Delete) Inputs to the function –Variable »Maximum value »Minimum value »Other special cases Outputs of the function Possible scope of the function (e.g. Delete word, Delete paragraph) Options of the function (e.g. configure the program to Delete the contents of a row of a table, leaving a blank row versus Delete the row along with its contents) Circumstances under which the function behaves differently (e.g. deleting from a word processor configured to track and display changes or not to track changes)

Black Box Software Testing Copyright © 2003 Cem Kaner & James Bach 5 Concept Mapping Tools Overviews: – – – – Cmap (freeware, supports collaborative mapping among several users), FreeMind (another free mind mapping program)

Black Box Software Testing Copyright © 2003 Cem Kaner & James Bach 6 Some Function Testing Tasks Identify each function and sub-function Build the function list –From specifications or the draft user manual –From walking through the user interface –From trying commands at the command line –From searching the program or resource files for command names Key tasks when building or using the function list: –Determine how you would know if the function worked. –Identify variables used by the functions and test their boundaries. –Identify environmental variables that may constrain the function under test. –Check that each function does what it's supposed to do and does not do what it's not supposed to do.

Black Box Software Testing Copyright © 2003 Cem Kaner & James Bach 7 Primary Uses of Function Testing Orients you to coverage issues –you might check your test plan or set of test cases against the function list, for coverage of every feature, and every option and subfunction of every feature. Useful for initial testing of the product –Sympathetic introduction to the capabilities of the product –Fast scan for serious problems that should be addressed early

Black Box Software Testing Copyright © 2003 Cem Kaner & James Bach 8 Risks of Function Testing Excellent starting point, but some people rely on this as the primary testing method. As a primary testing method, it is a problem that it emphasizes unit testing, isolating tests of individual items: –Misses feature interactions –Misses load-related issues, interaction with background tasks, effects of interrupts –Often focuses on the features without considering boundaries or other tests of special data –Doesn’t address user tasks—whether the customer can actually achieve the benefits promised by the program