Copyright (c) Cem Kaner 20011 Black Box Software Testing (Academic Course - Fall 2001) Cem Kaner, J.D., Ph.D. Florida Institute of Technology Section:

Slides:



Advertisements
Similar presentations
Configuration Management
Advertisements

How to Enhance Personal Productivity By Janet Hadley
Taking a Waterfall Project Agile REF: Paul Geberth GCSS-J Project Manager Establishment of an Agile Project.
1 SWE Introduction to Software Engineering Lecture 3 Introduction to Software Engineering.
Copyright © 2014 ASTQB Presented by Rex Black, CTAL Introducing ISTQB Agile Foundation Extending the ISTQB Program’s Support Further.
What is Business Analysis Planning & Monitoring?
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.
Introduction to RUP Spring Sharif Univ. of Tech.2 Outlines What is RUP? RUP Phases –Inception –Elaboration –Construction –Transition.
Why use RequisitePro RequisitePro is a comprehensive tool that supports any of today's requirements management processes. The predominant requirements.
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:
Chapter 2 소프트웨어공학 Software Engineering 임현승 강원대학교
Project Tracking. Questions... Why should we track a project that is underway? What aspects of a project need tracking?
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:
FCS - AAO - DM COMPE/SE/ISE 492 Senior Project 2 System/Software Test Documentation (STD) System/Software Test Documentation (STD)
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.
Centro de Estudos e Sistemas Avançados do Recife PMBOK - Chapter 4 Project Integration Management.
Software Development Process and Management (or how to be officious and unpopular)
ISM 5316 Week 3 Learning Objectives You should be able to: u Define and list issues and steps in Project Integration u List and describe the components.
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 Spring 2005 PART 7 -- FUNCTION TESTING by Cem Kaner, J.D.,
From Quality Control to Quality Assurance…and Beyond Alan Page Microsoft.
Black Box Software Testing Copyright © Cem Kaner & James Bach 1 Black Box Software Testing Spring 2005 REQUIREMENTS ANALYSIS FOR TEST DOCUMENTATION.
Copyright © 2007 Pearson Education Canada 1 Chapter 24: Assurance Services: Internal Auditing and Government Auditing.
ISO 9001 – an overview Tor Stålhane IDI / NTNU. ISO 9001 and software development ISO 9001 is a general standard – equally applicable to software development.
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:
Risk Management & Corporate Governance 1. What is Risk?  Risk arises from uncertainty; but all uncertainties do not carry risk.  Possibility of an unfavorable.
Modeling Tough Scheduling Problems with Software Alex S. Brown Mitsui Sumitomo Marine Management (USA), Inc.
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:
Chair of Software Engineering Exercise Session 6: V & V Software Engineering Prof. Dr. Bertrand Meyer March–June 2007.
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.
Copyright (c) Cem Kaner Black Box Software Testing (Academic Course - Fall 2001) Cem Kaner, J.D., Ph.D. Florida Institute of Technology Section:
AB209 Small Business Management Unit 3 – Planning the Business and its Products or Services.
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 499 Black Box Software Testing Part 12. Introduction to Test Documentation Co-authors:
Copyright (c) Cem Kaner. All Rights Reserved. 1 Black Box Software Testing (Professional Seminar) Cem Kaner, J.D., Ph.D. Professor of Computer.
BSBPMG501A Manage Project Integrative Processes Manage Project Integrative Processes Project Integration Processes – Part 2 Diploma of Project Management.
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 (Professional Seminar)
Software Engineering (CSI 321)
Black Box Software Testing 2004 Academic Edition
Black Box Software Testing (Academic Course - Fall 2001)
Black Box Software Testing (Academic Course - Fall 2001)
Successful Website Accessibility Testing
Lecture # 3 Software Development Project Management
Introducing ISTQB Agile Foundation Extending the ISTQB Program’s Support Further Presented by Rex Black, CTAL Copyright © 2014 ASTQB 1.
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 (Academic Course - Fall 2001)
Chapter # 1 Overview of Software Quality Assurance
Black Box Software Testing (Professional Seminar)
Black Box Software Testing (Professional Seminar)
Black Box Software Testing (Professional Seminar)
Think about your view of QA
Black Box Software Testing (Professional Seminar)
Exploring Exploratory Testing
Presentation transcript:

Copyright (c) Cem Kaner Black Box Software Testing (Academic Course - Fall 2001) Cem Kaner, J.D., Ph.D. Florida Institute of Technology Section: 28: Requirements Analysis for Test Documentation Contact Information: (testing practitioners) (software law) (education research) Copyright (c) Cem Kaner I grant permission to make digital or hard copies of this work for personal or classroom use, 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. Abstracting with credit is permitted. The proper citation for this work is Cem Kaner, A Course in Black Box Software Testing (Academic Version), Fall 2001, 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 Problems with the (allegedly) standard approach It is essential to understand your requirements for test documentation. Unless following a “standard” helps you meet your requirements, it is empty at best, anti- productive at worst.

Copyright (c) Cem Kaner Problems with the (allegedly) standard approach IEEE Standard 829 for Software Test Documentation –Test plan –Test-design specification –Test-case specification Test-case specification identifier Test items Input specifications Output specifications Environmental needs Special procedural requirements Intercase dependencies –Test-procedure specification –Test-item transmittal report –Test-log We often see one or more pages per test case.

Copyright (c) Cem Kaner Problems with the (allegedly) standard approach –What is the documentation cost per test case? –What is the maintenance cost of the documentation, per test case? –If software design changes create documentation maintenance costs, how much inertia do we build into our system? How much does extensive test documentation add to the cost of late improvement of the software? How much should we add? –What inertia is created in favor of invariant regression testing? –Is this incompatible with exploratory testing? Do we always want to discourage exploration?

Copyright (c) Cem Kaner Problems with the (allegedly) standard approach –What is the impact on high-volume test automation? –How often do project teams start to follow 829 but then give it up mid-project? What does this do to the net quality of the test documentation and test planning effort? –WHAT REQUIREMENTS DOES A STANDARD LIKE THIS FULFILL? –WHICH STAKEHOLDERS GAIN A NET BENEFIT FROM IEEE STANDARD DOCUMENTATION? –WHAT BENEFITS DO THEY GAIN, AND WHY ARE THOSE BENEFITS IMPORTANT TO THEM?

Copyright (c) Cem Kaner Standards: ISO The basic thinking underlying ISO 9000 goes like this: –Decide what you’re going to do (create and document a process). –Do what you said you’d do. –Document what you’ve done in a way that lets an auditor check what you’ve done against your process. Risks –It can be difficult to build in room for exploratory testing. To some degree (perhaps a large degree), this depends on the auditor. –The style and extent of documentation needed to clue in a third party (auditor) might go beyond your internal needs. On finite budgets, where do we draw the line? –What is the best tradeoff between process development and test execution? This must be a practical question, not a religious question.

Copyright (c) Cem Kaner Requirements –There are many different notions of what a good set of test documentation would include. Before spending a substantial amount of time and resources, it’s worth asking what documentation should be developed (and why?) –Test documentation is expensive and it takes a long time to produce. If you figure out some of your main requirements first, you might be able to do your work in a way that achieves them.

Copyright (c) Cem Kaner Defining documentation requirements –Stakeholders, interests, actions, objects Who would use or be affected by test documentation? What interests of theirs does documentation serve or disserve? What will they do with the documentation? What types of documents are of high or low value? –Asking questions –Context-free questions –Context-free questions specific to test planning –Evaluating a plan

Copyright (c) Cem Kaner Discovering Requirements Requirements –Anything that drives or constrains design Stakeholders –Favored, disfavored, and neutral stakeholders Stakeholders’ interests –Favored, disfavored, and neutral interests Actions –Actions support or interfere with interests Objects

Copyright (c) Cem Kaner Exercise 1. List the Stakeholders –Favored –Disfavored –Neutral stakeholders 2. For each Stakeholder, list her Interests –Favored –Disfavored –Neutral interests 3. For each Interest, list Actions –Actions support an interest –Actions interfere with an interest

Copyright (c) Cem Kaner Exercise Objects: The Stuff You Create –Such as features, data of the product For each object, what is its relationship –to a stakeholder, –a stakeholder’s interest, or –in the actions the stakeholder wants to take or will have taken on her?

Copyright (c) Cem Kaner What is your group’s mission? The quality of testing depends on which of these possible missions matter and how they relate. Many debates about the goodness of testing are really debates over missions and givens. Find important problems Assess quality Certify to standard Fulfill process mandates Satisfy stakeholders Assure accountability Advise about QA Advise about testing Advise about quality Maximize efficiency Minimize time Minimize cost

Copyright (c) Cem Kaner Test Docs Requirements Questions Is test documentation a product or tool? Is software quality driven by legal issues or by market forces? How quickly is the design changing? How quickly does the specification change to reflect design change? Is testing approach oriented toward proving conformance to specs or nonconformance with customer expectations? Does your testing style rely more on already-defined tests or on exploration? Should test docs focus on what to test (objectives) or on how to test for it (procedures)? Should the docs ever control the testing project?

Copyright (c) Cem Kaner Test Docs Requirements Questions If the docs control parts of the testing project, should that control come early or late in the project? Who are the primary readers of these test documents and how important are they? How much traceability do you need? What docs are you tracing back to and who controls them? To what extent should test docs support tracking and reporting of project status and testing progress? How well should docs support delegation of work to new testers? What are your assumptions about the skills and knowledge of new testers? Is test doc set a process model, a product model, or a defect finder?

Copyright (c) Cem Kaner Test Docs Requirements Questions A test suite should provide prevention, detection, and prediction. Which is the most important for this project? How maintainable are the test docs (and their test cases)? And, how well do they ensure that test changes will follow code changes? Will the test docs help us identify (and revise/restructure in face of) a permanent shift in the risk profile of the program? Are (should) docs (be) automatically created as a byproduct of the test automation code?

Copyright (c) Cem Kaner Example: Early vs. Late Planning Benefits of early planning –Scheduling and staffing (unless things change) –Early opportunity to review (if people can understand your work) Costs of early planning –Any delays in finding bugs are expensive. You should start finding bugs ASAP. –Early investment in test case design is risky if the product design is subject to change. –You will keep learning over time. Planning early sometimes precludes groups from inventing new tests later. –Depth of testing should reflect risks, many of which are unclear until mid-project. MY GOAL: Do just-in-time test planning without losing key benefits of early work.

Copyright (c) Cem Kaner Ultimately, write a mission statement Try to describe your core documentation requirements in one sentence that doesn’t have more than three components. Examples: –The test documentation set will primarily support our efforts to find bugs in this version, to delegate work, and to track status. –The test documentation set will support ongoing product and test maintenance over at least 10 years, will provide training material for new group members, and will create archives suitable for regulatory or litigation use.