Deciding What Not to Test

Slides:



Advertisements
Similar presentations
Just-In-Time Testing Workshop
Advertisements

Performance Testing - Kanwalpreet Singh.
Test Yaodong Bi.
Thoughts on Systematic Exploratory Testing of Important Products James Bach, Satisfice, Inc.
How Can We Develop Critical Thinkers? “Everything flows.” (Panta rei.) (Brookfield, S.D. (1987). Developing Critical Thinkers, Jossey-Bass Publishers,
Software Testing Prasad G.
A Bug Tracking Story Danny R. Faught Tejas Software Consulting ASEE Software Engineering Process Improvement Workshop 2002.
Scenario testing Tor Stålhane. Scenario testing – 1 There are two types of scenario testing. Type 1 – scenarios used as to define input/output sequences.
Testing Under Pressure: Five Key Principles
AmiBug.Com, Inc. © Robert Sabourin, 2008September 15, 2015Slide 1 Toward an Exploratory Testing Culture Robert Sabourin President & Principal consultant.
Testing Workflow In the Unified Process and Agile/Scrum processes.
INFO 637Lecture #51 Software Engineering Process II Defining Requirements INFO 637 Glenn Booker.
EXPLORING “BEST PRACTICES” Let’s Test Mission Help me build the closing keynote: “A Critical Look at Best Practices”A Critical Look at Best Practices.
Introduction to Software Testing. Types of Software Testing Unit Testing Strategies – Equivalence Class Testing – Boundary Value Testing – Output Testing.
Session # Rational User Conference 2002 Author Note: To edit Session # go to: View/Master/Title Master ©1998, 1999, 2000, 2001, 2002 Rational Software.
Software Architecture Evaluation Methodologies Presented By: Anthony Register.
AmiBug.Com, Inc. December 8, 2015© Robert Sabourin, 2008Slide 1 Turbulence Robert Sabourin President AmiBug.Com, Inc. Montreal, Canada
Copyright 2015 John Wiley & Sons, Inc. Project Planning Part II.
Risk-Based Management and Testing. 2 This is risk-based testing(J. Bach) Make prioritized list of risks Perform testing that explores each risk As risks.
ISQB Software Testing Section Meeting 10 Dec 2012.
Social return on investments (SROI)
Developing Community Assessments
Robert Sabourin AmiBug.Com, Inc. Montreal, Canada
Monitoring and Evaluation Systems for NARS Organisations in Papua New Guinea Day 3. Session 9. Periodic data collection methods.
Project Management BBA & MBA
Requirement Prioritization
Achieving High Software Reliability
Designing for people CPSC 481: HCI I.
What, When, Why, Where and How SCC maintains your Oracle database
Board Standards and School Board Self-Assessment
CS 641 – Requirements Engineering
CS 641 – Requirements Engineering
Monitoring and Evaluation Systems for NARS Organisations in Papua New Guinea Day 3. Session 7. Managers’ and stakeholders’ information needs.
FEASIBILITY STUDY Feasibility study is a means to check whether the proposed system is correct or not. The results of this study arte used to make decision.
Software Engineering: A Practitioner’s Approach, 6/e Chapter 23 Estimation for Software Projects copyright © 1996, 2001, 2005 R.S. Pressman & Associates,
How does a Requirements Package Vary from Project to Project?
Just-In-Time Testing Robert Sabourin President AmiBug.Com, Inc.
By Kean Tak, MSc, Lecturer at RUPP
Software Requirements analysis & specifications
Chapter 3: The Requirements Workflow
Just-In-Time Testing Robert Sabourin President AmiBug.Com, Inc.
Boundary Testing To Infinity and Beyond …
Logical Framework I want to design a project by planning out the logic
Introduction to Software Testing
Unit Testing Workshop Robert Sabourin President AmiBug.Com, Inc.
A test technique is a recipe these tasks that will reveal something
Just-In-Time Testing Robert Sabourin President AmiBug.Com, Inc.
Chapter 5: Software effort estimation
All I Need to Know about Testing I Learned from Dr. Seuss
Just-In-Time Testing Robert Sabourin President AmiBug.Com, Inc.
Introducing ISTQB Agile Foundation Extending the ISTQB Program’s Support Further Presented by Rex Black, CTAL Copyright © 2014 ASTQB 1.
A Day in the Life of an SQA Manager
Just-In-Time Testing Robert Sabourin President AmiBug.Com, Inc.
Just-In-Time Testing Robert Sabourin President AmiBug.Com, Inc.
Cost Estimation I've got Bad News and Bad News!.
Software Verification, Validation, and Acceptance Testing
Just-In-Time Testing Robert Sabourin President AmiBug.Com, Inc.
Project Management Concepts May 5th, 2016
Software Engineering: A Practitioner’s Approach, 6/e Chapter 23 Estimation for Software Projects copyright © 1996, 2001, 2005 R.S. Pressman & Associates,
Creating Quality Web Systems
Risk Based Testing Robert Sabourin President AmiBug.Com, Inc.
Move from Scripted Manual Testing to Scenario-Based Testing
Robert Sabourin President AmiBug.Com, Inc. Montreal, Canada
A modest attempt at measuring and communicating about quality
Chapter 26 Estimation for Software Projects.
Better Bug Workflow System
Section 01: Life Cycle Objectives Review
Deciding What Not to Test
CS 426 CS 791z Topics on Software Engineering
Exploring Exploratory Testing
Presentation transcript:

Deciding What Not to Test Robert Sabourin President AmiBug.Com, Inc. Montreal, Canada rsabourin@amibug.com February 23, 2019 © Robert Sabourin, 2005

Deciding What Not to Test Software project schedules are always tight. There is not enough time to complete planned testing. Don't just stop because the clock ran out. This presentation explores some practical and systematic approaches to organizing and triaging testing ideas. Testing ideas are influenced by risk and importance to your business. Information is coming at your from all angles - how can it be used to prioritize testing and focus on the test with the most value? Triage of testing ideas, assessing credibility and impact estimation can be used to help decide what to do when the going gets tough! Decide what not to test on purpose - not just because the clock ran out. February 23, 2019 © Robert Sabourin, 2005

Deciding What Not to Test Robert Sabourin , Software Evangelist President AmiBug.Com Inc. Montreal, Quebec, Canada rsabourin@amibug.com www.amibug.com February 23, 2019 © Robert Sabourin, 2005

Yoda Plan to support change "No! Try not, Do. Or do not. There is no try." February 23, 2019 © Robert Sabourin, 2005

Testing Ideas Collect all testing ideas you can find! List Sort Organize Shuffle Plan to support change February 23, 2019 © Robert Sabourin, 2005

Testing Ideas How to find them? Does system do what it is suppose to do? Does the system do things it is not supposed to? How can the system break? How does the system react to it’s environment? What characteristics must the system have? Why have similar systems failed? How have previous projects failed? Plan to support change February 23, 2019 © Robert Sabourin, 2005

Testing Ideas Collect testing ideas From testing ideas build a series of testing objectives Each can be assigned as work to a tester Each can include all, part of, or multiple testing ideas Capture testing ideas February 23, 2019 © Robert Sabourin, 2005

Testing Ideas I often use Index Cards Unique id One testing idea per card Colour indicates source Shuffled and reviewed Organized and reorganized Sorted, grouped, prioritized and collected Capture testing ideas February 23, 2019 © Robert Sabourin, 2005

Testing Ideas Creative approaches Action verbs Mind Maps Soap Operas Lateral Thinking Capture testing ideas February 23, 2019 © Robert Sabourin, 2005

Testing Ideas Investigative approaches We become truffle snorting pigs and try to find useful information in all evidence we discover We can even get good ideas from out of date sources Capture testing ideas February 23, 2019 © Robert Sabourin, 2005

Testing Ideas Bug taxonomies Collections of possible bugs Appendix A of Testing Computer Software, Kaner, Falk, Nguyen Boris Biezer Taxonomy Otto Vinter manages Shopping cart taxonomy Giri Vijayaraghavan Capture testing ideas February 23, 2019 © Robert Sabourin, 2005

Testing Ideas Requirements Use cases Functional requirements Quality factors Constraints Written requirements Implicit requirements Capture testing ideas February 23, 2019 © Robert Sabourin, 2005

Testing Ideas Usage Scenarios Identify classes of users Identify how users will use system Describe scenarios Use Story board or similar approaches Identify variations Capture testing ideas February 23, 2019 © Robert Sabourin, 2005

Testing Ideas Functionality Analysis Requirements, Design or Prototypes can give insights into Domain Analysis Equivalence classes Boundary analysis CRUD Capture testing ideas February 23, 2019 © Robert Sabourin, 2005

Testing Ideas Failure Modes Capture testing ideas What can break? Reaction to invalid input? How does software behave in constrained environment? Memory Disk Space Network Bandwidth CPU capacity Shared resources Stress, Load, Volume Capture testing ideas February 23, 2019 © Robert Sabourin, 2005

Quality Factors Importance Different Application Types Capture testing ideas Quality Factors Importance Different Application Types February 23, 2019 © Robert Sabourin, 2005

Testing Ideas Oracle Collection Strategies to assess correctness Similar systems Old systems Subject matter experts GURUs Standards Capture testing ideas February 23, 2019 © Robert Sabourin, 2005

Which test? Impact estimation For each test idea guesstimate: benefit of implementation consequence of implementation benefit for not implementing consequence of not implementing How credible is the information? Triage testing ideas February 23, 2019 © Robert Sabourin, 2005

Understanding Complex Technology Quantitatively By Tom Gilb How to Decide? Rank Credibility 0.0 Wild guess, no credibility 0.1 We know it has been done somewhere 0.2 We have one measurement somewhere 0.3 There are several measurements in the estimated range 0.4 The measurements are relevant to our case 0.5 The method of measurement is considered reliable 0.6 We have used the method in-house 0.7 We have reliable measurements in-house 0.8 Reliable in-house measurements correlate to independent external measurements 0.9 We have used the idea on this project and measured it 1.0 Perfect credibility, we have rock solid, contract- guaranteed, long-term, credible experience with this idea on this project and, the results are unlikely to disappear Triage testing ideas February 23, 2019 © Robert Sabourin, 2005

Which test? Test Idea Rejection – What If? If the cost/benefit does not make business sense then consider implementing: part of the test, could that lead to part of the benefit at a more reasonable cost? more than the stated test, would that generate more benefit? a different test than the stated idea, could that generate more benefit for less cost? Triage testing ideas February 23, 2019 © Robert Sabourin, 2005

Test Triage Test Triage JIT Projects High Frequency Daily Test Triage Session Experience dictates Early AM (Rob Preference) Late PM (several clients) Triage testing ideas February 23, 2019 © Robert Sabourin, 2005

Test Triage Test Triage Meeting Review Context Business Technical Information since last triage Test results Bug results New testing ideas Triage testing ideas February 23, 2019 © Robert Sabourin, 2005

Test Triage Allocate Testing Assignments to Testers Make sure testers know context Best thing to test Best person to test it Best people to explore it Best lead Are subject matter experts required? Blend scripted & exploratory testing Triage testing ideas February 23, 2019 © Robert Sabourin, 2005

Test Triage Requirement Triage Change Control Test Triage Bug Flow Combined Equivalent to CCB Few people Fluid Triage testing ideas February 23, 2019 © Robert Sabourin, 2005

Test Triage Life of a test idea Triage testing ideas Comes into existence Clarified Prioritized Test Now (before further testing) Test before shipping Nice to have May be of interest in some future release Not of interest in current form Will never be of interest Integrate into a testing objective Triage testing ideas February 23, 2019 © Robert Sabourin, 2005

Which test is next? Questions Given state of project, state of business, state of technology, our abilities, our experience and our history, what we know and what we do not know, what should we test next? How much effort are we willing to spend continuing to test this project? Can we ship yet? Triage testing ideas February 23, 2019 © Robert Sabourin, 2005

Which test is next? Magic crystal ball Triage testing ideas If it existed how would you use it? What question would you ask? What question would it ask? Triage testing ideas February 23, 2019 © Robert Sabourin, 2005

Deciding what not to test? Time pressure Should we skip a test? If test failed could system still be of value to some stakeholder? If test was skipped could important bugs have been otherwise found? Triage testing ideas February 23, 2019 © Robert Sabourin, 2005

Problem with formulas Units? Math? Triage testing ideas Exposure(i) = Risk * Consequence Allocation(i) = (Exposure(i)/Total Exposure) * MAX Units? Math? Triage testing ideas February 23, 2019 © Robert Sabourin, 2005

Guidelines and Decisions To each stakeholder risk of failure consequence of failure value of success how much certainty do we have is it a wild guess or an absolute truth? Get Started Right February 23, 2019 © Robert Sabourin, 2005

Bottom Line My experience is that it is better to omit a test on purpose than to skip it because you ran out of time or forgot about it! Systematically collecting, evaluating and triaging testing ideas helps me decide what not to test - at least for now? Get Started Right February 23, 2019 © Robert Sabourin, 2005

Thank You Questions? February 23, 2019 © Robert Sabourin, 2005

Test Ideas? What if …. ? Requirements Usage Scenarios Inputs Outcomes Failure Modes Quality Factors February 23, 2019 © Robert Sabourin, 2005

Bug Quadrants i ii iii iv February 23, 2019 © Robert Sabourin, 2005

Contexts? Christmas Rush Health Inspector Fancy Prospect February 23, 2019 © Robert Sabourin, 2005