SlideShare a Scribd company logo
CodeAndroid meetup Test Driven Development
Objectives Brief history of TDD Do a very basic test
Apologies upfront: Easily excited Talk fast Australian accent Large area to explain Questions, Slow down
“ The fundamental problem with program maintenance is  that fixing a defect has a substantial (20-50 %) chance of introducing another defect.” Mythical Man Month
Today: Test Driven Development
Test Driven Development History
Toyota Production System by Taiichi Ohno Competing with US companies was difficult. Smaller production runs of more models Waste when production runs finished and there were left over parts Ohno reverse engineered the production line and created “Just in time” manufacturing
How is making cars anything like making software ? Complex processes
Unable to be “explained” to the layman
Like Ohno, we have waste Time
Money
Energy
Traditional model: Implementation Requirements Design Verification Maintenance
Unsurprisingly... As a programmer, you will be caught in the waterfall model.
Your manager/your client will have provided the specs, and you now need to “follow the process”
You are a cog in the machine.
Manufacturing & construction industries  Software has requirements that are never in spec.  Requirements evolve over time  Software developers are rarely domain experts  BDUF meant changes later on were costly Waterfall model is based on “Physical Design”
Manufacturing & construction industries  BDUF meant changes later on were costly  Software is difficult to change in maintenance Two teams same project.
How do you do it ?
The rules of fight club. 1. Write new code only if an  automated test has failed.
2. Eliminate duplication.
“ These are two simple rules, but they generate complex individual and group behavior with technical implications” Kent Beck

More Related Content

PPTX
How to Deliver the Right Software (Specification by example)
PPTX
How to be proud when you are done
PPTX
XP Injection
PPTX
Code review
PDF
Test Driven Development
PPTX
Bringing Quality Design Systems to Life with Storybook & Applitools
PPSX
Developers Border Line: Unit Testing
PDF
Continuous, continuous, continuous
How to Deliver the Right Software (Specification by example)
How to be proud when you are done
XP Injection
Code review
Test Driven Development
Bringing Quality Design Systems to Life with Storybook & Applitools
Developers Border Line: Unit Testing
Continuous, continuous, continuous

What's hot (20)

PPTX
How selenium can transform your qa career
PDF
Managing technical debt - Dan Nicola - Florin Cardasim
PDF
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
PDF
Justin Ison
PPT
Phoenix User Group Slides
PPTX
Agile Testing Dilemmas
PPTX
ISTQB Foundation and Selenium Java Automation Testing
PDF
Continuous integration
PPT
Specification by example and agile acceptance testing
PPTX
Spec by-example
PPTX
What a DevOps specialist has to know about static code analysis
PPTX
Zero to tested
PDF
Adam carmi
PDF
Product Vs Craft
PDF
Test Driven Development
PPTX
Selenium as a trend
PDF
Test Driven Development
PDF
Offshore tips sharing_2.0
PPT
What Software Quality Assurance Means to Me
PPT
Test Driven Development
How selenium can transform your qa career
Managing technical debt - Dan Nicola - Florin Cardasim
Testing Hourglass at Jira Frontend - by Alexey Shpakov, Sr. Developer @ Atlas...
Justin Ison
Phoenix User Group Slides
Agile Testing Dilemmas
ISTQB Foundation and Selenium Java Automation Testing
Continuous integration
Specification by example and agile acceptance testing
Spec by-example
What a DevOps specialist has to know about static code analysis
Zero to tested
Adam carmi
Product Vs Craft
Test Driven Development
Selenium as a trend
Test Driven Development
Offshore tips sharing_2.0
What Software Quality Assurance Means to Me
Test Driven Development
Ad

Viewers also liked (11)

PDF
Why Code 'for' Android and Motodev Studio
PDF
Swisstrains.ch: Present, past and future
PDF
증강현실을 통한 두더지잡기 게임
PPTX
Introduction to Canvas
PPTX
CodeAndroid Meet Up Slides - Augmented Reality on Android
PDF
Mobile Device APIs
PDF
Rehnquist William H (2004) Judicial Independence Dedicated to Chief Justice H...
PPTX
Android Framework
PPTX
10 tips to get started with html5 games
PDF
Android: Intent, Intent Filter, Broadcast Receivers
PDF
Cross platform mobile web apps
Why Code 'for' Android and Motodev Studio
Swisstrains.ch: Present, past and future
증강현실을 통한 두더지잡기 게임
Introduction to Canvas
CodeAndroid Meet Up Slides - Augmented Reality on Android
Mobile Device APIs
Rehnquist William H (2004) Judicial Independence Dedicated to Chief Justice H...
Android Framework
10 tips to get started with html5 games
Android: Intent, Intent Filter, Broadcast Receivers
Cross platform mobile web apps
Ad

Similar to Test Driven Development: Part 2 (20)

PDF
Extreme Programming practices for your team
PDF
Test-Driven Development
PDF
Test Driven Development Introduction
PDF
Driving Quality with TDD
PPT
Test Driven Development - Overview and Adoption
PDF
Test driven development : software process
PPTX
Android tdd
PDF
Keeping code clean
PPTX
TDD in Agile
PDF
Test Driven Development Methodology and Philosophy
PPTX
Test Driven Development (TDD) with FlexUnit 4 - 360|Flex San Jose preso
PPTX
Test Driven Development (TDD) Preso 360|Flex 2010
ODP
Effective TDD - Less is more
PPTX
Test-Driven Development
PDF
Atdd for web apps
PPTX
{10.0} Test Driven Development.pptx
PPTX
Test driven development
PPTX
Test driven development
Extreme Programming practices for your team
Test-Driven Development
Test Driven Development Introduction
Driving Quality with TDD
Test Driven Development - Overview and Adoption
Test driven development : software process
Android tdd
Keeping code clean
TDD in Agile
Test Driven Development Methodology and Philosophy
Test Driven Development (TDD) with FlexUnit 4 - 360|Flex San Jose preso
Test Driven Development (TDD) Preso 360|Flex 2010
Effective TDD - Less is more
Test-Driven Development
Atdd for web apps
{10.0} Test Driven Development.pptx
Test driven development
Test driven development

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Empathic Computing: Creating Shared Understanding
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Machine learning based COVID-19 study performance prediction
PDF
Approach and Philosophy of On baking technology
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Cloud computing and distributed systems.
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Empathic Computing: Creating Shared Understanding
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Reach Out and Touch Someone: Haptics and Empathic Computing
Unlocking AI with Model Context Protocol (MCP)
Machine learning based COVID-19 study performance prediction
Approach and Philosophy of On baking technology
Diabetes mellitus diagnosis method based random forest with bat algorithm
Cloud computing and distributed systems.
MIND Revenue Release Quarter 2 2025 Press Release
Dropbox Q2 2025 Financial Results & Investor Presentation
sap open course for s4hana steps from ECC to s4
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Spectral efficient network and resource selection model in 5G networks
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx

Test Driven Development: Part 2