SlideShare a Scribd company logo
K1
Keynote
5/7/2014 8:30:00 AM
Principles Before Practices:
Transform Your Testing by
Understanding Key Concepts
Presented by:
Randy Rice
Rice Consulting Services, Inc.
Brought to you by:
340 Corporate Way, Suite 300, Orange Park, FL 32073
888-268-8770 ∙ 904-278-0524 ∙ sqeinfo@sqe.com ∙ www.sqe.com
Randy Rice
Rice Consulting Services, Inc.
A leading author, speaker, and consultant with more than thirty years of experience in the field
of software testing and software quality, Randy Rice has worked with organizations worldwide to
improve the quality of their information systems and optimize their testing processes. He is
coauthor (with William E. Perry) of Surviving the Top Ten Challenges of Software Testing and
Testing Dirty Systems. Randy is an officer of the American Software Testing Qualifications
Board (ASTQB). Founder, principal consultant, and trainer at Rice Consulting Services, Randy
can be contacted at riceconsulting.com where he publishes articles, newsletters, and other
content about software testing and software quality. Visit Randy’s blog.
4/29/2014
1
PRINCIPLES BEFORE
PRACTICES
HOW TO TRANSFORM YOUR TESTING
PRACTICES WITH BASIC AND
ADVANCED PRINCIPLES
RANDALL W. RICE, CTAL
RICE CONSULTING
SERVICES, INC.
© 2013, Rice Consulting Services, Inc.
2
A LITTLE BACKGROUND
• Many years ago, I heard a great
analogy about conveying and
applying knowledge.
• If I were to teach someone how to
wash dishes, I could:
• Teach all the variations needed for
every type of dish, cookware and
utensil, or
• I could teach principles and let the
person adapt the methods to
whatever they needed to wash.
4/29/2014
2
3
THINGS LIKE…
• Rinse off the big foodstuff first.
• Save the really messy dishes until the
end so you don't get everything else in
the sink messy too.
• Use hot water, but not too hot or else
you will scald yourself.
• Be careful with sharp knives in sudsy
water
4
SIMILARLY, IN TESTING…
• Take some sample tests early and find
where the big problem areas seem to be.
• Don't test the really complex areas at first.
Get your bearings first.
• Have strong tests, but if you make every
test strong, you may not have time to
finish.
• Early testing is good, expect when the
thing you are testing isn't ready even for
early testing.
• Test automation is not automatic.
4/29/2014
3
5
COMMON QUESTIONS
• Which tools do we use in
certain situations?
• Which techniques are “best” for
a project?
• How do we adjust tools and
techniques?
6
WHAT WE WANT
No Knowledge
Mastery
4/29/2014
4
7
REALISTIC VIEW
No Knowledge
Mastery
“The Dip”
Years
8
TESTING IS VERY NUANCED
• There are small to large variables on any project that require
you to:
• Select certain techniques
• Apply a technique differently
• In essence, all testing is context-driven
• And, there are small things that really make a big difference in
how we may apply a technique.
4/29/2014
5
9
FROM CLASSROOM TO PRACTICE
Learning Objectives
Retention
Instruction
Exercises
Visual Aids
Application
10
BUT, IT GETS WORSE
Learning Objectives
Instruction
Visual Aids
Exercises
Retention for multiple people
Application by
multiple people
Passage of time. Needs change, organizations change
4/29/2014
6
11
WHY?
• Let’s look at the lowest four levels of the Bloom
Taxonomy:
K4 (Analyze) - Assimilate
K3 (Do) - Practices
K2 (Understand) –
Principles, concepts,
theory
K1 (Remember) - Facts
The great majority
of Foundation Level
learning objectives
4 Foundation
learning objectives
12
7 GENERAL TESTING PRINCIPLES
• Testing shows the presence of defects
• Exhaustive testing is impossible
• Early testing
• Defect clustering
• Pesticide paradox
• Testing is context dependent
• Absence-of-errors fallacy
Source: ISTQB Foundation Level Syllabus
4/29/2014
7
13
THERE ARE MANY OTHER IMPLICIT
PRINCIPLES
• Not every failure is a defect.
• Not every test can or should be
automated.
• Test automation doesn’t replace the
need for manual testing
• It doesn’t matter how good your test
is, if you are testing the wrong
version.
14
CLIMBING K2
• People normally dislike this level of
learning.
• Conceptual
• Theoretical
• Hands-off
• Requires deeper understanding
• Takes longer to build the basis of
understanding
4/29/2014
8
15
ANOTHER CHALLENGE
• “Just show us how to use the tool.”
• The students
• “We want a course with all practical
application and little or no theory.”
• Management
16
A LITTLE TIME GOES BY…
• “We don’t know really get how to
design tests for our applications. We
just learned on the case study
example.”
• Students
• “The students passed the exam but we
are still struggling in how to implement
the techniques.”
• Management
4/29/2014
9
17
AN EXAMPLE FROM MUSIC
• It is possible to learn to play an
instrument from mimicking someone else.
• The Suzuki Method
• However, you are able to play only specific
songs.
• Professional musicians, even many rock
stars, understand music theory!
• Blues, heavy metal and other styles are all
based on different types of scales and
tunings.
18
WE SEE THE SAME
THING IN SPORTS
• Why do professional baseball
players, golfers, football players need
coaches?
• Objectivity
• Accountability
• Teaching from a broader background
of experience
4/29/2014
10
19
WHAT SETS APART PROFESSIONAL
MUSICIANS AND ATHLETES?
• Practice!
• Professional golfers are on the driving
range every day and play most days.
• Football players practice in extreme
conditions.
• Musicians may practice hours for one
show.
20
HOW DO TESTERS
PRACTICE?
• Try new approaches
• Delve deeper into an approach or
technique you already know
• Beta test a new technology
• Play mental games
4/29/2014
11
TWO EXAMPLES OF
TEST TECHNIQUES
THAT REQUIRE
DEEPER
UNDERSTANDING
22
EXAMPLE 1 – PAIRWISE TESTING
• Key Principles
• Used when there are distinct numbers of conditions that can be
tested together, but the testing of all combinations would be
infeasible.
• Instead of testing all combinations of conditions, all unique pairs
of conditions are tested.
• Finds defects when:
• The interaction between TWO conditions are incorrect
• The conditions make sense to relate to each other
• Primarily applied by using either orthogonal arrays or pairwise
tools.
• This can be a very interesting and effective way to deal with
testing high numbers of combinations.
4/29/2014
12
23
Teacher, why do we need
to know this?
24
AN EXAMPLE
The IE Tools>Advanced
Options window
53 binary conditions
1 condition with 3 options
1 condition with 4 options
253
= 9,007,199,254,740,992
X 12
108,086,391,056,891,904
Possible combinations of
conditions!
Source: James Whittaker, How to Break Software
4/29/2014
13
25
THIS WOULD REQUIRE…
At one second per test execution:
108,086,391,056,891,904
360
300,239,975,158,033.067= hours
12,509,998,964,918.04 days
34,273,969,766.9 years
To test all possible combinations!
26
WITH TEST CASE OPTIMIZATION
• The number of tests that
represent unique pairings = 7
• Obtained from using the AllPairs
tool
4/29/2014
14
27
WHAT RESEARCH INDICATES
• There have been many studies done
where defects were researched after
the fact.
• Research has shown that the highest
likelihood of an integration defect
relates to interaction between pairs of
items or parameters.
• www.pairwise.org
28
EXAMPLE OF RESEARCH FINDINGS
• [Evaluating FDA recall class failures in
medical devices we established that] [...]
out of the 109 reports that [were] detailed
[enough], 98% showed that the problem
could have been detected by testing the
device with all pairs of parameter settings.
• D.R. Wallace and D.R. Kuhn, 2001
• http://csrc.ncsl.nist.gov/staff/kuhn/final-rqse.pdf
4/29/2014
15
29
THE LIKELIHOOD OF TRIPLE-
MODE OR HIGHER DEFECTS
Condition B Condition DCondition CCondition A Condition E
Double-mode defects
are more likely
than Triple-mode
or higher defects.
30
EXAMPLE – AN OA.4.3.2.2 ARRAY
011Test case 4
101Test case 3
110Test case 2
000Test case 1
Condition 3Condition 2Condition 1
4/29/2014
16
31
EXAMPLE – WITH CONDITIONS
PoolFarmRuralTest case 4
PondHighriseRuralTest case 3
PondFarmUrbanTest case 2
PoolHighriseUrbanTest case 1
Condition 3Condition 2Condition 1
Some paired conditions may make no sense, or may be infeasible
32
ONE MORE SPIN ON
THIS
• A client was using orthogonal arrays to optimize the testing of
stock trades.
• 15 broker types
• 3 trade types
• 2 customer types
• 7 amount levels (bands)
• 4 account types
• This would yield 15*3*2*7*4 = 2,520 tests for all combinations.
• We noticed that the 15 broker types could be safely divided into
5 equivalence classes.
• 5*3*2*7*4 = 840
• This resulted in a 67% reduction in test cases before any pairwise
analysis!
4/29/2014
17
33
WHAT WE’VE SEEN
• Instead of going immediately to a tool or technique with a
set of categories and conditions, let’s look first to see:
• If the technique makes sense in the situation
• How do we deal with the downsides?
• In this example, can they be used as negative tests?
• What do the stakeholders think of the technique?
• I’ve seen some get very excited
• I’ve seen some get very nervous!
• Are we willing to accept the trade-offs of pairwise testing?
• It becomes very important which categories and
conditions we test together.
• We still need an oracle to know the correct outcome.
• Maybe there is a provision for a highrise building on a farm!
34
EXAMPLE #2 – RISK-BASED
TESTING
• Key Principles
• Used when you can’t test the basic layer of functionality and/or
when you need to prioritize testing to meet delivery schedules
• The higher the risk, the more intense the test should be
• Helps by:
• Focusing on areas that might experience high levels of loss
• Giving lesser attention to trivial or less important functions
• Tracing and mitigating risks identified during testing
• Can be used in just about any application as long as you are able
to intelligently identify and measure risk.
• It is possible to miss some risks and some defects.
• Risk is a possibility, not a certainty
• Our knowledge is limited
• Some things will likely not get tested
4/29/2014
18
35
Teacher, isn’t all testing
risk-based?
36
Universe of Test Cases
Case 1
Case 2
Case 3
Case 4
Case 5
Case n
Case 6
Case 7
Case 11
Case 8
Case 12
Case 13
Case 10
Case 14
Case 9
CONSIDER THE FOLLOWING
4/29/2014
19
37
Universe of Test Cases
Case 1
Case 2
Case 3
Case 4
Case 5
Case n
Case 6
Case 7
Case 11
Case 8
Case 12
Case 13
Case 10
Case 14
Case 9
High-risk cases
Low-risk cases
Moderate-risk cases
THE TEST CASE UNIVERSE
SEGMENTED BY RISK
38
Universe of Test Cases
Case 1
Case 2
Case 3
Case 4
Case 5
Case n
Case 6
Case 7
Case 11
Case 8
Case 12
Case 13
Case 10
Case 14
Case 9
High-risk cases
Low-risk cases
Moderate-risk cases
TEST CASES THAT SPAN RISK LEVELS
In testing this transaction, you
span all levels of risk. How do you
prioritize risk in this scenario?
4/29/2014
20
39
HOW TO APPLY
• At various levels:
• Product risk
• Functional risk
• Attribute risk – Usability, performance, etc.
• Project risk
• But what about?:
• Residual risks
• Safety critical (when everything is a “high” risk)
• When risks are:
• Difficult to identify
• Change often
• Are an excuse for reduced testing
• Difficult to mitigate and track
This is the practice level!
40
A TIP TO HELP IDENTIFY YOUR
PRACTICES
Area/Principles Implications
Test Automation
• You can’t automate everything
• Automation doesn’t replace people
• The ROI of test automation is repetition
• Select tests carefully to automate
• Consider which skills will need to be built
• To get payback, start with simple tests
that are performed a lot.
Test Design
• Test conditions form the basis of test
cases
• Many things can serve as a basis for test
design, including experience
• Before writing test cases, have a smart
way to identify test conditions.
• If you don’t have a good written basis for
testing, you can create one.
Test Evaluation
• If you can’t observe the outcome of a
test, you can’t evaluate it
• Testing is measurement
• If we can’t define a way to see, report, or
measure the outcome of a test, it does
little good to plan it.
• Since measurement of something
(defects, performance, etc.) is the
deliverable of testing, we should do it
well.
4/29/2014
21
HOW TO GAIN
UNDERSTANDING
GOING FROM PRINCIPLE TO PRACTICES
42
A FEW EXPECTATIONS
• This is not easy, automatic or instant
• This is a mental process more than
anything else
• This is also the result of practice and
experience
• This is not a classroom deliverable
• Mentoring and coaching can help you see
blind spots, but they can’t make you
change.
4/29/2014
22
43
WHAT REALLY HAPPENS
Instructor says, “Do it like this ” You say ”OK”
But think, “I’m not so sure” or
“I like my way better.”
44
However, I know I need to
improve my game. (I think)
4/29/2014
23
45
ACTUALLY, THAT’S FINE
• Each of us know internally
the way we work best.
• An external coach can
provide tips and advice, but
you know what works for you.
• A great resource for this is
the series, “The Inner Game”
by Timothy Gallwey.
46
WHAT WE ARE TALKING ABOUT IS
CHANGE
No Knowledge
Mastery
“The Dip”
Years
Change is hard!
We often fail
4/29/2014
24
47
COMPETENCE LEVELS
You do things
badly but don’t
know it.
You do things
badly but do
know it.
You do things
well but have
to think
carefully about
what you are
doing.
You do things
well and really
don’t think
much about
the
mechanics.
48
Source: Will Taylor
4/29/2014
25
49
IN TAKING EXAMS
• Don’t overthink the questions.
• Read it carefully and think it through, but
don’t go back and forth too much on one
question.
• Don’t rely on practice exams.
• They can be HUGELY misleading.
• Instead, ask “Can I demonstrate the
learning objectives?”
• Read the book “Choke”.
• It explains why we get all flustered and
don’t do well on exams.
50
IMPLEMENTING PRACTICES
• Pilot projects are great.
• Learn in the small before going to
the larger scale
• Use the “planned organic” approach
• Have senior management support
• Let others copy your success!
4/29/2014
26
51
FINAL THOUGHT
• “the 10,000hr rule is a definite key in
success”
― Malcolm Gladwell, Outliers: The Story of
Success
52
4/29/2014
27
53
BIO - RANDALL W. RICE
• Over 35 years experience in building and
testing information systems in a variety of
industries and technical environments
• ASTQB Certified Tester – Foundation level,
Advanced level (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
54
CONTACT INFORMATION
Randall W. Rice, CTAL
Rice Consulting Services, Inc.
P.O. Box 892003
Oklahoma City, OK 73170
Ph: 405-691-8075
Fax: 405-691-1441
Web site: www.riceconsulting.com
e-mail: rrice@riceconsulting.com

More Related Content

Viewers also liked

Test Estimation in Practice
Test Estimation in PracticeTest Estimation in Practice
Test Estimation in Practice
TechWell
 
Techniques for Agile Performance Testing
Techniques for Agile Performance TestingTechniques for Agile Performance Testing
Techniques for Agile Performance Testing
TechWell
 
Leveraging Open Source Automation: A Selenium WebDriver Example
Leveraging Open Source Automation: A Selenium WebDriver ExampleLeveraging Open Source Automation: A Selenium WebDriver Example
Leveraging Open Source Automation: A Selenium WebDriver Example
TechWell
 
Test Process Improvement in Agile
Test Process Improvement in AgileTest Process Improvement in Agile
Test Process Improvement in Agile
TechWell
 
Creating a Better Testing Future: The World Is Changing and We Must Change Wi...
Creating a Better Testing Future: The World Is Changing and We Must Change Wi...Creating a Better Testing Future: The World Is Changing and We Must Change Wi...
Creating a Better Testing Future: The World Is Changing and We Must Change Wi...
TechWell
 
Getting Started with Risk-based Testing
Getting Started with Risk-based TestingGetting Started with Risk-based Testing
Getting Started with Risk-based Testing
TechWell
 
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and MoreThe Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
TechWell
 
A Rapid Introduction to Rapid Software Testing
A Rapid Introduction to Rapid Software TestingA Rapid Introduction to Rapid Software Testing
A Rapid Introduction to Rapid Software Testing
TechWell
 
Testing with Limited, Vague, and Missing Requirements
Testing with Limited, Vague, and Missing RequirementsTesting with Limited, Vague, and Missing Requirements
Testing with Limited, Vague, and Missing Requirements
TechWell
 
Introducing Keyword-driven Test Automation
Introducing Keyword-driven Test AutomationIntroducing Keyword-driven Test Automation
Introducing Keyword-driven Test Automation
TechWell
 
Security Testing for Testing Professionals
Security Testing for Testing ProfessionalsSecurity Testing for Testing Professionals
Security Testing for Testing Professionals
TechWell
 
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
TechWell
 
Test Automation Patterns
Test Automation PatternsTest Automation Patterns
Test Automation Patterns
TechWell
 
Application Performance Testing: A Simplified Universal Approach
Application Performance Testing: A Simplified Universal ApproachApplication Performance Testing: A Simplified Universal Approach
Application Performance Testing: A Simplified Universal Approach
TechWell
 
Test Automation for Mobile Applications: A Practical Guide
Test Automation for Mobile Applications: A Practical GuideTest Automation for Mobile Applications: A Practical Guide
Test Automation for Mobile Applications: A Practical Guide
TechWell
 
Testing Cloud Services: SaaS, PaaS, and IaaS
Testing Cloud Services: SaaS, PaaS, and IaaSTesting Cloud Services: SaaS, PaaS, and IaaS
Testing Cloud Services: SaaS, PaaS, and IaaS
TechWell
 

Viewers also liked (16)

Test Estimation in Practice
Test Estimation in PracticeTest Estimation in Practice
Test Estimation in Practice
 
Techniques for Agile Performance Testing
Techniques for Agile Performance TestingTechniques for Agile Performance Testing
Techniques for Agile Performance Testing
 
Leveraging Open Source Automation: A Selenium WebDriver Example
Leveraging Open Source Automation: A Selenium WebDriver ExampleLeveraging Open Source Automation: A Selenium WebDriver Example
Leveraging Open Source Automation: A Selenium WebDriver Example
 
Test Process Improvement in Agile
Test Process Improvement in AgileTest Process Improvement in Agile
Test Process Improvement in Agile
 
Creating a Better Testing Future: The World Is Changing and We Must Change Wi...
Creating a Better Testing Future: The World Is Changing and We Must Change Wi...Creating a Better Testing Future: The World Is Changing and We Must Change Wi...
Creating a Better Testing Future: The World Is Changing and We Must Change Wi...
 
Getting Started with Risk-based Testing
Getting Started with Risk-based TestingGetting Started with Risk-based Testing
Getting Started with Risk-based Testing
 
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and MoreThe Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
The Challenges of BIG Testing: Automation, Virtualization, Outsourcing, and More
 
A Rapid Introduction to Rapid Software Testing
A Rapid Introduction to Rapid Software TestingA Rapid Introduction to Rapid Software Testing
A Rapid Introduction to Rapid Software Testing
 
Testing with Limited, Vague, and Missing Requirements
Testing with Limited, Vague, and Missing RequirementsTesting with Limited, Vague, and Missing Requirements
Testing with Limited, Vague, and Missing Requirements
 
Introducing Keyword-driven Test Automation
Introducing Keyword-driven Test AutomationIntroducing Keyword-driven Test Automation
Introducing Keyword-driven Test Automation
 
Security Testing for Testing Professionals
Security Testing for Testing ProfessionalsSecurity Testing for Testing Professionals
Security Testing for Testing Professionals
 
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
 
Test Automation Patterns
Test Automation PatternsTest Automation Patterns
Test Automation Patterns
 
Application Performance Testing: A Simplified Universal Approach
Application Performance Testing: A Simplified Universal ApproachApplication Performance Testing: A Simplified Universal Approach
Application Performance Testing: A Simplified Universal Approach
 
Test Automation for Mobile Applications: A Practical Guide
Test Automation for Mobile Applications: A Practical GuideTest Automation for Mobile Applications: A Practical Guide
Test Automation for Mobile Applications: A Practical Guide
 
Testing Cloud Services: SaaS, PaaS, and IaaS
Testing Cloud Services: SaaS, PaaS, and IaaSTesting Cloud Services: SaaS, PaaS, and IaaS
Testing Cloud Services: SaaS, PaaS, and IaaS
 

Similar to Principles Before Practices: Transform Your Testing by Understanding Key Concepts

Testing is Not a 9 to 5 Job - talk by industry executive Mike Lyles
Testing is Not a 9 to 5 Job - talk by industry executive Mike LylesTesting is Not a 9 to 5 Job - talk by industry executive Mike Lyles
Testing is Not a 9 to 5 Job - talk by industry executive Mike Lyles
Applitools
 
Planning & Conducting a Research Study
Planning & Conducting a Research StudyPlanning & Conducting a Research Study
Planning & Conducting a Research Study
Elicia Stewart
 
Lean Startup 301
Lean Startup 301Lean Startup 301
Lean Startup 301
Lean Startup Co.
 
Exploratory testing
Exploratory testingExploratory testing
Exploratory testing
Spoorthi Sham
 
Exploratory testing
Exploratory testingExploratory testing
Exploratory testing
Harshani Wickramaarachchi
 
T1
T1T1
Test Design Techniques in Exploratory Testing
Test Design Techniques in Exploratory TestingTest Design Techniques in Exploratory Testing
Test Design Techniques in Exploratory Testing
TechWell
 
More Than Usability
More Than UsabilityMore Than Usability
More Than Usability
Razan Sadeq
 
Exploratory testing
Exploratory testingExploratory testing
Exploratory testing
Billa Kota Sriram
 
Henrik Andersson - Exploratory Testing Champions - EuroSTAR 2010
Henrik Andersson - Exploratory Testing Champions - EuroSTAR 2010Henrik Andersson - Exploratory Testing Champions - EuroSTAR 2010
Henrik Andersson - Exploratory Testing Champions - EuroSTAR 2010
TEST Huddle
 
Chapter 8 Evaluation Techniques
Chapter 8 Evaluation  TechniquesChapter 8 Evaluation  Techniques
Chapter 8 Evaluation Techniques
MLG College of Learning, Inc
 
Intro to TDD
Intro to TDDIntro to TDD
Intro to TDD
Jason Nocks
 
How do we fix testing
How do we fix testingHow do we fix testing
How do we fix testing
Peter Varhol
 
RRC CMM CMMI
RRC CMM CMMIRRC CMM CMMI
Oe rs – pros and cons
Oe rs – pros and consOe rs – pros and cons
Oe rs – pros and cons
gatorpj
 
The agency's guide to effective user research
The agency's guide to effective user researchThe agency's guide to effective user research
The agency's guide to effective user research
UserTesting
 
From a thousand learners to a thousand markers: Scaling peer feedback with Ad...
From a thousand learners to a thousand markers: Scaling peer feedback with Ad...From a thousand learners to a thousand markers: Scaling peer feedback with Ad...
From a thousand learners to a thousand markers: Scaling peer feedback with Ad...
NomadWarMachine
 
Four schools of testing context driven school
Four schools of testing   context driven schoolFour schools of testing   context driven school
Four schools of testing context driven school
Holasz Kati
 
Pmp capm exam preparation
Pmp capm exam preparationPmp capm exam preparation
Pmp capm exam preparation
Freedom Monk
 
User Testing: Adapt to Fit Your Needs
User Testing: Adapt to Fit Your NeedsUser Testing: Adapt to Fit Your Needs
User Testing: Adapt to Fit Your Needs
Effective
 

Similar to Principles Before Practices: Transform Your Testing by Understanding Key Concepts (20)

Testing is Not a 9 to 5 Job - talk by industry executive Mike Lyles
Testing is Not a 9 to 5 Job - talk by industry executive Mike LylesTesting is Not a 9 to 5 Job - talk by industry executive Mike Lyles
Testing is Not a 9 to 5 Job - talk by industry executive Mike Lyles
 
Planning & Conducting a Research Study
Planning & Conducting a Research StudyPlanning & Conducting a Research Study
Planning & Conducting a Research Study
 
Lean Startup 301
Lean Startup 301Lean Startup 301
Lean Startup 301
 
Exploratory testing
Exploratory testingExploratory testing
Exploratory testing
 
Exploratory testing
Exploratory testingExploratory testing
Exploratory testing
 
T1
T1T1
T1
 
Test Design Techniques in Exploratory Testing
Test Design Techniques in Exploratory TestingTest Design Techniques in Exploratory Testing
Test Design Techniques in Exploratory Testing
 
More Than Usability
More Than UsabilityMore Than Usability
More Than Usability
 
Exploratory testing
Exploratory testingExploratory testing
Exploratory testing
 
Henrik Andersson - Exploratory Testing Champions - EuroSTAR 2010
Henrik Andersson - Exploratory Testing Champions - EuroSTAR 2010Henrik Andersson - Exploratory Testing Champions - EuroSTAR 2010
Henrik Andersson - Exploratory Testing Champions - EuroSTAR 2010
 
Chapter 8 Evaluation Techniques
Chapter 8 Evaluation  TechniquesChapter 8 Evaluation  Techniques
Chapter 8 Evaluation Techniques
 
Intro to TDD
Intro to TDDIntro to TDD
Intro to TDD
 
How do we fix testing
How do we fix testingHow do we fix testing
How do we fix testing
 
RRC CMM CMMI
RRC CMM CMMIRRC CMM CMMI
RRC CMM CMMI
 
Oe rs – pros and cons
Oe rs – pros and consOe rs – pros and cons
Oe rs – pros and cons
 
The agency's guide to effective user research
The agency's guide to effective user researchThe agency's guide to effective user research
The agency's guide to effective user research
 
From a thousand learners to a thousand markers: Scaling peer feedback with Ad...
From a thousand learners to a thousand markers: Scaling peer feedback with Ad...From a thousand learners to a thousand markers: Scaling peer feedback with Ad...
From a thousand learners to a thousand markers: Scaling peer feedback with Ad...
 
Four schools of testing context driven school
Four schools of testing   context driven schoolFour schools of testing   context driven school
Four schools of testing context driven school
 
Pmp capm exam preparation
Pmp capm exam preparationPmp capm exam preparation
Pmp capm exam preparation
 
User Testing: Adapt to Fit Your Needs
User Testing: Adapt to Fit Your NeedsUser Testing: Adapt to Fit Your Needs
User Testing: Adapt to Fit Your Needs
 

More from TechWell

Failing and Recovering
Failing and RecoveringFailing and Recovering
Failing and Recovering
TechWell
 
Instill a DevOps Testing Culture in Your Team and Organization
Instill a DevOps Testing Culture in Your Team and Organization Instill a DevOps Testing Culture in Your Team and Organization
Instill a DevOps Testing Culture in Your Team and Organization
TechWell
 
Test Design for Fully Automated Build Architecture
Test Design for Fully Automated Build ArchitectureTest Design for Fully Automated Build Architecture
Test Design for Fully Automated Build Architecture
TechWell
 
System-Level Test Automation: Ensuring a Good Start
System-Level Test Automation: Ensuring a Good StartSystem-Level Test Automation: Ensuring a Good Start
System-Level Test Automation: Ensuring a Good Start
TechWell
 
Build Your Mobile App Quality and Test Strategy
Build Your Mobile App Quality and Test StrategyBuild Your Mobile App Quality and Test Strategy
Build Your Mobile App Quality and Test Strategy
TechWell
 
Testing Transformation: The Art and Science for Success
Testing Transformation: The Art and Science for SuccessTesting Transformation: The Art and Science for Success
Testing Transformation: The Art and Science for Success
TechWell
 
Implement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlowImplement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlow
TechWell
 
Develop WebDriver Automated Tests—and Keep Your Sanity
Develop WebDriver Automated Tests—and Keep Your SanityDevelop WebDriver Automated Tests—and Keep Your Sanity
Develop WebDriver Automated Tests—and Keep Your Sanity
TechWell
 
Ma 15
Ma 15Ma 15
Ma 15
TechWell
 
Eliminate Cloud Waste with a Holistic DevOps Strategy
Eliminate Cloud Waste with a Holistic DevOps StrategyEliminate Cloud Waste with a Holistic DevOps Strategy
Eliminate Cloud Waste with a Holistic DevOps Strategy
TechWell
 
Transform Test Organizations for the New World of DevOps
Transform Test Organizations for the New World of DevOpsTransform Test Organizations for the New World of DevOps
Transform Test Organizations for the New World of DevOps
TechWell
 
The Fourth Constraint in Project Delivery—Leadership
The Fourth Constraint in Project Delivery—LeadershipThe Fourth Constraint in Project Delivery—Leadership
The Fourth Constraint in Project Delivery—Leadership
TechWell
 
Resolve the Contradiction of Specialists within Agile Teams
Resolve the Contradiction of Specialists within Agile TeamsResolve the Contradiction of Specialists within Agile Teams
Resolve the Contradiction of Specialists within Agile Teams
TechWell
 
Pin the Tail on the Metric: A Field-Tested Agile Game
Pin the Tail on the Metric: A Field-Tested Agile GamePin the Tail on the Metric: A Field-Tested Agile Game
Pin the Tail on the Metric: A Field-Tested Agile Game
TechWell
 
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
Agile Performance Holarchy (APH)—A Model for Scaling Agile TeamsAgile Performance Holarchy (APH)—A Model for Scaling Agile Teams
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
TechWell
 
A Business-First Approach to DevOps Implementation
A Business-First Approach to DevOps ImplementationA Business-First Approach to DevOps Implementation
A Business-First Approach to DevOps Implementation
TechWell
 
Databases in a Continuous Integration/Delivery Process
Databases in a Continuous Integration/Delivery ProcessDatabases in a Continuous Integration/Delivery Process
Databases in a Continuous Integration/Delivery Process
TechWell
 
Mobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to AutomateMobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to Automate
TechWell
 
Cultural Intelligence: A Key Skill for Success
Cultural Intelligence: A Key Skill for SuccessCultural Intelligence: A Key Skill for Success
Cultural Intelligence: A Key Skill for Success
TechWell
 
Turn the Lights On: A Power Utility Company's Agile Transformation
Turn the Lights On: A Power Utility Company's Agile TransformationTurn the Lights On: A Power Utility Company's Agile Transformation
Turn the Lights On: A Power Utility Company's Agile Transformation
TechWell
 

More from TechWell (20)

Failing and Recovering
Failing and RecoveringFailing and Recovering
Failing and Recovering
 
Instill a DevOps Testing Culture in Your Team and Organization
Instill a DevOps Testing Culture in Your Team and Organization Instill a DevOps Testing Culture in Your Team and Organization
Instill a DevOps Testing Culture in Your Team and Organization
 
Test Design for Fully Automated Build Architecture
Test Design for Fully Automated Build ArchitectureTest Design for Fully Automated Build Architecture
Test Design for Fully Automated Build Architecture
 
System-Level Test Automation: Ensuring a Good Start
System-Level Test Automation: Ensuring a Good StartSystem-Level Test Automation: Ensuring a Good Start
System-Level Test Automation: Ensuring a Good Start
 
Build Your Mobile App Quality and Test Strategy
Build Your Mobile App Quality and Test StrategyBuild Your Mobile App Quality and Test Strategy
Build Your Mobile App Quality and Test Strategy
 
Testing Transformation: The Art and Science for Success
Testing Transformation: The Art and Science for SuccessTesting Transformation: The Art and Science for Success
Testing Transformation: The Art and Science for Success
 
Implement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlowImplement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlow
 
Develop WebDriver Automated Tests—and Keep Your Sanity
Develop WebDriver Automated Tests—and Keep Your SanityDevelop WebDriver Automated Tests—and Keep Your Sanity
Develop WebDriver Automated Tests—and Keep Your Sanity
 
Ma 15
Ma 15Ma 15
Ma 15
 
Eliminate Cloud Waste with a Holistic DevOps Strategy
Eliminate Cloud Waste with a Holistic DevOps StrategyEliminate Cloud Waste with a Holistic DevOps Strategy
Eliminate Cloud Waste with a Holistic DevOps Strategy
 
Transform Test Organizations for the New World of DevOps
Transform Test Organizations for the New World of DevOpsTransform Test Organizations for the New World of DevOps
Transform Test Organizations for the New World of DevOps
 
The Fourth Constraint in Project Delivery—Leadership
The Fourth Constraint in Project Delivery—LeadershipThe Fourth Constraint in Project Delivery—Leadership
The Fourth Constraint in Project Delivery—Leadership
 
Resolve the Contradiction of Specialists within Agile Teams
Resolve the Contradiction of Specialists within Agile TeamsResolve the Contradiction of Specialists within Agile Teams
Resolve the Contradiction of Specialists within Agile Teams
 
Pin the Tail on the Metric: A Field-Tested Agile Game
Pin the Tail on the Metric: A Field-Tested Agile GamePin the Tail on the Metric: A Field-Tested Agile Game
Pin the Tail on the Metric: A Field-Tested Agile Game
 
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
Agile Performance Holarchy (APH)—A Model for Scaling Agile TeamsAgile Performance Holarchy (APH)—A Model for Scaling Agile Teams
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
 
A Business-First Approach to DevOps Implementation
A Business-First Approach to DevOps ImplementationA Business-First Approach to DevOps Implementation
A Business-First Approach to DevOps Implementation
 
Databases in a Continuous Integration/Delivery Process
Databases in a Continuous Integration/Delivery ProcessDatabases in a Continuous Integration/Delivery Process
Databases in a Continuous Integration/Delivery Process
 
Mobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to AutomateMobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to Automate
 
Cultural Intelligence: A Key Skill for Success
Cultural Intelligence: A Key Skill for SuccessCultural Intelligence: A Key Skill for Success
Cultural Intelligence: A Key Skill for Success
 
Turn the Lights On: A Power Utility Company's Agile Transformation
Turn the Lights On: A Power Utility Company's Agile TransformationTurn the Lights On: A Power Utility Company's Agile Transformation
Turn the Lights On: A Power Utility Company's Agile Transformation
 

Recently uploaded

Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
LucaBarbaro3
 
Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!
GDSC PJATK
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
Wouter Lemaire
 
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
Jeffrey Haguewood
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Recommendation System using RAG Architecture
Recommendation System using RAG ArchitectureRecommendation System using RAG Architecture
Recommendation System using RAG Architecture
fredae14
 
Operating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptxOperating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptx
Pravash Chandra Das
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Wask
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 
dbms calicut university B. sc Cs 4th sem.pdf
dbms  calicut university B. sc Cs 4th sem.pdfdbms  calicut university B. sc Cs 4th sem.pdf
dbms calicut university B. sc Cs 4th sem.pdf
Shinana2
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
Hiike
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 

Recently uploaded (20)

Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
 
Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!Finale of the Year: Apply for Next One!
Finale of the Year: Apply for Next One!
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
 
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Recommendation System using RAG Architecture
Recommendation System using RAG ArchitectureRecommendation System using RAG Architecture
Recommendation System using RAG Architecture
 
Operating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptxOperating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptx
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 
dbms calicut university B. sc Cs 4th sem.pdf
dbms  calicut university B. sc Cs 4th sem.pdfdbms  calicut university B. sc Cs 4th sem.pdf
dbms calicut university B. sc Cs 4th sem.pdf
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 

Principles Before Practices: Transform Your Testing by Understanding Key Concepts

  • 1. K1 Keynote 5/7/2014 8:30:00 AM Principles Before Practices: Transform Your Testing by Understanding Key Concepts Presented by: Randy Rice Rice Consulting Services, Inc. Brought to you by: 340 Corporate Way, Suite 300, Orange Park, FL 32073 888-268-8770 ∙ 904-278-0524 ∙ sqeinfo@sqe.com ∙ www.sqe.com
  • 2. Randy Rice Rice Consulting Services, Inc. A leading author, speaker, and consultant with more than thirty years of experience in the field of software testing and software quality, Randy Rice has worked with organizations worldwide to improve the quality of their information systems and optimize their testing processes. He is coauthor (with William E. Perry) of Surviving the Top Ten Challenges of Software Testing and Testing Dirty Systems. Randy is an officer of the American Software Testing Qualifications Board (ASTQB). Founder, principal consultant, and trainer at Rice Consulting Services, Randy can be contacted at riceconsulting.com where he publishes articles, newsletters, and other content about software testing and software quality. Visit Randy’s blog.
  • 3. 4/29/2014 1 PRINCIPLES BEFORE PRACTICES HOW TO TRANSFORM YOUR TESTING PRACTICES WITH BASIC AND ADVANCED PRINCIPLES RANDALL W. RICE, CTAL RICE CONSULTING SERVICES, INC. © 2013, Rice Consulting Services, Inc. 2 A LITTLE BACKGROUND • Many years ago, I heard a great analogy about conveying and applying knowledge. • If I were to teach someone how to wash dishes, I could: • Teach all the variations needed for every type of dish, cookware and utensil, or • I could teach principles and let the person adapt the methods to whatever they needed to wash.
  • 4. 4/29/2014 2 3 THINGS LIKE… • Rinse off the big foodstuff first. • Save the really messy dishes until the end so you don't get everything else in the sink messy too. • Use hot water, but not too hot or else you will scald yourself. • Be careful with sharp knives in sudsy water 4 SIMILARLY, IN TESTING… • Take some sample tests early and find where the big problem areas seem to be. • Don't test the really complex areas at first. Get your bearings first. • Have strong tests, but if you make every test strong, you may not have time to finish. • Early testing is good, expect when the thing you are testing isn't ready even for early testing. • Test automation is not automatic.
  • 5. 4/29/2014 3 5 COMMON QUESTIONS • Which tools do we use in certain situations? • Which techniques are “best” for a project? • How do we adjust tools and techniques? 6 WHAT WE WANT No Knowledge Mastery
  • 6. 4/29/2014 4 7 REALISTIC VIEW No Knowledge Mastery “The Dip” Years 8 TESTING IS VERY NUANCED • There are small to large variables on any project that require you to: • Select certain techniques • Apply a technique differently • In essence, all testing is context-driven • And, there are small things that really make a big difference in how we may apply a technique.
  • 7. 4/29/2014 5 9 FROM CLASSROOM TO PRACTICE Learning Objectives Retention Instruction Exercises Visual Aids Application 10 BUT, IT GETS WORSE Learning Objectives Instruction Visual Aids Exercises Retention for multiple people Application by multiple people Passage of time. Needs change, organizations change
  • 8. 4/29/2014 6 11 WHY? • Let’s look at the lowest four levels of the Bloom Taxonomy: K4 (Analyze) - Assimilate K3 (Do) - Practices K2 (Understand) – Principles, concepts, theory K1 (Remember) - Facts The great majority of Foundation Level learning objectives 4 Foundation learning objectives 12 7 GENERAL TESTING PRINCIPLES • Testing shows the presence of defects • Exhaustive testing is impossible • Early testing • Defect clustering • Pesticide paradox • Testing is context dependent • Absence-of-errors fallacy Source: ISTQB Foundation Level Syllabus
  • 9. 4/29/2014 7 13 THERE ARE MANY OTHER IMPLICIT PRINCIPLES • Not every failure is a defect. • Not every test can or should be automated. • Test automation doesn’t replace the need for manual testing • It doesn’t matter how good your test is, if you are testing the wrong version. 14 CLIMBING K2 • People normally dislike this level of learning. • Conceptual • Theoretical • Hands-off • Requires deeper understanding • Takes longer to build the basis of understanding
  • 10. 4/29/2014 8 15 ANOTHER CHALLENGE • “Just show us how to use the tool.” • The students • “We want a course with all practical application and little or no theory.” • Management 16 A LITTLE TIME GOES BY… • “We don’t know really get how to design tests for our applications. We just learned on the case study example.” • Students • “The students passed the exam but we are still struggling in how to implement the techniques.” • Management
  • 11. 4/29/2014 9 17 AN EXAMPLE FROM MUSIC • It is possible to learn to play an instrument from mimicking someone else. • The Suzuki Method • However, you are able to play only specific songs. • Professional musicians, even many rock stars, understand music theory! • Blues, heavy metal and other styles are all based on different types of scales and tunings. 18 WE SEE THE SAME THING IN SPORTS • Why do professional baseball players, golfers, football players need coaches? • Objectivity • Accountability • Teaching from a broader background of experience
  • 12. 4/29/2014 10 19 WHAT SETS APART PROFESSIONAL MUSICIANS AND ATHLETES? • Practice! • Professional golfers are on the driving range every day and play most days. • Football players practice in extreme conditions. • Musicians may practice hours for one show. 20 HOW DO TESTERS PRACTICE? • Try new approaches • Delve deeper into an approach or technique you already know • Beta test a new technology • Play mental games
  • 13. 4/29/2014 11 TWO EXAMPLES OF TEST TECHNIQUES THAT REQUIRE DEEPER UNDERSTANDING 22 EXAMPLE 1 – PAIRWISE TESTING • Key Principles • Used when there are distinct numbers of conditions that can be tested together, but the testing of all combinations would be infeasible. • Instead of testing all combinations of conditions, all unique pairs of conditions are tested. • Finds defects when: • The interaction between TWO conditions are incorrect • The conditions make sense to relate to each other • Primarily applied by using either orthogonal arrays or pairwise tools. • This can be a very interesting and effective way to deal with testing high numbers of combinations.
  • 14. 4/29/2014 12 23 Teacher, why do we need to know this? 24 AN EXAMPLE The IE Tools>Advanced Options window 53 binary conditions 1 condition with 3 options 1 condition with 4 options 253 = 9,007,199,254,740,992 X 12 108,086,391,056,891,904 Possible combinations of conditions! Source: James Whittaker, How to Break Software
  • 15. 4/29/2014 13 25 THIS WOULD REQUIRE… At one second per test execution: 108,086,391,056,891,904 360 300,239,975,158,033.067= hours 12,509,998,964,918.04 days 34,273,969,766.9 years To test all possible combinations! 26 WITH TEST CASE OPTIMIZATION • The number of tests that represent unique pairings = 7 • Obtained from using the AllPairs tool
  • 16. 4/29/2014 14 27 WHAT RESEARCH INDICATES • There have been many studies done where defects were researched after the fact. • Research has shown that the highest likelihood of an integration defect relates to interaction between pairs of items or parameters. • www.pairwise.org 28 EXAMPLE OF RESEARCH FINDINGS • [Evaluating FDA recall class failures in medical devices we established that] [...] out of the 109 reports that [were] detailed [enough], 98% showed that the problem could have been detected by testing the device with all pairs of parameter settings. • D.R. Wallace and D.R. Kuhn, 2001 • http://csrc.ncsl.nist.gov/staff/kuhn/final-rqse.pdf
  • 17. 4/29/2014 15 29 THE LIKELIHOOD OF TRIPLE- MODE OR HIGHER DEFECTS Condition B Condition DCondition CCondition A Condition E Double-mode defects are more likely than Triple-mode or higher defects. 30 EXAMPLE – AN OA.4.3.2.2 ARRAY 011Test case 4 101Test case 3 110Test case 2 000Test case 1 Condition 3Condition 2Condition 1
  • 18. 4/29/2014 16 31 EXAMPLE – WITH CONDITIONS PoolFarmRuralTest case 4 PondHighriseRuralTest case 3 PondFarmUrbanTest case 2 PoolHighriseUrbanTest case 1 Condition 3Condition 2Condition 1 Some paired conditions may make no sense, or may be infeasible 32 ONE MORE SPIN ON THIS • A client was using orthogonal arrays to optimize the testing of stock trades. • 15 broker types • 3 trade types • 2 customer types • 7 amount levels (bands) • 4 account types • This would yield 15*3*2*7*4 = 2,520 tests for all combinations. • We noticed that the 15 broker types could be safely divided into 5 equivalence classes. • 5*3*2*7*4 = 840 • This resulted in a 67% reduction in test cases before any pairwise analysis!
  • 19. 4/29/2014 17 33 WHAT WE’VE SEEN • Instead of going immediately to a tool or technique with a set of categories and conditions, let’s look first to see: • If the technique makes sense in the situation • How do we deal with the downsides? • In this example, can they be used as negative tests? • What do the stakeholders think of the technique? • I’ve seen some get very excited • I’ve seen some get very nervous! • Are we willing to accept the trade-offs of pairwise testing? • It becomes very important which categories and conditions we test together. • We still need an oracle to know the correct outcome. • Maybe there is a provision for a highrise building on a farm! 34 EXAMPLE #2 – RISK-BASED TESTING • Key Principles • Used when you can’t test the basic layer of functionality and/or when you need to prioritize testing to meet delivery schedules • The higher the risk, the more intense the test should be • Helps by: • Focusing on areas that might experience high levels of loss • Giving lesser attention to trivial or less important functions • Tracing and mitigating risks identified during testing • Can be used in just about any application as long as you are able to intelligently identify and measure risk. • It is possible to miss some risks and some defects. • Risk is a possibility, not a certainty • Our knowledge is limited • Some things will likely not get tested
  • 20. 4/29/2014 18 35 Teacher, isn’t all testing risk-based? 36 Universe of Test Cases Case 1 Case 2 Case 3 Case 4 Case 5 Case n Case 6 Case 7 Case 11 Case 8 Case 12 Case 13 Case 10 Case 14 Case 9 CONSIDER THE FOLLOWING
  • 21. 4/29/2014 19 37 Universe of Test Cases Case 1 Case 2 Case 3 Case 4 Case 5 Case n Case 6 Case 7 Case 11 Case 8 Case 12 Case 13 Case 10 Case 14 Case 9 High-risk cases Low-risk cases Moderate-risk cases THE TEST CASE UNIVERSE SEGMENTED BY RISK 38 Universe of Test Cases Case 1 Case 2 Case 3 Case 4 Case 5 Case n Case 6 Case 7 Case 11 Case 8 Case 12 Case 13 Case 10 Case 14 Case 9 High-risk cases Low-risk cases Moderate-risk cases TEST CASES THAT SPAN RISK LEVELS In testing this transaction, you span all levels of risk. How do you prioritize risk in this scenario?
  • 22. 4/29/2014 20 39 HOW TO APPLY • At various levels: • Product risk • Functional risk • Attribute risk – Usability, performance, etc. • Project risk • But what about?: • Residual risks • Safety critical (when everything is a “high” risk) • When risks are: • Difficult to identify • Change often • Are an excuse for reduced testing • Difficult to mitigate and track This is the practice level! 40 A TIP TO HELP IDENTIFY YOUR PRACTICES Area/Principles Implications Test Automation • You can’t automate everything • Automation doesn’t replace people • The ROI of test automation is repetition • Select tests carefully to automate • Consider which skills will need to be built • To get payback, start with simple tests that are performed a lot. Test Design • Test conditions form the basis of test cases • Many things can serve as a basis for test design, including experience • Before writing test cases, have a smart way to identify test conditions. • If you don’t have a good written basis for testing, you can create one. Test Evaluation • If you can’t observe the outcome of a test, you can’t evaluate it • Testing is measurement • If we can’t define a way to see, report, or measure the outcome of a test, it does little good to plan it. • Since measurement of something (defects, performance, etc.) is the deliverable of testing, we should do it well.
  • 23. 4/29/2014 21 HOW TO GAIN UNDERSTANDING GOING FROM PRINCIPLE TO PRACTICES 42 A FEW EXPECTATIONS • This is not easy, automatic or instant • This is a mental process more than anything else • This is also the result of practice and experience • This is not a classroom deliverable • Mentoring and coaching can help you see blind spots, but they can’t make you change.
  • 24. 4/29/2014 22 43 WHAT REALLY HAPPENS Instructor says, “Do it like this ” You say ”OK” But think, “I’m not so sure” or “I like my way better.” 44 However, I know I need to improve my game. (I think)
  • 25. 4/29/2014 23 45 ACTUALLY, THAT’S FINE • Each of us know internally the way we work best. • An external coach can provide tips and advice, but you know what works for you. • A great resource for this is the series, “The Inner Game” by Timothy Gallwey. 46 WHAT WE ARE TALKING ABOUT IS CHANGE No Knowledge Mastery “The Dip” Years Change is hard! We often fail
  • 26. 4/29/2014 24 47 COMPETENCE LEVELS You do things badly but don’t know it. You do things badly but do know it. You do things well but have to think carefully about what you are doing. You do things well and really don’t think much about the mechanics. 48 Source: Will Taylor
  • 27. 4/29/2014 25 49 IN TAKING EXAMS • Don’t overthink the questions. • Read it carefully and think it through, but don’t go back and forth too much on one question. • Don’t rely on practice exams. • They can be HUGELY misleading. • Instead, ask “Can I demonstrate the learning objectives?” • Read the book “Choke”. • It explains why we get all flustered and don’t do well on exams. 50 IMPLEMENTING PRACTICES • Pilot projects are great. • Learn in the small before going to the larger scale • Use the “planned organic” approach • Have senior management support • Let others copy your success!
  • 28. 4/29/2014 26 51 FINAL THOUGHT • “the 10,000hr rule is a definite key in success” ― Malcolm Gladwell, Outliers: The Story of Success 52
  • 29. 4/29/2014 27 53 BIO - RANDALL W. RICE • Over 35 years experience in building and testing information systems in a variety of industries and technical environments • ASTQB Certified Tester – Foundation level, Advanced level (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 54 CONTACT INFORMATION Randall W. Rice, CTAL Rice Consulting Services, Inc. P.O. Box 892003 Oklahoma City, OK 73170 Ph: 405-691-8075 Fax: 405-691-1441 Web site: www.riceconsulting.com e-mail: rrice@riceconsulting.com