SlideShare a Scribd company logo
Testing oracles
Diana Pinchuk,
QA Engineer
Agenda
• Testing Oracles
• Oracles classification
• Emotions as oracle
• Summary
Oracles
An oracle is a heuristic principle or mechanism by which we recognize a problem
An oracles is a method of generation of the expected result
And that, since they’re heuristics, oracles are fallible and context-dependent.
No oracle comes with a guarantee that it’s giving you the right answer. An oracle
can only point you to a possible problem.
Full and partial oracles
Full oracle - a mechanism which can provide expected result with 100% sure.
Partial oracle - a mechanism which cannot be fully reliable in providing expected
result, but requires less resources for usage.
Failures when using oracles
Mishit - an oracle didn’t find the problem when it exists
False alarm - an oracle found the problem which doesn’t exist
Oracles classification
FEW HICCUPS by J.Bach & M.Bolton
Doug Hoffman’s Approach
Your own oracles
Emotions and feelings
FEW HICCUPS
Oracle Description
History Correspondence to the previous versions
Image Correspondence to the Company image
Comparable products Correspondence to comparable products
Claims Correspondence to requirements (promises)
User expectations Correspondence to user’s expectations
Product Correspondence to other parts of the product
Purpose Correspondence to the product purposes
Statutes and Standards Correspondence to the statutes and standards
FEW HICCUPS
Oracle Description
Familiarity Discrepancy with similar problems
Explainability Correspondence to behaviour which can be explained
World Accordance to beliefs about the world
Doug Hoffman’s taxonomy
Oracle
Constraint oracle
Regression oracle
Self-verifying data oracle
Physical model oracle
Oracle
Calculation oracle
Inverse oracle
Reference program
Oracle
Business model oracle
Statistical model oracle
State model oracle
Interaction model oracle
Comparison of the both classifications
Areas of usage Strengths Weaknesses
FEW HUCCUPS Logging convincing
bug reports
Test design
Mnemonic
Flexibility
Not suitable for
autotests developing
Doug Hoffman’s
taxonomy
Test design
Developing of
autotests
Oracles are well
programmed
Concreteness
Descriptions are not
well structured
And more...
Emotions can be used as oracle
Tester’s emotions are like smoke detector
Summary
• An oracles is a mechanism of generation of the expected result
• 2 most popular oracles classifications are (FEW HICCUPPS) and Doug
Hoffman’s taxonomy
• Both classifications help us to detect defects and design our tests
• FEW HICCUPPS is successfully used for logging of convincing bug reports
• Doug Hoffman’s taxonomy can be used for developing autotests
• There are many ideas of the testing oracles usage. For example, you can use
your emotions
References
http://www.developsense.com/blog/2012/07/few-hiccupps/
http://www.developsense.com/blog/2011/09/the-cooking-detector/
http://kaner.com/?p=190
http://sqadays.com/talk/12389
Thanks, any questions?

More Related Content

PDF
Root Cause Analysis (RCA) Tools
PPTX
Root Cause Analysis (orgz.info)
PPTX
Cause and effect analysis
PPTX
Alexander Sokolov “How Data Science and Big Data are changing the World”
PDF
DaKiRy_PMWeekend2016_Андрій Уманський "Переговори. Базові техніки добиватись ...
PDF
DaKiRY_BAQ2016_QADay_Світлана Мережко "Що від вас очікують? Чек-ліст відповід...
PPTX
DaKiRy_PMWeekend2016_Ангеліна Сілівра "True Stories about culture difference"
PDF
DaKiRY_BAQ2016_QADay_IДмитро Горін і Андрій Уманський "Сам собі товариш або я...
Root Cause Analysis (RCA) Tools
Root Cause Analysis (orgz.info)
Cause and effect analysis
Alexander Sokolov “How Data Science and Big Data are changing the World”
DaKiRy_PMWeekend2016_Андрій Уманський "Переговори. Базові техніки добиватись ...
DaKiRY_BAQ2016_QADay_Світлана Мережко "Що від вас очікують? Чек-ліст відповід...
DaKiRy_PMWeekend2016_Ангеліна Сілівра "True Stories about culture difference"
DaKiRY_BAQ2016_QADay_IДмитро Горін і Андрій Уманський "Сам собі товариш або я...

Viewers also liked (17)

PDF
DaKiRY_BAQ2016_QADay_Артем Биковець «Agile testing»
PPTX
DaKiRy_PMWeekend2016_Альона Лубчак (Прихнич) та Ірина Радченко "Професіоналіз...
PPTX
DaKiRy_PMWeekend2016_Валентин Будкін "Мітинги в Scrum - the Good, the Bad and...
PPTX
DaKiRy_PMStandUp_Дов Німрац "Risk management"
PPT
DaKiRy_PMWeekend2016_Максим Коляда "Ігри патріотів: гейміфікація та сенсмейкі...
PPT
DaKiRy_PMWeekend2016_Яна Проліс "BDSM як він є"
PDF
Ксенія Кобрин "Let's rock, ladies!"
PPTX
DaKiRY_BAQ2016_QADay_Mateusz Holewski "Disaster Recovery Testing"
PDF
Анастасія Новікова "20*20 - 8 причин, чому варто починати продажі з фріланс м...
PPTX
DaKiRy_PMWeekend2016_Микола Митько "Як «продати» Scrum команді?"
PDF
DaKiRY_BAQ2016_QADay_Яків Крамаренко "Автоматизація - це просто! (C#)"
PPTX
DaKiRy_PMWeekend2016_Михайло Федор "Конфлікти в команді як запорука щастя та ...
PPTX
PM as a People Partner by Olha Tymoshchuk
PPTX
DaKiRy PMWeekend Iryna Shuliarenko Hr та-pm
PPTX
Dakiry_qastandup_Olia Didyk_testdesign
PPTX
Тетяна Голубєва "Fix yourself and world will be fixed around you"
PPTX
Олександр Обєдніков “Рекомендательные системы”
DaKiRY_BAQ2016_QADay_Артем Биковець «Agile testing»
DaKiRy_PMWeekend2016_Альона Лубчак (Прихнич) та Ірина Радченко "Професіоналіз...
DaKiRy_PMWeekend2016_Валентин Будкін "Мітинги в Scrum - the Good, the Bad and...
DaKiRy_PMStandUp_Дов Німрац "Risk management"
DaKiRy_PMWeekend2016_Максим Коляда "Ігри патріотів: гейміфікація та сенсмейкі...
DaKiRy_PMWeekend2016_Яна Проліс "BDSM як він є"
Ксенія Кобрин "Let's rock, ladies!"
DaKiRY_BAQ2016_QADay_Mateusz Holewski "Disaster Recovery Testing"
Анастасія Новікова "20*20 - 8 причин, чому варто починати продажі з фріланс м...
DaKiRy_PMWeekend2016_Микола Митько "Як «продати» Scrum команді?"
DaKiRY_BAQ2016_QADay_Яків Крамаренко "Автоматизація - це просто! (C#)"
DaKiRy_PMWeekend2016_Михайло Федор "Конфлікти в команді як запорука щастя та ...
PM as a People Partner by Olha Tymoshchuk
DaKiRy PMWeekend Iryna Shuliarenko Hr та-pm
Dakiry_qastandup_Olia Didyk_testdesign
Тетяна Голубєва "Fix yourself and world will be fixed around you"
Олександр Обєдніков “Рекомендательные системы”
Ad

Similar to DaKiRy_QAStandUp_Діана Пінчук "Testing oracles" (20)

PDF
Oracle Interview Questions By ScholarHat.pdf
PDF
Oracle Exadata Interview Questions and Answers
PDF
A Rapid Introduction to Rapid Software Testing
PDF
A little more semantics goes a lot further!  Getting more out of Linked Data ...
PDF
Krellenstein lucene revolution_2011_keynote_once_future_history_enterprise se...
PDF
A Rapid Introduction to Rapid Software Testing
PDF
A Rapid Introduction to Rapid Software Testing
PDF
Debugging (Docker) containers in production
PDF
Ontologies and semantic web
PDF
Test Axioms – An Introduction
PDF
Rapid software testing
PDF
Popular Delusions, Crowds, and the Coming Deluge: end of the Oracle?
PPTX
Metric Abuse: Frequently Misused Metrics in Oracle
PPT
Michael Bolton - Heuristics: Solving Problems Rapidly
PPTX
Human Assessment of Ontologies
PDF
Things Could Get Worse: Ideas About Regression Testing
PDF
Oracle assignment help
PPTX
20211115 jsai international_symposia_slide
Oracle Interview Questions By ScholarHat.pdf
Oracle Exadata Interview Questions and Answers
A Rapid Introduction to Rapid Software Testing
A little more semantics goes a lot further!  Getting more out of Linked Data ...
Krellenstein lucene revolution_2011_keynote_once_future_history_enterprise se...
A Rapid Introduction to Rapid Software Testing
A Rapid Introduction to Rapid Software Testing
Debugging (Docker) containers in production
Ontologies and semantic web
Test Axioms – An Introduction
Rapid software testing
Popular Delusions, Crowds, and the Coming Deluge: end of the Oracle?
Metric Abuse: Frequently Misused Metrics in Oracle
Michael Bolton - Heuristics: Solving Problems Rapidly
Human Assessment of Ontologies
Things Could Get Worse: Ideas About Regression Testing
Oracle assignment help
20211115 jsai international_symposia_slide
Ad

More from Dakiry (20)

PDF
НАРЦИСИЗМ ЯК ПАСИВНЕ КУРІННЯ
PDF
МАНІПУЛЯЦІЇ: ХТО КОГО І ДЛЯ ЧОГО? - Інна Тіторенко
PPTX
How to run a discovery workshop
PPTX
З понеділка йду на новий проект. The tester’s version - Олександра Зубаль
PDF
Робота з текстом: від чернетки до опублікування
PPTX
Контентна стратегія в ІТ: від статті до першого ліда
PPTX
Oleh Shpyrna "Security Testing Basics: Check your Webapp for gaps before l_unch"
PPTX
Stepan Shykerynets "Power of QA (A Journey: From Hell to Heaven. Story of gr...
PDF
Микола Солопій "Selenium рулить, однак..."
PDF
Oleksandra Zubal "Project starters: test automation view"
PDF
Vladyslav Romanchenko "How to keep high code quality without e2e tests"
PPTX
Діана Пінчук "Як відрізнити авторизацію від аутентифікації та перестати бояти...
PPT
Yuriy Malyi "E2E testing organization in multi-system projects"
PPTX
Petro Tarasenko "You've become a TL. What's next?"
PDF
Roman Yakymchuk "Дослідницьке тестування. Перезапуск"
PPTX
Maryna Shulga "Mission Impossible. Впровадити тест процеси, якщо ніхто цього ...
PDF
Олексій Брошков "Мистецтво Дослідницького Тестування"
PPSX
Альона Тудан " Життя QA в ажурі"
PPTX
Андрій Степура "Тренди в публічних виступах"
PPTX
Зоряна Борбулевич "Підхід, який трансформував компанію Microsoft: ННК і його...
НАРЦИСИЗМ ЯК ПАСИВНЕ КУРІННЯ
МАНІПУЛЯЦІЇ: ХТО КОГО І ДЛЯ ЧОГО? - Інна Тіторенко
How to run a discovery workshop
З понеділка йду на новий проект. The tester’s version - Олександра Зубаль
Робота з текстом: від чернетки до опублікування
Контентна стратегія в ІТ: від статті до першого ліда
Oleh Shpyrna "Security Testing Basics: Check your Webapp for gaps before l_unch"
Stepan Shykerynets "Power of QA (A Journey: From Hell to Heaven. Story of gr...
Микола Солопій "Selenium рулить, однак..."
Oleksandra Zubal "Project starters: test automation view"
Vladyslav Romanchenko "How to keep high code quality without e2e tests"
Діана Пінчук "Як відрізнити авторизацію від аутентифікації та перестати бояти...
Yuriy Malyi "E2E testing organization in multi-system projects"
Petro Tarasenko "You've become a TL. What's next?"
Roman Yakymchuk "Дослідницьке тестування. Перезапуск"
Maryna Shulga "Mission Impossible. Впровадити тест процеси, якщо ніхто цього ...
Олексій Брошков "Мистецтво Дослідницького Тестування"
Альона Тудан " Життя QA в ажурі"
Андрій Степура "Тренди в публічних виступах"
Зоряна Борбулевич "Підхід, який трансформував компанію Microsoft: ННК і його...

Recently uploaded (20)

PDF
Power and position in leadershipDOC-20250808-WA0011..pdf
PDF
Katrina Stoneking: Shaking Up the Alcohol Beverage Industry
PDF
Business model innovation report 2022.pdf
DOCX
unit 1 COST ACCOUNTING AND COST SHEET
PDF
How to Get Funding for Your Trucking Business
PPT
Data mining for business intelligence ch04 sharda
PPTX
AI-assistance in Knowledge Collection and Curation supporting Safe and Sustai...
PDF
A Brief Introduction About Julia Allison
PDF
Unit 1 Cost Accounting - Cost sheet
PDF
pdfcoffee.com-opt-b1plus-sb-answers.pdfvi
PDF
Outsourced Audit & Assurance in USA Why Globus Finanza is Your Trusted Choice
PDF
DOC-20250806-WA0002._20250806_112011_0000.pdf
PDF
COST SHEET- Tender and Quotation unit 2.pdf
PPTX
CkgxkgxydkydyldylydlydyldlyddolydyoyyU2.pptx
PPTX
job Avenue by vinith.pptxvnbvnvnvbnvbnbmnbmbh
PDF
Ôn tập tiếng anh trong kinh doanh nâng cao
PDF
Solara Labs: Empowering Health through Innovative Nutraceutical Solutions
PPTX
The Marketing Journey - Tracey Phillips - Marketing Matters 7-2025.pptx
PPTX
Dragon_Fruit_Cultivation_in Nepal ppt.pptx
PPT
340036916-American-Literature-Literary-Period-Overview.ppt
Power and position in leadershipDOC-20250808-WA0011..pdf
Katrina Stoneking: Shaking Up the Alcohol Beverage Industry
Business model innovation report 2022.pdf
unit 1 COST ACCOUNTING AND COST SHEET
How to Get Funding for Your Trucking Business
Data mining for business intelligence ch04 sharda
AI-assistance in Knowledge Collection and Curation supporting Safe and Sustai...
A Brief Introduction About Julia Allison
Unit 1 Cost Accounting - Cost sheet
pdfcoffee.com-opt-b1plus-sb-answers.pdfvi
Outsourced Audit & Assurance in USA Why Globus Finanza is Your Trusted Choice
DOC-20250806-WA0002._20250806_112011_0000.pdf
COST SHEET- Tender and Quotation unit 2.pdf
CkgxkgxydkydyldylydlydyldlyddolydyoyyU2.pptx
job Avenue by vinith.pptxvnbvnvnvbnvbnbmnbmbh
Ôn tập tiếng anh trong kinh doanh nâng cao
Solara Labs: Empowering Health through Innovative Nutraceutical Solutions
The Marketing Journey - Tracey Phillips - Marketing Matters 7-2025.pptx
Dragon_Fruit_Cultivation_in Nepal ppt.pptx
340036916-American-Literature-Literary-Period-Overview.ppt

DaKiRy_QAStandUp_Діана Пінчук "Testing oracles"

  • 2. Agenda • Testing Oracles • Oracles classification • Emotions as oracle • Summary
  • 3. Oracles An oracle is a heuristic principle or mechanism by which we recognize a problem An oracles is a method of generation of the expected result And that, since they’re heuristics, oracles are fallible and context-dependent. No oracle comes with a guarantee that it’s giving you the right answer. An oracle can only point you to a possible problem.
  • 4. Full and partial oracles Full oracle - a mechanism which can provide expected result with 100% sure. Partial oracle - a mechanism which cannot be fully reliable in providing expected result, but requires less resources for usage.
  • 5. Failures when using oracles Mishit - an oracle didn’t find the problem when it exists False alarm - an oracle found the problem which doesn’t exist
  • 6. Oracles classification FEW HICCUPS by J.Bach & M.Bolton Doug Hoffman’s Approach Your own oracles Emotions and feelings
  • 7. FEW HICCUPS Oracle Description History Correspondence to the previous versions Image Correspondence to the Company image Comparable products Correspondence to comparable products Claims Correspondence to requirements (promises) User expectations Correspondence to user’s expectations Product Correspondence to other parts of the product Purpose Correspondence to the product purposes Statutes and Standards Correspondence to the statutes and standards
  • 8. FEW HICCUPS Oracle Description Familiarity Discrepancy with similar problems Explainability Correspondence to behaviour which can be explained World Accordance to beliefs about the world
  • 9. Doug Hoffman’s taxonomy Oracle Constraint oracle Regression oracle Self-verifying data oracle Physical model oracle Oracle Calculation oracle Inverse oracle Reference program Oracle Business model oracle Statistical model oracle State model oracle Interaction model oracle
  • 10. Comparison of the both classifications Areas of usage Strengths Weaknesses FEW HUCCUPS Logging convincing bug reports Test design Mnemonic Flexibility Not suitable for autotests developing Doug Hoffman’s taxonomy Test design Developing of autotests Oracles are well programmed Concreteness Descriptions are not well structured
  • 11. And more... Emotions can be used as oracle Tester’s emotions are like smoke detector
  • 12. Summary • An oracles is a mechanism of generation of the expected result • 2 most popular oracles classifications are (FEW HICCUPPS) and Doug Hoffman’s taxonomy • Both classifications help us to detect defects and design our tests • FEW HICCUPPS is successfully used for logging of convincing bug reports • Doug Hoffman’s taxonomy can be used for developing autotests • There are many ideas of the testing oracles usage. For example, you can use your emotions