Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
TDD - Before Dojo
Search
Gregório Chalinski Kusowski
September 06, 2011
Programming
1
270
TDD - Before Dojo
A talk I give minutes before we setup our first dojo at @PrimeSystemsBR.
Gregório Chalinski Kusowski
September 06, 2011
Tweet
Share
More Decks by Gregório Chalinski Kusowski
See All by Gregório Chalinski Kusowski
50 Shades of Legacy
gregoriokusowski
0
140
Ruby e Sinatra - Faça mais com menos no desenvolvimento web
gregoriokusowski
2
110
Sinatra - Desenvolver pode ser mais fácil que cantar.
gregoriokusowski
3
340
Ruby - Criando código para máquinas e humanos.
gregoriokusowski
2
350
Testes Unitários - Before Dojo
gregoriokusowski
1
270
Other Decks in Programming
See All in Programming
Amazon ECS Managed Instances が リリースされた!キャッチアップしよう!! / Let's catch up Amazon ECS Managed Instances
cocoeyes02
0
110
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
380
AI時代に必須!状況言語化スキル / ai-context-verbalization
minodriven
2
210
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
580
CSC305 Lecture 09
javiergs
PRO
0
320
KoogではじめるAIエージェント開発
hiroaki404
1
160
Go言語はstack overflowの夢を見るか?
logica0419
0
650
AIのバカさ加減に怒る前にやっておくこと
blueeventhorizon
0
120
登壇は dynamic! な営みである / speech is dynamic
da1chi
0
390
TransformerからMCPまで(現代AIを理解するための羅針盤)
mickey_kubo
7
5.7k
三者三様 宣言的UI
kkagurazaka
0
280
CSC305 Lecture 12
javiergs
PRO
0
240
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
411
23k
Git: the NoSQL Database
bkeepers
PRO
431
66k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
Balancing Empowerment & Direction
lara
5
700
The World Runs on Bad Software
bkeepers
PRO
72
11k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
640
How STYLIGHT went responsive
nonsquared
100
5.9k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
940
Designing Experiences People Love
moore
142
24k
The Pragmatic Product Professional
lauravandoore
36
7k
Scaling GitHub
holman
463
140k
Making Projects Easy
brettharned
120
6.4k
Transcript
TDD (Test-Driven Development) Vantagens e como praticar Gregório Chalinski Kusowski
Design • Conciso • Limpo • Desacoplado • Evita repetição
• Diminui o tamanho dos blocos
Não é bem assim... • Não precisar escrever o teste
antes • Não precisa falhar • Quanto mais testar em um teste, melhor
Tipos de Testes • Unitário • Integração • Aceitação
Como fazer? • Baby Steps • Escrever teste antes da
implementação • O teste deve falhar primeiro • A implementação deve ser mínima, apenas suficiente para fazer o teste passar
TDD Mantra • Red • Green • Refactor