SlideShare a Scribd company logo
1 of 7
Test First
What is this all about
 A game to help us understand the benefits of reducing test cycles
 Teaches us good design
 Helps us understand continuous integration
The Rules
 Each team will be given 30 Jenga blocks, numbered 1 to 30
 Each team is required to build a 3 Storied(3 floor) Structure using ALL the
blocks given to them
 Some of the blocks given to the teams will have defects
 The team is unaware of these defective blocks
 At the end of the iteration, teams are expected to have the ready structure
Iteration 1
 5 Minutes
 Once the team has built the structure, the team is informed about the
defective block
 Teams need to remove the defective blocks(bugs) from the tower
Iteration 2
 5 Minutes
 After every 10 blocks you place, you are told about one defective block
 At the end of 5 minutes, teams need to have the ready structure
Iteration 3
 5 minutes
 With every block the team proposes to place into the structure, the team is
informed weather or not the blocks is defective
 At the end of 5 minutes, teams need to have the structure ready
Learning
 Rework effort when tests are known late in the cycle
 Uncertainty increases with every piece of untested code goes into the
repository
 Right design –
 The one that exposes bugs(if any)
 The one that does not make the structure very brittle
 Blocks are not tightly coupled with each other or the structure
 Test First – RED-GREEN-REFACTOR

More Related Content

Viewers also liked (6)

Scientix 9th SPNE Brussels 6 November 2015: fit4jobs
Scientix 9th SPNE Brussels 6 November 2015: fit4jobsScientix 9th SPNE Brussels 6 November 2015: fit4jobs
Scientix 9th SPNE Brussels 6 November 2015: fit4jobs
 
3º trimestre 2015 adolescentes lição 13
3º trimestre 2015 adolescentes lição 133º trimestre 2015 adolescentes lição 13
3º trimestre 2015 adolescentes lição 13
 
Saravanan Resume1
Saravanan Resume1Saravanan Resume1
Saravanan Resume1
 
Windows 7 installation
Windows 7 installation Windows 7 installation
Windows 7 installation
 
e-book available now: Being chief & confidently able with a heart! By Roderic...
e-book available now: Being chief & confidently able with a heart! By Roderic...e-book available now: Being chief & confidently able with a heart! By Roderic...
e-book available now: Being chief & confidently able with a heart! By Roderic...
 
LIMITES AL INFINITO
LIMITES AL INFINITOLIMITES AL INFINITO
LIMITES AL INFINITO
 

More from Deepak Gururaja

More from Deepak Gururaja (10)

Have we crossed the chasm
Have we crossed the chasmHave we crossed the chasm
Have we crossed the chasm
 
5 Simple tools for effective retrospectives
5 Simple tools for effective retrospectives5 Simple tools for effective retrospectives
5 Simple tools for effective retrospectives
 
6 thinkinghats
6 thinkinghats6 thinkinghats
6 thinkinghats
 
Scaling agile using SOS
Scaling agile using SOSScaling agile using SOS
Scaling agile using SOS
 
Sprint planninng
Sprint planninngSprint planninng
Sprint planninng
 
Scrum roles
Scrum rolesScrum roles
Scrum roles
 
Daily standup
Daily standupDaily standup
Daily standup
 
Agile retrospectives
Agile retrospectivesAgile retrospectives
Agile retrospectives
 
Agile metrices
Agile metricesAgile metrices
Agile metrices
 
Agile estimation
Agile estimationAgile estimation
Agile estimation
 

Recently uploaded

CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
anilsa9823
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 

Recently uploaded (20)

Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online  ☂️
CALL ON ➥8923113531 🔝Call Girls Kakori Lucknow best sexual service Online ☂️
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Hand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptxHand gesture recognition PROJECT PPT.pptx
Hand gesture recognition PROJECT PPT.pptx
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AISyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
SyndBuddy AI 2k Review 2024: Revolutionizing Content Syndication with AI
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 

Test first

  • 2. What is this all about  A game to help us understand the benefits of reducing test cycles  Teaches us good design  Helps us understand continuous integration
  • 3. The Rules  Each team will be given 30 Jenga blocks, numbered 1 to 30  Each team is required to build a 3 Storied(3 floor) Structure using ALL the blocks given to them  Some of the blocks given to the teams will have defects  The team is unaware of these defective blocks  At the end of the iteration, teams are expected to have the ready structure
  • 4. Iteration 1  5 Minutes  Once the team has built the structure, the team is informed about the defective block  Teams need to remove the defective blocks(bugs) from the tower
  • 5. Iteration 2  5 Minutes  After every 10 blocks you place, you are told about one defective block  At the end of 5 minutes, teams need to have the ready structure
  • 6. Iteration 3  5 minutes  With every block the team proposes to place into the structure, the team is informed weather or not the blocks is defective  At the end of 5 minutes, teams need to have the structure ready
  • 7. Learning  Rework effort when tests are known late in the cycle  Uncertainty increases with every piece of untested code goes into the repository  Right design –  The one that exposes bugs(if any)  The one that does not make the structure very brittle  Blocks are not tightly coupled with each other or the structure  Test First – RED-GREEN-REFACTOR