SlideShare uma empresa Scribd logo
1 de 51
TEST DRIVEN DEVELOPMENT
Hercules Lemke Merscher - @hlmerscher
O que é?
http://i-love-my-life.com/wp-content/uploads/2011/03/doubt.jpg
TÉCNICA
https://media.licdn.com/mpr/mpr/shrinknp_800_800/AAEAAQAAAAAAAASQAAAAJDllYzc1ZjgxLTliNDQtNGU2MS1hNDg0LTFiOWZlNTQ4N2Q5ZA.png
TDD E TESTE AUTOMATIZADO. SINÔNIMOS?
https://images.rapgenius.com/e7c0c514d4e7564079c2e6b0c8d547b5.540x350x1.jpg
POR QUÊ?
https://imgflip.com/s/meme/Question-Rage-Face.jpg
ERROS RECORRENTES
https://upload.wikimedia.org/wikipedia/commons/3/3b/Windows_9X_BSOD.png
O COMPUTADOR É MAIS RÁPIDO http://www.seuseriado.com/wp-content/uploads/2016/04/The-Flash-2ª-Temporada.jpg
O COMPUTADOR NÃO CANSA
http://2.bp.blogspot.com/-mF5paUPo6tQ/UkeaGETMkWI/AAAAAAAAAYA/L6AnHHKP8uc/s1600/52636309+(1).png
LEI DE MURPHY
http://shedka.com/wp-content/uploads/2015/06/tostada-1000x666.jpg
BUG’S EM PRODUÇÃO
http://www.dan-dare.org/FreeFun/Images/CartoonsMoviesTV/BugsLifeWallpaper800.jpg
MEDO DE TOCAR NO CÓDIGO
https://councillorpadraigmcshane.files.wordpress.com/2012/11/scooby-and-shaggy-afraid-scooby-doo-2992126-852-480.jpg
CORREÇÕES QUE GERAM MAIS BUG’S
http://web.pdx.edu/~cem3/looney/img/coyoterocket.png
http://iblasquez.github.io/presentation_TDD_CodingDojo/TDD_Mantra.png
VERMELHO
http://static.maciverinstitute.com/F%20Letter%20Grade-cropped-proto-custom_4-thumb-618xauto-7419.jpg
VERDE
https://www.exceptionnotfound.net/content/images/2015/04/the-coder.jpg
REFATORA
http://cdn.hitfix.com/photos/6214402/HannibalLecterSOTL.jpg
E A PARTE DO CÓDIGO, JÁ CHEGOU?
https://i.ytimg.com/vi/ovm2zkuqJD8/maxresdefault.jpg
PRIMEEEIIIIROOOO...
ESCREVA O TESTE
http://2.bp.blogspot.com/-S8U-dF2WTzk/UlLk0q5jy4I/AAAAAAAAC4M/OFlBxMqwCYA/s1600/mask.jpg
TESTE
test('Product instantiates a new product', (t) => {
let product = new Product();
t.ok(product instanceof Product);
t.end();
});
TESTE FALHA
ReferenceError: Product is not defined
CÓDIGO
function Product() {
}
TESTE PASSA
# Product instantiates a new product
ok 1 should be truthy
1..1
# tests 1
# pass 1
# ok
BABY STEPS
http://www.clipartkid.com/images/300/download-baby-steps-clipart-LA7TaY-
clipart.jpg
TESTE
test('Product#price zero by default', (t) => {
let product = new Product();
t.equal(product.price, 0);
t.end();
});
TESTE FALHA
# Product#price zero by default
not ok 2 should be equal
---
operator: equal
expected: 0
actual: undefined
CÓDIGO
function Product() {
this.price = 0;
}
TESTE PASSA
# Product#price zero by default
ok 2 should be equal
1..2
# tests 2
# pass 2
# ok
TESTE
test('Product#quantity zero by default', (t) => {
let product = new Product();
t.equal(product.quantity, 0);
t.end();
});
TESTE FALHA
# Product#quantity zero by default
not ok 3 should be equal
---
operator: equal
expected: 0
actual: undefined
CÓDIGO
function Product() {
this.price = 0;
this.quantity = 0;
}
TESTE PASSA
# Product#quantity zero by default
ok 3 should be equal
1..3
# tests 3
# pass 3
# ok
TESTE
test('Product#total calculates amount', (t) => {
let product = Object.assign(
new Product(), { price: 10, quantity: 2 });
t.equal(product.total(), 20);
t.end();
});
TESTE FALHA
t.equal(product.total(), 20);
^
TypeError: product.total is not a function
CÓDIGO
function Product() {
this.price = 0;
this.quantity = 0;
this.total = () => this.price * this.quantity;
}
TESTE PASSA
# Product#total calculates amount
ok 4 should be equal
1..4
# tests 4
# pass 4
# ok
COM TDD EU AGARANTCHÍU !!!
https://img.buzzfeed.com/buzzfeed-static/static/2015-03/3/10/enhanced/webdr14/enhanced-buzz-29154-1425395469-14.jpg
TDD É SOBRE FEEDBACK
http://www.sacadasdecarreira.com.br/files/2015/12/design-feedback-tips.png
TESTE UNITÁRIO
http://unity-coding.slashgames.org/wp-content/uploads/unit-test.jpg
TESTE DE REGRESSÃO
https://d.ibtimes.co.uk/en/full/1396036/delorean.jp
TESTE DE INTEGRAÇÃO
http://mlb-s1-p.mlstatic.com/15139-MLB20096270752_052014-O.jpg
TESTE DE ACEITAÇÃO
http://aaronacceptance.ca/wp-content/uploads/2015/07/Loan-Approval_Aaron_Acceptance_256.png
MOCKS, STUBS E FAKES
http://goias24horas.com.br/wp-content/uploads/2013/08/marionete.jpg
CÓDIGO DIFÍCIL
DE TESTAR
É UM MAU SINAL?
QUANTAS
ASSERTIVAS
POR TESTE?
DEVO USAR
PASSOS DE BEBÊ
SEMPRE?
PRECISO
DA APROVAÇÃO DO MEU
CHEFE PARA
ESCREVER TESTES?
http://cdn.business2community.com/wp-content/uploads/2016/01/Godfather-300x169-3.png-3.png
COBERTURA
COBERTURA
https://github.com/hlmerscher/dojo-onde
http://www.maonamassasalgadosecia.com.br/uploads/widget/image/512/170/51217096/mao-na-massa.png
REFERÊNCIAS
OBRIGADO!
www.herculesdev.com.br

Mais conteúdo relacionado

Mais procurados

Coaching Nightmares: Lessons We Can Learn From Gordon Ramsay
Coaching Nightmares: Lessons We Can Learn From Gordon RamsayCoaching Nightmares: Lessons We Can Learn From Gordon Ramsay
Coaching Nightmares: Lessons We Can Learn From Gordon RamsayCraig Smith
 
Anatomy of a web page
Anatomy of a web pageAnatomy of a web page
Anatomy of a web pagedharvey100
 
Souders WPO Web2.0Expo
Souders WPO Web2.0ExpoSouders WPO Web2.0Expo
Souders WPO Web2.0Expoguest0b3d92d
 
FailAgility: Recognising and Resetting the Agile Boundaries
FailAgility: Recognising and Resetting the Agile BoundariesFailAgility: Recognising and Resetting the Agile Boundaries
FailAgility: Recognising and Resetting the Agile BoundariesCraig Smith
 
How to spot the dinosaur managers at work
How to spot the dinosaur managers at workHow to spot the dinosaur managers at work
How to spot the dinosaur managers at workLearningade
 
Mind the Gap: Realising the Value of Agility
Mind the Gap: Realising the Value of AgilityMind the Gap: Realising the Value of Agility
Mind the Gap: Realising the Value of AgilityCraig Smith
 
Visual Management: Leading With What You Can See
Visual Management: Leading With What You Can SeeVisual Management: Leading With What You Can See
Visual Management: Leading With What You Can SeeCraig Smith
 
CloudCamp London 8 Mar 2018 - Douglas Adams
CloudCamp London 8 Mar 2018 - Douglas AdamsCloudCamp London 8 Mar 2018 - Douglas Adams
CloudCamp London 8 Mar 2018 - Douglas AdamsChris Swan
 
Real World Technology -- AASL Preconference, ALA Annual 2013
Real World Technology -- AASL Preconference, ALA Annual 2013Real World Technology -- AASL Preconference, ALA Annual 2013
Real World Technology -- AASL Preconference, ALA Annual 2013Wendy Stephens
 
One Trick 2 0 Tools Tds March 2011a
One Trick 2 0 Tools Tds March 2011aOne Trick 2 0 Tools Tds March 2011a
One Trick 2 0 Tools Tds March 2011aAnn Walker Smalley
 
Play framework 2.0 Introduction
Play framework 2.0 IntroductionPlay framework 2.0 Introduction
Play framework 2.0 Introductionjorgen99
 
7 Deadly Sins of Agile Software Test Automation
7 Deadly Sins of Agile Software Test Automation7 Deadly Sins of Agile Software Test Automation
7 Deadly Sins of Agile Software Test AutomationCraig Smith
 
Benjamin medina Slideshow
Benjamin medina SlideshowBenjamin medina Slideshow
Benjamin medina SlideshowBenjiMedina
 
High Performance HTML5 (SF HTML5 UG)
High Performance HTML5 (SF HTML5 UG)High Performance HTML5 (SF HTML5 UG)
High Performance HTML5 (SF HTML5 UG)Steve Souders
 
Creating e learning mashups
Creating e learning mashupsCreating e learning mashups
Creating e learning mashupsNeil Mehta
 
High Performance Mobile (SF/SV Web Perf)
High Performance Mobile (SF/SV Web Perf)High Performance Mobile (SF/SV Web Perf)
High Performance Mobile (SF/SV Web Perf)Steve Souders
 
Utter failures and lessons remained unlearned
Utter failures and lessons remained unlearnedUtter failures and lessons remained unlearned
Utter failures and lessons remained unlearnedIlari Henrik Aegerter
 

Mais procurados (20)

Coaching Nightmares: Lessons We Can Learn From Gordon Ramsay
Coaching Nightmares: Lessons We Can Learn From Gordon RamsayCoaching Nightmares: Lessons We Can Learn From Gordon Ramsay
Coaching Nightmares: Lessons We Can Learn From Gordon Ramsay
 
Anatomy of a web page
Anatomy of a web pageAnatomy of a web page
Anatomy of a web page
 
Souders WPO Web2.0Expo
Souders WPO Web2.0ExpoSouders WPO Web2.0Expo
Souders WPO Web2.0Expo
 
FailAgility: Recognising and Resetting the Agile Boundaries
FailAgility: Recognising and Resetting the Agile BoundariesFailAgility: Recognising and Resetting the Agile Boundaries
FailAgility: Recognising and Resetting the Agile Boundaries
 
How to spot the dinosaur managers at work
How to spot the dinosaur managers at workHow to spot the dinosaur managers at work
How to spot the dinosaur managers at work
 
Metrics of Joy
Metrics of JoyMetrics of Joy
Metrics of Joy
 
Making Data Useful
Making Data Useful Making Data Useful
Making Data Useful
 
Mind the Gap: Realising the Value of Agility
Mind the Gap: Realising the Value of AgilityMind the Gap: Realising the Value of Agility
Mind the Gap: Realising the Value of Agility
 
Curley_Bryce_DMP2
Curley_Bryce_DMP2Curley_Bryce_DMP2
Curley_Bryce_DMP2
 
Visual Management: Leading With What You Can See
Visual Management: Leading With What You Can SeeVisual Management: Leading With What You Can See
Visual Management: Leading With What You Can See
 
CloudCamp London 8 Mar 2018 - Douglas Adams
CloudCamp London 8 Mar 2018 - Douglas AdamsCloudCamp London 8 Mar 2018 - Douglas Adams
CloudCamp London 8 Mar 2018 - Douglas Adams
 
Real World Technology -- AASL Preconference, ALA Annual 2013
Real World Technology -- AASL Preconference, ALA Annual 2013Real World Technology -- AASL Preconference, ALA Annual 2013
Real World Technology -- AASL Preconference, ALA Annual 2013
 
One Trick 2 0 Tools Tds March 2011a
One Trick 2 0 Tools Tds March 2011aOne Trick 2 0 Tools Tds March 2011a
One Trick 2 0 Tools Tds March 2011a
 
Play framework 2.0 Introduction
Play framework 2.0 IntroductionPlay framework 2.0 Introduction
Play framework 2.0 Introduction
 
7 Deadly Sins of Agile Software Test Automation
7 Deadly Sins of Agile Software Test Automation7 Deadly Sins of Agile Software Test Automation
7 Deadly Sins of Agile Software Test Automation
 
Benjamin medina Slideshow
Benjamin medina SlideshowBenjamin medina Slideshow
Benjamin medina Slideshow
 
High Performance HTML5 (SF HTML5 UG)
High Performance HTML5 (SF HTML5 UG)High Performance HTML5 (SF HTML5 UG)
High Performance HTML5 (SF HTML5 UG)
 
Creating e learning mashups
Creating e learning mashupsCreating e learning mashups
Creating e learning mashups
 
High Performance Mobile (SF/SV Web Perf)
High Performance Mobile (SF/SV Web Perf)High Performance Mobile (SF/SV Web Perf)
High Performance Mobile (SF/SV Web Perf)
 
Utter failures and lessons remained unlearned
Utter failures and lessons remained unlearnedUtter failures and lessons remained unlearned
Utter failures and lessons remained unlearned
 

Semelhante a Test Driven Development

Logan composition (2)
Logan composition (2)Logan composition (2)
Logan composition (2)loganm
 
Testing Like a Pro - Chef Infrastructure Testing
Testing Like a Pro - Chef Infrastructure TestingTesting Like a Pro - Chef Infrastructure Testing
Testing Like a Pro - Chef Infrastructure TestingTim Smith
 
Mborell newsilent week6
Mborell newsilent week6Mborell newsilent week6
Mborell newsilent week6mborell
 
Owasp hyd 28_dec2013_opensamm
Owasp hyd 28_dec2013_opensammOwasp hyd 28_dec2013_opensamm
Owasp hyd 28_dec2013_opensammM S Sripati
 
Wind Pad 100w NUI interface PK
Wind Pad 100w NUI interface PKWind Pad 100w NUI interface PK
Wind Pad 100w NUI interface PKIM450ROCKS
 
Social Media Confusion? How to Choose the Right Network
Social Media Confusion? How to Choose the Right NetworkSocial Media Confusion? How to Choose the Right Network
Social Media Confusion? How to Choose the Right NetworkKyle Buyers
 
[IGC 2017] 잔디소프트 윤세민 - HTML5, 크로스플랫폼, 그리고 MMORPG feat. 매드월드
[IGC 2017] 잔디소프트 윤세민 - HTML5, 크로스플랫폼, 그리고 MMORPG feat. 매드월드[IGC 2017] 잔디소프트 윤세민 - HTML5, 크로스플랫폼, 그리고 MMORPG feat. 매드월드
[IGC 2017] 잔디소프트 윤세민 - HTML5, 크로스플랫폼, 그리고 MMORPG feat. 매드월드강 민우
 
Empowering DevOps with Cloud Foundry
Empowering DevOps with Cloud FoundryEmpowering DevOps with Cloud Foundry
Empowering DevOps with Cloud FoundryVMware Tanzu
 
関於鋼琴
関於鋼琴関於鋼琴
関於鋼琴lct4246
 
Ignite presentation
Ignite presentationIgnite presentation
Ignite presentationJeremy
 
Speed is Essential for a Great Web Experience
Speed is Essential for a Great Web ExperienceSpeed is Essential for a Great Web Experience
Speed is Essential for a Great Web ExperienceAndy Davies
 
Differentiated structures
Differentiated structuresDifferentiated structures
Differentiated structuresChris Loat
 
Apache Hadoop Ecosystem (based on an exemplary data-driven…
Apache Hadoop Ecosystem (based on an exemplary data-driven…Apache Hadoop Ecosystem (based on an exemplary data-driven…
Apache Hadoop Ecosystem (based on an exemplary data-driven…Adam Kawa
 
Presentacion de percy keyro mancilla pinedo
Presentacion de percy keyro mancilla pinedoPresentacion de percy keyro mancilla pinedo
Presentacion de percy keyro mancilla pinedoPercy Keyro Mancilla
 
Agile Coaching Nightmares: Lessons We Can Learn From Gordon Ramsay
Agile Coaching Nightmares: Lessons We Can Learn From Gordon RamsayAgile Coaching Nightmares: Lessons We Can Learn From Gordon Ramsay
Agile Coaching Nightmares: Lessons We Can Learn From Gordon RamsayCraig Smith
 
REST for .NET - Introduction to ASP.NET Web API
REST for .NET - Introduction to ASP.NET Web APIREST for .NET - Introduction to ASP.NET Web API
REST for .NET - Introduction to ASP.NET Web APITomas Jansson
 
Command keynote! part 2p2p2
Command keynote! part 2p2p2Command keynote! part 2p2p2
Command keynote! part 2p2p2ambersweet95
 

Semelhante a Test Driven Development (20)

Logan composition (2)
Logan composition (2)Logan composition (2)
Logan composition (2)
 
Testing Like a Pro - Chef Infrastructure Testing
Testing Like a Pro - Chef Infrastructure TestingTesting Like a Pro - Chef Infrastructure Testing
Testing Like a Pro - Chef Infrastructure Testing
 
CV writing
CV writingCV writing
CV writing
 
Mborell newsilent week6
Mborell newsilent week6Mborell newsilent week6
Mborell newsilent week6
 
Owasp hyd 28_dec2013_opensamm
Owasp hyd 28_dec2013_opensammOwasp hyd 28_dec2013_opensamm
Owasp hyd 28_dec2013_opensamm
 
NULL - OpenSAMM
NULL - OpenSAMMNULL - OpenSAMM
NULL - OpenSAMM
 
Wind Pad 100w NUI interface PK
Wind Pad 100w NUI interface PKWind Pad 100w NUI interface PK
Wind Pad 100w NUI interface PK
 
Social Media Confusion? How to Choose the Right Network
Social Media Confusion? How to Choose the Right NetworkSocial Media Confusion? How to Choose the Right Network
Social Media Confusion? How to Choose the Right Network
 
[IGC 2017] 잔디소프트 윤세민 - HTML5, 크로스플랫폼, 그리고 MMORPG feat. 매드월드
[IGC 2017] 잔디소프트 윤세민 - HTML5, 크로스플랫폼, 그리고 MMORPG feat. 매드월드[IGC 2017] 잔디소프트 윤세민 - HTML5, 크로스플랫폼, 그리고 MMORPG feat. 매드월드
[IGC 2017] 잔디소프트 윤세민 - HTML5, 크로스플랫폼, 그리고 MMORPG feat. 매드월드
 
Empowering DevOps with Cloud Foundry
Empowering DevOps with Cloud FoundryEmpowering DevOps with Cloud Foundry
Empowering DevOps with Cloud Foundry
 
関於鋼琴
関於鋼琴関於鋼琴
関於鋼琴
 
Ignite presentation
Ignite presentationIgnite presentation
Ignite presentation
 
Computer
ComputerComputer
Computer
 
Speed is Essential for a Great Web Experience
Speed is Essential for a Great Web ExperienceSpeed is Essential for a Great Web Experience
Speed is Essential for a Great Web Experience
 
Differentiated structures
Differentiated structuresDifferentiated structures
Differentiated structures
 
Apache Hadoop Ecosystem (based on an exemplary data-driven…
Apache Hadoop Ecosystem (based on an exemplary data-driven…Apache Hadoop Ecosystem (based on an exemplary data-driven…
Apache Hadoop Ecosystem (based on an exemplary data-driven…
 
Presentacion de percy keyro mancilla pinedo
Presentacion de percy keyro mancilla pinedoPresentacion de percy keyro mancilla pinedo
Presentacion de percy keyro mancilla pinedo
 
Agile Coaching Nightmares: Lessons We Can Learn From Gordon Ramsay
Agile Coaching Nightmares: Lessons We Can Learn From Gordon RamsayAgile Coaching Nightmares: Lessons We Can Learn From Gordon Ramsay
Agile Coaching Nightmares: Lessons We Can Learn From Gordon Ramsay
 
REST for .NET - Introduction to ASP.NET Web API
REST for .NET - Introduction to ASP.NET Web APIREST for .NET - Introduction to ASP.NET Web API
REST for .NET - Introduction to ASP.NET Web API
 
Command keynote! part 2p2p2
Command keynote! part 2p2p2Command keynote! part 2p2p2
Command keynote! part 2p2p2
 

Último

Workforce Efficiency with Employee Time Tracking Software.pdf
Workforce Efficiency with Employee Time Tracking Software.pdfWorkforce Efficiency with Employee Time Tracking Software.pdf
Workforce Efficiency with Employee Time Tracking Software.pdfDeskTrack
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...Alluxio, Inc.
 
IT Software Development Resume, Vaibhav jha 2024
IT Software Development Resume, Vaibhav jha 2024IT Software Development Resume, Vaibhav jha 2024
IT Software Development Resume, Vaibhav jha 2024vaibhav130304
 
AI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAlluxio, Inc.
 
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdf
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdfImplementing KPIs and Right Metrics for Agile Delivery Teams.pdf
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdfVictor Lopez
 
CompTIA Security+ (Study Notes) for cs.pdf
CompTIA Security+ (Study Notes) for cs.pdfCompTIA Security+ (Study Notes) for cs.pdf
CompTIA Security+ (Study Notes) for cs.pdfFurqanuddin10
 
Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024Soroosh Khodami
 
What need to be mastered as AI-Powered Java Developers
What need to be mastered as AI-Powered Java DevelopersWhat need to be mastered as AI-Powered Java Developers
What need to be mastered as AI-Powered Java DevelopersEmilyJiang23
 
A Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationA Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationHelp Desk Migration
 
How to pick right visual testing tool.pdf
How to pick right visual testing tool.pdfHow to pick right visual testing tool.pdf
How to pick right visual testing tool.pdfTestgrid.io
 
how-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdfhow-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdfMehmet Akar
 
Crafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM IntegrationCrafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM IntegrationWave PLM
 
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesGraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesNeo4j
 
Microsoft 365 Copilot; An AI tool changing the world of work _PDF.pdf
Microsoft 365 Copilot; An AI tool changing the world of work _PDF.pdfMicrosoft 365 Copilot; An AI tool changing the world of work _PDF.pdf
Microsoft 365 Copilot; An AI tool changing the world of work _PDF.pdfQ-Advise
 
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...rajkumar669520
 
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfA Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfkalichargn70th171
 
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAGAI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAGAlluxio, Inc.
 
The Impact of PLM Software on Fashion Production
The Impact of PLM Software on Fashion ProductionThe Impact of PLM Software on Fashion Production
The Impact of PLM Software on Fashion ProductionWave PLM
 
SQL Injection Introduction and Prevention
SQL Injection Introduction and PreventionSQL Injection Introduction and Prevention
SQL Injection Introduction and PreventionMohammed Fazuluddin
 

Último (20)

Workforce Efficiency with Employee Time Tracking Software.pdf
Workforce Efficiency with Employee Time Tracking Software.pdfWorkforce Efficiency with Employee Time Tracking Software.pdf
Workforce Efficiency with Employee Time Tracking Software.pdf
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
 
IT Software Development Resume, Vaibhav jha 2024
IT Software Development Resume, Vaibhav jha 2024IT Software Development Resume, Vaibhav jha 2024
IT Software Development Resume, Vaibhav jha 2024
 
AI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning FrameworkAI/ML Infra Meetup | Perspective on Deep Learning Framework
AI/ML Infra Meetup | Perspective on Deep Learning Framework
 
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdf
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdfImplementing KPIs and Right Metrics for Agile Delivery Teams.pdf
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdf
 
CompTIA Security+ (Study Notes) for cs.pdf
CompTIA Security+ (Study Notes) for cs.pdfCompTIA Security+ (Study Notes) for cs.pdf
CompTIA Security+ (Study Notes) for cs.pdf
 
Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024Secure Software Ecosystem Teqnation 2024
Secure Software Ecosystem Teqnation 2024
 
What need to be mastered as AI-Powered Java Developers
What need to be mastered as AI-Powered Java DevelopersWhat need to be mastered as AI-Powered Java Developers
What need to be mastered as AI-Powered Java Developers
 
A Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data MigrationA Guideline to Zendesk to Re:amaze Data Migration
A Guideline to Zendesk to Re:amaze Data Migration
 
How to pick right visual testing tool.pdf
How to pick right visual testing tool.pdfHow to pick right visual testing tool.pdf
How to pick right visual testing tool.pdf
 
how-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdfhow-to-download-files-safely-from-the-internet.pdf
how-to-download-files-safely-from-the-internet.pdf
 
Crafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM IntegrationCrafting the Perfect Measurement Sheet with PLM Integration
Crafting the Perfect Measurement Sheet with PLM Integration
 
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product UpdatesGraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
GraphSummit Stockholm - Neo4j - Knowledge Graphs and Product Updates
 
Microsoft 365 Copilot; An AI tool changing the world of work _PDF.pdf
Microsoft 365 Copilot; An AI tool changing the world of work _PDF.pdfMicrosoft 365 Copilot; An AI tool changing the world of work _PDF.pdf
Microsoft 365 Copilot; An AI tool changing the world of work _PDF.pdf
 
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
Facemoji Keyboard released its 2023 State of Emoji report, outlining the most...
 
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfA Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
 
5 Reasons Driving Warehouse Management Systems Demand
5 Reasons Driving Warehouse Management Systems Demand5 Reasons Driving Warehouse Management Systems Demand
5 Reasons Driving Warehouse Management Systems Demand
 
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAGAI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
 
The Impact of PLM Software on Fashion Production
The Impact of PLM Software on Fashion ProductionThe Impact of PLM Software on Fashion Production
The Impact of PLM Software on Fashion Production
 
SQL Injection Introduction and Prevention
SQL Injection Introduction and PreventionSQL Injection Introduction and Prevention
SQL Injection Introduction and Prevention
 

Test Driven Development

Notas do Editor

  1. TDD é uma técnica onde testes automatizados são utilizados como ferramenta durante o desenvolvimento.
  2. sexta-feira, 17:50h, depois de fazer aquela lógica mega complexa, e tem de testar manualmente com várias permutações de valores
  3. Cenário, ação e validação.
  4. Um teste com muitas assertivas pode estar apontando um objeto/método que talvez precise ser dividido.
  5. Um teste com muitas assertivas pode estar apontando um objeto/método que talvez precise ser dividido.
  6. Um teste com muitas assertivas pode estar apontando um objeto/método que talvez precise ser dividido.