Black Box Software Testing Copyright © 2003-05 Cem Kaner & James Bach 1 Black Box Software Testing Fall 2005 Overview—Part 2 (Mission of Testing) Cem Kaner,

Slides:



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

Thoughts on Systematic Exploratory Testing of Important Products James Bach, Satisfice, Inc.
Four Schools of Software Testing Workshop on Teaching Software Testing, Florida Tech, February 2003.
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.
Introduction to Software Testing
Engineering Design Process ETP 2005 – Brian Vance This material is based upon work supported by the National Science Foundation under Grant No
Ethics in Software Engineering
University of Palestine software engineering department Testing of Software Systems Fundamentals of testing instructor: Tasneem Darwish.
ET Workshop v Opening©2002 Amland Consulting0-1 Exploratory Testing v Workshop in Risk-Based Agile Testing Parts of this class have been.
Numerical Integration UC Berkeley Fall 2004, E77 Copyright 2005, Andy Packard. This work is licensed under the.
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Academic Course – Fall 2001) Cem Kaner, J.D., Ph.D. Professor of.
Software Testing: Introduction Iain McCowatt imccowatt.
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.
Software Testing as a Social Science Cem Kaner, J.D., Ph.D. Professor of Software Engineering Florida Institute of Technology (Extracted for WTST from.
Black Box Software Testing Copyright © 2003 Cem Kaner & James Bach 1 Black Box Software Testing Fall 2004 PART DEVELOPING A PLAN FOR TESTING by Cem.
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:
Testing E001 Access to Computing: Programming. 2 Introduction This presentation is designed to show you the importance of testing, and how it is used.
Black Box Software Testing Copyright © Cem Kaner & James Bach 1 Black Box Software Testing Spring 2005 by Cem Kaner, J.D., Ph.D. Professor of.
Unit 1 Lesson 2 Scientific Investigations
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 © 2003 Cem Kaner & James Bach 1 Black Box Software Testing Spring 2005 PART 7 -- FUNCTION TESTING by Cem Kaner, J.D.,
Worlds First Professional CDT Education By Martin Nilsson.
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.
Computer Aided Design By Brian Nettleton This material is based upon work supported by the National Science Foundation under Grant No Any opinions,
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.
Copyright (c) Cem Kaner Black Box Software Testing (Academic Course - Fall 2001) Cem Kaner, J.D., Ph.D. Florida Institute of Technology Section:
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.,
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.,
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.
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.
Black Box Software Testing Copyright © Cem Kaner & James Bach 1 Black Box Software Testing Spring 2005 REGRESSION TESTING by 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 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.
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.
Black Box Software Testing Copyright © Cem Kaner & James Bach 1 Black Box Software Testing Fall 2004 by Cem Kaner, J.D., Ph.D. Professor of Software.
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 (Professional Seminar)
Black Box Software Testing Spring 2005
Software Testing Introduction.
Black Box Software Testing Fall 2004
Black Box Software Testing 2004 Academic Edition
Black Box Software Testing Spring 2005
Black Box Software Testing Fall 2004
Black Box Software Testing (Academic Course - Fall 2001)
Discussion and Conclusion
Introduction to Software Testing
Fundamental Test Process
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)
Cem Kaner, J.D., Ph.D. Director
Black Box Software Testing (Academic Course - Fall 2001)
Black Box Software Testing (Academic Course - Fall 2001)
Black Box Software Testing (Academic Course - Fall 2001)
Black Box Software Testing (Professional Seminar)
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.
Black Box Software Testing (Professional Seminar)
Exploring Exploratory Testing
Presentation transcript:

Black Box Software Testing Copyright © Cem Kaner & James Bach 1 Black Box Software Testing Fall 2005 Overview—Part 2 (Mission of Testing) 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 © Cem Kaner & James Bach 2 Some fundamental questions in software testing Why are you testing? What are you trying to learn? [What is the mission of your testing?] How should you organize your work to achieve your mission? [The strategy problem] How will you know whether the program passed or failed the test? [The oracle problem] What would it take to do a complete testing job? [The impossibility of complete testing.] How much testing is enough? [The measurement problem.] In this segment, we consider the mission of testing and the strategy problem

Black Box Software Testing Copyright © Cem Kaner & James Bach 3 What is testing? A technical investigation of the product under test conducted to provide stakeholders with quality-related information.

Black Box Software Testing Copyright © Cem Kaner & James Bach 4 Defining Testing A technical We use technical means, including experimentation, logic, mathematics, models, tools (testing-support programs), and tools (measuring instruments, event generators, etc.) investigation An organized and thorough search for information. This is an active process of inquiry. We ask hard questions (aka run hard test cases) and look carefully at the results.

Black Box Software Testing Copyright © Cem Kaner & James Bach 5 Defining Testing A technical Investigation … of the product under test The product includes the data, the documentation, the hardware, whatever the customer gets. If it doesn’t all work together, it doesn’t work. conducted to provide stakeholders Someone who has a vested interest in the success of the testing effort Someone who has a vested interest in the success of the product

Black Box Software Testing Copyright © Cem Kaner & James Bach 6 Defining Testing A technical investigation of the product under test conducted to provide stakeholders … with quality-related information The information of interest is often about the presence (or absence) of bugs. Other types of information are sometimes more vital to the stakeholders

Black Box Software Testing Copyright © Cem Kaner & James Bach 7 Information Objectives Find important bugs, to get them fixed Assess the quality of the product Help managers make release decisions Block premature product releases Help predict and control costs of product support Check interoperability with other products Find safe scenarios for use of the product Assess conformance to specifications Certify the product meets a particular standard Ensure the testing process meets accountability standards Minimize the risk of safety-related lawsuits Help clients improve product quality & testability Help clients improve their processes Evaluate the product for a third party Different objectives require different testing strategies and will yield different tests, different test documentation and different test results.

Black Box Software Testing Copyright © Cem Kaner & James Bach 8 Testing strategy: A brief introduction Your testing strategy is your plan for: Meeting your information objectives In the context of your project Let’s use an example to illustrate the idea of a testing strategy

Black Box Software Testing Copyright © Cem Kaner & James Bach 9 A thought experiment Suppose you were testing a program that does calculations, like a spreadsheet. Consider 4 development contexts: a)Computer game b)Early development of a commercial product, at the request of the project manager, to help her identify product risks and help her programmers understand the reliability implications of their work c)Late development of a commercial product, to help the project manager decide whether the product is finished d)Control medical equipment

Black Box Software Testing Copyright © Cem Kaner & James Bach 10 A thought experiment (2) For each context: What is your mission? How should you organize your testing to help you achieve the mission? –How aggressively should you hunt for bugs? Why? –Which bugs are less important than others? Why? –How extensively will you document your work? Why? Suppose the program has a numeric input field. The spec says it must accept single digits, but not how it should respond to letters. Should you test with letters? What if you're time pressed?

Black Box Software Testing Copyright © Cem Kaner & James Bach 11 Next stop: Test oracles