Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
TDD - Before Dojo
Search
Gregório Chalinski Kusowski
September 06, 2011
Programming
280
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
TDD - Before Dojo
A talk I give minutes before we setup our first dojo at @PrimeSystemsBR.
Gregório Chalinski Kusowski
September 06, 2011
More Decks by Gregório Chalinski Kusowski
See All by Gregório Chalinski Kusowski
50 Shades of Legacy
gregoriokusowski
0
160
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
350
Ruby - Criando código para máquinas e humanos.
gregoriokusowski
2
370
Testes Unitários - Before Dojo
gregoriokusowski
1
290
Other Decks in Programming
See All in Programming
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
1.7k
Crash Auto Pipelines
veronikapj
1
400
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
150
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
330
Spec-Driven Development - Why Vaadin Is the Perfect Fit
simas
PRO
0
240
Будущее локальных LLM – Алексей Голобурдин, PythoNN
sobolevn
0
120
AI時代のシニアエンジニアとは
yosuke_furukawa
PRO
15
11k
Distance field of Julia set
kinakomoti321
0
310
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
4
3.8k
はじめてのPLATEAU
nokonoko1203
1
630
作れるエンジニアから、価値を届けるエンジニアへ
ryunakayama
1
250
AmebaブログはKMPから卒業します
kmars0605
0
340
Featured
See All Featured
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
3
1.2k
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
320
Exploring anti-patterns in Rails
aemeredith
4
560
Building Applications with DynamoDB
mza
96
7.3k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
1
300
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
470
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
400
Building Flexible Design Systems
yeseniaperezcruz
330
41k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
68k
Why Our Code Smells
bkeepers
PRO
340
58k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
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