SlideShare a Scribd company logo
1 of 31
Download to read offline
http://www.flickr.com/photos/nathan_adams/2401072076


Why Test Driven Development has little to do with testing
by Espen Dalløkken. October 23 2008, Tekna, Oslo, Norway
Ab o ut m e
●   Espen Dalløkken, 13.11.1976
●   Graduate of Molde College
●   Software Developer since 1998
●   Started with TDD in 2004
Ag enda
●   Why TDD has little to do with
    testing
●   Myths About TDD
●   Three Benefits Of TDD
●   How you introduce TDD in your
    organization
How I Was
In t r o d u c e d To
TD D
Te s t in g is fu n !



     http://www.flickr.com/photos/azlijamil01/469730066/
???
Te s t in g is fu n !!



     http://www.flickr.com/photos/azlijamil01/469730066/
#$ % !
Th e o r y A b o u t
    Te s t in g
P h ilo s o p h y
●   Testing is to prevent defects from
    occurring, not finding them
●   Do it right the first time
    (use TDD and continuous integration)


●   QA staff should build quality into
    code, rather than test
B u ild in g Q u a lit y In
●   Involve testers in writing tests up
    front to provide an executable
    specification
●   Mistake-proof your process by
    automating testing as much as
    possible
●   Stop the line and fail fast
C o s t O f Fix in g D e fe c t s




            Source: IBM Systems Sciences Institute
Te s t D r iv e n
D e v e lo p m e n t
W h y TD D h a s lit t le t o d o w it h
             t e s t in g
●   Puts focus on requirements
●   Encourages simplicity in design
●   Enforces loosely coupled
    components
●   Encourages good Object Oriented
    Design
W h y TD D h a s lit t le t o d o w it h
             t e s t in g
●   Makes your code-base fit for
    handling change
●   A safety net when refactoring
    code
●   Enforces technology which is
    testable
Th r e e
B e n e fit s
O f TD D
TD D p r o v id e s
       c o n t in u o u s
    im p r o v e m e n t s ,
    w h ic h g r a d u a lly
im p r o v e s t h e q u a lit y
 o f yo ur c o d e b a s e
TD D m a k e s y o u
 fa il fa s t , w h ic h
   h e lp r e d u c e
  t e s t in g c o s t s
TD D r e q u ir e s lo o s e ly
c o u p le d c o m p o n e n t s ,
w h ic h a r e a n e c e s s it y
     fo r a n e v o lv in g
       a r c h it e c t u r e
Th e M y t h s
  o f TD D
N o N e e d To C h a n g e
 Th e W a y W e W o r k
W e N e e d C h a n g e B e c a u s e ..
●   Too much time is spent on
    acceptance testing in projects
●   Defects keeps on reoccurring
●   Developers don't take enough
    responsibility for testability of
    their application
TD D is s lo w
TD D Is Fa s t B e a c a u s e ..
●   You go faster by not having to go
    back
●   You write only code you need
●   It helps prevent reoccurring
    defects
●   Tests document how
    requirements is implemented
In t r o d u c in g TD D t o
   a d e v e lo p m e n t
            team
P r o b le m s y o u w ill e n c o u n t e r
●   People in general don't like
    change, but developers tends to
    hate it
●   No developer likes the word
    “testing”
●   Realizing the value of TDD takes
    time and practice
H o w To In t r o d u c e TD D
●   Lead by example
●   Follow up all developers
●   Focus upon development benefits
●   Automate the build and test
    process
D e v e lo p e r B e n e fit s
●   Have a Continuous Integration
    stack set up
●   TDD on bug fixing, means fixing
    bugs once
●   Refactoring can be performed
    any time in the project life cycle
W r it in g Te s t U p Fr o n t ...
●   Helps you write only required
    code
●   Helps you create a loosely
    coupled design from day 1
●   Helps you document your
    application
●   Help putting focus on
    requirements
H o w Yo u Fe e l A b o u t TD D ?




                  http://www.flickr.com/photos/zilliontrillion1/276600545
Thanks for   your time!



  Questions or abuse?

    espen@dallokken.com
    http://dallokken.com/espen

More Related Content

What's hot

Pertanyaan dan jawaban (graham et.al 2011) part 1
Pertanyaan dan jawaban (graham et.al 2011) part 1Pertanyaan dan jawaban (graham et.al 2011) part 1
Pertanyaan dan jawaban (graham et.al 2011) part 1ikhwana luthfi
 
OutSystems Certified Professionals Meet Up - How To Avoid Spaghetti Architect...
OutSystems Certified Professionals Meet Up - How To Avoid Spaghetti Architect...OutSystems Certified Professionals Meet Up - How To Avoid Spaghetti Architect...
OutSystems Certified Professionals Meet Up - How To Avoid Spaghetti Architect...pgarrudo
 
Technical lead, the balance between leadership and technical skills
Technical lead, the balance between leadership and technical skillsTechnical lead, the balance between leadership and technical skills
Technical lead, the balance between leadership and technical skillsSoftware Guru
 
Sprinkle on Just Enough Process
Sprinkle on Just Enough ProcessSprinkle on Just Enough Process
Sprinkle on Just Enough ProcessTechWell
 
Devops its not about the tooling
Devops its not about the toolingDevops its not about the tooling
Devops its not about the toolingBram Vogelaar
 
The Art of Identifying Red Flags in Drupal Projects
The Art of Identifying Red Flags in Drupal ProjectsThe Art of Identifying Red Flags in Drupal Projects
The Art of Identifying Red Flags in Drupal ProjectsStephanie Gutowski
 
Broadening the base ideas
Broadening the base ideasBroadening the base ideas
Broadening the base ideasGary Berg-Cross
 
The Road To Technical Team Lead
The Road To Technical Team LeadThe Road To Technical Team Lead
The Road To Technical Team Leadbenwaine
 
Exploratory Testing in Sessions
Exploratory Testing in SessionsExploratory Testing in Sessions
Exploratory Testing in SessionsRadoslaw Smilgin
 
How to fail early and fail fast
How to fail early and fail fastHow to fail early and fail fast
How to fail early and fail fastUXDXConf
 
TDC São Paulo 2017 - Pare de Testar em Produção e Comece a Mockar
TDC São Paulo 2017  - Pare de Testar em Produção e Comece a MockarTDC São Paulo 2017  - Pare de Testar em Produção e Comece a Mockar
TDC São Paulo 2017 - Pare de Testar em Produção e Comece a MockarDanilo Porcelani
 
Building Software: The Right Way
Building Software: The Right WayBuilding Software: The Right Way
Building Software: The Right WayClayton Nyakana
 
@AgilePT 2014 - Sprint Length: How to be quicker to market
@AgilePT 2014 - Sprint Length: How to be quicker to market@AgilePT 2014 - Sprint Length: How to be quicker to market
@AgilePT 2014 - Sprint Length: How to be quicker to marketBruno Cacho
 
Imrul: Context Driven Testing
Imrul: Context Driven TestingImrul: Context Driven Testing
Imrul: Context Driven TestingSQABD
 

What's hot (16)

Pertanyaan dan jawaban (graham et.al 2011) part 1
Pertanyaan dan jawaban (graham et.al 2011) part 1Pertanyaan dan jawaban (graham et.al 2011) part 1
Pertanyaan dan jawaban (graham et.al 2011) part 1
 
OutSystems Certified Professionals Meet Up - How To Avoid Spaghetti Architect...
OutSystems Certified Professionals Meet Up - How To Avoid Spaghetti Architect...OutSystems Certified Professionals Meet Up - How To Avoid Spaghetti Architect...
OutSystems Certified Professionals Meet Up - How To Avoid Spaghetti Architect...
 
Hardening
HardeningHardening
Hardening
 
Technical lead, the balance between leadership and technical skills
Technical lead, the balance between leadership and technical skillsTechnical lead, the balance between leadership and technical skills
Technical lead, the balance between leadership and technical skills
 
Sprinkle on Just Enough Process
Sprinkle on Just Enough ProcessSprinkle on Just Enough Process
Sprinkle on Just Enough Process
 
Devops its not about the tooling
Devops its not about the toolingDevops its not about the tooling
Devops its not about the tooling
 
The Art of Identifying Red Flags in Drupal Projects
The Art of Identifying Red Flags in Drupal ProjectsThe Art of Identifying Red Flags in Drupal Projects
The Art of Identifying Red Flags in Drupal Projects
 
Broadening the base ideas
Broadening the base ideasBroadening the base ideas
Broadening the base ideas
 
Tale of an off shore agile scrum implementation
Tale of an off shore agile scrum implementationTale of an off shore agile scrum implementation
Tale of an off shore agile scrum implementation
 
The Road To Technical Team Lead
The Road To Technical Team LeadThe Road To Technical Team Lead
The Road To Technical Team Lead
 
Exploratory Testing in Sessions
Exploratory Testing in SessionsExploratory Testing in Sessions
Exploratory Testing in Sessions
 
How to fail early and fail fast
How to fail early and fail fastHow to fail early and fail fast
How to fail early and fail fast
 
TDC São Paulo 2017 - Pare de Testar em Produção e Comece a Mockar
TDC São Paulo 2017  - Pare de Testar em Produção e Comece a MockarTDC São Paulo 2017  - Pare de Testar em Produção e Comece a Mockar
TDC São Paulo 2017 - Pare de Testar em Produção e Comece a Mockar
 
Building Software: The Right Way
Building Software: The Right WayBuilding Software: The Right Way
Building Software: The Right Way
 
@AgilePT 2014 - Sprint Length: How to be quicker to market
@AgilePT 2014 - Sprint Length: How to be quicker to market@AgilePT 2014 - Sprint Length: How to be quicker to market
@AgilePT 2014 - Sprint Length: How to be quicker to market
 
Imrul: Context Driven Testing
Imrul: Context Driven TestingImrul: Context Driven Testing
Imrul: Context Driven Testing
 

Viewers also liked

Muzik dan kanak kanak
Muzik dan kanak kanakMuzik dan kanak kanak
Muzik dan kanak kanakEllena Elly
 
Glosario
GlosarioGlosario
Glosarioeparra2
 
Energiasääst kui eduka äri võti - Elektroskandia Baltics 2013
Energiasääst kui eduka äri võti - Elektroskandia Baltics 2013Energiasääst kui eduka äri võti - Elektroskandia Baltics 2013
Energiasääst kui eduka äri võti - Elektroskandia Baltics 2013Taavi Liivandi
 
Tution for saraswat bank recruitment for officer, manager & br manager exam 2...
Tution for saraswat bank recruitment for officer, manager & br manager exam 2...Tution for saraswat bank recruitment for officer, manager & br manager exam 2...
Tution for saraswat bank recruitment for officer, manager & br manager exam 2...Tanay Kumar Das
 
The Future Practice of Marketing - Economist 360 CMO - Big Rethink - Kevin Bi...
The Future Practice of Marketing - Economist 360 CMO - Big Rethink - Kevin Bi...The Future Practice of Marketing - Economist 360 CMO - Big Rethink - Kevin Bi...
The Future Practice of Marketing - Economist 360 CMO - Big Rethink - Kevin Bi...Jon Busman
 
Https _inotes.usw.salvationarmy.org_mail_dallen
Https  _inotes.usw.salvationarmy.org_mail_dallenHttps  _inotes.usw.salvationarmy.org_mail_dallen
Https _inotes.usw.salvationarmy.org_mail_dallenDavid Allen
 
isecure's Identity Management Training Intro
isecure's Identity Management Training Introisecure's Identity Management Training Intro
isecure's Identity Management Training IntroEsesve Digumarthi
 
Themabijeenkomst multimedia in de repository
Themabijeenkomst multimedia in de repositoryThemabijeenkomst multimedia in de repository
Themabijeenkomst multimedia in de repositorypsuijker
 
The (Anti) Social CIO?
The (Anti) Social CIO?The (Anti) Social CIO?
The (Anti) Social CIO?Zeno Group
 
Week 28 Sponges
Week 28  SpongesWeek 28  Sponges
Week 28 SpongesCorey Topf
 

Viewers also liked (20)

Dge40
Dge40Dge40
Dge40
 
Presentacion forma
Presentacion formaPresentacion forma
Presentacion forma
 
Muzik dan kanak kanak
Muzik dan kanak kanakMuzik dan kanak kanak
Muzik dan kanak kanak
 
Ppt99286
Ppt99286Ppt99286
Ppt99286
 
Glosario
GlosarioGlosario
Glosario
 
Energiasääst kui eduka äri võti - Elektroskandia Baltics 2013
Energiasääst kui eduka äri võti - Elektroskandia Baltics 2013Energiasääst kui eduka äri võti - Elektroskandia Baltics 2013
Energiasääst kui eduka äri võti - Elektroskandia Baltics 2013
 
Tution for saraswat bank recruitment for officer, manager & br manager exam 2...
Tution for saraswat bank recruitment for officer, manager & br manager exam 2...Tution for saraswat bank recruitment for officer, manager & br manager exam 2...
Tution for saraswat bank recruitment for officer, manager & br manager exam 2...
 
The Future Practice of Marketing - Economist 360 CMO - Big Rethink - Kevin Bi...
The Future Practice of Marketing - Economist 360 CMO - Big Rethink - Kevin Bi...The Future Practice of Marketing - Economist 360 CMO - Big Rethink - Kevin Bi...
The Future Practice of Marketing - Economist 360 CMO - Big Rethink - Kevin Bi...
 
Https _inotes.usw.salvationarmy.org_mail_dallen
Https  _inotes.usw.salvationarmy.org_mail_dallenHttps  _inotes.usw.salvationarmy.org_mail_dallen
Https _inotes.usw.salvationarmy.org_mail_dallen
 
isecure's Identity Management Training Intro
isecure's Identity Management Training Introisecure's Identity Management Training Intro
isecure's Identity Management Training Intro
 
AAS National Conference 2008: Len Fisk
AAS National Conference 2008: Len FiskAAS National Conference 2008: Len Fisk
AAS National Conference 2008: Len Fisk
 
AAS National Conference 2008: Andrea Seastrand
AAS National Conference 2008: Andrea SeastrandAAS National Conference 2008: Andrea Seastrand
AAS National Conference 2008: Andrea Seastrand
 
Themabijeenkomst multimedia in de repository
Themabijeenkomst multimedia in de repositoryThemabijeenkomst multimedia in de repository
Themabijeenkomst multimedia in de repository
 
Galveston Maps
Galveston MapsGalveston Maps
Galveston Maps
 
The (Anti) Social CIO?
The (Anti) Social CIO?The (Anti) Social CIO?
The (Anti) Social CIO?
 
AAS National Conference 2008: John Grotzinger
AAS National Conference 2008: John GrotzingerAAS National Conference 2008: John Grotzinger
AAS National Conference 2008: John Grotzinger
 
Pr110525 sme imex
Pr110525 sme imexPr110525 sme imex
Pr110525 sme imex
 
Briefing
BriefingBriefing
Briefing
 
proyecto lampara solar
proyecto lampara solar proyecto lampara solar
proyecto lampara solar
 
Week 28 Sponges
Week 28  SpongesWeek 28  Sponges
Week 28 Sponges
 

Similar to Tdd For Tekna

Switching horses midstream - From Waterfall to Agile
Switching horses midstream - From Waterfall to AgileSwitching horses midstream - From Waterfall to Agile
Switching horses midstream - From Waterfall to AgileDoc Norton
 
141015 Discovering Scrum at Scrum Roma
141015 Discovering Scrum at Scrum Roma141015 Discovering Scrum at Scrum Roma
141015 Discovering Scrum at Scrum RomaPeter Stevens
 
Design for Startups
Design for StartupsDesign for Startups
Design for StartupsPek Pongpaet
 
App sec and quality london - may 2016 - v0.5
App sec and quality   london -  may 2016 - v0.5App sec and quality   london -  may 2016 - v0.5
App sec and quality london - may 2016 - v0.5Dinis Cruz
 
Bdd - L'arte di non farsi i fatti propri
Bdd - L'arte di non farsi i fatti propriBdd - L'arte di non farsi i fatti propri
Bdd - L'arte di non farsi i fatti propriCommit University
 
Zetta_Consultng_Brief.pptx
Zetta_Consultng_Brief.pptxZetta_Consultng_Brief.pptx
Zetta_Consultng_Brief.pptxYasir Habibullah
 
Software Craftsmanship - It's an Imperative
Software Craftsmanship - It's an ImperativeSoftware Craftsmanship - It's an Imperative
Software Craftsmanship - It's an ImperativeFadi Stephan
 
Effective Quality Facilitation | Beyond Normal
Effective Quality Facilitation | Beyond NormalEffective Quality Facilitation | Beyond Normal
Effective Quality Facilitation | Beyond NormalSPIN Chennai
 
From the right process to a solid cultural change
From the right process to a solid cultural changeFrom the right process to a solid cultural change
From the right process to a solid cultural changeFrancesco Zaia
 
Douglas flatbush resume 2016 (updated)
Douglas flatbush resume 2016 (updated)Douglas flatbush resume 2016 (updated)
Douglas flatbush resume 2016 (updated)Doug Flatbush
 
Create an IoT Gateway and Establish a Data Pipeline to AWS IoT with Intel - I...
Create an IoT Gateway and Establish a Data Pipeline to AWS IoT with Intel - I...Create an IoT Gateway and Establish a Data Pipeline to AWS IoT with Intel - I...
Create an IoT Gateway and Establish a Data Pipeline to AWS IoT with Intel - I...Amazon Web Services
 
Transforming Testing Into Green Practices
Transforming Testing Into Green PracticesTransforming Testing Into Green Practices
Transforming Testing Into Green PracticesDimpy Adhikary
 
What is Agile Development? From the historic point of view
What is Agile Development? From the historic point of viewWhat is Agile Development? From the historic point of view
What is Agile Development? From the historic point of viewDotinum
 
Chris Girolamo It's the Product not the Project 19 Mar 14
Chris Girolamo It's the Product not the Project 19 Mar 14Chris Girolamo It's the Product not the Project 19 Mar 14
Chris Girolamo It's the Product not the Project 19 Mar 14LianaEliz222
 

Similar to Tdd For Tekna (20)

The Road to QA
The Road to QAThe Road to QA
The Road to QA
 
Switching horses midstream - From Waterfall to Agile
Switching horses midstream - From Waterfall to AgileSwitching horses midstream - From Waterfall to Agile
Switching horses midstream - From Waterfall to Agile
 
141015 Discovering Scrum at Scrum Roma
141015 Discovering Scrum at Scrum Roma141015 Discovering Scrum at Scrum Roma
141015 Discovering Scrum at Scrum Roma
 
Design for Startups
Design for StartupsDesign for Startups
Design for Startups
 
Deployments in one click!
Deployments in one click!Deployments in one click!
Deployments in one click!
 
Module
ModuleModule
Module
 
App sec and quality london - may 2016 - v0.5
App sec and quality   london -  may 2016 - v0.5App sec and quality   london -  may 2016 - v0.5
App sec and quality london - may 2016 - v0.5
 
Bdd - L'arte di non farsi i fatti propri
Bdd - L'arte di non farsi i fatti propriBdd - L'arte di non farsi i fatti propri
Bdd - L'arte di non farsi i fatti propri
 
Eng.blondel seumo cv
Eng.blondel seumo   cvEng.blondel seumo   cv
Eng.blondel seumo cv
 
Microsoft DevOps Journey
Microsoft DevOps JourneyMicrosoft DevOps Journey
Microsoft DevOps Journey
 
Pair Programming
Pair ProgrammingPair Programming
Pair Programming
 
Zetta_Consultng_Brief.pptx
Zetta_Consultng_Brief.pptxZetta_Consultng_Brief.pptx
Zetta_Consultng_Brief.pptx
 
Software Craftsmanship - It's an Imperative
Software Craftsmanship - It's an ImperativeSoftware Craftsmanship - It's an Imperative
Software Craftsmanship - It's an Imperative
 
Effective Quality Facilitation | Beyond Normal
Effective Quality Facilitation | Beyond NormalEffective Quality Facilitation | Beyond Normal
Effective Quality Facilitation | Beyond Normal
 
From the right process to a solid cultural change
From the right process to a solid cultural changeFrom the right process to a solid cultural change
From the right process to a solid cultural change
 
Douglas flatbush resume 2016 (updated)
Douglas flatbush resume 2016 (updated)Douglas flatbush resume 2016 (updated)
Douglas flatbush resume 2016 (updated)
 
Create an IoT Gateway and Establish a Data Pipeline to AWS IoT with Intel - I...
Create an IoT Gateway and Establish a Data Pipeline to AWS IoT with Intel - I...Create an IoT Gateway and Establish a Data Pipeline to AWS IoT with Intel - I...
Create an IoT Gateway and Establish a Data Pipeline to AWS IoT with Intel - I...
 
Transforming Testing Into Green Practices
Transforming Testing Into Green PracticesTransforming Testing Into Green Practices
Transforming Testing Into Green Practices
 
What is Agile Development? From the historic point of view
What is Agile Development? From the historic point of viewWhat is Agile Development? From the historic point of view
What is Agile Development? From the historic point of view
 
Chris Girolamo It's the Product not the Project 19 Mar 14
Chris Girolamo It's the Product not the Project 19 Mar 14Chris Girolamo It's the Product not the Project 19 Mar 14
Chris Girolamo It's the Product not the Project 19 Mar 14
 

Recently uploaded

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
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
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024The Digital Insurer
 

Recently uploaded (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
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...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 

Tdd For Tekna

  • 1. http://www.flickr.com/photos/nathan_adams/2401072076 Why Test Driven Development has little to do with testing by Espen Dalløkken. October 23 2008, Tekna, Oslo, Norway
  • 2. Ab o ut m e ● Espen Dalløkken, 13.11.1976 ● Graduate of Molde College ● Software Developer since 1998 ● Started with TDD in 2004
  • 3. Ag enda ● Why TDD has little to do with testing ● Myths About TDD ● Three Benefits Of TDD ● How you introduce TDD in your organization
  • 4. How I Was In t r o d u c e d To TD D
  • 5. Te s t in g is fu n ! http://www.flickr.com/photos/azlijamil01/469730066/
  • 6. ???
  • 7. Te s t in g is fu n !! http://www.flickr.com/photos/azlijamil01/469730066/
  • 9. Th e o r y A b o u t Te s t in g
  • 10. P h ilo s o p h y ● Testing is to prevent defects from occurring, not finding them ● Do it right the first time (use TDD and continuous integration) ● QA staff should build quality into code, rather than test
  • 11. B u ild in g Q u a lit y In ● Involve testers in writing tests up front to provide an executable specification ● Mistake-proof your process by automating testing as much as possible ● Stop the line and fail fast
  • 12. C o s t O f Fix in g D e fe c t s Source: IBM Systems Sciences Institute
  • 13. Te s t D r iv e n D e v e lo p m e n t
  • 14. W h y TD D h a s lit t le t o d o w it h t e s t in g ● Puts focus on requirements ● Encourages simplicity in design ● Enforces loosely coupled components ● Encourages good Object Oriented Design
  • 15. W h y TD D h a s lit t le t o d o w it h t e s t in g ● Makes your code-base fit for handling change ● A safety net when refactoring code ● Enforces technology which is testable
  • 16. Th r e e B e n e fit s O f TD D
  • 17. TD D p r o v id e s c o n t in u o u s im p r o v e m e n t s , w h ic h g r a d u a lly im p r o v e s t h e q u a lit y o f yo ur c o d e b a s e
  • 18. TD D m a k e s y o u fa il fa s t , w h ic h h e lp r e d u c e t e s t in g c o s t s
  • 19. TD D r e q u ir e s lo o s e ly c o u p le d c o m p o n e n t s , w h ic h a r e a n e c e s s it y fo r a n e v o lv in g a r c h it e c t u r e
  • 20. Th e M y t h s o f TD D
  • 21. N o N e e d To C h a n g e Th e W a y W e W o r k
  • 22. W e N e e d C h a n g e B e c a u s e .. ● Too much time is spent on acceptance testing in projects ● Defects keeps on reoccurring ● Developers don't take enough responsibility for testability of their application
  • 23. TD D is s lo w
  • 24. TD D Is Fa s t B e a c a u s e .. ● You go faster by not having to go back ● You write only code you need ● It helps prevent reoccurring defects ● Tests document how requirements is implemented
  • 25. In t r o d u c in g TD D t o a d e v e lo p m e n t team
  • 26. P r o b le m s y o u w ill e n c o u n t e r ● People in general don't like change, but developers tends to hate it ● No developer likes the word “testing” ● Realizing the value of TDD takes time and practice
  • 27. H o w To In t r o d u c e TD D ● Lead by example ● Follow up all developers ● Focus upon development benefits ● Automate the build and test process
  • 28. D e v e lo p e r B e n e fit s ● Have a Continuous Integration stack set up ● TDD on bug fixing, means fixing bugs once ● Refactoring can be performed any time in the project life cycle
  • 29. W r it in g Te s t U p Fr o n t ... ● Helps you write only required code ● Helps you create a loosely coupled design from day 1 ● Helps you document your application ● Help putting focus on requirements
  • 30. H o w Yo u Fe e l A b o u t TD D ? http://www.flickr.com/photos/zilliontrillion1/276600545
  • 31. Thanks for your time! Questions or abuse? espen@dallokken.com http://dallokken.com/espen