SlideShare uma empresa Scribd logo
1 de 9
Commonly Held Beliefs about
Test Cases
Dave Bell
Objectives
• Open up your mind
• Examine different approaches
• Achieve better testing results
• Satisfy our customers
Today’s Tester
.. Of Range of Quality
The ‘Test’
Step 2. Written
Step 1. Thought of
Step 3. Executed
To …
Find defects
that matter
Identify risks
Help managers
make ship / no-
ship decisions
Assess quality
Assess
conformance to
specification
Learn how the
system works
Can testing only be done with test cases?
It is common practice to write down detailed steps and then execute them
We can use structured approach for review and re-use
BUT
Can achieve testing goals with exploratory testing as well as checks
The Business wants to know that the bugs that matter to them are are addressed or
identified, not that you had test cases
We should select the best approach for testing in our context
Will I find all defects with test cases?
I have detailed expected results to check against system
Designs have re-inforced how the system should / should not behave
BUT
The executed test cases may only enable finding defects by ‘checking’
The test case could be wrong, out of date or miss some key areas
We should use our minds to experiment and check in a controlled way
Will my test cases achieve 100% coverage?
We can write appropriate test cases to cover all requirements based on priority
We can report on metrics for this
BUT
The world is not perfect and requirements may not be as well
The tester needs to find undocumented requirements by questioning
We should plan testing based on quality not quantity of information
Scripted and Exploratory Testing
Summary
The tester needs to examine the best way to test in their context
The tester should consider the balance between tools, checking and exploratory testing
Some resources
James Bach’s blog post
http://www.satisfice.com/blog/archives/856
http://www.satisfice.com/blog/archives/1509

Mais conteúdo relacionado

Mais procurados

10 Guidelines for A/B Testing
10 Guidelines for A/B Testing10 Guidelines for A/B Testing
10 Guidelines for A/B TestingEmily Robinson
 
Performance testing mistakes newbies make
Performance testing mistakes newbies makePerformance testing mistakes newbies make
Performance testing mistakes newbies makeConfiz Limited
 
6 Guidelines for A/B Testing
6 Guidelines for A/B Testing6 Guidelines for A/B Testing
6 Guidelines for A/B TestingEmily Robinson
 
Session-Based Test Management
Session-Based Test ManagementSession-Based Test Management
Session-Based Test Managementcaltonhill
 
Assignment 1 applications of the scientific method
Assignment 1 applications of the scientific methodAssignment 1 applications of the scientific method
Assignment 1 applications of the scientific methodcoursesexams1
 
Context driven tester
Context driven testerContext driven tester
Context driven testerWasiqul Huq
 
Keys to Better Problem Solving
Keys to Better Problem SolvingKeys to Better Problem Solving
Keys to Better Problem SolvingMike Wicker
 
Managing agile testing
Managing agile testing Managing agile testing
Managing agile testing PractiTest
 
Exploratory Testing
Exploratory TestingExploratory Testing
Exploratory Testingsriks7
 
Michał Stryjak, Poznaj Context-Driven Testing
Michał Stryjak, Poznaj Context-Driven TestingMichał Stryjak, Poznaj Context-Driven Testing
Michał Stryjak, Poznaj Context-Driven TestingFuture Processing
 
Session based testing method. Short information.
Session based testing method. Short information.Session based testing method. Short information.
Session based testing method. Short information.Eugene Tkachenko
 
Presentation Of Scientific Method With Quiz Rr Version
Presentation Of Scientific Method With Quiz Rr VersionPresentation Of Scientific Method With Quiz Rr Version
Presentation Of Scientific Method With Quiz Rr VersionAlbion Central School
 
Carsten Feildberg - Session Based Test Management in Practice - EuroSTAR 2010
Carsten Feildberg - Session Based Test Management in Practice - EuroSTAR 2010Carsten Feildberg - Session Based Test Management in Practice - EuroSTAR 2010
Carsten Feildberg - Session Based Test Management in Practice - EuroSTAR 2010TEST Huddle
 
Exploratory Session Based Testing…With A Twist Star East 2009
Exploratory Session Based Testing…With A Twist   Star East 2009Exploratory Session Based Testing…With A Twist   Star East 2009
Exploratory Session Based Testing…With A Twist Star East 2009aandelkovic
 
Countries’ presentation on internal quality control: Bhutan
Countries’ presentation on internal quality control: BhutanCountries’ presentation on internal quality control: Bhutan
Countries’ presentation on internal quality control: BhutanExternalEvents
 
The Abolition of Test
The Abolition of TestThe Abolition of Test
The Abolition of TestMatt Mansell
 
App Managing Test Environments From App Labs
App Managing Test Environments From App LabsApp Managing Test Environments From App Labs
App Managing Test Environments From App Labsguest4e4766
 

Mais procurados (20)

10 Guidelines for A/B Testing
10 Guidelines for A/B Testing10 Guidelines for A/B Testing
10 Guidelines for A/B Testing
 
Performance testing mistakes newbies make
Performance testing mistakes newbies makePerformance testing mistakes newbies make
Performance testing mistakes newbies make
 
6 Guidelines for A/B Testing
6 Guidelines for A/B Testing6 Guidelines for A/B Testing
6 Guidelines for A/B Testing
 
[Paul Holland] Trends in Software Testing
[Paul Holland] Trends in Software Testing[Paul Holland] Trends in Software Testing
[Paul Holland] Trends in Software Testing
 
Session-Based Test Management
Session-Based Test ManagementSession-Based Test Management
Session-Based Test Management
 
Assignment 1 applications of the scientific method
Assignment 1 applications of the scientific methodAssignment 1 applications of the scientific method
Assignment 1 applications of the scientific method
 
Context driven tester
Context driven testerContext driven tester
Context driven tester
 
Keys to Better Problem Solving
Keys to Better Problem SolvingKeys to Better Problem Solving
Keys to Better Problem Solving
 
Managing agile testing
Managing agile testing Managing agile testing
Managing agile testing
 
Exploratory Testing
Exploratory TestingExploratory Testing
Exploratory Testing
 
Perfect Reliability
Perfect ReliabilityPerfect Reliability
Perfect Reliability
 
Michał Stryjak, Poznaj Context-Driven Testing
Michał Stryjak, Poznaj Context-Driven TestingMichał Stryjak, Poznaj Context-Driven Testing
Michał Stryjak, Poznaj Context-Driven Testing
 
How to write defect
How to write defectHow to write defect
How to write defect
 
Session based testing method. Short information.
Session based testing method. Short information.Session based testing method. Short information.
Session based testing method. Short information.
 
Presentation Of Scientific Method With Quiz Rr Version
Presentation Of Scientific Method With Quiz Rr VersionPresentation Of Scientific Method With Quiz Rr Version
Presentation Of Scientific Method With Quiz Rr Version
 
Carsten Feildberg - Session Based Test Management in Practice - EuroSTAR 2010
Carsten Feildberg - Session Based Test Management in Practice - EuroSTAR 2010Carsten Feildberg - Session Based Test Management in Practice - EuroSTAR 2010
Carsten Feildberg - Session Based Test Management in Practice - EuroSTAR 2010
 
Exploratory Session Based Testing…With A Twist Star East 2009
Exploratory Session Based Testing…With A Twist   Star East 2009Exploratory Session Based Testing…With A Twist   Star East 2009
Exploratory Session Based Testing…With A Twist Star East 2009
 
Countries’ presentation on internal quality control: Bhutan
Countries’ presentation on internal quality control: BhutanCountries’ presentation on internal quality control: Bhutan
Countries’ presentation on internal quality control: Bhutan
 
The Abolition of Test
The Abolition of TestThe Abolition of Test
The Abolition of Test
 
App Managing Test Environments From App Labs
App Managing Test Environments From App LabsApp Managing Test Environments From App Labs
App Managing Test Environments From App Labs
 

Destaque

Advance fm case studies
Advance fm case studiesAdvance fm case studies
Advance fm case studiesvatsaloza
 
Cortez valeria educacion tecnologica en el nivel inicial
Cortez valeria educacion tecnologica en el nivel inicialCortez valeria educacion tecnologica en el nivel inicial
Cortez valeria educacion tecnologica en el nivel inicialMayra Barrios
 
Cliff Lee direct mail
Cliff Lee direct mailCliff Lee direct mail
Cliff Lee direct mailFrank Sau
 
How to connect on LinkedIn
How to connect on LinkedInHow to connect on LinkedIn
How to connect on LinkedInKayla Pachl
 
Crear formularios en Google Form español 2016
Crear formularios en Google Form español 2016Crear formularios en Google Form español 2016
Crear formularios en Google Form español 2016Jesus Benjamin Yam Aguilar
 
профзаболевания и опасности рыботы сварщиков
профзаболевания и опасности рыботы сварщиковпрофзаболевания и опасности рыботы сварщиков
профзаболевания и опасности рыботы сварщиковNatali Filipenko
 
일산교육원 소셜스쿨4기 고양-파주지역 sns활용기초과정-안내문_160108
일산교육원 소셜스쿨4기 고양-파주지역 sns활용기초과정-안내문_160108일산교육원 소셜스쿨4기 고양-파주지역 sns활용기초과정-안내문_160108
일산교육원 소셜스쿨4기 고양-파주지역 sns활용기초과정-안내문_160108규문 최
 
Dedicado a todas las mujeres
Dedicado a todas las mujeres Dedicado a todas las mujeres
Dedicado a todas las mujeres pangpong
 
Waste to energy in perspective of sindh
Waste to energy in perspective of sindhWaste to energy in perspective of sindh
Waste to energy in perspective of sindhzubeditufail
 
Портфоліо Викладача Бериславського педагогічного коледжу Сіденко В. М.
Портфоліо Викладача Бериславського педагогічного коледжу Сіденко В. М.Портфоліо Викладача Бериславського педагогічного коледжу Сіденко В. М.
Портфоліо Викладача Бериславського педагогічного коледжу Сіденко В. М.galina90210
 
Las nuevas tecnologias en el mundo actual
Las nuevas tecnologias en el mundo actual Las nuevas tecnologias en el mundo actual
Las nuevas tecnologias en el mundo actual yazmin baez
 

Destaque (18)

Advance fm case studies
Advance fm case studiesAdvance fm case studies
Advance fm case studies
 
Get a Done For You Marketing System
Get a Done For You Marketing SystemGet a Done For You Marketing System
Get a Done For You Marketing System
 
2 - SWOON BROCHURE
2 - SWOON BROCHURE2 - SWOON BROCHURE
2 - SWOON BROCHURE
 
Cortez valeria educacion tecnologica en el nivel inicial
Cortez valeria educacion tecnologica en el nivel inicialCortez valeria educacion tecnologica en el nivel inicial
Cortez valeria educacion tecnologica en el nivel inicial
 
Seneca
Seneca Seneca
Seneca
 
Cliff Lee direct mail
Cliff Lee direct mailCliff Lee direct mail
Cliff Lee direct mail
 
Educacion en-mexico
Educacion en-mexicoEducacion en-mexico
Educacion en-mexico
 
How to connect on LinkedIn
How to connect on LinkedInHow to connect on LinkedIn
How to connect on LinkedIn
 
Crear formularios en Google Form español 2016
Crear formularios en Google Form español 2016Crear formularios en Google Form español 2016
Crear formularios en Google Form español 2016
 
PCFeature06
PCFeature06PCFeature06
PCFeature06
 
профзаболевания и опасности рыботы сварщиков
профзаболевания и опасности рыботы сварщиковпрофзаболевания и опасности рыботы сварщиков
профзаболевания и опасности рыботы сварщиков
 
일산교육원 소셜스쿨4기 고양-파주지역 sns활용기초과정-안내문_160108
일산교육원 소셜스쿨4기 고양-파주지역 sns활용기초과정-안내문_160108일산교육원 소셜스쿨4기 고양-파주지역 sns활용기초과정-안내문_160108
일산교육원 소셜스쿨4기 고양-파주지역 sns활용기초과정-안내문_160108
 
Recuerdos de un lugar de la Mancha
Recuerdos de un lugar de la ManchaRecuerdos de un lugar de la Mancha
Recuerdos de un lugar de la Mancha
 
Dedicado a todas las mujeres
Dedicado a todas las mujeres Dedicado a todas las mujeres
Dedicado a todas las mujeres
 
Waste to energy in perspective of sindh
Waste to energy in perspective of sindhWaste to energy in perspective of sindh
Waste to energy in perspective of sindh
 
Ciclos
CiclosCiclos
Ciclos
 
Портфоліо Викладача Бериславського педагогічного коледжу Сіденко В. М.
Портфоліо Викладача Бериславського педагогічного коледжу Сіденко В. М.Портфоліо Викладача Бериславського педагогічного коледжу Сіденко В. М.
Портфоліо Викладача Бериславського педагогічного коледжу Сіденко В. М.
 
Las nuevas tecnologias en el mundo actual
Las nuevas tecnologias en el mundo actual Las nuevas tecnologias en el mundo actual
Las nuevas tecnologias en el mundo actual
 

Semelhante a Commonly Held Beliefs about Test Cases v1.0

Exploratory Testing - A Whitepaper by RapidValue
Exploratory Testing -  A Whitepaper by RapidValueExploratory Testing -  A Whitepaper by RapidValue
Exploratory Testing - A Whitepaper by RapidValueRapidValue
 
Things Could Get Worse: Ideas About Regression Testing
Things Could Get Worse: Ideas About Regression TestingThings Could Get Worse: Ideas About Regression Testing
Things Could Get Worse: Ideas About Regression TestingTechWell
 
Exploratory Testing: Make It Part of Your Test Strategy
Exploratory Testing: Make It Part of Your Test StrategyExploratory Testing: Make It Part of Your Test Strategy
Exploratory Testing: Make It Part of Your Test StrategyTechWell
 
QASymphony - How to Start, Grow & Perfect Exploratory Testing on your Team
QASymphony - How to Start, Grow & Perfect Exploratory Testing on your TeamQASymphony - How to Start, Grow & Perfect Exploratory Testing on your Team
QASymphony - How to Start, Grow & Perfect Exploratory Testing on your Teamelizabethdiazqa
 
QASymphony Webinar - "How to Start, Grow & Perfect Exploratory Testing on you...
QASymphony Webinar - "How to Start, Grow & Perfect Exploratory Testing on you...QASymphony Webinar - "How to Start, Grow & Perfect Exploratory Testing on you...
QASymphony Webinar - "How to Start, Grow & Perfect Exploratory Testing on you...QASymphony
 
Rapid Software Testing: Strategy
Rapid Software Testing: StrategyRapid Software Testing: Strategy
Rapid Software Testing: StrategyTechWell
 
Fundamentals of Testing (2013)
Fundamentals of Testing (2013)Fundamentals of Testing (2013)
Fundamentals of Testing (2013)Jana Gierloff
 
Agile testingandautomation
Agile testingandautomationAgile testingandautomation
Agile testingandautomationjeisner
 
Gerlof Hoekstra - OMG What Have We Done - EuroSTAR 2013
Gerlof Hoekstra - OMG What Have We Done - EuroSTAR 2013Gerlof Hoekstra - OMG What Have We Done - EuroSTAR 2013
Gerlof Hoekstra - OMG What Have We Done - EuroSTAR 2013TEST Huddle
 
Test Cases Maintaining & Documenting
Test Cases Maintaining & DocumentingTest Cases Maintaining & Documenting
Test Cases Maintaining & DocumentingSeyed Ali Marjaie
 
Usability Inspection Methods - Heuristic Evaluation
Usability Inspection Methods - Heuristic EvaluationUsability Inspection Methods - Heuristic Evaluation
Usability Inspection Methods - Heuristic EvaluationLazar Petrakiev
 
01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testingTricia Karina
 
Overcoming The Challenges Faced in Exploratory Testing
Overcoming The Challenges Faced in Exploratory TestingOvercoming The Challenges Faced in Exploratory Testing
Overcoming The Challenges Faced in Exploratory TestingSarah Elson
 
Effective Testing fo Startups
Effective Testing fo StartupsEffective Testing fo Startups
Effective Testing fo StartupsTestnetic
 
Software testing-in-gurgaon
Software testing-in-gurgaonSoftware testing-in-gurgaon
Software testing-in-gurgaonAP EDUSOFT
 
Rapid Software Testing: Strategy
Rapid Software Testing: StrategyRapid Software Testing: Strategy
Rapid Software Testing: StrategyTechWell
 
Designing an appropriate qc design procedure for your lab 5 mar15
Designing an appropriate qc design procedure for your lab 5 mar15Designing an appropriate qc design procedure for your lab 5 mar15
Designing an appropriate qc design procedure for your lab 5 mar15Randox
 

Semelhante a Commonly Held Beliefs about Test Cases v1.0 (20)

Exploratory Testing - A Whitepaper by RapidValue
Exploratory Testing -  A Whitepaper by RapidValueExploratory Testing -  A Whitepaper by RapidValue
Exploratory Testing - A Whitepaper by RapidValue
 
Things Could Get Worse: Ideas About Regression Testing
Things Could Get Worse: Ideas About Regression TestingThings Could Get Worse: Ideas About Regression Testing
Things Could Get Worse: Ideas About Regression Testing
 
Exploratory Testing: Make It Part of Your Test Strategy
Exploratory Testing: Make It Part of Your Test StrategyExploratory Testing: Make It Part of Your Test Strategy
Exploratory Testing: Make It Part of Your Test Strategy
 
QASymphony - How to Start, Grow & Perfect Exploratory Testing on your Team
QASymphony - How to Start, Grow & Perfect Exploratory Testing on your TeamQASymphony - How to Start, Grow & Perfect Exploratory Testing on your Team
QASymphony - How to Start, Grow & Perfect Exploratory Testing on your Team
 
QASymphony Webinar - "How to Start, Grow & Perfect Exploratory Testing on you...
QASymphony Webinar - "How to Start, Grow & Perfect Exploratory Testing on you...QASymphony Webinar - "How to Start, Grow & Perfect Exploratory Testing on you...
QASymphony Webinar - "How to Start, Grow & Perfect Exploratory Testing on you...
 
Rapid Software Testing: Strategy
Rapid Software Testing: StrategyRapid Software Testing: Strategy
Rapid Software Testing: Strategy
 
Fundamentals of Testing (2013)
Fundamentals of Testing (2013)Fundamentals of Testing (2013)
Fundamentals of Testing (2013)
 
Agile testingandautomation
Agile testingandautomationAgile testingandautomation
Agile testingandautomation
 
Gerlof Hoekstra - OMG What Have We Done - EuroSTAR 2013
Gerlof Hoekstra - OMG What Have We Done - EuroSTAR 2013Gerlof Hoekstra - OMG What Have We Done - EuroSTAR 2013
Gerlof Hoekstra - OMG What Have We Done - EuroSTAR 2013
 
Test Cases Maintaining & Documenting
Test Cases Maintaining & DocumentingTest Cases Maintaining & Documenting
Test Cases Maintaining & Documenting
 
Usability Inspection Methods - Heuristic Evaluation
Usability Inspection Methods - Heuristic EvaluationUsability Inspection Methods - Heuristic Evaluation
Usability Inspection Methods - Heuristic Evaluation
 
01. foundamentals of testing
01. foundamentals of testing01. foundamentals of testing
01. foundamentals of testing
 
Overcoming The Challenges Faced in Exploratory Testing
Overcoming The Challenges Faced in Exploratory TestingOvercoming The Challenges Faced in Exploratory Testing
Overcoming The Challenges Faced in Exploratory Testing
 
Hai
HaiHai
Hai
 
Effective Testing fo Startups
Effective Testing fo StartupsEffective Testing fo Startups
Effective Testing fo Startups
 
SAM
SAMSAM
SAM
 
Fundamentals of testing
Fundamentals of testingFundamentals of testing
Fundamentals of testing
 
Software testing-in-gurgaon
Software testing-in-gurgaonSoftware testing-in-gurgaon
Software testing-in-gurgaon
 
Rapid Software Testing: Strategy
Rapid Software Testing: StrategyRapid Software Testing: Strategy
Rapid Software Testing: Strategy
 
Designing an appropriate qc design procedure for your lab 5 mar15
Designing an appropriate qc design procedure for your lab 5 mar15Designing an appropriate qc design procedure for your lab 5 mar15
Designing an appropriate qc design procedure for your lab 5 mar15
 

Commonly Held Beliefs about Test Cases v1.0

  • 1. Commonly Held Beliefs about Test Cases Dave Bell
  • 2. Objectives • Open up your mind • Examine different approaches • Achieve better testing results • Satisfy our customers
  • 3. Today’s Tester .. Of Range of Quality The ‘Test’ Step 2. Written Step 1. Thought of Step 3. Executed To … Find defects that matter Identify risks Help managers make ship / no- ship decisions Assess quality Assess conformance to specification Learn how the system works
  • 4. Can testing only be done with test cases? It is common practice to write down detailed steps and then execute them We can use structured approach for review and re-use BUT Can achieve testing goals with exploratory testing as well as checks The Business wants to know that the bugs that matter to them are are addressed or identified, not that you had test cases We should select the best approach for testing in our context
  • 5. Will I find all defects with test cases? I have detailed expected results to check against system Designs have re-inforced how the system should / should not behave BUT The executed test cases may only enable finding defects by ‘checking’ The test case could be wrong, out of date or miss some key areas We should use our minds to experiment and check in a controlled way
  • 6. Will my test cases achieve 100% coverage? We can write appropriate test cases to cover all requirements based on priority We can report on metrics for this BUT The world is not perfect and requirements may not be as well The tester needs to find undocumented requirements by questioning We should plan testing based on quality not quantity of information
  • 8. Summary The tester needs to examine the best way to test in their context The tester should consider the balance between tools, checking and exploratory testing
  • 9. Some resources James Bach’s blog post http://www.satisfice.com/blog/archives/856 http://www.satisfice.com/blog/archives/1509

Notas do Editor

  1. On a recent engagement, I was asked to write test cases however I felt I had a better way. I asked why? The manager of testing said “so that someone else can execute them if needed’. Is this sufficient reason for them? They weren’t to help ‘me’ test.
  2. I am sure you already know this. Today’s tester has a lot to do to accomplish their objectives for a given project, and must be able to adapt. One component of their role is the creation of tests. This presentation has been drafted to ask 3 questions of commonly held beliefs which may help us consider what decisions to make, question or influence, when creating these tests.
  3. Here is our first question to consider. Can testing be done without what we commonly refer to as test cases? Remember that it may seem that “Testing without Test Cases is like a car without an engine”. However, there is more than 1 way to build a car.
  4. We can demonstrate that the test cases we ran at that time did not identify any more defects. We cannot however prove the lack of existence of defects. We should set our minds to examine the system sufficiently to maximise our processes to raise the defects that matter.
  5. Recent example – tester said ‘couldn’t write tests as didn’t have detailed requirements’
  6. For a given engagement, we should ask ourselves the question: Should I use scripted test cases or exploratory testing?
  7. Test objects are only a part of what is needed in a tester’s toolkit How to find the best solution? How can you make the best judgement?