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

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
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
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
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
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
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
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAndikSusilo4
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 

Recently uploaded (20)

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
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
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
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
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
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
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Azure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & ApplicationAzure Monitor & Application Insight to monitor Infrastructure & Application
Azure Monitor & Application Insight to monitor Infrastructure & Application
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 

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