SlideShare ist ein Scribd-Unternehmen logo
1 von 43
Downloaden Sie, um offline zu lesen
HOW TO TEST
WITHOUT DEFINED
REQUIREMENTS
January 23, 2014

RANDALL W. RICE, CTAL
RICE CONSULTING SERVICES, INC .
WWW.RICECONSULTING .COM
HOUSEKEEPING
•  I plan to keep this session as close to 30 minutes as
possible.
•  The recording will be posted shortly and will also be on
my YouTube channel
•  http://www.youtube.com/user/rrice2000
•  Slides will be at http://randallrice.blogspot.com and
www.slideshare.com
•  If you want to know when the next webinar will be
available for registration, just join my newsletter list or
like my Facebook page
•  www.riceconsulting.com

2
BIO - RANDALL W. RICE
• 

• 

ISTQB Certified Tester – Foundation level
(CTFL), Advanced Level (CTAL) Full

• 

Director, American Software Testing
Qualification Board (ASTQB)

• 

Chairperson, 1995 - 2000 QAI’s annual
software testing conference

• 

Co-author with William E. Perry, Surviving the
Top Ten Challenges of Software Testing and
Testing Dirty Systems

• 

3

Over 34 years experience in building and
testing information systems in a variety of
industries and technical environments

Principal Consultant and Trainer, Rice
Consulting Services, Inc.
I AM MAKING A BOLD
PROMISE

4
THE PROBLEM
•  Many people talk about requirements-based
testing, but…
•  They admit to not having very good
requirements
•  (In fact, it’s the #3 testing challenge in my top ten
challenges list)

•  Requirements have flaws
•  I’ve never seen a perfect one
•  That’s why we have validation

•  Major methodologies try to get by without them
•  Developers don’t have time to gather and write
them
•  Many companies don’t have Business Analysts
•  Users don’t like to commit to them

5
INTERESTING
QUESTION
•  If we don’t have requirements in
writing, do we still have requirements?
•  From the customer standpoint, yes
•  From the vendor standpoint, if it’s not a
requirement in writing, I may feel not
obligated to deliver it.
•  I’m still a fan of requirements.

6
Doesn’t agile solve these
issues?

7
NOT REALLY
•  If you don’t know what you
are building or testing, no
method will be successful.
•  User stories and use cases
are fine, but they are no
substitute for good
requirements.

8
THEN THERE ARE OTHER
REASONS
•  Testing COTS (Commercial Off-theshelf) software.
•  User acceptance testing that is true
validation, not based on
requirements.

9
THE V-DIAGRAM AS I TEACH IT
Business
Need

Verify
Business
Need

Plan

Define
Requirements

Verify
Requirements

Plan

Design
System

Integration
Test

Verify
Verify
Design

Verify
Design

Plan

Code
System

Verify
Verify
Code

10

System
Test

Verify

Verify
Requirements

Verification

Acceptance
Test
Validate
Business Need

Validate

Plan

Unit
Test
Verify
Code

Verification &
Validation
6 WAYS TO TEST WITHOUT
DEFINED SPECIFICATIONS
•  User scenarios
•  Usage patterns
•  Generic test conditions
•  AKA, error guessing
•  Generic functionality
•  Defect-based
•  Exploratory testing

11
MINDMAP

12
WHAT IS A TEST
ORACLE?
•  A way to know whether a test has
passed or failed.
•  One way an oracle is applied is to
compare the output(s) of the system
under test, for a given test case
input, to the outputs that the oracle
determines that product should have.

13
#1 – USER SCENARIOS
•  If you understand user processes, business process flow,
etc., you can cover many tests quickly.
•  Start at the top and decompose down

14
TASK 1 – SEGMENTING
INTO SUB-PROCESSES
Accounting

Accts. Payable

Billing

15

Accts. Receivable

Penalty Application

Collections

Reporting

Reconciliation

Reporting
ACCOUNTS RECEIVABLE
– PENALTY APPLICATION
Run Aging
Report

Run Past
Due Invoices

Yes
Invoices OK?

No
Fix
Problems

16

Any Past
Due > 90?
Yes
Send to
Collections

Any Accts
Past Due?

No

Any Special
Holds?

Yes

No

Yes
Hold for 5
Business Days

Review
Invoices

Place in
Envelopes

Send to
Mailroom
End
TASK 2 – IDENTIFY PATHS
No
1
Run Aging
Report

Run Past
Due Invoices

Any Accts
Past Due?

Yes

Review
Invoices
2

5
3 Yes
Invoices OK?

No
Fix
Problems

17

4

Any Past
Due > 90?
Yes
Send to
Collections

No

Any Special
Holds?

No

Yes
Hold for 5
Business Days

Place in
Envelopes

Send to
Mailroom
End
DATA-DRIVEN TEST CONDITIONS EXAMPLE
Customer

New

Reg.

18

Pref.

Existing

Reg.

Pref.
USER PROCESS
ORACLES
•  Users
•  Trainers
•  BAs
•  Managers
•  Process guides
•  Training manuals

19
#2 – USAGE PROFILES
•  Based on user personas and types
•  Novice user
•  Expert user
•  Clueless user
•  Disabled user
•  Demanding user
•  A good way to get a variety of perspectives
•  You can take a basic test and modify it for a user persona
•  But you may not have time to test all personas
•  You may not be aware of all user types

20
USER PROFILE
ORACLES
•  Users
•  Trainers
•  Managers

21
#3 - GENERIC
FUNCTIONALITY
•  Common Functions
•  Add
•  Edit
•  Delete
•  Search
•  Transportable tests
•  You may miss some very specific functions

22
MINIMAL ESSENTIAL
TEST STRATEGY (METS)
•  Developed by Greg Paskal
•  www.gregpaskal.com
•  A way to quickly define features and
functions to be tested by levels of
criticality.
•  Test time can be estimated along
with potential defect severity.
•  Also available as an iPhone app.

23
PHYSICAL ITEMS
•  “Items” to be tested that can be
“touched”.
•  Examples: Buttons, web pages, etc.
•  These enable functionality, but are not
the functions.
•  These have attributes at various levels
of criticality:
•  Example: Images
• 
• 
• 
• 
24

Critical: Image is present
High: Image is correct
Med: Image loads quickly (size)
Low: Image is clear
25
PHYSICAL TEST METRICS
•  Shows for each item:
•  Estimated time required for testing
•  Estimated impact severity

26
27
FUNCTIONS
•  “Actions” to be tested.
•  Examples: Create, cancel, query, etc.
•  These are things the application can “do.”
•  Example: Shopping cart functions
•  Critical: Can an item be placed into the cart?
•  High: Can multiple items be put into shopping cart?
•  Medium: Do items consistently carry through purchase
session?
•  Low: Are related products shown?

28
29
METRICS
•  Based on estimated test time and assessed potential
impact severity.
•  Items are assessed by:
•  Direct testing
•  Test pertaining to the obvious change or fix.

•  Related testing
•  Test pertaining to areas that may be impacted by the changes
made.

•  Regression testing
•  Test you would run on the application regardless of what has
changed.

30
METS FUNCTIONAL TEST
METRICS

31
GENERIC FUNCTION
ORACLES
•  Users
•  Trainers
•  Developers
•  Business rules
•  Checklists

32
#4 - GENERIC TEST
CONDITIONS
•  Checklists
•  Error guessing
•  Transportable tests
•  You may miss some very
specific functions

33
34
35
GENERIC TEST
ORACLES
•  Users
•  Trainers
•  Developers
•  Business rules
•  Checklists
•  Troubleshooting guides

36
#5 – DEFECT-BASED
•  Uses data from past defects to
look for defects in new
applications, or updates to
existing applications.
•  This is a great way to gain value
from defects.
•  You need to have good processes
in place to capture defect data.
•  Sampling is helpful.

37
DEFECT-BASED
ORACLES
•  Developers
•  Users
•  Past defect reports and resolution

38
#6 – EXPLORATORY
TESTING
•  Testing and learning at the
same time.
•  No pre-defined cases or scripts.
•  May be free-form or sessionbased
•  Tends to be quick
•  A lot depends on the tester’s
ability to think critically and
notice odd behavior.

39
EXPLORATORY
TESTING ORACLES
•  BAs
•  Users
•  Other testers
•  Developers

40
OTHER RESOURCES
• 

The article “How to Test Without Defined Requirements” at
http://riceconsulting.com/home/index.php/General-Testing/testingwithout-defined-requirements.html

• 

Free graphing tools

• 

•  Yed - http://www.yworks.com
•  Gliffy - http://www.gliffy.com
•  FreeMind - http://freemind.sourceforge.net/wiki/index.php/Main_Page
•  Xmind - http://www.xmind.net/
•  CTE-XL - http://www.berner-mattner.com
Checklists and Functional definition
•  Checklists http://www.riceconsulting.com/public_pdf/
ERROR_CONDITIONS_TESTING_CHECKLIST.docx
•  METS spreadsheets http://www.riceconsulting.com/public_pdf/METS_Worksheets.xls
•  Or http://www.gregpaskal.com

•  MindMap - http://www.riceconsulting.com/public_pdf/Methods.pdf
•  http://www.riceconsulting.com/public_pdf/Methods.mm

41
QUESTIONS? CONTACT ME!
Randall W. Rice, CTAL
Rice Consulting Services, Inc.
P.O. Box 892003
Oklahoma City, OK 73189
Ph: 405-691-8075
Fax: 405-691-1441
Web site: www.riceconsulting.com
e-mail: rrice@riceconsulting.com
Blog: http://randallrice.blogspot.com

42
43

Weitere ähnliche Inhalte

Was ist angesagt?

Bart Knaack - The Truth About Model-Based Quality Improvements
Bart Knaack - The Truth About Model-Based Quality ImprovementsBart Knaack - The Truth About Model-Based Quality Improvements
Bart Knaack - The Truth About Model-Based Quality ImprovementsTEST Huddle
 
Vladimir Lozanov How to deliver high quality apps to the app store
Vladimir Lozanov	How to deliver high quality apps to the app storeVladimir Lozanov	How to deliver high quality apps to the app store
Vladimir Lozanov How to deliver high quality apps to the app storeАліна Шепшелей
 
ISTQB in a Nutshell (February 2015)
ISTQB in a Nutshell (February 2015)ISTQB in a Nutshell (February 2015)
ISTQB in a Nutshell (February 2015)ISTQB®
 
Software testing interview Q&A – Part 2
Software testing interview Q&A – Part 2Software testing interview Q&A – Part 2
Software testing interview Q&A – Part 2Khoa Bui
 
Exploratory Testing Basics, Experiences, and Future in SSTC2016
Exploratory Testing Basics, Experiences, and Future in SSTC2016Exploratory Testing Basics, Experiences, and Future in SSTC2016
Exploratory Testing Basics, Experiences, and Future in SSTC2016Kari Kakkonen
 
Software Testing without Requirements: Survival Guide
Software Testing without Requirements: Survival GuideSoftware Testing without Requirements: Survival Guide
Software Testing without Requirements: Survival GuideOleksandr Lutsaievskyi
 
Tips for Writing Better Charters for Exploratory Testing Sessions by Michael...
 Tips for Writing Better Charters for Exploratory Testing Sessions by Michael... Tips for Writing Better Charters for Exploratory Testing Sessions by Michael...
Tips for Writing Better Charters for Exploratory Testing Sessions by Michael...TEST Huddle
 
[Vu Van Nguyen] Value-based Software Testing an Approach to Prioritizing Tests
[Vu Van Nguyen]  Value-based Software Testing an Approach to Prioritizing Tests[Vu Van Nguyen]  Value-based Software Testing an Approach to Prioritizing Tests
[Vu Van Nguyen] Value-based Software Testing an Approach to Prioritizing TestsHo Chi Minh City Software Testing Club
 
QA Fest 2017. Владимир Примаков. QA метрики. Взгляд на качество с разных стор...
QA Fest 2017. Владимир Примаков. QA метрики. Взгляд на качество с разных стор...QA Fest 2017. Владимир Примаков. QA метрики. Взгляд на качество с разных стор...
QA Fest 2017. Владимир Примаков. QA метрики. Взгляд на качество с разных стор...QAFest
 
The Challenge of Accepting Software
The Challenge of Accepting SoftwareThe Challenge of Accepting Software
The Challenge of Accepting SoftwareSQALab
 
ISTQB Eğitim Sunumu
ISTQB Eğitim SunumuISTQB Eğitim Sunumu
ISTQB Eğitim SunumuMesut Güneş
 
Qa exploratory test charter template
Qa exploratory test charter templateQa exploratory test charter template
Qa exploratory test charter templateRob Swoboda
 
Exploratory testing using heuristics
Exploratory testing using heuristicsExploratory testing using heuristics
Exploratory testing using heuristicsMichelle Lagare, CSM
 
Exploratory testing Kari Kakkonen KDS2015
Exploratory testing Kari Kakkonen KDS2015Exploratory testing Kari Kakkonen KDS2015
Exploratory testing Kari Kakkonen KDS2015Kari Kakkonen
 
How to use selenium successfully
How to use selenium successfullyHow to use selenium successfully
How to use selenium successfullyTEST Huddle
 

Was ist angesagt? (19)

Bart Knaack - The Truth About Model-Based Quality Improvements
Bart Knaack - The Truth About Model-Based Quality ImprovementsBart Knaack - The Truth About Model-Based Quality Improvements
Bart Knaack - The Truth About Model-Based Quality Improvements
 
ISTQB Test Process
ISTQB Test ProcessISTQB Test Process
ISTQB Test Process
 
Vladimir Lozanov How to deliver high quality apps to the app store
Vladimir Lozanov	How to deliver high quality apps to the app storeVladimir Lozanov	How to deliver high quality apps to the app store
Vladimir Lozanov How to deliver high quality apps to the app store
 
ISTQB in a Nutshell (February 2015)
ISTQB in a Nutshell (February 2015)ISTQB in a Nutshell (February 2015)
ISTQB in a Nutshell (February 2015)
 
Software testing interview Q&A – Part 2
Software testing interview Q&A – Part 2Software testing interview Q&A – Part 2
Software testing interview Q&A – Part 2
 
Exploratory Testing Basics, Experiences, and Future in SSTC2016
Exploratory Testing Basics, Experiences, and Future in SSTC2016Exploratory Testing Basics, Experiences, and Future in SSTC2016
Exploratory Testing Basics, Experiences, and Future in SSTC2016
 
Software Testing without Requirements: Survival Guide
Software Testing without Requirements: Survival GuideSoftware Testing without Requirements: Survival Guide
Software Testing without Requirements: Survival Guide
 
Software testing
Software testingSoftware testing
Software testing
 
Tips for Writing Better Charters for Exploratory Testing Sessions by Michael...
 Tips for Writing Better Charters for Exploratory Testing Sessions by Michael... Tips for Writing Better Charters for Exploratory Testing Sessions by Michael...
Tips for Writing Better Charters for Exploratory Testing Sessions by Michael...
 
[Vu Van Nguyen] Value-based Software Testing an Approach to Prioritizing Tests
[Vu Van Nguyen]  Value-based Software Testing an Approach to Prioritizing Tests[Vu Van Nguyen]  Value-based Software Testing an Approach to Prioritizing Tests
[Vu Van Nguyen] Value-based Software Testing an Approach to Prioritizing Tests
 
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
 
QA Fest 2017. Владимир Примаков. QA метрики. Взгляд на качество с разных стор...
QA Fest 2017. Владимир Примаков. QA метрики. Взгляд на качество с разных стор...QA Fest 2017. Владимир Примаков. QA метрики. Взгляд на качество с разных стор...
QA Fest 2017. Владимир Примаков. QA метрики. Взгляд на качество с разных стор...
 
The Challenge of Accepting Software
The Challenge of Accepting SoftwareThe Challenge of Accepting Software
The Challenge of Accepting Software
 
ISTQB Eğitim Sunumu
ISTQB Eğitim SunumuISTQB Eğitim Sunumu
ISTQB Eğitim Sunumu
 
Qa exploratory test charter template
Qa exploratory test charter templateQa exploratory test charter template
Qa exploratory test charter template
 
Exploratory testing using heuristics
Exploratory testing using heuristicsExploratory testing using heuristics
Exploratory testing using heuristics
 
Exploratory testing Kari Kakkonen KDS2015
Exploratory testing Kari Kakkonen KDS2015Exploratory testing Kari Kakkonen KDS2015
Exploratory testing Kari Kakkonen KDS2015
 
Negative Testing
Negative TestingNegative Testing
Negative Testing
 
How to use selenium successfully
How to use selenium successfullyHow to use selenium successfully
How to use selenium successfully
 

Ähnlich wie Testing without defined requirements

Software Testing - Test management - Mazenet Solution
Software Testing - Test management - Mazenet SolutionSoftware Testing - Test management - Mazenet Solution
Software Testing - Test management - Mazenet SolutionMazenetsolution
 
A Funny Thing Happened on the Way to User Acceptance Testing
A Funny Thing Happened on the Way to User Acceptance TestingA Funny Thing Happened on the Way to User Acceptance Testing
A Funny Thing Happened on the Way to User Acceptance TestingTechWell
 
Software Project Management lecture 10
Software Project Management lecture 10Software Project Management lecture 10
Software Project Management lecture 10Syed Muhammad Hammad
 
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".Emerasoft, solutions to collaborate
 
Introduction To Testing by enosislearning.com
Introduction To Testing by enosislearning.com Introduction To Testing by enosislearning.com
Introduction To Testing by enosislearning.com enosislearningcom
 
SOFTWARE TESTING W1_watermark.pdf
SOFTWARE TESTING W1_watermark.pdfSOFTWARE TESTING W1_watermark.pdf
SOFTWARE TESTING W1_watermark.pdfShubhamSingh606946
 
Test planning and software's engineering
Test planning and software's engineeringTest planning and software's engineering
Test planning and software's engineeringMansiganeshJawale
 
Software Testing Presentation in Cegonsoft Pvt Ltd...
Software Testing Presentation in Cegonsoft Pvt Ltd...Software Testing Presentation in Cegonsoft Pvt Ltd...
Software Testing Presentation in Cegonsoft Pvt Ltd...ChithraCegon
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing FundamentalsChankey Pathak
 
Continuous testing in agile projects 2015
Continuous testing in agile projects 2015Continuous testing in agile projects 2015
Continuous testing in agile projects 2015Fabricio Epaminondas
 
Software Testing Basics
Software Testing BasicsSoftware Testing Basics
Software Testing BasicsBelal Raslan
 
Software Engineering (Testing Overview)
Software Engineering (Testing Overview)Software Engineering (Testing Overview)
Software Engineering (Testing Overview)ShudipPal
 
Agile testing
Agile testingAgile testing
Agile testingJoe Phan
 

Ähnlich wie Testing without defined requirements (20)

Software Testing - Test management - Mazenet Solution
Software Testing - Test management - Mazenet SolutionSoftware Testing - Test management - Mazenet Solution
Software Testing - Test management - Mazenet Solution
 
T1
T1T1
T1
 
A Funny Thing Happened on the Way to User Acceptance Testing
A Funny Thing Happened on the Way to User Acceptance TestingA Funny Thing Happened on the Way to User Acceptance Testing
A Funny Thing Happened on the Way to User Acceptance Testing
 
Conducting usability test
Conducting usability testConducting usability test
Conducting usability test
 
Software Project Management lecture 10
Software Project Management lecture 10Software Project Management lecture 10
Software Project Management lecture 10
 
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
 
Introduction To Testing by enosislearning.com
Introduction To Testing by enosislearning.com Introduction To Testing by enosislearning.com
Introduction To Testing by enosislearning.com
 
UNIT IV.ppt
UNIT IV.pptUNIT IV.ppt
UNIT IV.ppt
 
SOFTWARE TESTING W1_watermark.pdf
SOFTWARE TESTING W1_watermark.pdfSOFTWARE TESTING W1_watermark.pdf
SOFTWARE TESTING W1_watermark.pdf
 
Test planning and software's engineering
Test planning and software's engineeringTest planning and software's engineering
Test planning and software's engineering
 
Software Testing Presentation in Cegonsoft Pvt Ltd...
Software Testing Presentation in Cegonsoft Pvt Ltd...Software Testing Presentation in Cegonsoft Pvt Ltd...
Software Testing Presentation in Cegonsoft Pvt Ltd...
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
 
Continuous testing in agile projects 2015
Continuous testing in agile projects 2015Continuous testing in agile projects 2015
Continuous testing in agile projects 2015
 
Learn software testing
Learn software testingLearn software testing
Learn software testing
 
QM in Software Projects
QM in Software ProjectsQM in Software Projects
QM in Software Projects
 
Software Testing
Software Testing Software Testing
Software Testing
 
Software Testing Basics
Software Testing BasicsSoftware Testing Basics
Software Testing Basics
 
Software Engineering (Testing Overview)
Software Engineering (Testing Overview)Software Engineering (Testing Overview)
Software Engineering (Testing Overview)
 
QA Basics and PM Overview
QA Basics and PM OverviewQA Basics and PM Overview
QA Basics and PM Overview
 
Agile testing
Agile testingAgile testing
Agile testing
 

Kürzlich hochgeladen

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 

Kürzlich hochgeladen (20)

The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 

Testing without defined requirements

  • 1. HOW TO TEST WITHOUT DEFINED REQUIREMENTS January 23, 2014 RANDALL W. RICE, CTAL RICE CONSULTING SERVICES, INC . WWW.RICECONSULTING .COM
  • 2. HOUSEKEEPING •  I plan to keep this session as close to 30 minutes as possible. •  The recording will be posted shortly and will also be on my YouTube channel •  http://www.youtube.com/user/rrice2000 •  Slides will be at http://randallrice.blogspot.com and www.slideshare.com •  If you want to know when the next webinar will be available for registration, just join my newsletter list or like my Facebook page •  www.riceconsulting.com 2
  • 3. BIO - RANDALL W. RICE •  •  ISTQB Certified Tester – Foundation level (CTFL), Advanced Level (CTAL) Full •  Director, American Software Testing Qualification Board (ASTQB) •  Chairperson, 1995 - 2000 QAI’s annual software testing conference •  Co-author with William E. Perry, Surviving the Top Ten Challenges of Software Testing and Testing Dirty Systems •  3 Over 34 years experience in building and testing information systems in a variety of industries and technical environments Principal Consultant and Trainer, Rice Consulting Services, Inc.
  • 4. I AM MAKING A BOLD PROMISE 4
  • 5. THE PROBLEM •  Many people talk about requirements-based testing, but… •  They admit to not having very good requirements •  (In fact, it’s the #3 testing challenge in my top ten challenges list) •  Requirements have flaws •  I’ve never seen a perfect one •  That’s why we have validation •  Major methodologies try to get by without them •  Developers don’t have time to gather and write them •  Many companies don’t have Business Analysts •  Users don’t like to commit to them 5
  • 6. INTERESTING QUESTION •  If we don’t have requirements in writing, do we still have requirements? •  From the customer standpoint, yes •  From the vendor standpoint, if it’s not a requirement in writing, I may feel not obligated to deliver it. •  I’m still a fan of requirements. 6
  • 7. Doesn’t agile solve these issues? 7
  • 8. NOT REALLY •  If you don’t know what you are building or testing, no method will be successful. •  User stories and use cases are fine, but they are no substitute for good requirements. 8
  • 9. THEN THERE ARE OTHER REASONS •  Testing COTS (Commercial Off-theshelf) software. •  User acceptance testing that is true validation, not based on requirements. 9
  • 10. THE V-DIAGRAM AS I TEACH IT Business Need Verify Business Need Plan Define Requirements Verify Requirements Plan Design System Integration Test Verify Verify Design Verify Design Plan Code System Verify Verify Code 10 System Test Verify Verify Requirements Verification Acceptance Test Validate Business Need Validate Plan Unit Test Verify Code Verification & Validation
  • 11. 6 WAYS TO TEST WITHOUT DEFINED SPECIFICATIONS •  User scenarios •  Usage patterns •  Generic test conditions •  AKA, error guessing •  Generic functionality •  Defect-based •  Exploratory testing 11
  • 13. WHAT IS A TEST ORACLE? •  A way to know whether a test has passed or failed. •  One way an oracle is applied is to compare the output(s) of the system under test, for a given test case input, to the outputs that the oracle determines that product should have. 13
  • 14. #1 – USER SCENARIOS •  If you understand user processes, business process flow, etc., you can cover many tests quickly. •  Start at the top and decompose down 14
  • 15. TASK 1 – SEGMENTING INTO SUB-PROCESSES Accounting Accts. Payable Billing 15 Accts. Receivable Penalty Application Collections Reporting Reconciliation Reporting
  • 16. ACCOUNTS RECEIVABLE – PENALTY APPLICATION Run Aging Report Run Past Due Invoices Yes Invoices OK? No Fix Problems 16 Any Past Due > 90? Yes Send to Collections Any Accts Past Due? No Any Special Holds? Yes No Yes Hold for 5 Business Days Review Invoices Place in Envelopes Send to Mailroom End
  • 17. TASK 2 – IDENTIFY PATHS No 1 Run Aging Report Run Past Due Invoices Any Accts Past Due? Yes Review Invoices 2 5 3 Yes Invoices OK? No Fix Problems 17 4 Any Past Due > 90? Yes Send to Collections No Any Special Holds? No Yes Hold for 5 Business Days Place in Envelopes Send to Mailroom End
  • 18. DATA-DRIVEN TEST CONDITIONS EXAMPLE Customer New Reg. 18 Pref. Existing Reg. Pref.
  • 19. USER PROCESS ORACLES •  Users •  Trainers •  BAs •  Managers •  Process guides •  Training manuals 19
  • 20. #2 – USAGE PROFILES •  Based on user personas and types •  Novice user •  Expert user •  Clueless user •  Disabled user •  Demanding user •  A good way to get a variety of perspectives •  You can take a basic test and modify it for a user persona •  But you may not have time to test all personas •  You may not be aware of all user types 20
  • 21. USER PROFILE ORACLES •  Users •  Trainers •  Managers 21
  • 22. #3 - GENERIC FUNCTIONALITY •  Common Functions •  Add •  Edit •  Delete •  Search •  Transportable tests •  You may miss some very specific functions 22
  • 23. MINIMAL ESSENTIAL TEST STRATEGY (METS) •  Developed by Greg Paskal •  www.gregpaskal.com •  A way to quickly define features and functions to be tested by levels of criticality. •  Test time can be estimated along with potential defect severity. •  Also available as an iPhone app. 23
  • 24. PHYSICAL ITEMS •  “Items” to be tested that can be “touched”. •  Examples: Buttons, web pages, etc. •  These enable functionality, but are not the functions. •  These have attributes at various levels of criticality: •  Example: Images •  •  •  •  24 Critical: Image is present High: Image is correct Med: Image loads quickly (size) Low: Image is clear
  • 25. 25
  • 26. PHYSICAL TEST METRICS •  Shows for each item: •  Estimated time required for testing •  Estimated impact severity 26
  • 27. 27
  • 28. FUNCTIONS •  “Actions” to be tested. •  Examples: Create, cancel, query, etc. •  These are things the application can “do.” •  Example: Shopping cart functions •  Critical: Can an item be placed into the cart? •  High: Can multiple items be put into shopping cart? •  Medium: Do items consistently carry through purchase session? •  Low: Are related products shown? 28
  • 29. 29
  • 30. METRICS •  Based on estimated test time and assessed potential impact severity. •  Items are assessed by: •  Direct testing •  Test pertaining to the obvious change or fix. •  Related testing •  Test pertaining to areas that may be impacted by the changes made. •  Regression testing •  Test you would run on the application regardless of what has changed. 30
  • 32. GENERIC FUNCTION ORACLES •  Users •  Trainers •  Developers •  Business rules •  Checklists 32
  • 33. #4 - GENERIC TEST CONDITIONS •  Checklists •  Error guessing •  Transportable tests •  You may miss some very specific functions 33
  • 34. 34
  • 35. 35
  • 36. GENERIC TEST ORACLES •  Users •  Trainers •  Developers •  Business rules •  Checklists •  Troubleshooting guides 36
  • 37. #5 – DEFECT-BASED •  Uses data from past defects to look for defects in new applications, or updates to existing applications. •  This is a great way to gain value from defects. •  You need to have good processes in place to capture defect data. •  Sampling is helpful. 37
  • 38. DEFECT-BASED ORACLES •  Developers •  Users •  Past defect reports and resolution 38
  • 39. #6 – EXPLORATORY TESTING •  Testing and learning at the same time. •  No pre-defined cases or scripts. •  May be free-form or sessionbased •  Tends to be quick •  A lot depends on the tester’s ability to think critically and notice odd behavior. 39
  • 40. EXPLORATORY TESTING ORACLES •  BAs •  Users •  Other testers •  Developers 40
  • 41. OTHER RESOURCES •  The article “How to Test Without Defined Requirements” at http://riceconsulting.com/home/index.php/General-Testing/testingwithout-defined-requirements.html •  Free graphing tools •  •  Yed - http://www.yworks.com •  Gliffy - http://www.gliffy.com •  FreeMind - http://freemind.sourceforge.net/wiki/index.php/Main_Page •  Xmind - http://www.xmind.net/ •  CTE-XL - http://www.berner-mattner.com Checklists and Functional definition •  Checklists http://www.riceconsulting.com/public_pdf/ ERROR_CONDITIONS_TESTING_CHECKLIST.docx •  METS spreadsheets http://www.riceconsulting.com/public_pdf/METS_Worksheets.xls •  Or http://www.gregpaskal.com •  MindMap - http://www.riceconsulting.com/public_pdf/Methods.pdf •  http://www.riceconsulting.com/public_pdf/Methods.mm 41
  • 42. QUESTIONS? CONTACT ME! Randall W. Rice, CTAL Rice Consulting Services, Inc. P.O. Box 892003 Oklahoma City, OK 73189 Ph: 405-691-8075 Fax: 405-691-1441 Web site: www.riceconsulting.com e-mail: rrice@riceconsulting.com Blog: http://randallrice.blogspot.com 42
  • 43. 43