Copyright (c) 1994-2001 Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.

Slides:



Advertisements
Similar presentations
Test-First Programming. The tests should drive you to write the code, the reason you write code is to get a test to succeed, and you should only write.
Advertisements

Software Testing. “Software and Cathedrals are much the same: First we build them, then we pray!!!” -Sam Redwine, Jr.
9-1 Supporting Management and Decision Making 9-2 The Managers and Decision Making The Manager’s job Manager decisions and computerized support Modeling.
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
ET Workshop v Opening©2002 Amland Consulting0-1 Exploratory Testing v Workshop in Risk-Based Agile Testing Parts of this class have been.
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Academic Course – Fall 2001) Cem Kaner, J.D., Ph.D. Professor of.
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 Black Box Software Testing (Academic Course - Fall 2001) Cem Kaner, J.D., Ph.D. Florida Institute of Technology Section:
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:
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 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. 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 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.
VERIFICATION OF ASPECT-ORIENTED MODELS Review of Aspect-Oriented Definitions aspect – crosscutting concern that may involve multiple classes pointcut –
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.,
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.
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 Black Box Software Testing (Academic Course - Fall 2001) Cem Kaner, J.D., Ph.D. Florida Institute of Technology Section:
Copyright (c) Cem Kaner Black Box Software Testing (Academic Course - Fall 2001) Cem Kaner, J.D., Ph.D. Florida Institute of Technology Section:
Information Technology Economics
© Trygve Reenskaug 2008UMLChina Slide 1 20 November 2015 The Common Sense of Object Oriented Programming Trygve Reenskaug Department of Informatics University.
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 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:
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. 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:
Black Box Software Testing Copyright © 2003 Cem Kaner & James Bach 1 Black Box Software Testing Fall 2004 PART GUI REGRESSION AUTOMATION by Cem Kaner,
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.
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.
Test Automation Steffen Goerlitz Barry Lange Mitchell Meerman Harry Schultz Trevor Spees.
Software Design and Development Development Methodoligies Computing Science.
Black Box Software Testing (Professional Seminar)
Black Box Software Testing Spring 2005
Regression Testing with its types
Software Packaging and Releasing
Black Box Software Testing 2004 Academic Edition
Black Box Software Testing (Academic Course - Fall 2001)
Black Box Software Testing (Academic Course - Fall 2001)
Information Technology Economics
Black Box Software Testing (Academic Course - Fall 2001)
Black Box Software Testing (Academic Course - Fall 2001)
KEY IDEA Use a diversified test strategy that will serve the mission.
Black Box Software Testing Fall 2004
Black Box Software Testing Fall 2005 Overview – Part 1 of 3
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 (Professional Seminar)
Black Box Software Testing (Professional Seminar)
Black Box Software Testing (Professional Seminar)
Presentation transcript:

Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer Sciences Florida Institute of Technology Section:16 Regression Testing Summer, 2002 Contact Information: (testing website) (legal website) I grant permission to make digital or hard copies of this work for personal or classroom use, with or without fee, provided that (a) copies are not made or distributed for profit or commercial advantage, (b) copies bear this notice and full citation on the first page, and if you distribute the work in portions, the notice and citation must appear on the first page of each portion, (c) each page bear the notice "Copyright (c) Cem Kaner" or if you changed the page, "Adapted from Notes Provided by Cem Kaner". Abstracting with credit is permitted. The proper citation for this work is Cem Kaner, A Course in Black Box Software Testing (Professional Version), Summer-2002, To copy otherwise, to republish or post on servers, or to distribute to lists requires prior specific permission and a fee. Request permission to republish from

Copyright (c) Cem Kaner. All Rights Reserved. 2 Regression Testing Tag line “Repeat testing after changes.” Fundamental question or goal Manage the risks that (a) a bug fix didn’t fix the bug or (b) the fix (or other change) had a side effect. Paradigmatic case(s) Bug regression (Show that a bug was not fixed) Old fix regression (Show that an old bug fix was broken) General functional regression (Show that a change caused a working area to break.) Automated GUI regression suites Strengths Reassuring, confidence building, regulator-friendly

Copyright (c) Cem Kaner. All Rights Reserved. 3 Regression Testing Blind spots / weaknesses Anything not covered in the regression series. Repeating the same tests means not looking for the bugs that can be found by other tests. Pesticide paradox Low yield from automated regression tests Maintenance of this standard list can be costly and distracting from the search for defects.

Copyright (c) Cem Kaner. All Rights Reserved. 4 Automating Regression Testing This is the most commonly discussed automation approach: create a test case run it and inspect the output if the program fails, report a bug and try again later if the program passes the test, save the resulting outputs in future tests, run the program and compare the output to the saved results. Report an exception whenever the current output and the saved output don’t match.

Copyright (c) Cem Kaner. All Rights Reserved. 5 Potential Regression Advantages Dominant paradigm for automated testing. Straightforward Same approach for all tests Relatively fast implementation Variations may be easy Repeatable tests

Copyright (c) Cem Kaner. All Rights Reserved. 6 The GUI Regression Automation Problem Prone to failure because of difficult financing, architectural, and maintenance issues. Low power (in its traditional form) even if successful. Extremely valuable under some circumstances. THERE ARE MANY ALTERNATIVES THAT CAN BE MORE APPROPRIATE UNDER OTHER CIRCUMSTANCES. If your only tool is a hammer, everything looks like a nail.

Copyright (c) Cem Kaner. All Rights Reserved. 7 Testing Analogy: Clearing Mines mines This analogy was first presented by Brian Marick. These slides are from James Bach..

Copyright (c) Cem Kaner. All Rights Reserved. 8 Totally Repeatable Tests Won’t Clear the Minefield mines fixes

Copyright (c) Cem Kaner. All Rights Reserved. 9 Variable Tests are Often More Effective mines fixes

Copyright (c) Cem Kaner. All Rights Reserved. 10 GUI Regression Strategies: Some Papers of Interest Chris Agruss, Automating Software Installation Testing James Bach, Test Automation Snake Oil Hans Buwalda, Testing Using Action Words Hans Buwalda, Automated testing with Action Words: Abandoning Record & Playback Elisabeth Hendrickson, The Difference between Test Automation Failure and Success Cem Kaner, Avoiding Shelfware: A Manager’s View of Automated GUI Testing John Kent, Advanced Automated Testing Architectures Bret Pettichord, Success with Test Automation Bret Pettichord, Seven Steps to Test Automation Success Keith Zambelich, Totally Data-Driven Automated Testing

Copyright (c) Cem Kaner. All Rights Reserved. 11 Sample Exam Questions What is regression testing? What are some benefits and some risks associated with regression testing? Under what circumstances would you use regression tests?

Copyright (c) Cem Kaner. All Rights Reserved. 12 Sample Exam Questions Why is it important to design maintainability into automated regression tests? Describe some design (of the test code) choices that will usually make automated regression tests more maintainable.

Copyright (c) Cem Kaner. All Rights Reserved. 13 Notes ___________________________________________________________ ___________________________________________________________ ___________________________________________________________ ___________________________________________________________