SlideShare a Scribd company logo
1 of 24
“Myths which are believed in tend
to become true.” ~ George Orwell
Ash Winter
Short stuff here:
@northern_tester
Long stuff here:
A Testers* Guide to the Myths,
Legends and Tales of Unit Testing
* Disclaimer: this definitely maybe applies to all disciplines in software
development, not only testers but I’m a tester so its from my point of view.
This is Gus
• Speakeasy
• Great
mentor
• Taught me
speaking
wasn’t only
about me
Tweet
Blog
Talk
• Lone
testers
• Testing in
other
layers
• Cross
discipline
illusions
Y Tho?
• Pyramids
• Myths
• Legends
• Tales
• Changing
perceptions
–As a tester
–How devs can
help
Coming up…
• Useful frame of reference?
• Dogma justifying blood
sacrifice?
• Triangle anyway
That Pyramid…
• That unit tests fill in the bottom of the
pyramid
• That unit tests remain in the bottom layer of
the pyramid
• That unit tests are inherently more valuable
than other layers of tests
• That unit test coverage is irrelevant to
manual testing
• Large number of unit tests can replace
integration tests.
• You don't need additional tests because
everything is unit tested
• If you have a suite of unit tests you don't
need to do much other testing
The source…?
• Based on
reality
• Explains
something
we don’t
or can’t
understand
• Moral
• Y2K
Myths
Myths
• What’s a unit?
• Existence ==
good
• Tests exist to
find bugs
• Unit tests
communicate
intent
• Document the
code
Myths
• I’ve written
my unit test
plan.
• Erm…
• But they
were testing
• Right or
wrong to
challenge?
• Based on a
true event
• Hero(es) in
fantastical
location
• Origin
story
• Snowbird
Ski Resort
Legends
Legends
• TDD is testing, design, both
and/or neither
• Power of Clean Code™
Legends
• Startup
• Great code
• Unit tests
FTW
• Idea was
bad
• Didn’t
test that
• Death
• Stories
passed down
• Might be one
person
• Might be a
group
• Fairy or folk
tales
• SAFe is valid
Tales
Tales
• Devs
always
write them
• Devs never
write them
• Not part
of the
test
strategy
Tales
• Testing
meetup
• Strategy
without
unit tests
• Didn’t like
them
• WTF?
• Right or
wrong?
• Help find out what a unit is
• Lens into the devs mind about
what/how to build
• Question assertions
• Effective integration tests
As a tester
• Integrate
with the test
strategy
• Code coverage
!= test
coverage
• Pair on
writing unit
tests
Help from devs
• Pyramids
• Myths
• Legends
• Tales
• Changing
perceptions
–As a tester
–How devs can
help
Covered…
Thanks

More Related Content

Similar to Myths, Legends and Tales of Unit Testing

Nerd-Wrangling 101: Managing Neurodiversity with Cognitive Empathy
Nerd-Wrangling 101: Managing Neurodiversity with Cognitive EmpathyNerd-Wrangling 101: Managing Neurodiversity with Cognitive Empathy
Nerd-Wrangling 101: Managing Neurodiversity with Cognitive EmpathyJulian Finn
 
Ash_Winter_Tested_to_Death
Ash_Winter_Tested_to_DeathAsh_Winter_Tested_to_Death
Ash_Winter_Tested_to_DeathAsh Winter
 
Theory research pro-forma (1)
Theory  research pro-forma (1)Theory  research pro-forma (1)
Theory research pro-forma (1)Ellieschreurs
 
Branded3's Best Reads
Branded3's Best ReadsBranded3's Best Reads
Branded3's Best ReadsBranded3
 
Lisa Sahulka - Leadership and-administrative-dynamics-fifth-class
Lisa Sahulka - Leadership and-administrative-dynamics-fifth-classLisa Sahulka - Leadership and-administrative-dynamics-fifth-class
Lisa Sahulka - Leadership and-administrative-dynamics-fifth-classSouthern Poverty Law Center
 
"Worst" practices of software testing
"Worst" practices of software testing"Worst" practices of software testing
"Worst" practices of software testingViktor Slavchev
 
Guidelines and Practical Approaches for Test Construction Cindy Cruz-Cabrera...
Guidelines and Practical Approaches for Test Construction  Cindy Cruz-Cabrera...Guidelines and Practical Approaches for Test Construction  Cindy Cruz-Cabrera...
Guidelines and Practical Approaches for Test Construction Cindy Cruz-Cabrera...University of the Philippines Diliman
 
Practice for test
Practice for testPractice for test
Practice for testkaohara9
 
Type talk and relationships power point 2 28-12
Type talk and relationships power point 2 28-12Type talk and relationships power point 2 28-12
Type talk and relationships power point 2 28-12htetaft
 
Star Trek Voyager: A Model for a More Inclusive Community
Star Trek Voyager: A Model for a More Inclusive CommunityStar Trek Voyager: A Model for a More Inclusive Community
Star Trek Voyager: A Model for a More Inclusive CommunityFredric Mitchell
 
How to Prepare for and Survive a Technical Interview
How to Prepare for and Survive a Technical InterviewHow to Prepare for and Survive a Technical Interview
How to Prepare for and Survive a Technical InterviewPerl Careers
 
Choosing Your Documentary Subject
Choosing Your Documentary SubjectChoosing Your Documentary Subject
Choosing Your Documentary SubjectShannon Walsh
 
Unit4jungandgenderpowerpoint 140328134650-phpapp01
Unit4jungandgenderpowerpoint 140328134650-phpapp01Unit4jungandgenderpowerpoint 140328134650-phpapp01
Unit4jungandgenderpowerpoint 140328134650-phpapp01Cleophas Rwemera
 
Unit 4 Jung and Gender Power Point
Unit 4 Jung and Gender Power PointUnit 4 Jung and Gender Power Point
Unit 4 Jung and Gender Power PointMrTimBradley
 
An Introduction to Critical Thinking
An Introduction to Critical ThinkingAn Introduction to Critical Thinking
An Introduction to Critical ThinkingDamian T. Gordon
 

Similar to Myths, Legends and Tales of Unit Testing (20)

Nerd-Wrangling 101: Managing Neurodiversity with Cognitive Empathy
Nerd-Wrangling 101: Managing Neurodiversity with Cognitive EmpathyNerd-Wrangling 101: Managing Neurodiversity with Cognitive Empathy
Nerd-Wrangling 101: Managing Neurodiversity with Cognitive Empathy
 
Ash_Winter_Tested_to_Death
Ash_Winter_Tested_to_DeathAsh_Winter_Tested_to_Death
Ash_Winter_Tested_to_Death
 
Theory research pro-forma (1)
Theory  research pro-forma (1)Theory  research pro-forma (1)
Theory research pro-forma (1)
 
Branded3's Best Reads
Branded3's Best ReadsBranded3's Best Reads
Branded3's Best Reads
 
Spaceship TDD Style
Spaceship TDD StyleSpaceship TDD Style
Spaceship TDD Style
 
Lisa Sahulka - Leadership and-administrative-dynamics-fifth-class
Lisa Sahulka - Leadership and-administrative-dynamics-fifth-classLisa Sahulka - Leadership and-administrative-dynamics-fifth-class
Lisa Sahulka - Leadership and-administrative-dynamics-fifth-class
 
Rm
RmRm
Rm
 
"Worst" practices of software testing
"Worst" practices of software testing"Worst" practices of software testing
"Worst" practices of software testing
 
Guidelines and Practical Approaches for Test Construction Cindy Cruz-Cabrera...
Guidelines and Practical Approaches for Test Construction  Cindy Cruz-Cabrera...Guidelines and Practical Approaches for Test Construction  Cindy Cruz-Cabrera...
Guidelines and Practical Approaches for Test Construction Cindy Cruz-Cabrera...
 
Practice for test
Practice for testPractice for test
Practice for test
 
Type talk and relationships power point 2 28-12
Type talk and relationships power point 2 28-12Type talk and relationships power point 2 28-12
Type talk and relationships power point 2 28-12
 
5 leading geeks
5 leading geeks5 leading geeks
5 leading geeks
 
Thinking Skills
Thinking SkillsThinking Skills
Thinking Skills
 
Star Trek Voyager: A Model for a More Inclusive Community
Star Trek Voyager: A Model for a More Inclusive CommunityStar Trek Voyager: A Model for a More Inclusive Community
Star Trek Voyager: A Model for a More Inclusive Community
 
How to Prepare for and Survive a Technical Interview
How to Prepare for and Survive a Technical InterviewHow to Prepare for and Survive a Technical Interview
How to Prepare for and Survive a Technical Interview
 
Choosing Your Documentary Subject
Choosing Your Documentary SubjectChoosing Your Documentary Subject
Choosing Your Documentary Subject
 
Unit4jungandgenderpowerpoint 140328134650-phpapp01
Unit4jungandgenderpowerpoint 140328134650-phpapp01Unit4jungandgenderpowerpoint 140328134650-phpapp01
Unit4jungandgenderpowerpoint 140328134650-phpapp01
 
Session 7.pptx
Session 7.pptxSession 7.pptx
Session 7.pptx
 
Unit 4 Jung and Gender Power Point
Unit 4 Jung and Gender Power PointUnit 4 Jung and Gender Power Point
Unit 4 Jung and Gender Power Point
 
An Introduction to Critical Thinking
An Introduction to Critical ThinkingAn Introduction to Critical Thinking
An Introduction to Critical Thinking
 

More from Ash Winter

Testability Advocacy Canvas
Testability Advocacy CanvasTestability Advocacy Canvas
Testability Advocacy CanvasAsh Winter
 
Testability Sales Pitch
Testability Sales PitchTestability Sales Pitch
Testability Sales PitchAsh Winter
 
Architectural Testability Workshop for Test Academy Barcelona
Architectural Testability Workshop for Test Academy BarcelonaArchitectural Testability Workshop for Test Academy Barcelona
Architectural Testability Workshop for Test Academy BarcelonaAsh Winter
 
Testability Squad Health Check
Testability Squad Health CheckTestability Squad Health Check
Testability Squad Health CheckAsh Winter
 
Testability is Everyone's Responsibility
Testability is Everyone's ResponsibilityTestability is Everyone's Responsibility
Testability is Everyone's ResponsibilityAsh Winter
 
10 P's of Testability
10 P's of Testability10 P's of Testability
10 P's of TestabilityAsh Winter
 
The Wheel of Testing
The Wheel of TestingThe Wheel of Testing
The Wheel of TestingAsh Winter
 
Making testability our mission
Making testability our missionMaking testability our mission
Making testability our missionAsh Winter
 
Testing Below the Application
Testing Below the ApplicationTesting Below the Application
Testing Below the ApplicationAsh Winter
 
Shift Testability
Shift TestabilityShift Testability
Shift TestabilityAsh Winter
 
Part of the Pipeline
Part of the PipelinePart of the Pipeline
Part of the PipelineAsh Winter
 
Scroll Based Testing Strategy
Scroll Based Testing StrategyScroll Based Testing Strategy
Scroll Based Testing StrategyAsh Winter
 
Bullseye or The Testing Wheel
Bullseye or The Testing WheelBullseye or The Testing Wheel
Bullseye or The Testing WheelAsh Winter
 
Ash_Winter-DEWT7_V1
Ash_Winter-DEWT7_V1Ash_Winter-DEWT7_V1
Ash_Winter-DEWT7_V1Ash Winter
 
Ash_Winter-Forgotten-ility_V1
Ash_Winter-Forgotten-ility_V1Ash_Winter-Forgotten-ility_V1
Ash_Winter-Forgotten-ility_V1Ash Winter
 
Main Talk v1.1
Main Talk v1.1Main Talk v1.1
Main Talk v1.1Ash Winter
 
Turbo Mindmapping Your App
Turbo Mindmapping Your AppTurbo Mindmapping Your App
Turbo Mindmapping Your AppAsh Winter
 
NWEWT_Slides_Ash_Winter_04_2016
NWEWT_Slides_Ash_Winter_04_2016NWEWT_Slides_Ash_Winter_04_2016
NWEWT_Slides_Ash_Winter_04_2016Ash Winter
 
Coaching Model for Unrecognised Internal Models
Coaching Model for Unrecognised Internal ModelsCoaching Model for Unrecognised Internal Models
Coaching Model for Unrecognised Internal ModelsAsh Winter
 
Ash_Winter_Testing_Mobile_Apocalypse_Online
Ash_Winter_Testing_Mobile_Apocalypse_OnlineAsh_Winter_Testing_Mobile_Apocalypse_Online
Ash_Winter_Testing_Mobile_Apocalypse_OnlineAsh Winter
 

More from Ash Winter (20)

Testability Advocacy Canvas
Testability Advocacy CanvasTestability Advocacy Canvas
Testability Advocacy Canvas
 
Testability Sales Pitch
Testability Sales PitchTestability Sales Pitch
Testability Sales Pitch
 
Architectural Testability Workshop for Test Academy Barcelona
Architectural Testability Workshop for Test Academy BarcelonaArchitectural Testability Workshop for Test Academy Barcelona
Architectural Testability Workshop for Test Academy Barcelona
 
Testability Squad Health Check
Testability Squad Health CheckTestability Squad Health Check
Testability Squad Health Check
 
Testability is Everyone's Responsibility
Testability is Everyone's ResponsibilityTestability is Everyone's Responsibility
Testability is Everyone's Responsibility
 
10 P's of Testability
10 P's of Testability10 P's of Testability
10 P's of Testability
 
The Wheel of Testing
The Wheel of TestingThe Wheel of Testing
The Wheel of Testing
 
Making testability our mission
Making testability our missionMaking testability our mission
Making testability our mission
 
Testing Below the Application
Testing Below the ApplicationTesting Below the Application
Testing Below the Application
 
Shift Testability
Shift TestabilityShift Testability
Shift Testability
 
Part of the Pipeline
Part of the PipelinePart of the Pipeline
Part of the Pipeline
 
Scroll Based Testing Strategy
Scroll Based Testing StrategyScroll Based Testing Strategy
Scroll Based Testing Strategy
 
Bullseye or The Testing Wheel
Bullseye or The Testing WheelBullseye or The Testing Wheel
Bullseye or The Testing Wheel
 
Ash_Winter-DEWT7_V1
Ash_Winter-DEWT7_V1Ash_Winter-DEWT7_V1
Ash_Winter-DEWT7_V1
 
Ash_Winter-Forgotten-ility_V1
Ash_Winter-Forgotten-ility_V1Ash_Winter-Forgotten-ility_V1
Ash_Winter-Forgotten-ility_V1
 
Main Talk v1.1
Main Talk v1.1Main Talk v1.1
Main Talk v1.1
 
Turbo Mindmapping Your App
Turbo Mindmapping Your AppTurbo Mindmapping Your App
Turbo Mindmapping Your App
 
NWEWT_Slides_Ash_Winter_04_2016
NWEWT_Slides_Ash_Winter_04_2016NWEWT_Slides_Ash_Winter_04_2016
NWEWT_Slides_Ash_Winter_04_2016
 
Coaching Model for Unrecognised Internal Models
Coaching Model for Unrecognised Internal ModelsCoaching Model for Unrecognised Internal Models
Coaching Model for Unrecognised Internal Models
 
Ash_Winter_Testing_Mobile_Apocalypse_Online
Ash_Winter_Testing_Mobile_Apocalypse_OnlineAsh_Winter_Testing_Mobile_Apocalypse_Online
Ash_Winter_Testing_Mobile_Apocalypse_Online
 

Recently uploaded

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 

Recently uploaded (20)

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 

Myths, Legends and Tales of Unit Testing

  • 1. “Myths which are believed in tend to become true.” ~ George Orwell
  • 2. Ash Winter Short stuff here: @northern_tester Long stuff here:
  • 3. A Testers* Guide to the Myths, Legends and Tales of Unit Testing * Disclaimer: this definitely maybe applies to all disciplines in software development, not only testers but I’m a tester so its from my point of view.
  • 4. This is Gus • Speakeasy • Great mentor • Taught me speaking wasn’t only about me
  • 8. • Lone testers • Testing in other layers • Cross discipline illusions Y Tho?
  • 9. • Pyramids • Myths • Legends • Tales • Changing perceptions –As a tester –How devs can help Coming up…
  • 10. • Useful frame of reference? • Dogma justifying blood sacrifice? • Triangle anyway That Pyramid…
  • 11. • That unit tests fill in the bottom of the pyramid • That unit tests remain in the bottom layer of the pyramid • That unit tests are inherently more valuable than other layers of tests • That unit test coverage is irrelevant to manual testing • Large number of unit tests can replace integration tests. • You don't need additional tests because everything is unit tested • If you have a suite of unit tests you don't need to do much other testing The source…?
  • 12. • Based on reality • Explains something we don’t or can’t understand • Moral • Y2K Myths
  • 13. Myths • What’s a unit? • Existence == good • Tests exist to find bugs • Unit tests communicate intent • Document the code
  • 14. Myths • I’ve written my unit test plan. • Erm… • But they were testing • Right or wrong to challenge?
  • 15. • Based on a true event • Hero(es) in fantastical location • Origin story • Snowbird Ski Resort Legends
  • 16. Legends • TDD is testing, design, both and/or neither • Power of Clean Code™
  • 17. Legends • Startup • Great code • Unit tests FTW • Idea was bad • Didn’t test that • Death
  • 18. • Stories passed down • Might be one person • Might be a group • Fairy or folk tales • SAFe is valid Tales
  • 19. Tales • Devs always write them • Devs never write them • Not part of the test strategy
  • 20. Tales • Testing meetup • Strategy without unit tests • Didn’t like them • WTF? • Right or wrong?
  • 21. • Help find out what a unit is • Lens into the devs mind about what/how to build • Question assertions • Effective integration tests As a tester
  • 22. • Integrate with the test strategy • Code coverage != test coverage • Pair on writing unit tests Help from devs
  • 23. • Pyramids • Myths • Legends • Tales • Changing perceptions –As a tester –How devs can help Covered…

Editor's Notes

  1. NO QUESTIONS, HAVE A BEER.